Eraden / amdgpud

MIT License
195 stars 11 forks source link

0-RPM Flapping Suggestion #51

Open rlees85 opened 2 years ago

rlees85 commented 2 years ago

When setting a fan curve that allows the fans to turn off at a certain point it tends to "flap". It would be nice to have a range for the lower temperature value or some other clever way to avoid this problem.

Example curve on 5700XT:

temp_input = "temp1_input"
log_level = "Error"

[[speed_matrix]]
temp = 55.0
speed = 0.0

[[speed_matrix]]
temp = 56.0
speed = 8.0

[[speed_matrix]]
temp = 58.0
speed = 10.0

[[speed_matrix]]
temp = 60.0
speed = 15.0

[[speed_matrix]]
temp = 65.0
speed = 25.0

[[speed_matrix]]
temp = 70.0
speed = 45.0

[[speed_matrix]]
temp = 75.0
speed = 70.0

[[speed_matrix]]
temp = 80.0
speed = 100.0

Anything between 0-8 means the PWM is working but fan isn't moving hence not too healthy hence the 1c gap. It would be nice to have some logic that says something like "when temperature gets to 55c use 8% speed and keep 8% until 50c at which point use 0 and then stay at 0 until 55c again". Otherwise fan just stops and starts multiple times per minute no matter where you set the temperature for starting/stopping.