Skip to content

Latest commit

 

History

History

nvml-fan-curve

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

nvml-fan-curve

Script to control GPU fans using a custom curve.
Simple hysteresis (on the way down) is supported.

Requirements

  • at least driver version 520.56
  • admin privileges
  • nvidia-ml-py Python package - search for python-nvidia-ml-py in your package manager or install it with pip install nvidia-ml-py globally

Example usage

See python3 nvml-fan-curve.py --help for available options.

python3 nvml-fan-curve.py --curve "50:30,60:65,80:100" --hysteresis 5

This will run a simple linear curve starting with 30% at 50C and 100% at 80C.

Note

You can also use the provided systemd service file and config.

Important

In multi-GPU systems you have to specify either GPU index with --index or GPU UUID with --uuid.