Closed Flipsh0t closed 6 years ago
I did seem to fix this by manually adding MinValue=0 MaxValue=100 to the [MeasureCpuFanPercentCalc] in the CPU.ini. I'm not sure this is a "proper" fix but it seems to work as intended now.
CPU.ini change
from
[MeasureCpuFanPercentCalc] Measure=Calc Formula=(MeasureCpuFanSpeed / #cpuFanSpeedMax#) * 100 IfCondition=(MeasureCpuFanSpeed > #cpuFanSpeedMax#) IfTrueAction=[!SetVariable cpuFanSpeedMax [MeasureCpuFanSpeed:]][!WriteKeyValue Variables cpuFanSpeedMax [MeasureCpuFanSpeed:]][!UpdateMeasure MeasureCpuFanPercentCalc][!UpdateMeterGroup AltCpuFanPercent][!Redraw] Group=CpuFan | ProgramSwitching | HWiNFO Disabled=(#showCpuFan# < 2) || (#extProgram# <> 1) DynamicVariables=1
to
[MeasureCpuFanPercentCalc] Measure=Calc Formula=(MeasureCpuFanSpeed / #cpuFanSpeedMax#) * 100 IfCondition=(MeasureCpuFanSpeed > #cpuFanSpeedMax#) IfTrueAction=[!SetVariable cpuFanSpeedMax [MeasureCpuFanSpeed:]][!WriteKeyValue Variables cpuFanSpeedMax [MeasureCpuFanSpeed:]][!UpdateMeasure MeasureCpuFanPercentCalc][!UpdateMeterGroup AltCpuFanPercent][!Redraw] Group=CpuFan | ProgramSwitching | HWiNFO Disabled=(#showCpuFan# < 2) || (#extProgram# <> 1) MinValue=0 MaxValue=100 DynamicVariables=1
See, this is the kind of stuff that beta testing is supposed to catch... My CPU Fan doesn't change speeds so I had no way of testing the mode. I'll add this to the list of fixes for v1.4.1. Thanks!
Glad I could help in a small way.
Can you try v1.4.1-rc.1 (you'll need to enable development updates in the global settings skin) and tell me if it's fixed now?
Just installed and it is fixed.
I do however have one suggestion. As currently implemented the percentage and bar will not show the correct numbers/position until your cpu fan hits 100% speed. On initial install of the skin you could possibly ask the user to set the fans listed fanspeed as an preliminary default?
I would let the skin auto update the max speed from hwinfo as it currently does after that initial input so it gets the actual working max fanspeed if/when it hits it if higher than manually set.
This might cause issues too though, I really like the dynamic bar personally.
Update: I haven't changed anything ( I did reboot) and the bar is back to being stuck... I re-added my fix manually again and it's back to working.
What the... the fix deleted itself? Also, you're right, I completely forgot to add a way to define the maximum temp and fan speed. I'll release another version with that setting tomorrow morning.
It did revert somehow, I haven't been able to replicate the issue yet. I'm not going to rule out pbcak yet.
Ok so I reinstalled 1.4.1-rc1 imported my backup just as last time, after I ran my cpu fan to full speed everything was as it should be... After reboot it did revert again.
Is it at all possible that the "[MeasureCpuFanPercentCalc] IfTrueAction" is overwriting without the newly added min/max value info on reboot since hwinfo resets it's statistics?
So, it turns out that Git did a dun-goof and reverted the changes I made before I actually managed to release v1.4.1-rc.1. So that version didn't include the fix at all. Oops! I re-added the fix and will release another version.
I also went ahead and added configuration for the maximum CPU temperature and fan speed. They default to auto detect (which in the fan's case, requires it to run at 100% before it'll measure accurately), but can be overridden with the press of a button.
I'll release the new version once I test it a bit more. Thanks!
Can you test the new version and see if it's fixed?
In manual select mode it works perfectly.. however it seems to be pulling the fan RPM in auto mode and not converting to % anymore.
O.o what the heck? Why is it doing THAT?
Right-click CPU meter, click Edit Skin, then change "autoMaxCpuFan" to 1. Save the file, middle-click the skin, and see what that does.
autoMaxCpuFan= is stuck at 1, i believe this is part of the issue also cpuFanSpeedMax no longer retains the highest number
Open the Rainmeter log and tell me if any errors are showing up.
Edit: if you're seeing cpuFanSpeedMax that means that you managed to download the faulty build that I accidentally released originally. Redownload the update and see if this still happens.
Edit 2: context - autoMaxCpuFan replaced cpuFanSpeedMax, the latter shouldn't exist anymore.
no errors
I do notice that there is a [!UpdateMeterGroup AltCpuFanPercent] with no group matching that anymore.. at least not where it was previously.
[MeasureCpuFanPercentCalc]
Measure=Calc
Formula=(MeasureCpuFanSpeed / [#[#maxCpuFanMode]MaxCpuFan]) * 100
IfCondition=(MeasureCpuFanSpeed > #autoMaxCpuFan#)
IfTrueAction=[!SetVariable cpuFanSpeedMax [MeasureCpuFanSpeed:]][!WriteKeyValue Variables cpuFanSpeedMax [MeasureCpuFanSpeed:]][!UpdateMeasure MeasureCpuFanPercentCalc][!UpdateMeterGroup AltCpuFanPercent][!Redraw]
MinValue=0
MaxValue=100
DynamicVariables=1
Group=CpuFan | ProgramSwitching | HWiNFO
Disabled=(#showCpuFan# < 2) || (#extProgram# <> 1)
[MeasureCpuFanPercentCalcSpeedFan]
Measure=Calc
Formula=(MeasureCpuFanSpeedSpeedFan / [#[#maxCpuFanMode]MaxCpuFan]) * 100
IfCondition=(MeasureCpuFanSpeedSpeedFan > #autoMaxCpuFan#)
IfTrueAction=[!SetVariable cpuFanSpeedMax [MeasureCpuFanSpeedSpeedFan:]][!WriteKeyValue Variables cpuFanSpeedMax [MeasureCpuFanSpeedSpeedFan:]][!UpdateMeasure MeasureCpuFanPercentCalcSpeedFan][!UpdateMeterGroup AltCpuFanPercent][!Redraw]
MinValue=0
MaxValue=100
DynamicVariables=1
Group=CpuFan | ProgramSwitching | SpeedFan | CoreTempSpeedFan
Disabled=(#showCpuFan# < 2) || ((#extProgram# <> 4) && (#extProgram# <> 6))
I found the problem... I can be a big idiot sometimes. I'll release a new build in a few hours, once I get home. SMH...
If you change the cpuFanSpeedMax instances with autoMaxCpuFan, it SHOULD work.
lol.. it's all good my friend, I'm really just a novice when it comes to rainmeter. I'm good for some small tweaks here and there but your stuff is kinda over my head.
Changing those instances did indeed fix the issue.
SHOULD HOPEFULLY BE FIXED NOW. FORGIVE MY SHOUTING BUT I AM SLAMMING MY HEAD INTO MY DESK ABOUT THIS. DOES IT WORK NOW!?
LOL.. fixed, nice job "team dynamic fan display bug"!! thx for your help :)
PHEW. Thanks for the report! Glad we could get that sorted out. :D
By the way, does it persist if you reboot like you did before?
Yessir.. I think you can strike this off the queue now.
Thanks again!
The bar seems to be stuck at 100%, although % and speed change.