From 301c9b323616ff0a0e41d0fd1178c1f2029e44e9 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 25 Jan 2017 17:36:43 -0500 Subject: Disable Weston DRM backend in QEMU Since the Weston DRM backend does not work with the video card implementations in VirtualBox and VMWare player, and has some outstanding issues on QEMU that have resulted in GenIVI not enabling it[1], disable it for now. A comment has been added to the QEMU weston.ini indicating that the DRM backend can be re-enabled to potentially gain higher performance. Additionally, the common weston.service systemd unit has been modified to add the --tty option to weston-launch to start weston on /dev/tty1. This is now required to avoid console messages writing on top of the HomeScreen in QEMU, and is harmless to operation on the other platforms. [1]: https://github.com/GENIVI/meta-genivi-dev/pull/34 Bug-AGL: SPEC-405 Change-Id: Ic0c0adeb15baf392e3ffa0bbd26c62d060df1ef5 Signed-off-by: Scott Murray --- meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-agl-bsp') diff --git a/meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini b/meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini index e380bf1b3..9c5ddd2d3 100644 --- a/meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini +++ b/meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini @@ -1,6 +1,9 @@ [core] shell=ivi-shell.so -backend=drm-backend.so +# DRM backend disabled for now to allow compatibility with VirtualBox +# and VMWare Player. It may be re-enabled if running on QEMU for +# potentially increased performance. +#backend=drm-backend.so [ivi-shell] ivi-module=ivi-controller.so,wl-shell-emulator.so -- cgit 1.2.3-korg