from:https://ubuntuforums.org/showthread.php?t=1367679:
warning: this is dangerous. manually turning off cpu fans or slowing them down too much can fry or set fire (AMDs) to your CPU.
“1/ Strongly recommend first that you set up lm-sensors so you can keep an eye on CPU temperature. run ‘sensors-detect’ to configure. then ‘sensors’ to get an idea whether you are frying your cpu or not. check out the specs online for your cpu to see how hot it can safely get before melting.”
My GPU fan speed seemed to high/loud even with no load. From the archwiki nouveau page went to fan control:
$ find /sys -name pwm1_enable
/sys/devices/platform/eeepc-wmi/hwmon/hwmon1/pwm1_enable
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon3/pwm1_enable
% readlink /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/driver
…/…/…/…/bus/pci/drivers/nouveau
Then i created the file:
$ cat /etc/udev/rules.d/50-nouveau-hwmon.rules
ACTION==“add”, SUBSYSTEM==“hwmon”, DRIVERS==“nouveau”, ATTR{pwm1_enable}=“2”
But my fan still seemed too loud for the load, I went to the folder:
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon3/
pmw1_enable was indeed 2
pmw1 was 65
this page shows how too change fan speed in MANUAL mode:
https://ubuntuforums.org/showthread.php?t=1367679
even after changing the fan speed to 5, it still stayed at pmw1 65
I noticed in:
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon3/
another file called pwn1_min which was set at 65
then changed that to 0 in MANUEL
wah lah! i could lower the fan speed down to a quieter speed in MANUAL mode:
echo 0 > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon3/pwm1_min
Then edited % > cat /etc/udev/rules.d/50-nouveau-hwmon.rules
ACTION==“add”, SUBSYSTEM==“hwmon”, DRIVERS==“nouveau”, ATTR{pwm1_enable}=“2”
ACTION==“add”, SUBSYSTEM==“hwmon”, DRIVERS==“nouveau”, ATTR{pwm1_min}=“0”
and much quieter. So I played a little xonotic a FPS with the nouveau driver, seems pretty good. I think the “feel” is a little different, but better maybe? Fan speed adjusted appropriately . I will continue to monitor GPU temps for any issues
btw made a script for polybar:
#!/bin/bash
sensors nouveau-pci-0100 | grep temp1 | cut -d\ -f9
from polybar modules:
;;;;;;;;;;;;;;;;;
;; GPU TEMPERATURE ;;
;;;;;;;;;;;;;;;;;
[module/nouveautemp]
type = custom/scriptinterval = 5
exec = ~/.config/polybar/scripts/nouveautemp
label =“GPU %output%”
tail = trueclick-left =termite -e “watch sensors” & disown
good day