NVIDIA Configuratioin does not persist; low resolution comes back after reboot.

Asked by Francis Mosse

Recently we played with the NVDIA setup and since then I've had problems with the resolution. When I login the screen shows a resolution lower than ususal. I need 1920x1200. I've made many attempts to adjust and save the configuration. When I adjust the resolution it works fine and apparently I can save it.

The only problem is that after I reboot it will always start off with the lower resolution.

Yes, I did adjust the configuration as root: gksudo nvidia-settings and saved it to /etc/X11/xorg.conf

I've also checked the driver (System/Administration/Hardware Drivers) and I'm up to date: NVIDIA accelerated graphics driver (version 180).

Here is my /etc/X11/xorg.conf file below. Let me know what you think. 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

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

Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
# Disable "dri2"
EndSection

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

Section "InputDevice"
    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"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Seiko"
    HorizSync 30.0 - 75.0
    VertRefresh 60.0
    Option "DPMS"
 # HorizSync source: edid, VertRefresh source: edid
EndSection

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

Section "Screen"

# Removed Option "metamodes" "1920x1200 +0+0; nvidia-auto-select +0+0"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "nvidia-auto-select +0+0; 1920x1200 +0+0"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Shane Fagan
Solved:
Last query:
Last reply:
Revision history for this message
Bryan Basil (bryanlbasil) said :
#1

Hello, Francis. :-)

Run "gksudo gedit /etc/X11/xorg.conf"

and in your "Screen" section, under 'Option "TwinView" "0"', where it says 'Option "metamodes..."

make it read

Option "metamodes" "1920x1200 +0+0; nvidia-auto-select +0+0"

and save.

See if that helps. :-)

Revision history for this message
Best Shane Fagan (shanepatrickfagan) said :
#2

Change the resolution in the display manager then it should be fine.
system>preferences>display
Say no to the dialogue that appears. Then simply select the resolution that it should be.

Hope that helps
Shane

Revision history for this message
Francis Mosse (francis-mosse) said :
#3

Thanks shane fagan, that solved my question.

Revision history for this message
Francis Mosse (francis-mosse) said :
#4

And I'd like to add: thanks for being smart. We often times overlook the simplest way; we forget that simple also means powerful. Well done!