Help with enabling GPU acceleration (Mali) on Radxa CM3 IO – X11 + OpenGL + Electron + GStreamer

Hi everyone,

I’m trying to run my application on the Radxa CM3 IO board using the following setup:
X11 + OpenGL (GPU) + Electron app + GStreamer renderer

However, I’ve noticed that X11 + OpenGL are currently running with CPU-based rendering (llvmpipe) instead of utilizing the ARM Mali GPU hardware .

I’m using the default image with kernel 5.10 , and I can confirm that the Mali driver is loaded ( /dev/mali0 is present).
Image used:
radxa-cm3-io_debian_bullseye_xfce_b27.img.xz

I have a few questions:

  • Does X11 + OpenGL on Debian Bullseye (Debian 11) support GPU hardware acceleration on this platform?
  • Are there any other RK3566-based boards (e.g., Radxa Zero 3 ) where X11 + OpenGL + GPU acceleration works out of the box, so I can use that as a reference?
  • Would other frameworks such as Yocto or Armbian support GPU acceleration better in this setup?
  • Has anyone here successfully achieved X11 + OpenGL + GPU acceleration on a similar platform?

Any pointers, configuration tips, or references would be greatly appreciated!
Thanks a lot for your time and support.