PDA

View Full Version : [ubuntu] Resolution trouble in Xorg/GNOME



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

Nirro
October 4th, 2009, 12:12 AM
I have exactly the same nvidia graphics card and the same monitor, with the same problem. karmic koala beta.

Does anyone have a solution ?

my xorg.conf :

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@crested) Sun Feb 1 20:25:37 UTC 2009

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

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
ModeLine "1280x1024@60" 108.000 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
ModeLine "1280x960@60" 102.100 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
ModeLine "1024x768@60" 65.000 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
ModeLine "800x600@60" 40.000 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "800x600@56" 36.000 800 824 896 1024 600 601 603 625 +hsync +vsync
ModeLine "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1680x1050 +0+0; nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Nirro
October 4th, 2009, 12:50 AM
I have found a solution

Please see here :
http://ubuntuforums.org/showpost.php?p=8048271&postcount=21