Skip to content

Instantly share code, notes, and snippets.

@dirkvranckaert
Last active October 13, 2017 10:28
Show Gist options
  • Save dirkvranckaert/b17230092affe68627464059b9b3af1c to your computer and use it in GitHub Desktop.
Save dirkvranckaert/b17230092affe68627464059b9b3af1c to your computer and use it in GitHub Desktop.
# Force use HDMI
hdmi_force_hotplug=1
# force a specific HDMI mode
hdmi_group=2
hdmi_mode=87
# custom display resolution
# /----------------- Width: 800px
# | /------------- Height: 480px
# | | /--------- Refresh: 60Hz
# | | | /------- Aspect ratio: 1=4:3 (1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9)
# | | | | /----- Margins: 0=disabled (1=enabled)
# | | | | | /--- Interlace: 0=progressive (1=interlaced)
# | | | | | | /- Reduced blanking: 0=normal (1=reduced)
# | | | | | | |
hdmi_cvt 800 480 60 1 0 0 0
# Tried 2 (to act as a computer screen) dut didn't work.
# Found on SO that I should try option 1
# Source: https://raspberrypi.stackexchange.com/questions/67848/pink-pixels-on-left-edge-of-display/68045#68045?newreg=7c4f6e08e37e431fb7159f6350952a5a
hdmi_drive=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment