Skip to content

virgl: enable in qemu when 'opengl' is in DISTRO_FEATURES

Alexander Kanavin openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from targetmeta/conf/bitbake.conf meta/recipes-gnome/gtk+/gtk+3.inc meta/recipes-graphics/cairo/cairo_1.16.0.bb +2 more+6 -66 replies
2/3libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURESmeta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb+2 -20 replies
3/3qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATUREmeta/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+13 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] virgl: enable in qemu when 'opengl' is in DISTRO_FEATURES

virgl is a virtualized accelerated 3D graphics support for the qemu guests. This patchset enables virgl in qemu, when 'opengl' is in DISTRO_FEATURES. Virgl is entirely opt-in (via non-default options to 'runqemu'). By default qemu behaves exactly as before, and does not use virgl.

This adds a few native dependencies to qemu-system-native (particularly, libdrm, virglrenderer and a special minimal configuration of mesa-native). I tested the impact on build times: it is about 20 seconds on a 32 core machine. 'bitbake core-image-minimal' goes from 22m23s to 22m44s.

The following changes since commit f9e11276432f1903047f483a68ca4b5a0d6c6111:

Updated patch for publishing (2020-04-24 15:21:14 +0100)

are available in the Git repository at:

git://git.yoctoproject.org/poky-contrib akanavin/qemu-split-virgl-gtk
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/qemu-split-virgl-gtk

Alexander Kanavin (3):
bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk
from target
libsdl2: enable opengl option for native/nativesdk, subject to
'opengl' in DISTRO_FEATURES
qemu: enable virglrenderer and glx options subject to 'opengl'
DISTRO_FEATURE

 meta/conf/bitbake.conf                         |  4 ++--
 meta/lib/oeqa/selftest/cases/runtime_test.py   | 18 ++++++------------
 .../qemu/qemu-system-native_4.2.0.bb           |  4 +++-
 meta/recipes-devtools/qemu/qemu_4.2.0.bb       |  5 ++++-
 meta/recipes-gnome/gtk+/gtk+3.inc              |  2 ++
 meta/recipes-graphics/cairo/cairo_1.16.0.bb    |  2 ++
 .../libepoxy/libepoxy_1.5.4.bb                 |  2 --
 .../recipes-graphics/libsdl2/libsdl2_2.0.12.bb |  4 ++--
 .../virglrenderer/virglrenderer_0.8.2.bb       |  2 --
 9 files changed, 21 insertions(+), 22 deletions(-)
Signature · 1 line
2.26.1