aki 0 Posted November 8, 2023 (edited) Hello everyone, I am currently using a Tinker Board 2/2S with Debian 11 (kernel 5.10) v3.0.6 and it appears that the Rockchip driver is not loading properly. When I run glxinfo | grep "OpenGL", I encounter multiple libGL errors related to the failure to create a DRI screen and to load the Rockchip driver. Consequently, it seems to fall back to software rendering with llvmpipe. Here is the output I received: linaro@linaro-alip:~$ glxinfo | grep "OpenGL" libGL error: failed to create dri screen libGL error: failed to load driver: rockchip libGL error: failed to create dri screen libGL error: failed to load driver: rockchip OpenGL vendor string: Mesa/X.org OpenGL renderer string: llvmpipe (LLVM 11.0.1, 128 bits) OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.5 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.1 Mesa 20.3.5 OpenGL shading language version string: 1.40 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.5 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions: Could anyone advise on the necessary steps to ensure the Rockchip driver loads correctly? Any guidance or suggestions would be greatly appreciated. Thank you in advance for your assistance. Edited November 8, 2023 by aki Share this post Link to post Share on other sites
tooz 54 Posted November 9, 2023 hello @aki, the embedded gpu uses GLES instead of GL please use the commands below to check the gpu loading/ usage instead of glxinfo: cat /sys/devices/platform/ff9a0000.gpu/utilisation cat /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/load Share this post Link to post Share on other sites
aki 0 Posted November 9, 2023 Hello @tooz, I tried the commands you suggested to check the GPU loading and usage on my Tinker Board 2/2S. The results are as follows: linaro@linaro-alip:~$ cat /sys/devices/platform/ff9a0000.gpu/utilisation 0 linaro@linaro-alip:~$ cat /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/load 0@800000000Hz Could you provide further guidance on what these results indicate regarding the Rockchip driver issue and any additional steps I might need to take to resolve it? Thank you for your help!! Share this post Link to post Share on other sites
tooz 54 Posted November 10, 2023 hello @aki, 16 hours ago, aki said: linaro@linaro-alip:~$ cat /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/load 0@800000000Hz the @800000000Hz here means the gpu frequency is set to 800mhz, 0 means the gpu usage = 0 is the gpu governor set to performance? and please use these commands to check gpu when you're running applications that might be using gpu to accelerate -- for exmaple, you can use the commands while running glmark2-es2 and the gpu usage should not be 0. if the apis you are using support gpu accelerating then it (gpu usage = 0) should not be the case Share this post Link to post Share on other sites