Hi, On Wed, Aug 23, 2023 at 08:37:47PM +0200, Alexander Kanavin wrote: > On Wed, 23 Aug 2023 at 08:10, Mikko Rapeli <mikko.rap...@linaro.org> wrote: > > > > If access to /dev/dri/renderD128 fails, then qemu with 3d graphics will > > fail to start and errors are rather cryptic like: > > > > qemu-system-x86_64: egl: render node init failed > > > > To fix this, users likely need to > > > > * modprobe vgem > > * add their user to "render" group to write to /dev/dri/renderD128 > > > > If access is not available due to missing HW, driver or failing access, > > then skip the test: > > This should be a failure rather than a skip. Otherwise, autobuilder > testing will silently regress and no one will notice. The error > message should include information from IOError as well so that it's > clear that the issue is device file permissions.
Then this change is not needed at all. Test already fails if render device is not available or if access fails. In my experience very few environments have vgem driver loaded and "render" group permissions for the user running the builds and tests. Cheers, -Mikko
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#186638): https://lists.openembedded.org/g/openembedded-core/message/186638 Mute This Topic: https://lists.openembedded.org/mt/100910043/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-