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 1 replyIn 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 -60 replies
2/3libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURESmeta/recipes-graphics/libsdl2/libsdl2_2.0.10.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.1.0.bb meta/recipes-devtools/qemu/qemu_4.1.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.

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 30 seconds on a 16 core machine. 'bitbake core-image-minimal' goes from 25m26s to 25m57s.

The following changes since commit ca3993cc4b13d4e661228cee6fb9448adfd0a4ba:

bitbake: tests/fetch: Allow wget upgrade tests to run against a local server (2020-01-22 15:56:39 +0000)

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.1.0.bb           |  4 +++-
 meta/recipes-devtools/qemu/qemu_4.1.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.10.bb |  4 ++--
 .../virglrenderer/virglrenderer_0.8.1.bb       |  2 --
 9 files changed, 21 insertions(+), 22 deletions(-)
Signature · 1 line
2.17.1