And:
#!/bin/bash
# Glamor should not run on platforms prior to Pi 4.
if ! raspi-config nonint gpu_has_mmu ; then if ! [ -e /usr/share/X11/xorg.conf.d/20-noglamor.conf ] ; then cat > /usr/share/X11/xorg.conf.d/20-noglamor.conf << EOF Section "Device" Identifier "kms" Driver "modesetting" Option "AccelMethod" "msdri3" Option "UseGammaLUT" "off" EndSection EOF fi else if [ -e /usr/share/X11/xorg.conf.d/20-noglamor.conf ] ; then rm /usr/share/X11/xorg.conf.d/20-noglamor.conf fi fi
And:
#!/bin/bash
# Glamor should not run on platforms prior to Pi 4.
if ! raspi-config nonint gpu_has_mmu ; then X11/xorg. conf.d/ 20-noglamor. conf ] ; then X11/xorg. conf.d/ 20-noglamor. conf << EOF X11/xorg. conf.d/ 20-noglamor. conf ] ; then X11/xorg. conf.d/ 20-noglamor. conf
if ! [ -e /usr/share/
cat > /usr/share/
Section "Device"
Identifier "kms"
Driver "modesetting"
Option "AccelMethod" "msdri3"
Option "UseGammaLUT" "off"
EndSection
EOF
fi
else
if [ -e /usr/share/
rm /usr/share/
fi
fi