monitor GPU temps and control GPU fan speeds
copy and paste into your cmd line for installation
curl https://raw.githubusercontent.com/wottreng/nvidia_GPU_fan_controller/main/install.sh | bash
NOTE: see install.sh
for all commmands needed!
- add
gpu_fan_control.py
to your/bin/
- make it excutable:
sudo chmod 777 /bin/gpu_fan_control.py
- turn nvidia fan control ON:
nvidia-settings -a [gpu:0]/GPUFanControlState=1
- add
gpu_fan_control.service
to/etc/systemd/system/
- reload systemd services:
sudo systemctl daemon-reload
- enable fan control service:
sudo systemctl enable gpu_fan_control.service
- start fan control service:
sudo systemctl start gpu_fan_control.service
- check log file in
/tmp
folder
you can modify temp to fan speed curve in the fan_curve_algorithm
function
- you NEED to enable manual fan control in your NVIDIA settings:
- GUI:
nvidia-settings
then Thermal Settings then check Enable GPU Fan Settings - CLI:
nvidia-settings -a [gpu:0]/GPUFanControlState=1
- GUI:
- tested on Linux Mint 20.3 Cinnamon, kernel: 5.13, nvidia driver: 470.103.01
- rust version added if you rather go that route
Cheers, Mark