]> code.ossystems Code Review - openembedded-core.git/commit
machine/qemu: Fix OpenGL/GLX support with xserver-xorg.
authorCarlos Alberto Lopez Perez <clopez@igalia.com>
Tue, 6 Oct 2015 15:00:20 +0000 (17:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Oct 2015 13:33:38 +0000 (14:33 +0100)
commit8f33627684755899c5b1fd7eeefdd89c42e68fec
tree3f67dd2adcd04a620c19749bcb73d6bcae11eb6f
parenta3b0c401cac043a132e7e2d491b3871ec94c258e
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

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/machine/include/qemu.inc
meta/conf/machine/qemux86-64.conf
meta/conf/machine/qemux86.conf