Just wondering what you guys use to control your gpu fans while in linux. Mine are running at 100%, and are starting to make my ears bleed. :P
i have an AMD card, but solutions for both vendors are welcome. :)
Just wondering what you guys use to control your gpu fans while in linux. Mine are running at 100%, and are starting to make my ears bleed. :P
i have an AMD card, but solutions for both vendors are welcome. :)
I use a hacked-together script. I too have an AMD-card, using the open source drivers. I invoke it with an argument between 0-100 (./gpu-fan-control.sh 50
will set the gpu fan to 50%. If the argument is < 20, it sets the fan to 20%). I noticed that when the temp reaches 100°C it automatically sets it to 100%, and then when it reaches 99 again it goes to the value I set, then back to 100%... so you'll notice if it's running too hot :3
#!/bin/bash
PATH=$(find /sys/class/hwmon/hwmon*/name -exec grep -E '^radeon$' {} + | grep -o '.*/')
if [ $# -eq 0 ] || (( $1 < 20 )); then
SPEED=50; # ~20%
elif (( $1 < 100 )); then
SPEED=$(echo "255*$1/100" | /usr/bin/bc);
else
SPEED=255;
fi
echo 1 > $PATH"pwm1_enable"
echo $SPEED > $PATH"pwm1"
I tried it, and if didn't work. It says permission denied for pwm.
I also tried running it with sudo, and still no dice.
Oh yeah, I had that problem too. I was too frustrated to care, so I think I either chown'd or chmod'd it to give me access. No issues have arised for me.