Where should I put comman nvidia-settings -l to make my settings be effected on system reboot
Thanks
Where should I put comman nvidia-settings -l to make my settings be effected on system reboot
Thanks
Hi
I have mine in /etc/X11/xorg.conf.d/55-nvidia.conf;
Section "Device"
Identifier "Default Device"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "NVIDIA Corporation G92 [GeForce 8800 GT] (rev a2)"
Option "Coolbits" "5"
Option "NoLogo" "1"
Option "AllowEmptyInitialConfiguration"
EndSection
Hi,
I do some config in nvidia-settings and save my settings to my user folder. I reboot, my laptop forgot all my settings, then I run command: nvidia-settings -l, all my settings in the configuration file under my home folder take effect.
So I hope that this command, nvidia-settings -l, to be executed when the system boot.
I have tried xinitrc, /etc/init.d/rc5.d, auto-run desktop file set by teaks. All failed.
Thanks
Hi
Then add that command to the file in your home folder called .profile (notice the period . is first) this will be used at user login.
Hi,
Not work. For .profile, is #!/bin/bash necessary? Is execute permission necessary?
Do you mean that the .profile file is under /home or /home/my_name ?
Thanks
Hi
It’s in your username directory, /home/my_name, it’s there by default… it should just run it no need for the whole shebang.
As a test I added the following to my ~/.profile;
export FAN_SPEED="65"
nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=${FAN_SPEED} > /dev/null 2>&1
Fan speed is set to 65% on login… all works fine here on the GNOME DE…
Hi,
On my side, it still does not work. Could you try on command nvidia-settings -l after you do some settings and save the settings in nvidia-settings.
Thank
On Tue 20 Mar 2018 01:36:01 AM CDT, sincos2007 wrote:
malcolmlewis;2859322 Wrote:
> Hi
> It’s in your username directory, /home/my_name, it’s there by
> default… it should just run it no need for the whole shebang.
>
> As a test I added the following to my ~/.profile;
> >
Code:> >
> export FAN_SPEED=“65”
>
> nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a
[fan:0]/GPUCurrentFanSpeed=${FAN_SPEED} > /dev/null 2>&1 >> >
> Fan speed is set to 65% on login… all works fine here on the GNOME
> DE…
Hi,
On my side, it still does not work. Could you try on command
nvidia-settings -l after you do some settings and save the settings in
nvidia-settings.
Thank
Hi
What card/driver [version] are you using?
What are you changing via nvidia-settings, are these changes
propagated into the ~/.nvidia-settings-rc file?
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.3|GNOME 3.20.2|4.4.114-42-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
My card is GTX1070, the driver is installed by Yast.
I did save my config on card to ~/.nvidia-settings-rc file, I opened the file and I find the changes were propagated.
You can try it by changing the brightness.
Thanks
I adjusted the brightness of card, then saved the configuration. I edited the configuration file on value of brightness, then run command nvidia-settings -l, I could see the change of brightness on screen.
Thanks
On Tue 20 Mar 2018 04:26:01 AM CDT, sincos2007 wrote:
malcolmlewis;2859351 Wrote:
> Hi
> What card/driver [version] are you using?
>
> What are you changing via nvidia-settings, are these changes
> propagated into the ~/.nvidia-settings-rc file?
>
> –
> Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
> openSUSE Leap 42.3|GNOME 3.20.2|4.4.114-42-default
> If you find this post helpful and are logged into the web interface,
> please show your appreciation and click on the star below… Thanks!
I adjusted the brightness of card, then saved the configuration. I
edited the configuration file on value of brightness, then run command
nvidia-settings -l, I could see the change of brightness on screen.
Thanks
Hi
No brightness control here…controlled by the screen itself…
So what is the brightness line in your ~/.nvidia-settings-rc look like?
You may need to add a line like I do for the GPU fan…
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.3|GNOME 3.20.2|4.4.114-42-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
You can open nvidia-settings, at left pane, click DP-0 under GPU-0, then at right pane, click Color Correction tab. Then you will see the brightness slide bar
Hi
Seems like a timing issue, I setup a script with a delay of 20 seconds to run nvidia-settings -l and this works, set the time to 10 seconds I see the change, but it resets back to default desktop.