Coder Social home page Coder Social logo

Comments (13)

atom0s avatar atom0s commented on September 28, 2024

What version of Windows and Streamdeck software are you using?

from elgatolegacy.

atom0s avatar atom0s commented on September 28, 2024

v1.0.0.2 has been tested with the latest version of StreamDeck software: v4.9.0.13177

It was tested locally by me on the following operating systems:

  • Windows 7 (64bit)
  • Windows 8 (64bit)
  • Windows 8.1 (64bit)

So if your StreamDeck software is older/outdated, I'd recommend updating to the latest version.

from elgatolegacy.

thenoname avatar thenoname commented on September 28, 2024

I am running Windows 7 Enterprise 64 bit and am using Stream Deck 4.9.0.13177.

What is the best way to attach a debugger to the dll? I have never debugged DLLs before but I'd love to step through it to see where it's going wrong.

from elgatolegacy.

thenoname avatar thenoname commented on September 28, 2024

When debugging StreamDeck.exe in Visual Studio I get the following:

Unhandled exception at 0x000007FEFD05B87D (KernelBase.dll) in StreamDeck.exe: 0xC06D007F: Procedure not found (parameters: 0x00000000001CDA60)

from elgatolegacy.

hustlelabs avatar hustlelabs commented on September 28, 2024

I'm getting the same problem. It appears it's trying to resolve the symbol PowerDeterminePlatformRoleEx from powrprof.dll . The version I have in system32 is 6.1.7601.23403. The Windows 7 version of the DLL does not contain the export, whereas the Windows 8.1 version does contain the export. Additionally, this may be related to one of these from the Changelog from elgato:

Screensaver

Ever wished your Stream Deck could display a custom image when not in use? Your wish is granted with this update! Now, when your Stream Deck goes to sleep, you'll see an image of your choice splashed across the keys.

 

Sleep action

You can now put Stream Deck to bed (and launch your screensaver) with a tap of a key.

from elgatolegacy.

atom0s avatar atom0s commented on September 28, 2024

Can you guys give me a list of what plugins you have installed already for the StreamDeck? I am not able to reproduce this with the latest stock install on a Windows 7 (64bit) VM. Everything is working fine for me and no error happening with anything so far. Wondering if this is due to a specific plugin being loaded at startup.

If I can help narrow it down to potentially being the powrprof.dll import you are mentioning I can create a proxy for that as well to deal with it.

from elgatolegacy.

hustlelabs avatar hustlelabs commented on September 28, 2024

Confirmed a fix. If you patch the byte within file Qt5WebEngineCore.dll at offset 0x554EE62 from 0x45 to 0x00 the program launches well. This patch changes the lazy linking of Qt5's Web Engine to look for PowerDeterminePlatformRole instead of PowerDeterminePlatformRoleEx. The Ex version of this API is only available in Windows 8 or later, whereas the other is available in Vista and later.

from elgatolegacy.

hustlelabs avatar hustlelabs commented on September 28, 2024

I don't have any plugins installed. The version for Qt5WebEngineCore.dll within the Elgato StreamDeck directory is 5.14.2.0 and my powerprof.dll version on Windows 7 is 6.1.7601.23403 . Is that the same as yours @atom0s ?

from elgatolegacy.

atom0s avatar atom0s commented on September 28, 2024

My VM is running Windows 7 Ultimate SP1:

  • QtWebEngineCore.dll - 5.14.2.0
  • powrprof.dll - 6.1.7600.16385 (win7_rtm.090713-1255)

Slightly outdated powrprof compared to yours but should ultimately have the same problem. Strange this isn't a consistent bug/crash on the same/similar setup.

from elgatolegacy.

thenoname avatar thenoname commented on September 28, 2024

from elgatolegacy.

atom0s avatar atom0s commented on September 28, 2024

Out of curiosity, if either of you are able to debug and check, can you see if Qt5WebEngineCore.dll is falling back on its late-loader?

Things are setup to attempt to late-load the API here: Qt5WebEngineCore.dll + 0x3C4209C
This is invoked from: Qt5WebEngineCore.dll + 0x3C42649

If things are attempted for you via this route and not just being killed by the system import loader, then a hook on GetProcAddress can resolve this fairly easily.

Debugging wise, looking to see if those functions are invoked with 'PowerDeterminePlatformRoleEx' as the passed param to be imported/obtained via GetProcAddress.

from elgatolegacy.

atom0s avatar atom0s commented on September 28, 2024

Updated my VM and was able to reproduce this now. My assumption with GetProcAddress above works and was correct.

ElgatoLegacy v1.0.0.3 is now released which fixes this issue. :)

from elgatolegacy.

iBeze avatar iBeze commented on September 28, 2024

Hi, I'm desperately traing to get my StreamDeck running on a Desk that uses Windows 7 Ultimate Service Pack 1... but it's not working.
The 1.0.0.0 and 1.0.0.1 do not recognize my StreamDeck, means the buttons are just not showing on the deck.
The 1.0.0.2 is not starting the app and the 1.0.0.3 crashes on start.
Any ideas??

Thanks in advance

from elgatolegacy.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.