Author

Topic: Control fan speed of Nvidia 1060 on headless Ubuntu (Read 575 times)

legendary
Activity: 1498
Merit: 1030
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.



hero member
Activity: 630
Merit: 502
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.
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
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?
legendary
Activity: 1498
Merit: 1030
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.


hero member
Activity: 630
Merit: 502

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.
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!

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?)


hero member
Activity: 630
Merit: 502
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.
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
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
legendary
Activity: 1498
Merit: 1030
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.

hero member
Activity: 630
Merit: 502
Code:
nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=70
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
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?
hero member
Activity: 630
Merit: 502
nvidia-smi. You are probably referring to aticonfig which came with Fglrx but the new AMDGPU-PRO driver does not include any userland tools.
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
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.
Jump to: