Can't save nvidia settings in 13.10

Bug #1241421 reported by Alen Masic
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

As I said in title I have problems with saving settings in nvidia-settings dialog. I can change resolution and refresh rate with no problem but when I restart computer those settings revert to default values. Of course, I press 'Save to X Configuration File' button.

Stephen M. Webb (bregma)
no longer affects: unity (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Revision history for this message
ekso (ekso) wrote :

Apparently, the xorg.conf generated when you click on "Save to X Configuration File" is broken. It doesn't change any previous value on the file, at all. And disabling "Merge with existing file." will just change some formatting, values stay the same.

Revision history for this message
ekso (ekso) wrote :

Btw, previous comment was on 13.10 with nvidia-319 (proprietary, tested).

Revision history for this message
Andy Lee (andlee) wrote :

My regular setup is a laptop with an external monitor and when I have the external monitor connected, I want to disable to built-in laptop screen.

After upgrading to 13.10, my previous display configuration stopped working.

However, I was finally able to get it similar to before by:

1) renaming ~/.config/monitors.xml (or deleting it)
2) running nvidia-settings and saving xorg.conf to /etc/X11/xorg.conf
3) running System Settings -> Screen Display to match it with nvidia-settings

Both screens are active during the login screen, but upon login, my settings take effect.

I was experimenting with the above three steps so that might not be the exact order of changes and interspersed with reboots.

Revision history for this message
Samson Yeung (wingtong711) wrote :

I have this same problem in both 13.10 and 14.04. Whenever I reboot the computer, the changed settings such as gmma value and brightness etc that should stored in nvidia-settings-rc cannot be reloaded and the screen will automatically reset to hardware default. There is no workaround if you are using drivers 319 and 331- at least I cannot find one. This is a bug that contain in the nvidia driver for quite a long time without solving while I cannot see any action from nvidia to solve it . The only way to work around the situation is using 304 driver. But it doesn't mean that the problem is solved. After rebooting, you still get the hardware default settings again. But if you run nvida-settings, the configuration file will immediately reloaded and change to your what you have set. Then you might think of starting nividia-settings automatically when you reboot the machine and kill the program automatically. The way I do it is

1. run startup
2. add to startup for 2 action, the first one is:
    A. give the start up a name say "1-Nvidia X Server-settings". Start with 1- is for convenience to quencing the actions properly on the list.
    B. sh -c '/usr/bin/nvidia-settings' for the command line
    C. Make a comment whatever you want. Then save and quit.

3. Once you retart the program, the added startup command will execute to load the preferred settings.
4. But at the same time, the nvidia program will pop up for every reboot . You might have to kill it manually. If you want to automate the kill, add the following command after the aforesaid command in 2..
   A. give a name say 2-kill Nvidia. Start with '2-' make it just quence after the above nvidia-settings command.
  B. command line field should write as ---- sh -c 'sleep 2 && killall nvidia-settings' . Please note that the addition action sleep 2 is aimed to delay the killall command for 2 second since you need sufficient time to let nvidia-settings to run. Reload might be fail without this.
  C. Make whatever comment for the third line.

5. Reboot and your problem should be solved now.

Moreover, if anyone can work around the problem with version 331 or 319, I would much like to know since 304's game capability is quite low.

Also 'Save to X Configuration File' button seems affect mainly to the monitor's resolution and orientation etc and make no help to the situation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.