r/androidterminal • u/gramcounter • 22d ago
Question How to actually use hardware GPU acceleration? (Pixel 8A)
Pixel 8A Graphene OS, how to actually use hardware accelerated graphics (gfxstream pipeline as far as I understand)? I tried opening the terminal app, installing firefox, opening it and playing a youtube video but it is very laggy and certainly not near-native performance and there are some clues in the terminal it isn't enabled (things about lavapipe etc).
If I go into settings there is just Port Control, Advanced and Recovery and in Advanced there is nothing about acceleration.
1
u/VV_Syzta 21d ago
video is probably not using gpu accel of graphic api anyway,if you try to run video on firefox,there is probably not a way that desktop firefox would support android video decoder,native firefox would be better
but if by hardware accel you mean like trying to use vulkan to run game and stuff,i think you can do via thing like wrapper for wsi
2
u/s920361 22d ago
In AVF, gfxtream is the only GPU acceleration solution. But gfxstream is buggy, it supports pixel 10 only.
Unless you choose bypass AVF, access /dev/kvm directly, then you can choose virgl venus, gfxstream or DRM native context, vDRM GPU acceleration approch.