Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
And there’s one validation is for Unity utils. This validation is also used by gl_support case. The check and output on my PC (201712-26032) is like below
$ cd /snap/checkbox22/current/usr/lib/nux
$ DISPLAY=:0 ./unity_support_test -p
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.1
Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes
Unity 3D supported: yes
However, this check point is NOT valid some devices with ARM Mali GPU (e.g., Genio G1200, G700, G510 with Desktop image).
DISPLAY=:0 ./unity_support_test -p
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 128 bits)
OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes
Unity 3D supported: no
In Mesa, it is actually loading the swrast DRI driver if there are no relevant DRI driver available. swrast is a software based DRI driver in Mesa to provide support on OpenGL. So Tte test failed since OpenGL is using a software rendering driver as shown as above result, where Unity 3D failed in similar way.
And it is expected that Mali driver do not support OpenGL. So any OpenGL tools are actually querying the default software rendering support from Mesa.
Bug Description
Problem
Recently, the cold/warm boot stress tests failed on Genio and ADVANTECH - RSB-3810 devices in SRU and enabledment phase.
The failed output like below and it's caused by checking
unity support test
Reason
There were two commits to enhance and fix the validation for cold/warm stress test
And there’s one validation is for Unity utils. This validation is also used by gl_support case. The check and output on my PC (201712-26032) is like below
However, this check point is NOT valid some devices with ARM Mali GPU (e.g., Genio G1200, G700, G510 with Desktop image).
Although the outcome shows
llvmpipe
not ARM Mali, it's EXPECTED result. See detail in https://bugs.launchpad.net/baoshan/+bug/2025696/comments/5Cert-blocker Test Case
To Reproduce
checkbox.checkbox-cli control <IP to DUT>
com.canonical.certification::client-cert-desktop-22-04-stress
test planCold-boot Stress Test
and Warm-boot Stress Test`Expected Result
No
[ ERR ] unity support test returned 1
be raised during eachloop-test
iterationActual Result
Environment
OS: Jammy Desktop Image Checkbox Type: Snap Hardware Testing: ARM Mali GPU
Relevant log output
No response
Additional context
No response