mdw
June 25th, 2009, 09:51 PM
I have Ubuntu 9.04 64-bit on Athlon X2 with Nvidia 7600 GS, connected to an LCD display with 1680×1050 native resolution and I am trying to solve following problem with screen resolution.
When I boot I get login screen with correct, that is native, resolution. So far so good. When I login into GNOME, the resolution is switched into 1280×1024, which is clearly wrong. I can go to nvidia-settings or use xrandr to set proper resolution. I used nvidia-settings utility to write the resolution config to xorg.conf, but it does not work: when I log in again, I get 1280×1024 -- again.
I tried various modifications to xorg.conf, tried to google the web, tried everything I can think of, but the problem just does not want to go away.
My idea is that Xorg configuration is good, since when I fire X :1, it starts in proper, native resolution. I think the trouble is that something during the login forcibly switches the resolution.
Any ideas what to do?
My xorg.conf, relevant sections:
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL 2209WA"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
EndSection
Section "Screen"
#Option "TwinView" "0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "1680x1050 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
When I boot I get login screen with correct, that is native, resolution. So far so good. When I login into GNOME, the resolution is switched into 1280×1024, which is clearly wrong. I can go to nvidia-settings or use xrandr to set proper resolution. I used nvidia-settings utility to write the resolution config to xorg.conf, but it does not work: when I log in again, I get 1280×1024 -- again.
I tried various modifications to xorg.conf, tried to google the web, tried everything I can think of, but the problem just does not want to go away.
My idea is that Xorg configuration is good, since when I fire X :1, it starts in proper, native resolution. I think the trouble is that something during the login forcibly switches the resolution.
Any ideas what to do?
My xorg.conf, relevant sections:
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL 2209WA"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
EndSection
Section "Screen"
#Option "TwinView" "0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "1680x1050 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection