setup-life-display

Instructions and scripts to setup sdl2-life on a Raspberry Pi
git clone https://www.brianlane.com/git/setup-life-display
Log | Files | Refs | README

config.txt (2464B)


      1 # For more options and information see
      2 # http://rpf.io/configtxt
      3 # Some settings may impact device functionality. See link above for details
      4 
      5 # uncomment if you get no picture on HDMI for a default "safe" mode
      6 #hdmi_safe=1
      7 
      8 # uncomment the following to adjust overscan. Use positive numbers if console
      9 # goes off screen, and negative if there is too much border
     10 #overscan_left=16
     11 #overscan_right=16
     12 #overscan_top=16
     13 #overscan_bottom=16
     14 
     15 # uncomment to force a console size. By default it will be display's size minus
     16 # overscan.
     17 #framebuffer_width=1280
     18 #framebuffer_height=720
     19 
     20 # uncomment if hdmi display is not detected and composite is being output
     21 #hdmi_force_hotplug=1
     22 
     23 # uncomment to force a specific HDMI mode (this will force VGA)
     24 #hdmi_group=1
     25 #hdmi_mode=1
     26 
     27 # uncomment to force a HDMI mode rather than DVI. This can make audio work in
     28 # DMT (computer monitor) modes
     29 #hdmi_drive=2
     30 
     31 # Used with Adafruit 800x480 display
     32 hdmi_group=2
     33 hdmi_mode=87
     34 hdmi_cvt=800 480 60 6 0 0 0
     35 hdmi_drive=1
     36 
     37 # uncomment to increase signal to HDMI, if you have interference, blanking, or
     38 # no display
     39 #config_hdmi_boost=4
     40 
     41 # uncomment for composite PAL
     42 #sdtv_mode=2
     43 
     44 #uncomment to overclock the arm. 700 MHz is the default.
     45 #arm_freq=800
     46 
     47 # Uncomment some or all of these to enable the optional hardware interfaces
     48 #dtparam=i2c_arm=on
     49 #dtparam=i2s=on
     50 #dtparam=spi=on
     51 
     52 # Enable watchdog hardware
     53 dtparam=watchdog=on
     54 
     55 # Uncomment this to enable infrared communication.
     56 #dtoverlay=gpio-ir,gpio_pin=17
     57 #dtoverlay=gpio-ir-tx,gpio_pin=18
     58 
     59 # Additional overlays and parameters are documented /boot/overlays/README
     60 
     61 # Enable audio (loads snd_bcm2835)
     62 dtparam=audio=on
     63 
     64 # Automatically load overlays for detected cameras
     65 camera_auto_detect=1
     66 
     67 # Automatically load overlays for detected DSI displays
     68 display_auto_detect=1
     69 
     70 # Enable DRM VC4 V3D driver
     71 dtoverlay=vc4-kms-v3d
     72 max_framebuffers=2
     73 
     74 # Disable compensation for displays with overscan
     75 disable_overscan=1
     76 
     77 # Allow usb to source max current
     78 max_usb_current=1
     79 
     80 # Rotate the display 90 degrees so it is 480x800 portrait mode
     81 # https://elinux.org/RPiconfig
     82 # NOTE: Doesn't work
     83 #display_rotate=1
     84 
     85 # Disable the color bar splash
     86 disable_splash=1
     87 
     88 [cm4]
     89 # Enable host mode on the 2711 built-in XHCI USB controller.
     90 # This line should be removed if the legacy DWC2 controller is required
     91 # (e.g. for USB device mode) or if USB support is not required.
     92 otg_mode=1
     93 
     94 [all]
     95 
     96 [pi4]
     97 # Run as fast as firmware / board allows
     98 arm_boost=1
     99 
    100 [all]