T-Troll / alienfx-tools

Alienware systems lights, fans, and power control tools and apps
MIT License
508 stars 46 forks source link

CPU Fan doesn't spin on sartup #344

Open XRone99 opened 1 year ago

XRone99 commented 1 year ago

Describe the bug Very often on system startup CPU fan doesn't spin even if the program says it's spinning at some RPM

To Reproduce Steps to reproduce the behavior:

  1. Start the system
  2. AlienFX GUI starts itself with windows on tray
  3. I see cpu temperature slowly rise and fan doesn't fisically spin even if the program shows some RPMs
  4. If i restart AlienFX GUI or change "Power Mode" from manual to any other value and the go back to manual everything works perfectly

Expected behavior AlienFX GUI should be able to control CPU fan without the need from me to restart it or force the cange of Power Mode

System (please complete the following information):

Additional context I use a custom fan curve and it works perfectly fine if I do that thing to make AlienFX get unstuck

T-Troll commented 1 year ago

Oh no, not again!

We are solved this issue for a couple of other systems, seems like BIOS/SPI broken after some update. Did you update BIOS recently?

I can add your system to force list, but i need to know your SystemID. Run alienfan-cli rpm from the Administrator CMD and share me the output.

XRone99 commented 1 year ago

Last time I did update BIOS was far before the last update of AlienFX-Tools, this issue appeared just with the last update

This is the output:

AlienFan-CLI v8.2.6.2 Supported hardware (4800) detected, 4 fans, 13 sensors, 7 power states. Usage: alienfan-cli command[=value{,value}] {command...} Available commands: rpm[=id] Show fan(s) RPM maxrpm[=id] BIOS fan max. RPM percent[=id] Show fan(s) RPM in percent of maximum temp[=id] Show known temperature sensors values unlock Unlock fan controls getpower Display current power state setpower= Set CPU power to this mode setperf=, Set CPU performance boost getfans[=[fanID,]] Show fan boost level (0..100 - in percent) with selected mode setfans=[,][,mode] Set fans boost level (0..100 - in percent) with selected mode setover[=fanID[,boost]] Set overboost for selected fan to boost (manual or auto) setgmode= Set G-mode on/off (1-on, 0-off) gmode Show G-mode state setcolor=id,r,g,b Set light to color setbrightness= Set lights brightness Power mode can be in 0..N - according to power states detected Performance boost can be in 0..4 - disabled, enabled, aggressive, efficient, efficient aggressive Number of fan boost values should be the same as a number of fans detected Mode can absent for cooked value, and "raw" for raw value Brightness can be in 0..15

But I have to specify that in this particular moment fans are working as expected (as I said it doesn't happen everytime, only on some computer starts)

T-Troll commented 1 year ago

Ok, so your SystemID is 4800.

Looks strange, i don't change anything into fan control last releases... This looks like the bug into Manual profile control into BIOS, so they miss PASV point... Yes, switching mode helps.

T-Troll commented 1 year ago

Try this one - it should help - fan_gui.zip

XRone99 commented 1 year ago

Ok, I've been using this version you gave me for some days with no problems BUT as I said the problem already was intermittent In fact this morning it happened again, as always switching mode and going back to manual helped the fan start spinning correctly as always

T-Troll commented 1 year ago

I do some into latest release version. If this didn't help again, seems like issue into BIOS, and you should configure out the system other way - i tell you how.

XRone99 commented 1 year ago

So I should download the latest version? (By the way in the last 2 weeks or so fans have worked fine)

T-Troll commented 1 year ago

It has some other fixes about it, so try.

XRone99 commented 1 year ago

Thank you, i'll try it and let you know <3

XRone99 commented 1 year ago

I've tested latest version for some days and I can tell that the problem is still there; as always it is discontinuous, sometimes it works, sometimes fans are blocked on 700rpm (sometimes is CPU1, other times is CPU2 or GPU 1 and so on; it seems to be random) As always changing between profiles does work and restores function

T-Troll commented 1 year ago

Hmm....

Latest version ALWAYS switch between power modes then resume from sleep. So i really don't understand how it is possible to still hang fans. Maybe timing is an issue....

XRone99 commented 1 year ago

Today I've noticed something: It's NOT that the program doesn't control the fan spinning, actually it does The thing is that Fan Max RPMs are lower then actual maximum until I change Power Mode to another profile and then switch back to Manual For example CPU1 fan will spin at 4000 RPMs on manual mode 100% boost BUT if I switch to another profile and then go back to manual it will spin at 5300 RPMs And I can tell this difference matters in terms of temperatures (and also is audible even without looking at RPMs)

I wish this could be helpful

T-Troll commented 1 year ago

Oh... Look at this - https://www.reddit.com/r/Alienware/comments/147sckl/fan_speed_not_working/

Seems like something broken into BIOS for some models...

About you issue... All i can do is delay power mode switch - MAYBE this can help. Now i switch mode to Balanced then app start/resume, then switch to mode you define into profile. But now it will be done immediately, so i have an idea some delay between can help.