On 13/10/2008 21:48:50, Chris G wrote:
Well I've found where/how it decides on 1152x864 but I don't know *why* and I don't really know how to fix it. In my Xorg.0.log file there is:-
...
(II) intel(0): Modeline "1152x864"x75.0 104.99 1152 1224 1352
1552 864 865 868 902 -hsync +vsync (67.7 kHz) (II) intel(0): EDID vendor "DEL", prod id 40967
...
Xorg has simply chosen the last value returned by ddcprobe as the default, which IMHO is wrong. What's the 'right' way to fix it? All I want to do is set the resolution to 1600x1200 by default for everything that doesn't have a resolution set.
Chris,
I replies to a previous question on this or something similar which I repeat below. Although my answer relates to Debian it should work for Ubuntu too as I believe Ubuntu is based on Debian.
I have Debian on my desktop and I recently had a similar problem. After an upgrade of X it chose a default resolution that was substaintially poorer than the monitor can cope with.
What I think happenned in my case is that X switched from using the values in the x.org config file by default to using the values obtained from the monitor and then applied an incorrect or too simplistic algorithm to chosing the best mode.
The solution in my case was to add an option to the x.org config file: "PreferredMode". This makes the whole of the monitor portion of my x.org config file as follows:
Section "Monitor" Identifier "CPD-G500" Option "DPMS" ModeLine "1600x1200" 229.50 1600 1668 1860 2152 1200 1201 1 204 1250 +hsync +vsync Option "PreferredMode" "1600x1200" EndSection
The ModeLine above is not wrapped in my config file. The timing in this line are those reported by the monitor as seen by examining the X :0.log file.
HTH, Steve.