I want graphics acceleration in waydroid and to do so I need gbm:
To have that feature, I need to configure the next file:
/var/lib/waydroid/waydroid_base.prop
ro.hardware.gralloc=gbm
ro.hardware.egl=mesa
But since EGL is not supported I ended with a weird configuration
ro.hardware.gralloc=default
ro.hardware.egl=mesa
Which cause my cpu to ramp up
The archlinux-wiki is not very friendly:
To use GBM as a backend, set the following environment variables:
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
I mean, I don’t really have GBM_BACKEND
or __GLX_VENDOR_LIBRARY_NAME
as environment variables.
$ printenv GBM_BACKEND
$ printenv __GLX_VENDOR_LIBRARY_NAME
I don’t know if this because my nvidia drivers which is video-hybrid-intel-prime
:
$ inxi --admin --verbosity=7 --filter --no-host --width
driver: nvidia v: 510.68.02 alternate: nouveau,nvidia_drm
But in short words, I’m lost. How to use GBM as a buffer API backend in Manjaro?