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... Quite bad news.

This is mean as it means - i use driver loading hack to load unsigned driver, and seems like this new build block my hack way.

I use 3rd-party library for this, so let me check about it updates.

Hellohi3654 commented 2 years ago

would it be possible for me to brute force and replace the driver manually? Just as a quick fix for now?

Hellohi3654 commented 2 years ago

couldn't it also be that something has changed meaning it doesn't recognize my laptop anymore As it says supported hardware not detected

Hellohi3654 commented 2 years ago

hwinfo is still able to control my fans but they use a different method I think

T-Troll commented 2 years ago

It's not a hardware issue, but a driver loading issue. And no, it's not possible to load it other way (i remove it because it can provide random BSODs).

What you can TRY to do:

Hellohi3654 commented 2 years ago

disabling secure boot didn't help what driver what I roll back to the previous release? or do I have to roll back a windows update? Thanks

Hellohi3654 commented 2 years ago

would I roll back the intel driver? Don't really know why there even is one I have AMD and Nvidia image

T-Troll commented 2 years ago

Driver (hwacc.sys) was not changed for the long time. So you should roll back release... Or wait until loader update will be published.

Hellohi3654 commented 2 years ago

hwacc.sys ok

T-Troll commented 2 years ago

But now it can't be loaded this way. And i will not pay M$ $150 per year to sign it.

Hellohi3654 commented 2 years ago

that's fair

Hellohi3654 commented 2 years ago

where is hwacc.sys located?

Hellohi3654 commented 2 years ago

hmm image

Hellohi3654 commented 2 years ago

image

Hellohi3654 commented 2 years ago

am I looking in the right spot?

T-Troll commented 2 years ago

The issue is not the driver itself, but the fact i use hack method to load it (old one, it works from XP until W11) - because W10+ doesn't allow loading unsigned drivers without serious effort from the user (from W10).

hwacc.sys is my own driver used to access ACPI BIOS calls, it's located into app folder.

Hellohi3654 commented 2 years ago

oh ok well I'm willing to allow unsigned driver loading is there a tutorial I can follow

Hellohi3654 commented 2 years ago

oh do you just have to disable 7) ? image

T-Troll commented 2 years ago

It doesn't help. Trying to load it without Test Mode provide BSOD in W11, so i disable this way.

Thank you to reveal me this point, but for now you can only roll back insider release to previous one. ... or, like me, stay at W10.

Hellohi3654 commented 2 years ago

I was going to stay on win 10 because there were issues with AMD CPU's but then all of my Microsoft store games broke and the only way I could fix them was to update to win 11 unfortunately.

Also would it be possible for you to be able to control the fans the same way hwinfo does since it still seems to work fine

Hellohi3654 commented 2 years ago

also how do I disable alienfan from starting on boot manually since I can't open it anymore

T-Troll commented 2 years ago

Also would it be possible for you to be able to control the fans the same way hwinfo does since it still seems to work fine

No, it's a dangerous way, as well as many gears not compatible with it at all.

also how do I disable alienfan from starting on boot manually since I can't open it anymore

Open start menu, start to type "task scheduler", open it, remove AlienFan-GUI entry. I'll add automatic remove at next release.

T-Troll commented 2 years ago

I was going to stay on win 10 because there were issues with AMD CPU's but then all of my Microsoft store games broke and the only way I could fix them was to update to win 11 unfortunately.

I broke it from time to time as well, it's two shell commands return it back.

T-Troll commented 2 years ago

Ok... I'll keep this task opened, and drop a message here, then i have updates.

Hellohi3654 commented 2 years ago

I was going to stay on win 10 because there were issues with AMD CPU's but then all of my Microsoft store games broke and the only way I could fix them was to update to win 11 unfortunately.

I broke it from time to time as well, it's two shell commands return it back.

Yeah I tried to use those shell commands but everything I tried didn't fix it I ended up finding out that there was a cumulative update that was meant to fix my issue so I had to get win 11 to get it.

Hellohi3654 commented 2 years ago

Ok... I'll keep this task opened, and drop a message here, then i have updates.

Ok thanks

Hellohi3654 commented 2 years ago

Also would it be possible for you to be able to control the fans the same way hwinfo does since it still seems to work fine

No, it's a dangerous way, as well as many gears not compatible with it at all.

also how do I disable alienfan from starting on boot manually since I can't open it anymore

Open start menu, start to type "task scheduler", open it, remove AlienFan-GUI entry. I'll add automatic remove at next release.

Thanks

T-Troll commented 2 years ago

Ok, you can try to find a way to load driver yourself. I use this library to load my driver.

So you can try to load utility from there, then try to load my driver using it with different parameters (provider/shellcode). In case you can load driver successfully (you can run alienfan-gui/cli for check), please share provider/shellcode IDs for me, i can alter app settings.

If you can't load it with any combination - we have no choice but wait until guys update it.

WARNING: using incorrect provider/shell can provide BSOD. Close all other apps, use with care!

Hellohi3654 commented 2 years ago

I experimented with kdu and found that this command loads your driver just fine no BSODs and I have tested alienfan-gui it and it seems to be 100% working "kdu.exe -prv 1 -scv 3 -drvn HwAcc -map HwAcc.sys"

T-Troll commented 2 years ago

Great news! Ok, i'll check it at W10 and then publish update.

You can load driver by this command meanwhile before AlienFan-GUI start.

Hellohi3654 commented 2 years ago

Yeah I have setup a bat file that runs on startup that loads the driver then opens alienfan-gui using task scheduler

On Mon, 28 Feb 2022, 04:07 T-Troll, @.***> wrote:

Great news! Ok, i'll check it at W10 and then publish update.

You can load driver by this command meanwhile before AlienFan-GUI start.

— Reply to this email directly, view it on GitHub https://github.com/T-Troll/alienfx-tools/issues/114#issuecomment-1053617315, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANV3NLEB3M2U5DVHXSO5XVDU5JK3PANCNFSM5OZ2C6EA . You are receiving this because you authored the thread.Message ID: @.***>

T-Troll commented 2 years ago

Ok, let's try the easy way first. This is updated loader DLL. Please overwrite kdl.dll into app folder by it and try (NB: don't forget to disable your current loading script and reboot before it!).

If it not works i need more deep library update, it took some days...

Hellohi3654 commented 2 years ago

your new version 5.5.4 seems to work fine

VinyLimaZ commented 2 years ago

I need to open this issue, because I'm on Win11 and I can't use the control fan and I'm very worried with this because Win10 has bad performance on warzone and Alien control center install that shit audio driver that bugs my audio on streams :( Could you help to achieve to make work it? I tried the steps here but didn't work :/

Hellohi3654 commented 2 years ago

Have you tried using version 5.5.5.1 5.5.7 seems to break my fans Haven't tried 5.5.6

Edit: Also I am running the latest windows insider Dev build

T-Troll commented 2 years ago

@VinyLimaZ What gear do you have and what exactly happened?

@Hellohi3654 Oh... Can you open an issue about it at alienfx-tools with more details? I have no changes in fan control (except some for G5, but it should not break anything) after 5.5.5.1, so let's check and fix.

VinyLimaZ commented 2 years ago

@Hellohi3654 No I tried the same version you used (5.5.4) but didn't work :/ I'll try that 5.5.5.1 later! TY

@T-Troll WDYM by gear? My AW? It's a M15 R6 (2021), nothing happened, to me never worked in the Win11, On 10 it's okay, I upgraded to 11 and stopped work :(

T-Troll commented 2 years ago

Yes, i'm asking about AW model. What do you mean "nothing"? No error message, but fans not controlled? Error message at app start about it?

I don't use W11 for some reasons, but trying to support it, so let us clarify the situation.

VinyLimaZ commented 2 years ago

M15 R6 (2021) Nothing I mean that to me never worked on Win11, I received that error message saying about the fan driver error and I'm trying to work around it, because I don't want to use the AWCC... The problem with the AWCC is that shit audio driver that bugs my mic in my stream :( At now I'm not using any dev build, I'm using regular win11. I'm here to help with information if you want it

T-Troll commented 2 years ago

Ok, let's check. First, try 5.5.4. In case it works, i will need your help to catch what is broken in latest. Second, try to run alienfan-cli rpm from Administrator command line. Keep your eye on error message (it has many of them), it helps me to configure out what exactly happened. In case it complains about "System configuration issue" - try to load driver manually (as defined above into this thread).

VinyLimaZ commented 2 years ago

5.5.4 didn't work, BUT I'll try to run that command to see the errors message and return to you (I'll try others versions too)

T-Troll commented 2 years ago

Any feedback?

VinyLimaZ commented 2 years ago
PS C:\Program Files\AlienFX Tools> .\alienfan-cli.exe
AlienFan-cli v5.6.0
System configuration issue - see readme.md for details!

I'll try to load manually the driver later, but the commando doesn't return anything that helps...

The strange part is that when I reinstalled the WIN11 at first the app worked, but after the update stoped :/

T-Troll commented 2 years ago

Yes, it is. I'm a bit tired from this - M$ make a lot of effort to block open source drivers to load into W11. AFAIR, situation will be even worse later.

All we can do is to try to find a way to load it anyway, it's wrong to follow their way.

So, latest KDU didn't help? Error code and driver not loaded? Or driver loaded but can't be accessed by tools?

JessloRz commented 2 years ago

Version 5.5.5.0 worked for me on windows 11, the only problem i had with that version is that, when i click the minimize button of the window, it crashes. Minimizing from app button works fine

I just saw that its solved on 5.5.5.1, but only 5.5.5.0 works on windows 11 for me.

T-Troll commented 2 years ago

A mystery! The only change is in alienfx-gui, but the driver, loading, and fan SDK are the same!

Maybe some Visual Studio update broke it? Hmm... Can you try to load .zip from the latest release, then copy hwacc.sys, kdl.dll and drv64.dll from 5.5.5.0?

JessloRz commented 2 years ago

It works!

Captura de pantalla 2022-04-18 200936

T-Troll commented 2 years ago

Great! So, as a hotfix, you can always use these files from 5.5.5 (No changes inside, in fact). I'll try to configure out what happened and maybe generate correct ones for test.

T-Troll commented 2 years ago

Mystery continues:

Comparing files HwAcc.sys and ../T2/HWACC.SYS
FC: no differences encountered
C:\work\DevStudio\alienfx-tools\x64\Release\t>fc kdl.dll ../t2/kdl.dll
Comparing files kdl.dll and ../T2/KDL.DLL
FC: no differences encountered
C:\work\DevStudio\alienfx-tools\x64\Release\t>fc drv64.dll ../t2/drv64.dll
Comparing files drv64.dll and ../T2/DRV64.DLL
FC: no differences encountered

It's between 5.5.5 and 5.5.5.1. I have 2 ideas what happened:

  1. AV broke something in installer
  2. Installer broken by itself

Can you please check original 5.5.8 not from .msi, but from .zip?

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