[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Mon Aug 10 00:26:44 UTC 2020
https://bugzilla.kernel.org/show_bug.cgi?id=201539
--- Comment #56 from Sean Birkholz (supasean at hotmail.com) ---
I was going to try and get a fancontrol script working, but I found the
following as I started to play around:
I got my results on Arch Linux's 5.7.12-arch1-1 kernel.
On boot pwm1_enable is set to 1 (manual mode). On 4.18.x it is normally set to
2 (automatic mode) iirc. Changing this value to 2 does essentially nothing for
me and the fans do not spin up with increasing temp.
However, I've found that running pwmconfig and not even answering the first
question (ie; I can just ctrl+c out) causes the automatic temp control to start
functioning. So after you run pwmconfig, then change pwm1_enable to 2 and
everything works again. So far it appears doing these two things gets me the
same functionality I had on 4.18.x and I can finally upgrade my kernel. No fan
control script needed.
It is interesting to note, if you do these in the opposite order; set
pwm1_enable to 2 and then run pwmconfig, you must say yes to enabling manual
mode on the gpu's fan before they start functioning properly. This also causes
the fan to run full speed (like pwm1_enable is set to 0) and you will need to
set 2 in pwm1_enable again.
I dont know what pwmconfig is modifying to cause pwm to work again... I wish i
knew so I could set that up with a script and not have to manually start it,
but this is good enough for now as I reboot rarely. Maybe I can make a script
to use with systemctl when I'm not lazy.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list