根據溫度自動調節顯卡風扇
操作步驟
git clone https://github.com/liqiang311/set-gpu-fans.git
mv set-gpu-fans /opt
apt-get update
apt-get install -y xinit tcsh
cd /opt/set-gpu-fans
chmod +x cool_gpu
chmod +x nvscmd
nohup ./cool_gpu &
輸入nvidia-smi
,當顯示有一個7MB的進程運行時,表示成功。
若失敗,檢查/opt下的nohup.out,有可能是lightdm
服務開啓的原因,需要關閉此服務service lightdm stop
。