Resolution reset on reboot with NVidia video card

OpenSUSE 10.3

I’ve changed my screen resolution thru the NVidia utility “nvidia-settings” to 1920x1080, I’ve saved the Xorg configuration file, and it works fine. Though, when I reboot my computer, the resolution is 1280x960.

Question: how can I make my resolution fixed to 1920x1080 when I reboot my PC?

Here there is my xorg.conf file:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder58)  Thu Jul 17 18:39:42 PDT 2008

# SaX generated X11 config file
# Created on: 2008-12-09T18:10:31+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
    Identifier     "Layout[all]"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option         "Clone" "off"
    Option         "Xinerama" "off"
EndSection

Section "Files"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/input/mice"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/URW"
    FontPath        "/usr/share/fonts/Speedo"
    FontPath        "/usr/share/fonts/PEX"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/latin2/misc:unscaled"
    FontPath        "/usr/share/fonts/latin2/75dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/100dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/Type1"
    FontPath        "/usr/share/fonts/latin7/75dpi:unscaled"
    FontPath        "/usr/share/fonts/baekmuk:unscaled"
    FontPath        "/usr/share/fonts/japanese:unscaled"
    FontPath        "/usr/share/fonts/kwintv"
    FontPath        "/usr/share/fonts/truetype"
    FontPath        "/usr/share/fonts/uni:unscaled"
    FontPath        "/usr/share/fonts/CID"
    FontPath        "/usr/share/fonts/ucs/misc:unscaled"
    FontPath        "/usr/share/fonts/ucs/75dpi:unscaled"
    FontPath        "/usr/share/fonts/ucs/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/misc:unscaled"
    FontPath        "/usr/share/fonts/hellas/75dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/Type1"
    FontPath        "/usr/share/fonts/misc/sgi:unscaled"
    FontPath        "/usr/share/fonts/xtest"
    FontPath        "/opt/kde3/share/fonts"
EndSection

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

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "on"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard[0]"
    Driver         "kbd"
    Option         "Protocol" "Standard"
    Option         "XkbLayout" "it"
    Option         "XkbModel" "pc102"
    Option         "XkbRules" "xfree86"
EndSection

Section "InputDevice"
    Identifier     "Mouse[1]"
    Driver         "mouse"
    Option         "Buttons" "10"
    Option         "Device" "/dev/input/mice"
    Option         "Name" "A4 Tech Optical Mouse WOP-35 / Trust 450L Optical Mouse"
    Option         "Protocol" "explorerps/2"
    Option         "Vendor" "Sysp"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Modes"
    Identifier         "Modes[0]"
    ModeLine     "1280x960" 131.72 1280 1368 1504 1728 960 961 964 1003
    ModeLine     "1280x960" 122.11 1280 1368 1504 1728 960 961 964 1000
    ModeLine     "1280x960" 111.52 1280 1360 1496 1712 960 961 964 997
    ModeLine     "1280x960" 102.10 1280 1360 1496 1712 960 961 964 994
    ModeLine     "1280x800" 108.77 1280 1360 1496 1712 800 801 804 836
    ModeLine     "1280x800" 100.78 1280 1360 1496 1712 800 801 804 833
    ModeLine     "1280x800" 92.08 1280 1352 1488 1696 800 801 804 831
    ModeLine     "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
    ModeLine     "1152x864" 106.51 1152 1224 1352 1552 864 865 868 903
    ModeLine     "1152x864" 97.69 1152 1224 1344 1536 864 865 868 900
    ModeLine     "1152x864" 90.02 1152 1224 1344 1536 864 865 868 897
    ModeLine     "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895
    ModeLine     "1280x768" 104.48 1280 1360 1496 1712 768 769 772 803
    ModeLine     "1280x768" 95.88 1280 1352 1488 1696 768 769 772 800
    ModeLine     "1280x768" 88.42 1280 1352 1488 1696 768 769 772 798
    ModeLine     "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
    ModeLine     "1024x768" 83.00 1024 1080 1192 1360 768 769 772 803
    ModeLine     "1024x768" 76.89 1024 1080 1192 1360 768 769 772 800
    ModeLine     "1024x768" 70.07 1024 1080 1184 1344 768 769 772 798
    ModeLine     "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
    ModeLine     "1280x600" 80.06 1280 1344 1480 1680 600 601 604 627
    ModeLine     "1368x768" 111.80 1368 1456 1600 1832 768 769 772 803
    ModeLine     "1280x600" 73.49 1280 1336 1472 1664 600 601 604 625
    ModeLine     "1280x960" 131.72 1280 1368 1504 1728 960 961 964 1003
    ModeLine     "1280x600" 67.08 1280 1336 1464 1648 600 601 604 623
    ModeLine     "1440x900" 138.31 1440 1536 1688 1936 900 901 904 940
    ModeLine     "1280x600" 61.50 1280 1336 1464 1648 600 601 604 622
    ModeLine     "1024x600" 64.04 1024 1080 1184 1344 600 601 604 627
    ModeLine     "1024x600" 58.65 1024 1072 1176 1328 600 601 604 625
    ModeLine     "1024x600" 54.05 1024 1072 1176 1328 600 601 604 623
    ModeLine     "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
    ModeLine     "800x600" 50.32 800 840 928 1056 600 601 604 627
    ModeLine     "800x600" 45.93 800 840 920 1040 600 601 604 625
    ModeLine     "800x600" 42.33 800 840 920 1040 600 601 604 623
    ModeLine     "800x600" 38.22 800 832 912 1024 600 601 604 622
    ModeLine     "768x576" 46.12 768 808 888 1008 576 577 580 602
    ModeLine     "768x576" 42.06 768 800 880 992 576 577 580 600
    ModeLine     "768x576" 38.82 768 800 880 992 576 577 580 599
    ModeLine     "768x576" 34.96 768 792 872 976 576 577 580 597
    ModeLine     "640x480" 31.13 640 664 728 816 480 481 484 502
    ModeLine     "640x480" 28.83 640 664 728 816 480 481 484 500
    ModeLine     "640x480" 26.60 640 664 728 816 480 481 484 499
    ModeLine     "640x480" 23.86 640 656 720 800 480 481 484 497
EndSection

Section "Monitor"
    Identifier     "Benq"
    VendorName     "BENQ"
    ModelName      "FP783 (DIGITAL)"
    UseModes       "Modes[0]"
    DisplaySize     478    299
    HorizSync       29.0 - 83.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BenQ E2200HD"
    HorizSync       30.0 - 94.0
    VertRefresh     50.0 - 76.0
EndSection

Section "Device"
    Identifier     "Device[0]"
    Driver         "nvidia"
    VendorName     "NVidia"
    BoardName      "GeForce 8400 GS"
    Option         "NoBandWidthTest" "TRUE"
    Option         "ExactModeTimingsDVI" "TRUE"
    Option         "ModeValidation" "NoEdidModes"
    Option         "UseEDIDFreqs" "FALSE"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Benq"
    DefaultDepth    24
    SubSection     "Display"
        Depth       15
        Modes      "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "1280x960 +0+0; 1280x800 +0+0; 1152x864 +0+0; 1280x768 +0+0; 1024x768 +0+0; 1280x600 +0+0; 1024x600 +0+0; 800x600 +0+0; 768x576 +0+0; 640x480 +0+0; 1368x768 +0+0; 1792x1344 +0+0"
# Removed Option "metamodes" "1920x1080 +0+0; 1280x960 +0+0; 1280x800 +0+0; 1152x864 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0; 1440x900 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1920x1080 +0+0; 1280x960 +0+0; 1280x800 +0+0; 1152x864 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0; 1440x900 +0+0; 1920x1080_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

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

Try to save it again as root same as you did last time but choose not to merge it with the existing configuration. In case you wonder what that is in the prompt before you click save it is there where you can just tick/untick it.

Thank you conram.
I’ve tried your solution but it doesn’t function (saving the xorg.conf file by the nvidia-settings utility without merging content): the problem persists.

I missed to say that, when PC reboots, at the login form the resolution is 1920x1080 but as soon as I’m logged in the resolution will change to 1280x960. More, the xorg.conf is unchanged and is the same that I’ve saved by the nvidia-settings.

It seems that the problem is in the module that reads the xorg.conf just after the logging operation tooks effect. Maybe a problem of GNome?

What was the original resolution before you changed it.
Did you check if the resolutio you are trying to use is supported?

Yes, the resolution 1920x1080 is supported. At the login form, the resolution IS 1920x1080, but as soon as I insert username, password and login, the resolution change to 1280x960. So I must enter in terminal, launch nvidia-settings utility, select 1920x1080 resolution then click on Apply and the resolution change to 1920x1080.

In the nvidia-settings did you use your user or as su. If using the user it will not stick you have to be su to be able to save it.