Ubuntu 24: nvidia-settings doesn't load .nvidia-settings-rc on program startup

Hello, please help, I have an external monitor, I configured some color settings per it, on close, the settings have been written to my home dir config file /home/xxx/.nvidia-settings-rc

Then I open nvidia-settings again and my current values are not being loaded, I have just default selection

If I close the program right now without any changes
the config /home/xxx/.nvidia-settings-rc file will be overwritten with the default values

Screenshots nvidia - Google Drive

I had a similar situation on ubuntu 22, sometimes it worked for root but not for my normal user.
But now the behavior is equal for all cases…

I have a fresh system with 550 driver (Laptop Nvidia 4070)

Please suggest anything useful …

Hello man! I’m facing this since ever… I always needed to set the brightness of the external monitor manually;

It has never worked as we expect and after upgrading the Os to Ubuntu 24.04 I thought in a solution which worked as alternative solution;

I create a bash script to set the brightness of the external monitor using the xrandr command; Initially I’ve set to test the brightness every minute, and as the xrandr sometimes freeze when executed, I have set a @reboot 60 && script.sh on crontab and now it executes only once

1 Like

Hey, yeah, I know about this and basically using it for a long time. Since Ubuntu 20.
But I bought a new laptop and wanted to install a fresher Ubuntu version, for some reason xrandr was not working for me on Ubuntu 22 (just blinked when changing settings, but didn’t do anything).
Fortunately on Ubuntu 24 it works so far, sometimes it’s still blinking (after screen was turned of by idle 10 minutes or a lid was closed/opened) but it works.

Btw I found a solution how to configure the persistance of settings for Nvidia, but you won’t like it…

You need to run sudo nvidia-xconfig which will create x-config file. Then the settings, stored in /home/xxx/.nvidia-settings-rc , work perfectly

BUT

it generates some weird cofng for me, and when I detach the external monitor, pull out type-c cord in my case from the laptop, the built-in notebook screen just keeps staying black and even restart doesn’t help.

You only need to put-in the type-c cord back to the port you extracted it, then it works again.
Or you just need to remove x.config (don’t remember the exact path - somewhere in /etc/ I guess)

So total, complete mess from nvidia, as usual for linux, what a shame…