TranslucentFlyouts icon indicating copy to clipboard operation
TranslucentFlyouts copied to clipboard

Does not seem to install or run, but no errors

Open e-t-l opened this issue 1 year ago • 44 comments

I downloaded TF V3.0.0, unpacked the archive, and ran the installer bats as administrator. (Just to check, I manually opened an elevated CMD prompt and ran start rundll32.exe "C:\Tools\TranslucentFlyouts.V3.x64\TFModern64.dll",Main /install and /start. For good measure, I even rebooted then again manually ran start rundll32.exe "TFModern64.dll",Main /start (I did all the same steps with TFMain64.dll too), but there is no indication that it is running. I never see the console window for downloading symbols appear, and there are no visible changes to any flyouts. There is no "rundll32.exe" process active in Task Manager (I don't know if there should be or not).

I also tried all the steps from issue #44: I did all the above with antivirus disabled, and afterward I rebooted the PC; in Windows settings, Transparency Effects are already enabled, and the Registry entry HKLM\Microsoft\Windows\Dwm\ForceEffectMode does not exist. Just to check, I tried setting HKEY_CURRENT_USER\Software\TranslucentFlyouts\Menu\EnableCompatibilityMode to 1, but it made no difference.

I am running Windows 11 Enterprise x64, version 23H2, on a brand new Lenovo Legion 5i Pro (Gen 8).

Has anyone else had issues getting TF to work on Win 23H2?

e-t-l avatar Jan 24 '24 15:01 e-t-l

🤔Weird... What's your system build number?

ALTaleX531 avatar Jan 24 '24 16:01 ALTaleX531

What's your system build number?

22631.3085

e-t-l avatar Jan 24 '24 17:01 e-t-l

I have updated the attachement, please see if it solve your problem.

ALTaleX531 avatar Jan 25 '24 06:01 ALTaleX531

Windows 10 Pro 22H2 19045.3996. Immersive version installs and launchs without errors. Running launch_immersive.bat again says that service is already running. But no flayouts effects added.

UnclWish avatar Jan 25 '24 09:01 UnclWish

Windows 10 Pro 22H2 19045.3996. Immersive version installs and launchs without errors. Running launch_immersive.bat again says that service is already running. But no flayouts effects added.

@UnclWish It is currently intended for Windows 11, I will add support for Windows 10 in the official release.

ALTaleX531 avatar Jan 25 '24 15:01 ALTaleX531

I have updated the attachement, please see if it solve your problem

I did all the same steps with the updated versions. Running the BATs as admin results in exit code 0 for each of them (which I believe means no errors) yet nothing happens. Even after rebooting, I never see symbols downloading

e-t-l avatar Jan 25 '24 17:01 e-t-l

image Cannot reproduce!

ALTaleX531 avatar Feb 04 '24 08:02 ALTaleX531

Hm. After launching TF, is there anything else I should see on a system level to indicate if it's running or not, e.g. a process in task manager?

e-t-l avatar Feb 04 '24 11:02 e-t-l

You can find rundll32.exe in the task manager, or you can simply run the stop_win32.bat. If it is not running it will show a error message box to you.

ALTaleX531 avatar Feb 04 '24 12:02 ALTaleX531

same. i did step by step and doesn't seem to work (build 22631.3085)

powerdollkirby avatar Feb 07 '24 03:02 powerdollkirby

@powerdoll Ok now that there's 2 of us, maybe we can figure out what we have in common about our devices.

One possible factor occurred to me that I haven't had time to check. Do you have any windows hardening settings in gpedit or Windows Security (for example, ASLR)? I'm wondering, If TF works by patching the active memory, whether a security policy like memory address layout randomization could interfere with that.

e-t-l avatar Feb 07 '24 05:02 e-t-l

@powerdoll Ok now that there's 2 of us, maybe we can figure out what we have in common about our devices.

One possible factor occurred to me that I haven't had time to check. Do you have any windows hardening settings in gpedit or Windows Security (for example, ASLR)? I'm wondering, If TF works by patching the active memory, whether a security policy like memory address layout randomization could interfere with that.

nope, i actually have a fresh windows 11 install, just installed explorer blur mica, that's it

powerdollkirby avatar Feb 07 '24 06:02 powerdollkirby

nope, i actually have a fresh windows 11 install, just installed explorer blur mica, that's it

That's good to know! That actually rules out a lot. What edition to Windows do you have - Home, Pro, Enterprise?

(Also I just realized I accidentally closed this issue with my last comment. Its definitely NOT complete.)

e-t-l avatar Feb 07 '24 10:02 e-t-l

Pro yeah no worries, i dont know how ot make it work, i see like a mica effect inside the 7-zip program when right clicking but its not mica at all, it's weird, thats the only place it kinda "shows"

powerdollkirby avatar Feb 07 '24 11:02 powerdollkirby

Recording 2024-02-07 160250 you cant really appreciate it here but it shows mica inside 7-zip, and white anywhere else

powerdollkirby avatar Feb 07 '24 23:02 powerdollkirby

Interesting. I was able to install MicaForEveryone just fine, which means the issue is not with the in-memory patching, like I was originally afraid might he the case with ASLR. I am still brainstorming how else to troubleshoot TF.

e-t-l avatar Feb 16 '24 04:02 e-t-l

@ALTaleX531 is there a debug version of TF so I could get some sort of output or logs of what it's doing?

e-t-l avatar Feb 16 '24 04:02 e-t-l

image This is a debug version and you can view the debug output via DbgView. Debug.zip

ALTaleX531 avatar Feb 16 '24 14:02 ALTaleX531

i'm a linux user now, not my problem anymore >:D

powerdollkirby avatar Feb 16 '24 20:02 powerdollkirby

This is a debug version and you can view the debug output via DbgView.

Okay, this is the debug output I got:

[12556] [TranslucentFlyouts.Win32] Framework::Startup rejected. [serviceRunning: false, processIsRundll32: true, processIsTFC: false]
[12556] [TranslucentFlyouts.Win32] ::Main invoked, [buildNumber: 22631]

Those are the only two lines produced no matter if I run it with the /install, /start, or /stop flags. I do not see any rundll32 instance being created in Task Manager. Also, running /stop when TF isn't already running does not produce any error.

It almost seems like the flags are being ignored? I have no idea how that would happen or why. In your screenshot, you have highlighted a line that says Application::StartService, user has confirmed, ready to call Application... I never see anything like this. I only ever see the two lines I pasted above.

e-t-l avatar Feb 16 '24 21:02 e-t-l

Interestingly, I tried running it in a Windows Sandbox. When I ran the debug version you shared in your last comment, I got an error messagebox saying There was a problem starting C:\Users\WDAGUtilityAccount\Desktop\TranslucentFlyouts_Debug\TFMain64.dll. The specified module could not be found. But, when I ran V3.x64_20240125_Updated in Windows Sandbox, it worked! It tried to start downloading symbols (couldn't complete it because the sandbox didn't have connectivity), it showed a popup that it completed successfully, and if I ran /launch on it again, it showed a popup that there was already a running instance. All behaving exactly as expected, but only in Windows Sandbox. When I do the exact same thing on my physical device (aka not in a sandbox), absolutely nothing happens. I'm out of ideas.

e-t-l avatar Feb 16 '24 21:02 e-t-l

Hmm, I also just noticed that DWMBlurGlass doesn't work on my system (but it does work inside Windows Sandbox!). It says that it installs, but doesn't actually have any effect. And to my knowledge, it uses the same or similar transparency-modifying process as TF. On the other hand, MicaForEveryone works just fine for me. Weird.

@ALTaleX531 Could it have something to do with GPUs? The only other thing I can think of is that I have a Geforce RTX 4070 GPU. Do we know anything about discrete GPUs handling DWM differently?

e-t-l avatar Feb 17 '24 07:02 e-t-l

Since that's really a debug version, you'll need to install the appropriate VC runtime libraries in the sandbox, and here's a version that removes that dependency and contains more information. I don't think it has anything to do with the GPU at all, from the information you provided TF seems to be experiencing a crash, which could also be what DwmBlurGlass is experiencing as they both use the same code.

ALTaleX531 avatar Feb 17 '24 19:02 ALTaleX531

Guys actually I had the same problem with V2.1.0 and had Windows 11 version 22635.3139. It just didn't work. I activated it and the mouse cursor was spinning and stopped. So I uninstalled it. This was about 1 1/2 months ago. Then just 2 weeks ago I installed 3.0.0 with the config GUI. And these are some reasons why it “maybe” wasn't working:

  1. Recently found OOShutup and “Accidentally” ran it. So perhaps??
  2. Just was a noob. I thought that Dropdown was context menu and menu is something else.
  3. Possibly something else? BTW @ALTaleX531 and @Maplespe I recently tried it to use EBM v2 with TF v3 and.. it worked perfectly and works beautifully. Maybe you should update your README. Also, using DWMBlurGlass works perfectly. You guys should host all the tools under one package/

TechySC23 avatar Mar 07 '24 17:03 TechySC23

@e-t-l I think I've figured out why, because your cpu probably doesn't support the avx2 enhanced instruction set. I should be able to fix it this weekend. @TechySC23 The code is just too complex and combining them together would require a lot of work. Maybe I'll think about that later.

ALTaleX531 avatar Mar 07 '24 18:03 ALTaleX531

your cpu probably doesn't support the avx2 enhanced instruction set

I don't know what that it, but it seems unlikely that my CPU wouldn't support it. My pc is a brand new gaming PC with the latest-gen Intel i7 CPU. (And I had previously had TF running just fine on my 10-year-old budget-bin netbook! EDIT: I checked in HWinfo and my CPU supports AVX2)

But if you say you know how to fix it, then I'll trust that and eagerly await your update.

(FWIW, I have not yet had the opportunity to try out the version you shared in https://github.com/ALTaleX531/TranslucentFlyouts/issues/90#issuecomment-1950293337, but I've been trying to figure out if there's anything else weird about my system that would make TF not work. Can you confirm whether TF works normally on a Windows machine that has Virtualization-Based Security (VBS) enabled?

e-t-l avatar Mar 07 '24 23:03 e-t-l

@e-t-l Please check the latest version, theoretically TF is not affected by VBS.

ALTaleX531 avatar Mar 09 '24 11:03 ALTaleX531

@e-t-l Please check the latest version, theoretically TF is not affected by VBS.

Even my CPU has VBS on still its working.

TechySC23 avatar Mar 09 '24 14:03 TechySC23

here's a version that removes that dependency and contains more information. I don't think it has anything to do with the GPU at all, from the information you provided TF seems to be experiencing a crash

Even with that updated debug version, the output is still:

[34088] [TranslucentFlyouts.Win32] Framework::Startup rejected. [serviceRunning: false, processIsRundll32: true, processIsTFC: false]
[34088] [TranslucentFlyouts.Win32] ::Main invoked, [buildNumber: 22631]

There is no other output.

@e-t-l Please check the latest version, theoretically TF is not affected by VBS.

I tried the latest version and, same as before, nothing happened when I ran the bat files on my host computer. And, same as before, when I ran it in Windows Sandbox, it did install and run successfully. I am really running out of ideas of why it would work in the Sandbox but not on the host PC. I have Avast Antivirus installed, but I have whitelisted all the files and folders for TF, and I have completely disabled Avast when I make these attempts.

Please reopen this issue @ALTaleX531, it unfortunately is still not solved.

e-t-l avatar Mar 09 '24 22:03 e-t-l

So if I'm not mistaken, the TF main service died suddenly, no specified function was called, no crash occurred as there was no indication that a crash dump file was generated, and the only possibility I can think of is that it was killed. I don't really know how to fix this.

ALTaleX531 avatar Mar 10 '24 06:03 ALTaleX531