ninjadev64 / OpenDeck

OpenDeck is a desktop application that provides Stream Deck-like functionality, implementing the Elgato Stream Deck SDK for cross-compatibility.
https://discord.gg/26Nf8rHvaj
BSD 3-Clause "New" or "Revised" License
85 stars 5 forks source link

No GUI on latest windows build #6

Closed cgiesche closed 4 months ago

cgiesche commented 5 months ago

Hi ninja,

first of all, thank you for this promising project!

I have issues with the current (https://github.com/ninjadev64/OpenDeck/actions/runs/7629502333) release build on Windows 11:

After the installation, there are 3 "opendeck" processes visible in the task manager but there is no way to open the gui. There is no icon in the taskbar, too. Restarting the app or system does not change the situation.

I am working on a (nearly) freh installed, up to date Windows 11 system with a SD+ connected.

Tell me, if i can provide useful information like logs.

Thanks Christoph

ninjadev64 commented 5 months ago

Hi there!

Out of curiosity, why are you using OpenDeck on Windows?

Anyway, if you could run OpenDeck from a command prompt and send over the output, that would be great. Let me know if you're unsure on how to do that.

;)

cgiesche commented 5 months ago

Hi,

sorry for my late reply. I can understand your curiosity :D

I would like to switch to Linux, but until now, the Stream Deck has held me back because there was no application that supported the "original" plugins. However, I am developing a plugin myself (https://github.com/cgiesche/streamdeck-homeassistant), and of course, I need a working Stream Deck for that. Therefore, I wanted to try out your application on Windows first.

(node:6888) UnhandledPromiseRejectionWarning: Error: Cannot find module '@resvg/resvg-js-win32-x64-msvc'
Require stack:
- C:\Users\foobar\AppData\Local\OpenDeck\app-1.0.0\resources\app\node_modules\@resvg\resvg-js\js-binding.js
- C:\Users\foobar\AppData\Local\OpenDeck\app-1.0.0\resources\app\node_modules\@resvg\resvg-js\index.js
- C:\Users\foobar\AppData\Local\OpenDeck\app-1.0.0\resources\app\build\devices.js
- C:\Users\foobar\AppData\Local\OpenDeck\app-1.0.0\resources\app\build\main.js
-
    at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
    at n._resolveFilename (node:electron/js2c/browser_init:2:109827)
    at Module._load (node:internal/modules/cjs/loader:811:27)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at Module.require (node:internal/modules/cjs/loader:1035:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\cgiesche\AppData\Local\OpenDeck\app-1.0.0\resources\app\node_modules\@resvg\resvg-js\js-binding.js:1:1277)
    at Module._compile (node:internal/modules/cjs/loader:1141:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
    at Module.load (node:internal/modules/cjs/loader:1011:32)
(Use `opendeck --trace-warnings ...` to show where the warning was created)
(node:6888) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

uh, a few minutes later, another line appeared: [7004:0213/000440.574:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is (nobody knows, what ANGLE is...)

Edit: Seems to be a missing dependency: "@resvg/resvg-js-win32-x64-msvc": "2.6.0" (latest version by guess)

Edit 2: Yep, now it is working.

ninjadev64 commented 5 months ago

nobody knows, what ANGLE is...

lmaoo

Great you got it working! Also note that OpenDeck has been completely rewritten in Rust in the tauri-rewrite branch, but it hasn't replaced v1 yet as its Elgato hardware support is limited to key up/down and dial events (no images are drawn to the screens).

If you think you'd be able to make some progress on that front feel free to ask about contributing, as I don't own any Elgato hardware which makes it hard for me to develop that feature ;)