PDA

View Full Version : [ubuntu] Resolution problem after upgrade to Jaunty



torchfire
June 5th, 2009, 12:50 PM
I was on Hardy and didn't upgrade to Intrepid when it came out. I just upgraded to Intrepid and then immediately to Jaunty, last weekend.

Things went quite smoothly during the install. I installed the newest nvidia drivers, 180, but I'm having resolution problems.

I got a new monitor (HANNS-G 27.5 inch, a thing of beauty!) and the native resolution is 1920x1200. I made that available in xorg.conf. (I commented out all the info on my old monitor, in case I need it again.)

The problem is, I can't make that resolution 'stick'. Every time I boot, it goes to 1400x1050, and when I drag my mouse to the edges, it slides, leaving black spaces at the edges.

My current solution is to change the resolution through nvidia-settings to 1920x1200, and click apply (this changes the screen to a smaller desktop, with large, black edges). Then I change it to 1400x1050 again, and apply. Then I change it back to 1920x1200 and apply. That brings the screen to normal.

What do I need to do to make the change permanent?

I'll paste my xorg.conf at the bottom of this post.

Any help would be appreciated.
Thanks.

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

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Thu Jul 17 18:39:00 PDT 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg
# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
#EndSection
# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
#EndSection
#Section "Monitor"
# Identifier "Configured Monitor"
# Vendorname "Samsung"
# Modelname "Samsung SyncMaster 910N/912N"
# Horizsync 30.0 - 81.0
# Vertrefresh 56.0 - 85.0
# Gamma 1
# modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
# modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
# modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
# modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
# modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
# modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
# modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
# modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
# modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
# modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -hsync -vsync
# modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
# modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
# modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
# modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
# modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
# modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
# modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
# modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
# modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
# modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
# modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
#EndSection
#Section "Module"
# Load "glx"
# Load "v4l"
#EndSection
#Section "Device"
# Identifier "Configured Video Device"
# Boardname "vesa"
# Screen 0
# Driver "nvidia"
# Option "NoLogo" "False"
#EndSection

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"
Load "v4l"
EndSection

Section "ServerFlags"
Option "DontZap" "False"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
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 "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "HSD Hanns.G HG281"
HorizSync 24.0 - 80.0
VertRefresh 56.0 - 75.0
ModeLine "1920x1200@60" 193.160 1920 2048 2256 2592 1200 1201 1204 1242 -hsync +vsync
ModeLine "1600x1200@60" 162.000 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
ModeLine "1400x1050@60" 122.610 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
ModeLine "1280x1024@75" 135.000 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
ModeLine "1280x1024@60" 108.000 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
ModeLine "1280x960@75" 129.860 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
ModeLine "1280x960@60" 102.100 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
ModeLine "1152x864@75" 108.000 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
ModeLine "1024x768@75" 78.800 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
ModeLine "1024x768@70" 75.000 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
ModeLine "1024x768@60" 65.000 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
ModeLine "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -hsync -vsync
ModeLine "800x600@75" 49.500 800 816 896 1056 600 601 604 625 +hsync +vsync
ModeLine "800x600@72" 50.000 800 856 976 1040 600 637 643 666 +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@75" 31.500 640 656 720 840 480 481 484 500 -hsync -vsync
ModeLine "640x480@72" 31.500 640 664 704 832 480 489 491 520 -hsync -vsync
ModeLine "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
Option "DPMS"
Option "PreferredMode" "1920x1200@60"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GT"
EndSection

Section "Screen"

# Removed Option "metamodes" "1400x1050 +0+0; 1280x1024@75 +0+0; 1280x960@60 +0+0; 1152x864@75 +0+0; 1280x1024@60 +0+0; 1024x768@60 +0+0; 1280x960@75 +0+0; #1024x768@70 +0+0; 1400x1050@60 +0+0; 1024x768@75 +0+0; 832x624@75 +0+0; 800x600@60 +0+0; 800x600@75 +0+0; 800x600@72 +0+0; 800x600@56 +0+0; 640x480@75 +0+0; #640x480@72 +0+0; 640x480@60 +0+0"
# Removed Option "metamodes" "1400x1050 +0+0; 1920x1200 +0+0; 1920x1200@60 +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "TwinView" "0"
Option "metamodes" "1920x1200@60 +0+0; 1400x1050 +0+0; 1920x1200 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

torchfire
June 6th, 2009, 05:25 PM
For anyone's information (since no one replied), I found really good help on this problem at https://wiki.ubuntu.com/X/Troubleshooting/Resolution?highlight=(modeline).

I checked the /var/log/Xorg.0.log and it described an error in the 'metamodes' section. I corrected it, and my problem is solved.

Torch