[OE-core] [PATCH 0/3] virgl: enable in qemu when 'opengl' is in DISTRO_FEATURES

Alexander Kanavin alex.kanavin at gmail.com
Thu Jan 23 15:44:29 UTC 2020


I forgot to mention that this is all entirely opt-in (via non-default
options to 'runqemu'). By default qemu behaves exactly as before, and does
not use virgl.

Alex

On Thu, 23 Jan 2020 at 16:38, Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> 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(-)
>
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200123/6c365444/attachment.html>


More information about the Openembedded-core mailing list