fanControl/README.md
2025-06-10 02:48:03 +02:00

749 B

FanControl

Simple script for controlling your nvidia gpu fans

To install just clone the repo and compile the code: g++ -O3 -o fanControl main.cpp

Best used with tmux and running sudo ./fanControl


Setting custom fan curve

To make your own custom fan curve just edit "TEMP_THRESHOLD" and "FAN_SPEED".

Example: TEMP_THRESHOLD[] = {30, 50, 80}; FAN_SPEEd[] = {0, 30, 50, 80};

When the GPU temperature is below 30°C, the fans will not spin (0% speed). Once the temperature reaches 30°C or higher, the fans will spin at 30% speed. When the temperature reaches 50°C or higher, the fan speed increases to 50%. At 80°C or higher, the fans will spin at speed (80%).