]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
scripts/runqemu: move render nodes check to runqemu from selftest
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 27 Feb 2023 11:40:08 +0000 (12:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Feb 2023 11:55:22 +0000 (11:55 +0000)
commitcbbada6a6c9b0a2e97f7395117dad986555f2db9
tree60053fa8e1193ab829fa49cc1599117695153364
parentad179728a6978d929e2a876abe7e1cbd6b76a502
scripts/runqemu: move render nodes check to runqemu from selftest

This will produce a more useful hint for those setting
up or testing virgl headless:

runqemu - ERROR - No render nodes found in /dev/dri: ['by-path', 'card0']. If /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create one suitable for mesa llvmpipe software renderer.

as qemu itself isn't helpful:

alex@Zen2:/srv/storage/alex/yocto/build-64-alt$ qemu-system-x86_64 -display egl-headless
qemu-system-x86_64: egl: no drm render node available
qemu-system-x86_64: egl: render node init failed

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/runtime_test.py
scripts/runqemu