User avatar
TimG
Posts: 299
Joined: Tue Apr 03, 2012 12:15 am
Location: Switzerland

HDMI output not respecting config.txt parameters

Fri Mar 29, 2013 3:13 pm

Hi everybody,
I have a RPi with Raspbian and latest the firmware running as a headless server. It is connected by HDMI to a TV on which it displays a status page, but the TV is usually switched off. If the TV is on when the RPi boots it picks up the correct 1920x1080 resolution and everything is fine, but normally the TV is off and the RPi defaults to a resolution of 1280x720.

I thought the parameters in config.txt would allow me to force the video mode to the right resolution, but I always seem to get 1280x720. Can anybody suggest what I'm missing?

Here's my config.txt:

Code: Select all

disable_overscan=1
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=82
hdmi_drive=2
arm_freq=800
gpu_mem=16
core_freq=250
sdram_freq=400
over_voltage=0

McNeil
Posts: 22
Joined: Sat Mar 23, 2013 10:30 am

Re: HDMI output not respecting config.txt parameters

Fri Mar 29, 2013 3:33 pm

Code: Select all

framebuffer_width=1920
framebuffer_height=1080

User avatar
TimG
Posts: 299
Joined: Tue Apr 03, 2012 12:15 am
Location: Switzerland

Re: HDMI output not respecting config.txt parameters

Fri Mar 29, 2013 8:41 pm

Thanks, that seems to have done the trick. From experimenting a little it looks like the screen mode is being set either by the display (if present) or by the framebuffer size. The hdmi_mode= line doesn't seem to be having any effect at all, whether the display is connected or not. Is that right? Because it appears to contradict the documentation.

Return to “Troubleshooting”