Response from from the Radxa development team:
ZERO 3W’s SoC uses Mali-G52 GPU [1] which does not list OpenGL as one of its supported API. They support OpenGL ES, but this is a separate API, and the program built for one cannot use the other. As a result, Arm’s official GPU driver does not support OpenGL either, which is the GPU driver supported in Rockchip SDK. This is unfortunate since most of the desktop applications are built with OpenGL in mind, so when running in our system, they have to fallback to software rendering.
To verify OpenGL ES is working on your system though, you can install
glmark2-es2-x11 to verify.
The popular open source GPU driver panfrost supports OpenGL. But this is provided with internal API translation, as the underlying hardware does support all OpenGL’s features, which is why its OpenGL implementation is listed as non-conformant [2]. Although for the majority of the desktop applications, it was good enough.
We tried to support Panfrost in our system without Rockchip’s blessing, but currently, Debian 11 ships Mesa 20.3.5 [3], while the required version for RK356X is at least 21.2.0 [4].
Since Rockchip hasn’t released their Debian 12 SDK for RK356X, it will take a while before we try this route again.
1: https://developer.arm.com/Processors/Mali-G52
2: https://wiki.debian.org/PanfrostLima#Software_support
3: https://packages.debian.org/source/bullseye/mesa
4: https://gitlab.freedesktop.org/mesa/mesa/-/commit/e1959f0f5990fc73e78a7431a800c623b6fc5208
I have installed and run glmark2-es2-x11 as suggested and can confirm that OpenGL ES acceleration is present. Unfortunately, that does not help me a lot.
I was working with a Radxa Zero 2 using the Ubuntu image before. The Ubuntu image came with the panfrost driver installed and had at least basic hardware OpenGL acceleration.
Somehow I expected that the same applies for the Radxa Zero 3W, but learned from the dev team that the Zero 3 is actually not a successor of the Zero 2, but rather the Zero.