Nvdia X Server Settings doesn't save settings

Nvdia X Server Settings doesn’t save my configured settings. The biggest issue is that my 144 Hz monitor starts at 60 Hz on every boot and the power profile is set to “adaptive”. Applied settings are valid until I reboot.
The program didn’t allow me to save (“save to X configuration file”) the changes and informed me that I have to be root, so I ran a command:

gnomesu nvidia-settings

. Now I was able to press “save”, but the settings aren’t applied after a reboot and everything is resetted back to defaults.

On Mon, 28 Sep 2015 15:46:01 GMT
corgi <corgi@no-mx.forums.microfocus.com> wrote:

>
> Nvdia X Server Settings doesn’t save my configured settings. The
> biggest issue is that my 144 Hz monitor starts at 60 Hz on every boot
> and the power profile is set to “adaptive”. I can still apply, but
> that has to be always again.
>

I found the same trouble but sorted it by logging in as root and
configuring the system there and then saving the settings to the
X-configuration file. In root, the file comes up as
“/etc/X11/xorg.conf”. It’s probably preferable, but I don’t know if
it’s possible, to do this from your home session; perhaps it will ask
for a root password - I haven’t tried it.


Graham P Davis, Bracknell, Berks.
openSUSE 13.2 (64-bit); KDE 4.14.9; AMD Phenom II X2 550 Processor;
Kernel: 4.2.0; Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA)

You should never log to a GUI as root. In a konsole become root with su then run nviida-settings from command line. it will then allow you to save xorg. settings.

That seems to work for now, also my older configurations appeared. Let’s hope that the settings are applied on boot.

The settings didn’t stick after a reboot.

Then check the /etc/X11/xorg.conf file

It should hold your changes. If not are you actually saving it? The save button is on the X Server Display Configuration screen and you must be root and you must write it to /etc/X11/ directory

Note that the desktop also has graphic setting and they will over ride any xorg settings.

/etc/X11/xorg.conf is not needed, try nvidia-settings as root (su -) and do not save but apply.

That’s what I’ve always done. Doesn’t work.

What settings are you changing you never said??

Some settings may require mod to xorg.conf Also your GUI desktop may require changes since it may override any change you make. Depending on what you change.

I tried changing the refresh rate in “.config/monitors.xml”. I still have to find a way to set “prefer maximum performance” power plan as default.
The other settings, like antialiasing seem to be saved.

Editing monitors.xml didn’t work. 144 Hz refresh rate is now there, but isn’t applied on boot.
Is editing xorg.conf really necessary? Even creating the file is a bit difficult.

Do you think that Gnome can override settings? The 144 Hz refresh rate always worked when I was using Xfce.

There’s a bug in Gnome: https://bugzilla.gnome.org/show_bug.cgi?id=655041

The desktop can of course override system settings in favour of personal settings. How that is done it gnome I don’t know I run KDE

On Mon, 28 Sep 2015 16:56:02 GMT
gogalthorp <gogalthorp@no-mx.forums.microfocus.com> wrote:

> You should never log to a GUI as root.

I saw that comment coming a mile off. No need for you to reply here;
I’ll start a new thread on this subject elsewhere, on soapbox probably.


Graham P Davis, Bracknell, Berks.
openSUSE 13.2 (64-bit); KDE 4.14.9; AMD Phenom II X2 550 Processor;
Kernel: 4.2.0; Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA)

I am using KDE but i’d suggest:

gksu nvidia-settings

which is the Gnome equivalent to “kdesu nvidia-settings”.
I actually created a desktop icon and set its properties accordingly. There is an article about doing this in Gnome here: http://www.howtogeek.com/112700/create-shortcuts-on-the-desktop-to-run-programs-as-root-in-ubuntu-11.10/?PageSpeed=noscript

I copied the file generated by nvidia-settings to /etc/X11/xorg.conf.d/20-nvidia.conf
If you are tired of nvidia advertising, add Option “NoLogo” “True” to Section “Device”

Well it still should work in /etc/X11/xorg.conf.

That xorg.conf file probably contains additional info and the files in xor.conf.d are broken down with each representing a section of the original xorg.conf structure. So you should break the sections out and put them in the correct files rather then copy all to one file.

On LXDE the refresh rate doesn’t default back to 60, it can be set in the desktop settings. I also very much prefer LXDE/Xfce.

I copied the file generated by nvidia-settings to /etc/X11/xorg.conf.d/20-nvidia.conf
If you are tired of nvidia advertising, add Option “NoLogo” “True” to Section “Device”

Interesting, do you mean the adverts during driver updates?

No there is a splash screen if you turn it on I think it defaults off these days but you used to have to turn it off if you did not want it.