You are not logged in.

#1 2012-03-27 04:50:06

gbj13
Member
Registered: 2010-05-06
Posts: 109

nvidia settings not saves and applied on setup

I have this problem using nvidia settings for the nvidia driver 295.33-1.  I am trying to tweak gamma levels and varius otehr settings using nvidia control panel.  I save the settings in .nvidia-settings-rc in my home folder, but when I log out the settings are restored to their defaults.
I the following bash script to load the nvidia settings.

#!/bin/bash
nvidia-settings --load-config-only
nvidia-settings -a InitialPixmapPlacement=2

However the only way now to apply my selected settings is to open nvidia control center every time I log in.

Any help or advice would be greatly appreciated.

Offline

#2 2012-03-27 11:22:42

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: nvidia settings not saves and applied on setup

NVidia settings work only as root ( for me ), or with sudo, kdesu, gksu, etc... Have you tried this?


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2012-03-27 11:41:25

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: nvidia settings not saves and applied on setup

Yes I run it as root but with no effect.

Offline

#4 2012-03-27 22:39:20

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,680

Re: nvidia settings not saves and applied on setup

Are you running your script after the X server is started?

Offline

#5 2012-03-27 22:58:13

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: nvidia settings not saves and applied on setup

Yes I have tried using varius methods to load the settings, including kde autostart and by creating a xinitrc file.  Nothin seems to apply the setting other than to manually launch the nvidia server settings.  Then the settings are applied for that session only.

Offline

#6 2012-03-27 23:14:43

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: nvidia settings not saves and applied on setup

Run as root?? That's obviously not what's intended - it's saved in $HOME.

How can you expect the setting to take effect, when it's not even present? I see no "pix"-related line in ~/.nvidia-settings-rc . You could ask for it to be included, in the nvidia forum.

Running "nvidia-settings --load-config-only" changes the settings for that session only, that's correct. What's the problem with that?

Offline

#7 2012-03-27 23:20:02

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: nvidia settings not saves and applied on setup

@brabs I am simply trying to keep the nvidia settings beetween logins.  Right now I have to manually apply the settings that I want every time I log on. Sorry if I did not make myself clear.

Offline

#8 2012-03-28 00:19:26

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: nvidia settings not saves and applied on setup

Just set yourself up with a login script. Standard procedure.

Offline

Board footer

Powered by FluxBB