Small script that checks if nvidia-powerd starts using 100% CPU and restarts it. It runs as a cron job every minute.
Download the script into /root
directory
Add a crontab entry for the root
user
sudo crontab -e
* * * * * /root/kill_powerd.sh
- The script will run every minute.
- https://crontab.guru/#_*_
- It does not help much to run the script more often than that.
- On some PCs nvidia-powerd can use only 4% CPU and fans can go crazy.
- You can adjust this setting in the
kill_powerd.sh
script, replace the80
with the desired value.