Fans RPM have erratic behaviour #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I see fans do a lot of ups and downs (going from 1500 RPM to 1200 RPM to 1500 RPM in 2 seconds) when the temp is at 57 and the target is 50:

I set the fans like so:
Does this mean I need to tweak the PID values? And if so, what can I try?
Another thing: I notice the RPM is almost exactly the same for fan2 and fan3 but shouldn't it be different because of the different min value set for pwm?
So, this fan "jojoing", is it happening after a 'normal' boot or after suspend? I noticed simillar behaviour after suspend from time to time.
Did you try to restart pyfan?
You can try lowering the differential part (d), for example to 1, and see if that changes anything.
Did you look at the debug output to confim pyfan is setting them to the same values? Normally each fan should be treated differently, so if they are not that's a bug and we should fix it.
I'll pay attention if there is a difference between normal boot and resume from suspend.
I did try to restart pyfan and it had not effect.
Did an initial quick test and it seems to work. Will keep you updated on that.
I just did and on low usage the values do not have the same values (39%µ and 35%) however, with high usage they get set to the same exact values.
Here is a log where you can observe the values being the same:
Since you didn't limit them they should be set high (and possibly to the same value) if your thermal zone is above target.
Ah I see. Could you add a third value to tweak how fast a fan will reach its max RPM?
I have a loud fan that I don't want to be maxed out, or only if it really needs to, so I would setup something like [40, 100, 200] and it would interpolate values in between so that it takes more time to reach higher RPM.
That would defeat the propose of using pid entirely. If you want to ramp it up slower, try lowering the linear bit, slower over time would be the integral bit (at least with little differences)
OK, but then this means I will have to create a new thermal zone just because I need one fan to ramp up slower.
I don't know if it's related but I have this when resuming from suspend:
That's quite normal after suspend, as long as it does not countinue that should be allright.
It seems like this was a configuration issue, so I'm going to close this. If you still run into this problem, please reopen this.