项目作者: vandabbin

项目描述 :
Fan Curve Control Script for Nvidia GPUs on Linux
高级语言: Shell
项目地址: git://github.com/vandabbin/nvidia-fan-control-linux.git
创建时间: 2018-09-29T00:57:36Z
项目社区:https://github.com/vandabbin/nvidia-fan-control-linux

开源协议:GNU General Public License v3.0

下载


nvidia-fan-control-linux

Fan Curve Control Script for Nvidia GPUs on Linux

In order for this script to work, coolbits must be enabled in xorg.conf

This script allows directly setting fan speed on Nvidia GPUs either manually or with a “fan curve”.
Supports Day and Night fan curves

While the default fan curve settings will work, you may want to customize them to meet your needs or
preferences.

Add a line to cron like this to enable automatic fan control:

  1. * * * * * ~/fan-control.sh curve

If you don’t wish to use cron but instead prefer a persistant running script in the background then you can!

Run the script in a terminal window with

  1. $ fan-control.sh pcurve

Or set the script to run at login in the background

  1. fan-control.sh pcurve &

Currently to adjust Fan Curve settings you must manually edit the ‘Configurable Settings’ section of the script.
I want to eventually load it from a seperate config file but haven’t bothered yet.

Example of Info Screen:

  1. $ fan-control info
  2. | Card | | Fan Speed | | Fan RPM | | GPU Temp |
  3. 0: GeForce GTX 1080 Ti 80% 2632 52°
  4. 1: GeForce GTX 1080 Ti 80% 2635 53°
  5. 2: GeForce GTX 1080 Ti 80% 2661 52°
  6. 3: GeForce GTX 1080 70% 2260 48°
  7. 4: GeForce GTX 1080 80% 2908 50°
  8. 5: GeForce GTX 1070 Ti 90% 3150 55°
  9. 6: GeForce GTX 1070 Ti 80% 2802 50°

Example of Setting Speed:
Note that setting a speed manually will disable fan curve if set in cron until ‘set curve’ command is given.
Setting speed manually will also stop a background running persistant curve. You will have to either start
a new persistant curve in the foreground or relaunch it into the background.

  1. $ fan-control.sh set 75 OR $ fan-control.sh s 75
  2. $ fan-control.sh set default OR $ fan-control.sh s d
  3. $ fan-control.sh set max OR $ fan-control.sh s m
  4. $ fan-control.sh set off OR $ fan-control.sh s off
  5. $ fan-control.sh set curve OR $ fan-control.sh s c

I hope this works for all of you as well as it does for me!