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?
then add them …
What do you mean? Needs to specify that you have to edit the /etc/environment and paste the
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
into it, save, reboot and check if works? 
My system broke, in a tty I tried to recall a plasma desktop instead what I got is:
$ kstart plasma-desktop
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt plataform plugin "xcb" in "" even though it was found
This application failed to start because no Qt plataform plugin could be initialized. Reinstalling
Available plataform plugins are : eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl
Aborted (core dumped)
I remove these lines:
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
from /etc/environment to recover my desktop.
Just a little reminder I have a prime-GPU
Just a little reminder waydroid cannot be hw accelerated with an nvidia gpu and will use software rendering instead (which is why your cpu usages increased)