]> code.ossystems Code Review - openembedded-core.git/commit
qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 21 May 2020 17:00:20 +0000 (19:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 May 2020 09:47:09 +0000 (10:47 +0100)
commit662c688e635f4490aac0d6d34ce7a7b31d73f5c5
tree32c5190457a65027579cba22b1542f1784c5da90
parent0e0113c350e599f4da00eda384570e0db04f3b5d
qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE

Note that to actually use accelerated GL passthrough, there are two options

1) a suitable frontend need to be also enabled - gtk+ and SDL both seem to work well.
Previously I struggled to make SDL work, but now it seems fine.

2) it is also possible to render off-screen with -display egl-headless option,
and see the output with a VNC viewer (for which, qemu needs to be started
with a VNC server):

$ runqemu kvm egl-headless publicvnc

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/runtime_test.py
meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb
meta/recipes-devtools/qemu/qemu_4.2.0.bb