Wiki‎ > ‎

GPU fan speed control

posted Aug 17, 2016, 1:34 PM by Dong Xu   [ updated Aug 30, 2016, 3:57 PM ]
1. Do this only once

Enabling Control of Fan Speed and generate xorg.conf file,
Adds coolbits to the xorg file

sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration
sudo reboot or rcxdm stop/start  (to restart x so that the new xorg.conf and coolbits take effect)

2. Controlling Fan Speed
sudo nvidia-settings -c :0 -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUTargetFanSpeed=<speed>     # turn on
sudo nvidia-settings -c :0 -a [gpu:0]/GPUFanControlState=0   #back to default

===========Old steps below=====

sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration

rcxdm stop

xinit nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUTargetFanSpeed=<speed>  --  :0 -once
or (<speed>|stop)   
#setting new fan speed messes up GPU power setting and lowers GPU performance P2 to P8

rcxdm start          #this bring P8 back to P2 by starting X

#Conclusion, proper GPU power/performance setting requires X running.