From 67959b9a15bc775158197926c3a0bcb557149777 Mon Sep 17 00:00:00 2001 From: Carlos Alberto Lopez Perez Date: Tue, 6 Oct 2015 17:00:20 +0200 Subject: machine/qemu: Fix OpenGL/GLX support with xserver-xorg. * The Xorg server needs to load the GLX extension in order to enable proper OpenGL support. * Before this patch, glxinfo aborted with: root@qemux86:~# glxinfo name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig * After this patch, it works as expected: root@qemux86:~# glxinfo | grep " render" direct rendering: Yes OpenGL renderer string: Software Rasterizer (From OE-Core rev: 8f33627684755899c5b1fd7eeefdd89c42e68fec) Signed-off-by: Carlos Alberto Lopez Perez Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/conf/machine/qemux86-64.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/conf/machine/qemux86-64.conf') diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf index a4fd43ce1a..489194aa6e 100644 --- a/meta/conf/machine/qemux86-64.conf +++ b/meta/conf/machine/qemux86-64.conf @@ -16,7 +16,7 @@ KERNEL_IMAGETYPE = "bzImage" SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1" XSERVER = "xserver-xorg \ - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ xf86-input-vmmouse \ xf86-input-keyboard \ xf86-input-evdev \ -- cgit v1.2.3-54-g00ecf