Skip to content

Instantly share code, notes, and snippets.

@cnlohr
Created October 19, 2020 06:29
Show Gist options
  • Save cnlohr/15d3440f72d143a26739ce8e20dcc76c to your computer and use it in GitHub Desktop.
Save cnlohr/15d3440f72d143a26739ce8e20dcc76c to your computer and use it in GitHub Desktop.
How to dynamically test hdmi_timings with Raspberry Pi
Having a hard time getting the timings you want working? Try this.
config.txt:
Then execute this command (or put it in rc.local)
vcgencmd hdmi_timings 2880 0 55 10 55 1600 0 30 6 570 0 0 0 90 0 593000000 3 && tvservice -e "DMT 87" && tvservice -s
hdmi_enable_4kp60=1
#hdmi_enable_4k=1
hdmi_pixel_freq_limit=600000000
gpu_mem=256
hdmi_force_hotplug=1
hdmi_force_mode=1
hdmi_ignore_edid=0xa5000080
config_hdmi_boost=8
hdmi_group=2
hdmi_drive=2
hdmi_mode=87
# This doesn't work... Like the Rpi ignores you if you set it here.
#hdmi_timings=2880 1 55 10 55 1600 1 30 6 570 0 0 0 90 0 593000000 3
#hdmi_timings=2880 1 55 10 55 1600 1 30 6 570 0 0 0 90 0 593000000 3
hdmi_timings=720 1 16 62 60 480 1 9 6 36 0 0 0 60 0 27027000 5
#dmi_cvt=2880 1600 89 3
hdmi_pixel_encoding=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment