Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Where should I place nvidia-settings -l

  1. #1

    Default Where should I place nvidia-settings -l

    Where should I put comman nvidia-settings -l to make my settings be effected on system reboot

    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,347
    Blog Entries
    15

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by sincos2007 View Post
    Where should I put common 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;
    Code:
    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
    Last edited by malcolmlewis; 19-Mar-2018 at 08:16.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I have mine in /etc/X11/xorg.conf.d/55-nvidia.conf;
    Code:
    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

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,347
    Blog Entries
    15

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by sincos2007 View Post
    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.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by malcolmlewis View Post
    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

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,347
    Blog Entries
    15

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by sincos2007 View Post
    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;
    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...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by malcolmlewis View Post
    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

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,347
    Blog Entries
    15

    Default Re: Where should I place nvidia-settings -l

    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!


  9. #9

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by malcolmlewis View Post
    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

  10. #10

    Default Re: Where should I place nvidia-settings -l

    Quote Originally Posted by malcolmlewis View Post
    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

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •