Update config.txt

Disable overscan

Enable camera_auto_detect

Switch all models to KMS

Enable arm_boost on pi 4

Enable host mode on built-in USB controller on CM4
This commit is contained in:
Serge Schneider 2021-10-05 15:51:43 +01:00
parent 456aa2e50b
commit d0eed3b76f

View file

@ -5,10 +5,6 @@
# uncomment if you get no picture on HDMI for a default "safe" mode # uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1 #hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console # uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border # goes off screen, and negative if there is too much border
#overscan_left=16 #overscan_left=16
@ -56,10 +52,26 @@
# Enable audio (loads snd_bcm2835) # Enable audio (loads snd_bcm2835)
dtparam=audio=on dtparam=audio=on
[pi4] # Automatically load overlays for detected cameras
# Enable DRM VC4 V3D driver on top of the dispmanx display stack camera_auto_detect=1
dtoverlay=vc4-fkms-v3d
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2 max_framebuffers=2
# Disable compensation for displays with overscan
disable_overscan=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
[pi4]
# Run as fast as firmware / board allows
arm_boost=1
[all] [all]
#dtoverlay=vc4-fkms-v3d