mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
xorg-server: Do not install 10-noglamor.conf
This causes glamor APIs to be disabled and glxgears run very slow like 1FPS, without this it speeds up to 55.5fps Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
0b10f248d0
commit
16a8bb9da0
|
@ -1,6 +0,0 @@
|
||||||
#
|
|
||||||
Section "Device"
|
|
||||||
Identifier "modeset"
|
|
||||||
Driver "modesetting"
|
|
||||||
Option "AccelMethod" "None"
|
|
||||||
EndSection
|
|
|
@ -3,19 +3,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
SRC_URI_append_rpi = " \
|
SRC_URI_append_rpi = " \
|
||||||
file://xorg.conf.d/98-pitft.conf \
|
file://xorg.conf.d/98-pitft.conf \
|
||||||
file://xorg.conf.d/99-calibration.conf \
|
file://xorg.conf.d/99-calibration.conf \
|
||||||
file://xorg.conf.d/10-noglamor.conf \
|
|
||||||
"
|
"
|
||||||
do_install_append_rpi () {
|
do_install_append_rpi () {
|
||||||
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
|
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
|
||||||
VC4="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}"
|
|
||||||
if [ "${PITFT}" = "1" ]; then
|
if [ "${PITFT}" = "1" ]; then
|
||||||
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
|
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||||
install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||||
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||||
fi
|
fi
|
||||||
if [ "${VC4}" = "1" ]; then
|
|
||||||
install -Dm 0644 ${WORKDIR}/xorg.conf.d/10-noglamor.conf ${D}/${sysconfdir}/X11/xorg.conf.d/10-noglamor.conf
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
|
FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user