Hi Juanito
Just an observation, but out of curiosity, I took a look at that startup script:
#!/bin/sh
REVISION=$(awk -F: '/^Revision/ { print $2 }' /proc/cpuinfo | sed 's/ //g')
REVISION=${REVISION: -6}
case ${REVISION:2:1} in
3|4) #BCM2711 and BCM2712 CPU"
break
;;
0|1|2) #BCM2835, BCM2836 and BCM2837 CPUS, all early VC4 Graphics
cp /usr/local/share/Xorg-3d/files/20-noglamor.conf /usr/local/share/X11/xorg.conf.d
;;
*) #Unknown CPU
break
;;
esac
case ${REVISION:2:1} in
4) #BCM2712 CPU"
cp /usr/local/share/Xorg-3d/files/99-vc4.conf /usr/local/share/X11/xorg.conf.d
;;
0|1|2|3) #BCM2835, BCM2836, BCM2837 and BCM2711 CPUS
break
;;
*) #Unknown CPU
break
;;
esac
Maybe I'm missing something, but it looks like this would accomplish the
same thing without creating a second case statement:
#!/bin/sh
REVISION=$(awk -F: '/^Revision/ { print $2 }' /proc/cpuinfo | sed 's/ //g')
REVISION=${REVISION: -6}
case ${REVISION:2:1} in
4) #BCM2712 CPU"
cp /usr/local/share/Xorg-3d/files/99-vc4.conf /usr/local/share/X11/xorg.conf.d
;;
3) #BCM2711 CPU"
break
;;
0|1|2) #BCM2835, BCM2836 and BCM2837 CPUS, all early VC4 Graphics
cp /usr/local/share/Xorg-3d/files/20-noglamor.conf /usr/local/share/X11/xorg.conf.d
;;
*) #Unknown CPU
break
;;
esac