Bitcoin Forum
April 25, 2024, 04:52:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Control fan speed of Nvidia 1060 on headless Ubuntu  (Read 544 times)
alexrossi (OP)
Legendary
*
Offline Offline

Activity: 3724
Merit: 1739


Join the world-leading crypto sportsbook NOW!


View Profile
September 04, 2017, 06:49:07 AM
 #1

As stated in the title, i'm looking for a tool that can manually set the speed of the fans in nvidia cards.

With AMD there was a super easy cli tool that was able to set a fixed fanspeed, but as now I found nothing with nvidia.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
1714063963
Hero Member
*
Offline Offline

Posts: 1714063963

View Profile Personal Message (Offline)

Ignore
1714063963
Reply with quote  #2

1714063963
Report to moderator
1714063963
Hero Member
*
Offline Offline

Posts: 1714063963

View Profile Personal Message (Offline)

Ignore
1714063963
Reply with quote  #2

1714063963
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714063963
Hero Member
*
Offline Offline

Posts: 1714063963

View Profile Personal Message (Offline)

Ignore
1714063963
Reply with quote  #2

1714063963
Report to moderator
1714063963
Hero Member
*
Offline Offline

Posts: 1714063963

View Profile Personal Message (Offline)

Ignore
1714063963
Reply with quote  #2

1714063963
Report to moderator
1714063963
Hero Member
*
Offline Offline

Posts: 1714063963

View Profile Personal Message (Offline)

Ignore
1714063963
Reply with quote  #2

1714063963
Report to moderator
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
September 04, 2017, 07:10:59 AM
 #2

nvidia-smi. You are probably referring to aticonfig which came with Fglrx but the new AMDGPU-PRO driver does not include any userland tools.
alexrossi (OP)
Legendary
*
Offline Offline

Activity: 3724
Merit: 1739


Join the world-leading crypto sportsbook NOW!


View Profile
September 04, 2017, 08:22:56 AM
 #3

With smi i can just control the stats but I haven't found how to manually set the speed

May I ask if you have a specific command to edit the %, and if this setting persist even after a reboot?

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
September 04, 2017, 08:27:06 AM
 #4

Code:
nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=70
QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
September 04, 2017, 08:25:32 PM
 #5

Code:
nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=70

nvidia-settings -a "GPUFanControlState=1" -a "GPUTargetFanSpeed=70"

 I don't think it works without the quotes, but not 100% certain.


I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
alexrossi (OP)
Legendary
*
Offline Offline

Activity: 3724
Merit: 1739


Join the world-leading crypto sportsbook NOW!


View Profile
September 05, 2017, 05:41:35 AM
 #6

Code:
nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=70

nvidia-settings -a "GPUFanControlState=1" -a "GPUTargetFanSpeed=70"

 I don't think it works without the quotes, but not 100% certain.



Well, my rig is coming Tomorrow, so I will be able to report if this command blast all the gpu fans to the indicated value or not.

Unfortunately i googled a little and it seems that this setting is not persistent between reboots

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
September 05, 2017, 06:01:38 AM
 #7

Code:
nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=70

nvidia-settings -a "GPUFanControlState=1" -a "GPUTargetFanSpeed=70"

 I don't think it works without the quotes, but not 100% certain.



Either works.

Code:
nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=70

nvidia-settings -a "GPUFanControlState=1" -a "GPUTargetFanSpeed=70"

 I don't think it works without the quotes, but not 100% certain.



Well, my rig is coming Tomorrow, so I will be able to report if this command blast all the gpu fans to the indicated value or not.

Unfortunately i googled a little and it seems that this setting is not persistent between reboots

Running this on boot is trivial.
alexrossi (OP)
Legendary
*
Offline Offline

Activity: 3724
Merit: 1739


Join the world-leading crypto sportsbook NOW!


View Profile
September 05, 2017, 06:37:12 AM
 #8


Running this on boot is trivial.


The idea that has passed in my mind: putting it in the rc.local of my ubuntu setup should do the trick? (even if rc.local is executed as root and not as standard user?)



  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
September 05, 2017, 06:38:39 AM
 #9


Running this on boot is trivial.


The idea that has passed in my mind: putting it in the rc.local of my ubuntu setup should do the trick? (even if rc.local is executed as root and not as standard user?)



I use systemd service file.
QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
September 05, 2017, 12:23:00 PM
 #10

I have a "startup.conf" that I point XFCE at to autorun on startup.
I'm not sure if it matters to nvidia-smi or nvidia-settings, but aticonfig DOES need X to be running before it would let you do a lot of it's commands.



I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
alexrossi (OP)
Legendary
*
Offline Offline

Activity: 3724
Merit: 1739


Join the world-leading crypto sportsbook NOW!


View Profile
September 05, 2017, 07:30:44 PM
 #11

I have a "startup.conf" that I point XFCE at to autorun on startup.
I'm not sure if it matters to nvidia-smi or nvidia-settings, but aticonfig DOES need X to be running before it would let you do a lot of it's commands.




Is there a technical reason that aticonfig need an X session, before letting the user using the commands, or it's just an unsolved bug that maybe will be fixed in the future?

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
September 05, 2017, 07:42:26 PM
 #12

I have a "startup.conf" that I point XFCE at to autorun on startup.
I'm not sure if it matters to nvidia-smi or nvidia-settings, but aticonfig DOES need X to be running before it would let you do a lot of it's commands.




Is there a technical reason that aticonfig need an X session, before letting the user using the commands, or it's just an unsolved bug that maybe will be fixed in the future?
An X session needs to be running for libatiadlxx to initialize to monitor temps, fans and reclock. Fglrx is deprecated.
QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
September 05, 2017, 09:33:41 PM
 #13

To be more specific, fglrx is no longer supported at all - 15.12 was the last version of it, which only supports cards prior to the Fury and *SOME* of the AMD APU iGPUs.

 Just don't get me started on AMDGPU-PRO - almost 2 years they've been working on it and it's STILL highly incomplete, missing anything resembling a usable "control" tool, and what control it DOES offer isn't documented worth beans.
 Fan control on multi-card setups often just flat out does not WORK for no apparent reason.

 I'm to the point of not even LOOKING at AMD cards any more because of the state of the LINUX drivers for them - AMD has a very long history of GARBAGE support for LINUX, and the current state is pretty bad even compared to THAT history.




I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!