packagegroup-core-x11-xserver: add modesetting driver to default XSERVER
PATCH 1/3 packagegroup-core-x11-xserver: add modesetting driver to default XSERVER
From: Ross Burton <[email protected]>
On modern systems, both real and virtual hardware, the modesetting driver is preferred over the dumb framebuffer driver as it is more functional and is essentially the default Xorg video driver.
--- .../packagegroups/packagegroup-core-x11-xserver.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb +4 -1
@@ -11,7 +11,10 @@ inherit packagegroup features_check # rdepends on XSERVER REQUIRED_DISTRO_FEATURES = "x11" -XSERVER ?= "xserver-xorg xf86-video-fbdev" +XSERVER ?= "xserver-xorg \ + xf86-video-fbdev \ + xf86-video-modesetting \ + " XSERVERCODECS ?= "" RDEPENDS:${PN} = "\
Signature · 1 line
2.34.1
PATCH 2/3 beaglebone-yocto: remove redundant XSERVER assignment
From: Ross Burton <[email protected]>
The default XSERVER value is good enough for this BSP, so we don't need to set it explicitly.
--- meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 3 --- 1 file changed, 3 deletions(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +0 -3
@@ -3,9 +3,6 @@ #@DESCRIPTION: Reference machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" -XSERVER ?= "xserver-xorg \ - xf86-video-modesetting \ - " MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
Signature · 1 line
2.34.1
PATCH 3/3 machine/qemu*: add modesetting drivers to XSERVER
In reply to [email protected]From: Ross Burton <[email protected]>
The modesetting driver works well in qemu, so install it by default. The plain framebuffer has been buggy in recent 6.4 kernels, a sign that it's not getting much testing. The Xorg modesetting driver that can use more powerful virtualised hardware is much better.
We override the default XSERVER because we want to pull in the GLX extension to exercise that.
--- meta/conf/machine/include/qemu.inc | 1 + 1 file changed, 1 insertion(+)
meta/conf/machine/include/qemu.inc +1 -0
@@ -8,6 +8,7 @@ PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa" XSERVER ?= "xserver-xorg \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ xf86-video-fbdev \ + xf86-video-modesetting \ " MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"
Signature · 1 line
2.34.1