Page 1 of 1

NVidia X Server Settings - Making Permanent

Posted: Wed Dec 26, 2012 11:56 am
by rtX
I have two screens attached to a 9500GT. When I make changes in the NVidia X-Server Settings dialogue (under X Server Display Configuration) - specifically, when I change the primary display, the change only has effect (after pressing "Apply") for the session and does not survive a re-boot. I have tried "Save to X Configuration File", but that did not work. I even renamed the existing etc/X11/xorg.conf file and then saved a new version from the NVidia X Server Settings program. This did not work either but I did see a new file was created.

Please could someone advise?

Re: NVidia X Server Settings - Making Permanent

Posted: Wed Dec 26, 2012 1:41 pm
by cwsnyder
Questions: Have you checked the nVidia 9500GT specifications? Perhaps one connector is hardware pre-selected as the primary display during the boot process, in which case you should be able to swap connectors to get the display primary to swap.

Re: NVidia X Server Settings - Making Permanent

Posted: Wed Dec 26, 2012 7:55 pm
by kwisher
When I select the "Save to X Configuration File", a dialog opens with the path /etc/X11/xorg.conf. When I select "Save" from this dialog, I am prompted for my password and the file is saved.

Is this not working for you?

Re: NVidia X Server Settings - Making Permanent

Posted: Mon Dec 31, 2012 3:42 pm
by rtX
cwsnyder: Using LM13, the other screen was the primary, so I think the primary display is not 'hard-wired'. I have only had this issue since I performed a fresh install upgrade to LM14. Also, I can make the change to the primary display, but it does not survive a re-boot despite chnaging the X configuration file.

kwisher: I think the file is being saved, but next time I boot the displays have switched back...

Re: NVidia X Server Settings - Making Permanent

Posted: Mon Dec 31, 2012 4:07 pm
by kwisher
rtX wrote:cwsnyder: Using LM13, the other screen was the primary, so I think the primary display is not 'hard-wired'. I have only had this issue since I performed a fresh install upgrade to LM14. Also, I can make the change to the primary display, but it does not survive a re-boot despite chnaging the X configuration file.

kwisher: I think the file is being saved, but next time I boot the displays have switched back...
Try starting nvidia settings as root using "gksu nvidia-settings" and then save the file. I had to do that on older versions of ubuntu/mint in the past.

Re: NVidia X Server Settings - Making Permanent

Posted: Tue Jan 01, 2013 10:06 am
by rtX
Interesting...

When I start nvidia-settings as a superuser, I get an error/warning message when I try to save the X configuration file (which I did not get previously). The message asks if I want to truncate the MetaMode list, warning that MetaMode strings greater than 900 characters are not supported. I am given the option of truncating so that only the first 38 MetaModes are written or risk the X server failing to start if I do not truncate.

This is the content of the untruncated version (which I have not saved):

Code: Select all

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.51  (buildd@batsu)  Fri Oct 12 12:53:54 UTC 2012


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

Section "Files"
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      "Bit 3 LE22A3"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

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

Section "Screen"

# Removed Option "metamodes" "DFP: nvidia-auto-select +1680+0, CRT: nvidia-auto-select +0+0; CRT: nvidia-auto-select +0+0; CRT: 1680x1050 +0+0; CRT: 1680x1050_60 +0+0; CRT: 1680x1050_60_0 +0+0; CRT: 1440x900 +0+0; CRT: 1440x900_75 +0+0; CRT: 1440x900_60 +0+0; CRT: 1400x1050 +0+0; CRT: 1400x1050_75 +0+0; CRT: 1280x1024 +0+0; CRT: 1280x1024_75 +0+0; CRT: 1152x864 +0+0; CRT: 1152x864_75 +0+0; CRT: 1024x768 +0+0; CRT: 1024x768_75 +0+0; CRT: 1024x768_70 +0+0; CRT: 1024x768_60 +0+0; CRT: 800x600 +0+0; CRT: 800x600_75 +0+0; CRT: 800x600_72 +0+0; CRT: 800x600_60 +0+0; CRT: 800x600_56 +0+0; CRT: 640x480 +0+0; CRT: 640x480_75 +0+0; CRT: 640x480_72 +0+0; CRT: 640x480_60 +0+0; CRT: nvidia-auto-select +0+0; CRT: nvidia-auto-select +0+0"
# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0; CRT: 1680x1050 +0+0; CRT: 1680x1050_60 +0+0; CRT: 1680x1050_60_0 +0+0; CRT: 1440x900 +0+0; CRT: 1440x900_75 +0+0; CRT: 1440x900_60 +0+0; CRT: 1400x1050 +0+0; CRT: 1400x1050_75 +0+0; CRT: 1280x1024 +0+0; CRT: 1280x1024_75 +0+0; CRT: 1152x864 +0+0; CRT: 1152x864_75 +0+0; CRT: 1024x768 +0+0; CRT: 1024x768_75 +0+0; CRT: 1024x768_70 +0+0; CRT: 1024x768_60 +0+0; CRT: 800x600 +0+0; CRT: 800x600_75 +0+0; CRT: 800x600_72 +0+0; CRT: 800x600_60 +0+0; CRT: 800x600_56 +0+0; CRT: 640x480 +0+0; CRT: 640x480_75 +0+0; CRT: 640x480_72 +0+0; CRT: 640x480_60 +0+0; CRT: nvidia-auto-select +0+0; CRT: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: nvidia-auto-select +1680+0, CRT: nvidia-auto-select +0+0; CRT: nvidia-auto-select +0+0; CRT: 1680x1050 +0+0; CRT: 1680x1050_60 +0+0; CRT: nvidia-auto-select +0+0; CRT: 1680x1050_60_0 +0+0; CRT: 1680x1050 +0+0; CRT: 1440x900 +0+0; CRT: 1680x1050_60 +0+0; CRT: 1440x900_75 +0+0; CRT: 1680x1050_60_0 +0+0; CRT: 1440x900_60 +0+0; CRT: 1440x900 +0+0; CRT: 1400x1050 +0+0; CRT: 1440x900_75 +0+0; CRT: 1400x1050_75 +0+0; CRT: 1440x900_60 +0+0; CRT: 1280x1024 +0+0; CRT: 1400x1050 +0+0; CRT: 1280x1024_75 +0+0; CRT: 1400x1050_75 +0+0; CRT: 1152x864 +0+0; CRT: 1280x1024 +0+0; CRT: 1152x864_75 +0+0; CRT: 1280x1024_75 +0+0; CRT: 1024x768 +0+0; CRT: 1152x864 +0+0; CRT: 1024x768_75 +0+0; CRT: 1152x864_75 +0+0; CRT: 1024x768_70 +0+0; CRT: 1024x768 +0+0; CRT: 1024x768_60 +0+0; CRT: 1024x768_75 +0+0; CRT: 800x600 +0+0; CRT: 1024x768_70 +0+0; CRT: 800x600_75 +0+0; CRT: 1024x768_60 +0+0; CRT: 800x600_72 +0+0; CRT: 800x600 +0+0; CRT: 800x600_60 +0+0; CRT: 800x600_75 +0+0; CRT: 800x600_56 +0+0; CRT: 800x600_72 +0+0; CRT: 640x480 +0+0; CRT: 800x600_60 +0+0; CRT: 640x480_75 +0+0; CRT: 800x600_56 +0+0; CRT: 640x480_72 +0+0; CRT: 640x480 +0+0; CRT: 640x480_60 +0+0; CRT: 640x480_75 +0+0; CRT: nvidia-auto-select +0+0; CRT: 640x480_72 +0+0; CRT: nvidia-auto-select +0+0; CRT: 640x480_60 +0+0; CRT: nvidia-auto-select +0+0; CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Does anyone have any suggestions as to how I might work around this? Many thanks.

Re: NVidia X Server Settings - Making Permanent

Posted: Wed Jan 02, 2013 8:49 pm
by McLovin
You have to run the nvidia-settings as root to get it to work properly, the easiest way to do it is to hit alt+f2, and enter

Code: Select all

gksu nvidia-settings
this will allow to save the configuration properly.

Re: NVidia X Server Settings - Making Permanent

Posted: Sat Jan 05, 2013 3:00 pm
by rtX
McLovin wrote:You have to run the nvidia-settings as root to get it to work properly, the easiest way to do it is to hit alt+f2, and enter

Code: Select all

gksu nvidia-settings
this will allow to save the configuration properly.
Thanks but as I said in my earlier post I already ran it as root. It was then that the error message in my immediately prior post arose. The issue is more likely the size of the file?

Re: NVidia X Server Settings - Making Permanent

Posted: Sat Jan 05, 2013 3:12 pm
by DrHu
Well, save your xorg.conf file first as your user or as root (using a different filename, eg xorgconf.sav), and then you can mess with the nvidia setup for the X-server file (xorg.conf) as much as you like, since you will be able to restore (cp, copy or via a file manager) you saved xorg.conf filename as /etc/X11/xorg.conf

Usually the nvidia GUI tool nvidia-settings is A-OK for that file, it edits it correctly for meta-modes
--try it and check..
  • if it (nvidia-settings) removes meta-modes, they are either somewhat duplicating other entries or are necessary for the full potential of your graphics card via nvidia driver file..

Re: NVidia X Server Settings - Making Permanent

Posted: Tue Jan 22, 2013 9:42 pm
by McLovin
rtX wrote:
McLovin wrote:You have to run the nvidia-settings as root to get it to work properly, the easiest way to do it is to hit alt+f2, and enter

Code: Select all

gksu nvidia-settings
this will allow to save the configuration properly.
Thanks but as I said in my earlier post I already ran it as root. It was then that the error message in my immediately prior post arose. The issue is more likely the size of the file?
You could also try backing up your /etc/X11/xorg,conf and then open a terminal and run this

Code: Select all

sudo nvidia-xconfig
and see if that helps at all