diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-09-07 12:50:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-09 12:04:55 +0100 |
commit | 560a70a198c9a2a4efcbf077305af51ea259682c (patch) | |
tree | 9834aef8d648d0b5246dc873b37c7f1bf89c659a /meta/lib/oeqa/selftest/cases/meta_ide.py | |
parent | dd7fdb4dee079e7b3d8f1567c5d6576dc2170ab1 (diff) | |
download | poky-560a70a198c9a2a4efcbf077305af51ea259682c.tar.gz |
runqemu: check permissions of available render nodes as well as their presence
qemu itself is not helpful when render nodes exist, but can't be opened:
qemu-system-x86_64: egl: render node init failed
To fix this, users likely need to
* modprobe vgem (presence when physical graphic card is absent or has a driver without
support for render nodes, such as many older cards found in server machines)
* add their user to "render" group to write to /dev/dri/renderD* (permissions)
With this change runqemu should print hints for the above as appropriate from probing the nodes.
(From OE-Core rev: acd85925cb197b7a31a25b60e8de762e2c3697ef)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/meta_ide.py')
0 files changed, 0 insertions, 0 deletions