Allow rPi to use full screen resolution

This commit is contained in:
David Carley
2021-03-06 09:16:48 -08:00
parent fd371f5189
commit 9ef4444648

View File

@@ -36,6 +36,15 @@ fi
#./scripts/edit-boot-config gpu_mem=16 #./scripts/edit-boot-config gpu_mem=16
#chmod ug+s /usr/lib/xorg/Xorg #chmod ug+s /usr/lib/xorg/Xorg
# Use the full screen resolution
grep "^framebuffer_width=1280$" /boot/config.txt >/dev/null
if [ $? -ne 0 ]; then
mount -o remount,rw /boot &&
sed -i 's/^\(framebuffer_.*\)$/#\1/g' /boot/config.txt
mount -o remount,ro /boot
REBOOT=true
fi
# Fix camera # Fix camera
grep dwc_otg.fiq_fsm_mask /boot/cmdline.txt >/dev/null grep dwc_otg.fiq_fsm_mask /boot/cmdline.txt >/dev/null
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then