T-Troll / alienfx-tools

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

Alienfan Not working at insider Windows 11 release #114

Closed Hellohi3654 closed 2 years ago

Hellohi3654 commented 2 years ago

Describe the bug When trying to open alienfan-gui.exe it says can't install driver, check system configuration! I am using the latest version as of writing this I started happening after I updated to the latest windows insider dev build. I have also tried olders version and they show the same error

To Reproduce

  1. Download latest windows 11 insider dev build and try and run alienfan-gui.exe
  2. See pop-up saying can't install driver, check system configuration!

Screenshots image

T-Troll commented 2 years ago

Uff... This kind of issue is so hard to pinpoint. Thank you for help!

Seems like W11 installer broke/ignore something from .msi into the process. I'll check.

JessloRz commented 2 years ago

Yeah, it seems like the problem is with the installer version, i didn't try downloading the .zip until now so didn't notice.

image

Wait, this is actually pretty weird, tried installing again with the .msi and it works. Maybe installing 5.5.5.0 first has something to do with it? I can only help testing though haha...

T-Troll commented 2 years ago

A puzzle inside the mystery. No, it's not a difference in saved data or something between it. The only reason in this case is GitHub/Windows AV issues (broken .msi or AV block/broke something during installation). I bet on 2nd.

Anyway, let's keep our eye, and we know the solution now.

T-Troll commented 2 years ago

Ohhh! WAIT! Reboot now with 5.5.8 active. It can be a surprise! (Driver only loaded at first app start, then stay in RAM until reboot, so if you load it once - it doesn't touch anymore).

JessloRz commented 2 years ago

It keeps working. I also tried uninstalling and installing a few more times but it worked every single one. I'm out of ideas haha...

Hellohi3654 commented 2 years ago

I think it's better if I post this here

I think a new windows update has broken the fan control again same behavior as before

"kdu.exe -prv 20 -scv 3 -drvn HwAcc -map HwAcc.sys" this command now works

T-Troll commented 2 years ago

Even more funny. I got a BSOD today at W10 - in RTCore as well. Seem like latest Windows update. Ok, i'll switch apps to provider 20.

T-Troll commented 2 years ago

Uff... A bit tricky with this provider. Can you check other?

Hellohi3654 commented 2 years ago

Uff... A bit tricky with this provider. Can you check other?

Only provider that works for me

T-Troll commented 2 years ago

@Hellohi3654 - Can you please check:

Hellohi3654 commented 2 years ago

Uff... A bit tricky with this provider. Can you check other?

Checked the other ones almost two months later sorry about that

kdu.exe -prv 13 -scv 3 -drvn HwAcc -map HwAcc.sys

works along with

kdu.exe -prv 20 -scv 3 -drvn HwAcc -map HwAcc.sys

Hopefully 13 easier to implenment

@Hellohi3654 - Can you please check:

  • Disable CDU loading
  • SHUTDOWN (not restart) system
  • Start it again Is driver loaded in this case?

No nothing I do makes it work still getting same error using

kdu.exe -prv 1 -scv 3 -drvn HwAcc -map HwAcc.sys

and just opening alienfan-gui doesn't work

T-Troll commented 2 years ago

Thank you. As you can see at Discord, i plan to drop driver access and use the other way.

Hellohi3654 commented 2 years ago

Thank you. As you can see at Discord, i plan to drop driver access and use the other way.

oh cool

T-Troll commented 2 years ago

Yes. You can check it now at #testing channel. Seems like all works, but now not all sensors visible and G-Mode disabled. ... and no more drivers or KDL.

Hellohi3654 commented 2 years ago

fan control works fine but the fan rpms are a bit off C:\Alienfan\AlienFan_V2>alienfan-cli rpm WMI activation started. AlienFan-cli v6.2.1.1 AWCC section detected! System information available! 2 Fans found 2 Temperature sensors found 2 Power modes found Fan control available! Supported hardware v1 detected, 2 fans, 2 sensors, 2 power states. Light control disabled. Fan#0: 1200 Fan#1: 2700

I believe that fan#0 is doing 1200 rpm but there's no way fan#1 is doing 2700 rpm it's meant to be doing the same as fan#0 but usually fan#1 is doing like 300 rpm less than fan#0 Very weird

Hellohi3654 commented 2 years ago

image

Oh also I posted in discord but I'll put here Temp and max temp are always at the same value

Hellohi3654 commented 2 years ago

oh and also

C:\Alienfan\AlienFan_V2>alienfan-cli dump
WMI activation started.
AlienFan-cli v6.2.1.1
AWCC section detected!
System information available!
2 Fans found
2 Temperature sensors found
2 Power modes found
Fan control available!
Supported hardware v1 detected, 2 fans, 2 sensors, 2 power states. Light control disabled.
Names: [WMI, dynamic: ToInstance, provider("WmiProv"), Locale("MS\\0x409"), Description("WMI Function"), guid("{A70591CE-A997-11DA-B012-B622A1EF5492}")]
class AWCCWmiMethodFunction
{
        [key, read] string InstanceName;
        [read] boolean Active;
        [WmiMethodId(13), Implemented, read, write, Description("Return Overclocking Report.")] void Return_OverclockingReport([out] uint32 argr);
        [WmiMethodId(14), Implemented, read, write, Description("Set OCUIBIOS Control.")] void Set_OCUIBIOSControl([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(15), Implemented, read, write, Description("Clear OC FailSafe Flag.")] void Clear_OCFailSafeFlag([out] uint32 argr);
        [WmiMethodId(19), Implemented, read, write, Description("Get Fan Sensors.")] void GetFanSensors([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(20), Implemented, read, write, Description("Thermal Information.")] void Thermal_Information([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(21), Implemented, read, write, Description("Thermal Control.")] void Thermal_Control([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(22), Implemented, read, write, Description("BIOS OC Control.")] void BIOSOCControl([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(23), Implemented, read, write, Description("MemoryOCControl.")] void MemoryOCControl([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(24), Implemented, read, write, Description("Set SW OC Status.")] void SetSWOCStatus([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(25), Implemented, read, write, Description("OC Default Value.")] void OCDefaultValue([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(26), Implemented, read, write, Description("System Information.")] void SystemInformation([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(28), Implemented, read, write, Description("Power Information.")] void PowerInformation([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(32), Implemented, read, write, Description("FW Update GPIO toggle.")] void FWUpdateGPIOtoggle([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(33), Implemented, read, write, Description("Read Total of GPIOs.")] void ReadTotalofGPIOs([out] uint32 argr);
        [WmiMethodId(34), Implemented, read, write, Description("Read GPIO pin Status.")] void ReadGPIOpPinStatus([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(35), Implemented, read, write, Description("Read Chassis Color.")] void ReadChassisColor([out] uint32 argr);
        [WmiMethodId(36), Implemented, read, write, Description("Read Platform Properties.")] void ReadPlatformProperties([out] uint32 argr);
        [WmiMethodId(37), Implemented, read, write, Description("Game Shift Status.")] void GameShiftStatus([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(128), Implemented, read, write, Description("Caldera SW installation.")] void CalderaSWInstallation([out] uint32 argr);
        [WmiMethodId(129), Implemented, read, write, Description("Caldera SW is released.")] void CalderaSWReleased([out] uint32 argr);
        [WmiMethodId(130), Implemented, read, write, Description("Caldera Connection Status.")] void CalderaConnectionStatus([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(131), Implemented, read, write, Description("Surprise Unplugged Flag Status.")] void SurpriseUnpluggedFlagStatus([out] uint32 argr);
        [WmiMethodId(132), Implemented, read, write, Description("Clear Surprise Unplugged Flag.")] void ClearSurpriseUnpluggedFlag([out] uint32 argr);
        [WmiMethodId(133), Implemented, read, write, Description("Cancel Undock Request.")] void CancelUndockRequest([out] uint32 argr);
        [WmiMethodId(135), Implemented, read, write, Description("Devices in Caldera.")] void DevicesInCaldera([in] uint32 arg2, [out] uint32 argr);
        [WmiMethodId(136), Implemented, read, write, Description("Notify BIOS for SW ready to disconnect Caldera.")] void NotifyBIOSForSWReadyToDisconnectCaldera([out] uint32 argr);
        [WmiMethodId(160), Implemented, read, write, Description("Tobii SW installation.")] void TobiiSWinstallation([out] uint32 argr);
        [WmiMethodId(161), Implemented, read, write, Description("Tobii SW Released.")] void TobiiSWReleased([out] uint32 argr);
        [WmiMethodId(162), Implemented, read, write, Description("Tobii Camera Power Reset.")] void TobiiCameraPowerReset([out] uint32 argr);
        [WmiMethodId(163), Implemented, read, write, Description("Tobii Camera Power On.")] void TobiiCameraPowerOn([out] uint32 argr);
        [WmiMethodId(164), Implemented, read, write, Description("Tobii Camera Power Off.")] void TobiiCameraPowerOff([out] uint32 argr);
};

C:\Alienfan\AlienFan_V2>
T-Troll commented 2 years ago

Thanks. No, maxTemps looks correct for me. I'll check the issue about RPMs (and it can be, because the source is the same). Thanks for dump share, it helps a lot to support other sensors correctly!

Hellohi3654 commented 2 years ago

fan control works fine but the fan rpms are a bit off C:\Alienfan\AlienFan_V2>alienfan-cli rpm WMI activation started. AlienFan-cli v6.2.1.1 AWCC section detected! System information available! 2 Fans found 2 Temperature sensors found 2 Power modes found Fan control available! Supported hardware v1 detected, 2 fans, 2 sensors, 2 power states. Light control disabled. Fan#0: 1200 Fan#1: 2700

I believe that fan#0 is doing 1200 rpm but there's no way fan#1 is doing 2700 rpm it's meant to be doing the same as fan#0 but usually fan#1 is doing like 300 rpm less than fan#0 Very weird

fan rpms on v1

image

T-Troll commented 2 years ago

You can help me a lot if digging inside WMI (or CIMV) and find the point exposing KDRT sensors... I didn't find it yet.

Hellohi3654 commented 2 years ago

You can help me a lot if digging inside WMI (or CIMV) and find the point exposing KDRT sensors... I didn't find it yet.

what do wmi cimv and kdrt mean?

Hellohi3654 commented 2 years ago

Also the max temp sensors display the same value as the temp value

image

Basically about 10 seconds ago my CPU was at 80C but the max temp sensor is synced to the temp sensor so it just shows the current temp It's kinda like if you just spam the clear max temp button all of time

btw this is an issue for v2 and v1 (v6.4.3.2)

T-Troll commented 2 years ago

This is mine shot for V2: image

So seems like it's you system issue. I'll check.

T-Troll commented 2 years ago

@Hellohi3654 - this bug is fixed into v7.0.0

Release v7 utilize different access method, so this issue is not relevant anymore in general.