{"id":92,"date":"2016-10-19T23:26:08","date_gmt":"2016-10-19T16:26:08","guid":{"rendered":"http:\/\/prosindo.com\/blog\/?p=92"},"modified":"2024-04-16T14:51:44","modified_gmt":"2024-04-16T07:51:44","slug":"raspberry-pi-force-boot-hdmi-mode-and-resolution","status":"publish","type":"post","link":"https:\/\/prosindo.com\/blog\/2016\/10\/19\/raspberry-pi-force-boot-hdmi-mode-and-resolution\/","title":{"rendered":"Raspberry Pi Force Boot HDMI Mode and Resolution"},"content":{"rendered":"<p>This command to store current EDID data to file:<\/p>\n<p><code>sudo \/opt\/vc\/bin\/tvservice -d \/boot\/edid.dat<\/code><\/p>\n<p>And add this line below to <code>\/boot\/config.txt<\/code> to load the EDID data above on boot, ignore EDID data from monitor<\/p>\n<p><code>hdmi_edid_file=1<\/code><\/p>\n<p>so RPi will boot with mode and resolution correctly even when monitor is off (or slowly starting on), this is useful when power blackout, the monitor starting slowly and is not detected by RPi correctly and fallback to VGA resolution automatically<\/p>\n<p>Source:<br \/>\n&#8211; https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?p=173430#p173430<\/p>\n\n\n<p>===== rpi4 no longer use config.txt<\/p>\n\n\n\n<p>DISPLAY=:0 xrandr<\/p>\n\n\n\n<p>cvt 1360 768 60<\/p>\n\n\n\n<p>DISPLAY=:0 xrandr &#8211;newmode &#8220;1360x768_60&#8221; 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync<\/p>\n\n\n\n<p>DISPLAY=:0 xrandr -s 1360&#215;768<\/p>\n\n\n\n<p>DISPLAY=:0 xrandr &#8211;rmmode 1360x768_60<\/p>\n\n\n\n<p><a href=\"https:\/\/askubuntu.com\/questions\/377937\/how-do-i-set-a-custom-resolution\">https:\/\/askubuntu.com\/questions\/377937\/how-do-i-set-a-custom-resolution<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.raspberrypi.com\/documentation\/computers\/configuration.html\">https:\/\/www.raspberrypi.com\/documentation\/computers\/configuration.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This command to store current EDID data to file: sudo \/opt\/vc\/bin\/tvservice -d \/boot\/edid.dat And add this line below to \/boot\/config.txt to load the EDID data above on boot, ignore EDID data from monitor hdmi_edid_file=1 so RPi will boot with mode and resolution correctly even when monitor is off (or slowly starting on), this is useful &hellip; <a href=\"https:\/\/prosindo.com\/blog\/2016\/10\/19\/raspberry-pi-force-boot-hdmi-mode-and-resolution\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Raspberry Pi Force Boot HDMI Mode and Resolution&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5,10,13,20,22],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-blackout","tag-edid","tag-hdmi-mode","tag-raspberry-pi","tag-resolution"],"_links":{"self":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":2,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":462,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/92\/revisions\/462"}],"wp:attachment":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}