Resolution changing when TV turned off…

I run XBMC over gnome3 for my media centre PC. Recently, I’ve been coming home after work to find the resolution has switched from 1080p to 720p despite nothing but 1080p modelines in my xorg.conf

I’ve managed to reproduce the problem easily enough while watching the log files, and sure enough, the TV and amp turn off, and the resolution switches the mode to NULL and then 720p.

I’ve been looking over bug reports about this problem, there’s a lot of talk about problems with XFCE’s settings daemon but not as much about gnome. I found one ubuntuĀ forum post with a similar problem which suggested moving ~/.config/monitors.xml

This helped for a bit, but I don’t think it actually solved anything.

Next thing to try was modifying the xorg.conf file further. My xorg.conf file looks like this now:

Section "Monitor"
 Identifier "monitor"
 Option "UseHotplugEvents" "False"
EndSection

Section "Device"
 Identifier "nvidia"
 Driver "nvidia"
 Option "NoLogo" "true"
# Option "DynamicTwinView" "true"
 Option "NoFlip" "false"
 Option "FlatPanelPropeties" "Scaling = Native"
 Option "ModeValidation" "NoVesaModes, NoXSeverModes"
# Option "UseDisplayDevice" "DFP-1"
 Option "ModeDebug" "false"
 Option "HWCursor" "false"
EndSection

Section "Screen"
 Identifier "screen"
 Device "nvidia"
 Monitor "monitor"
 Option "ConnectedMonitor" "DFP-1"
 SubSection "Display"
 Modes "1920x1080_60" "1920x1080_60_0" "1920x1080_50" "1920x1080_24"
 EndSubSection
EndSection

Section "Extensions"
# Option "Composite" "false"
EndSection

So far things are looking better. The X11 logs aren’t showing any strange attempts to set invalid resolutions.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.