Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/6] qemu: enable virglrenderer and glx options for qemu-system-native and nativesdk-qemu
@ 2019-03-04 15:36 Alexander Kanavin
  2019-03-04 15:36 ` [PATCH 2/6] qemu: add a gtk+ frontend to target builds Alexander Kanavin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alexander Kanavin @ 2019-03-04 15:36 UTC (permalink / raw)
  To: openembedded-core

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

1) a suitable frontend need to be also enabled - gtk+ seems to work well,
sdl was found to be buggy.

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>
---
 meta/recipes-devtools/qemu/qemu-system-native_3.1.0.bb | 2 +-
 meta/recipes-devtools/qemu/qemu_3.1.0.bb               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu-system-native_3.1.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_3.1.0.bb
index 5bf528bec12..95369d7f6a2 100644
--- a/meta/recipes-devtools/qemu/qemu-system-native_3.1.0.bb
+++ b/meta/recipes-devtools/qemu/qemu-system-native_3.1.0.bb
@@ -9,7 +9,7 @@ DEPENDS = "glib-2.0-native zlib-native pixman-native qemu-native"
 
 EXTRA_OECONF_append = " --target-list=${@get_qemu_system_target_list(d)}"
 
-PACKAGECONFIG ??= "fdt alsa kvm"
+PACKAGECONFIG ??= "fdt alsa kvm virglrenderer glx"
 
 # Handle distros such as CentOS 5 32-bit that do not have kvm support
 PACKAGECONFIG_remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}"
diff --git a/meta/recipes-devtools/qemu/qemu_3.1.0.bb b/meta/recipes-devtools/qemu/qemu_3.1.0.bb
index 04d8bee99f2..3c404d408d0 100644
--- a/meta/recipes-devtools/qemu/qemu_3.1.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_3.1.0.bb
@@ -17,6 +17,6 @@ PACKAGECONFIG ??= " \
     fdt sdl kvm \
     ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
 "
-PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm"
+PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm virglrenderer glx"
 
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-04 15:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04 15:36 [PATCH 1/6] qemu: enable virglrenderer and glx options for qemu-system-native and nativesdk-qemu Alexander Kanavin
2019-03-04 15:36 ` [PATCH 2/6] qemu: add a gtk+ frontend to target builds Alexander Kanavin
2019-03-04 15:36 ` [PATCH 3/6] qemu: remove sdl option from PACKAGECONFIG default Alexander Kanavin
2019-03-04 15:36 ` [PATCH 4/6] qemu: remove support for building against host sdl Alexander Kanavin
2019-03-04 15:36 ` [PATCH 5/6] local.conf.sample: enable gtk+ frontend in addition to sdl Alexander Kanavin
2019-03-04 15:36 ` [PATCH 6/6] local.conf.sample: remove support for building against host libsdl Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox