On Mon, Oct 13, 2008 at 08:56:41PM +0100, Chris G wrote:
I'm trying out Ubuntu 8.10 on my new system.
It insists on setting the resolution in X to 1152x864 by default. This is a real pain because it looks awful on my Dell display which has a native resolution of 1600x1200.
I can set the user desktop to 1600x1200 but that doesn't change anything else, for example the gdm login is still at the lower (fuzzy) resolution and if I change to anothe window manager that's at the lower resolution too.
Where does the 'default' come from now that there are no explicit resolutions in xorg.conf? Can I put 1600x1200 explicitly in xorg.conf and, if I do that, will it cause any problems?
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): Printing DDC gathered Modelines: (II) intel(0): Modeline "1600x1200"x0.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz) (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) intel(0): Modeline "640x480"x0.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline "1024x768"x0.0 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.1 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) intel(0): Modeline "1280x1024"x60.0 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -hsync +vsync (63.6 kHz) (II) intel(0): Modeline "1600x1200"x60.0 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -hsync +vsync (74.5 kHz) (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 (II) intel(0): I2C device "HDMIDDC_C:ddc2" registered at address 0xA0. (II) intel(0): I2C device "HDMIDDC_C:ddc2" removed. (II) intel(0): Output VGA connected (II) intel(0): Output HDMI-1 disconnected (II) intel(0): Output HDMI-2 connected (II) intel(0): Using fuzzy aspect match for initial modes (II) intel(0): Output VGA using initial mode 1152x864 (II) intel(0): Output HDMI-2 using initial mode 1152x864 (II) intel(0): detected 512 kB GTT. (II) intel(0): detected 131072 kB stolen memory. (==) intel(0): video overlay key set to 0x101fe
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.