O
OpenDeck3mo ago
Stics

Plasma 6.2 and OpenDeck 2.2.0

👋🏻 Ever since moving to KDE Plassma 6.2 OpenDeck will not open. It attemps to and crashes. Is this something I can fix/work around or do I need to wait for a fix? Thanks ✌🏻 Currently using the Appimage if that makes any difference
32 Replies
ninjadev64
ninjadev643mo ago
Could you run the AppImage from the terminal and send me the logs?
Stics
SticsOP3mo ago
stics@fedora:~/Downloads/Applications$ ./opendeck_2.2.0_amd64.AppImage Cannot get default EGL display: EGL_SUCCESS Cannot create EGL context: invalid display (last error: EGL_SUCCESS) Segmentation fault (core dumped)
ninjadev64
ninjadev643mo ago
Just looked into this, can you try running WEBKIT_DISABLE_COMPOSITING_MODE=1 ./opendeck_2.2.0_amd64.AppImage? If that works then you can add WEBKIT_DISABLE_COMPOSITING_MODE=1 to the end of /etc/environment and then it should work normally on reboot
Stics
SticsOP3mo ago
Thanks! I'll report back once I test. 😁 stics@fedora:~/Downloads/Applications$ WEBKIT_DISABLE_COMPOSITING_MODE=1 ./opendeck_2.2.0_amd64.AppImage Cannot get default EGL display: EGL_SUCCESS Cannot create EGL context: invalid display (last error: EGL_SUCCESS) Segmentation fault (core dumped) stics@fedora:~/Downloads/Applications$
ninjadev64
ninjadev643mo ago
Shame. This is definitely a WebKit bug. What distro are you using?
Stics
SticsOP3mo ago
Fedora 40 KDE Plasma
ninjadev64
ninjadev643mo ago
Why are you using the AppImage then? There's an RPM release artifact as well as today's new Flatpak
Stics
SticsOP3mo ago
🤷🏻‍♂️ No idea lol, new to Linux I guess
ninjadev64
ninjadev643mo ago
Typically AppImages are a last resort Buggy, large file size, bad user experience, doesn't work how you would expect For small apps, prefer Flatpaks over distro packages over RPMs over AppImages For larger apps, prefer distro packages over RPMs over Flatpaks over AppImages Try downloading the OpenDeck RPM and doing sudo rpm -i opendeck.rpm
Stics
SticsOP3mo ago
stics@fedora:~/Downloads/Applications$ sudo rpm -i opendeck.rpm error: open of opendeck.rpm failed: No such file or directory stics@fedora:~/Downloads/Applications$ sudo rpm -i opendeck-2.2.0-1.x86_64.rpm
ninjadev64
ninjadev643mo ago
yeah not actually opendeck.rpm I mean the file name of the file you downloaded so what you did in your second command of this message
Stics
SticsOP3mo ago
Oh okay, then yea that came back with no errors
ninjadev64
ninjadev643mo ago
Cool, now open it
Stics
SticsOP3mo ago
It crashes 🫣 Opens the window for like 3 seconds and then it disapears
ninjadev64
ninjadev643mo ago
Ah try /bin/opendeck?
Stics
SticsOP3mo ago
Okay so I went to /bin/ found a "file" that says opendeck and attempted to open it, same thing, shows up for a second then disapears
ninjadev64
ninjadev643mo ago
I mean run that in the terminal
Stics
SticsOP3mo ago
ah
ninjadev64
ninjadev643mo ago
So that you can see the logs
Stics
SticsOP3mo ago
stics@fedora:~/Downloads/Applications$ /bin/opendeck [2024-10-16][22:29:51][tiny_http][DEBUG] Server listening on 0.0.0.0:57118 [2024-10-16][22:29:51][tiny_http][DEBUG] Running accept thread [2024-10-16][22:29:51][opendeck::events][DEBUG] Registered plugin com.amansprojects.starterpack.sdPlugin Gdk-Message: 15:29:51.626: Error 71 (Protocol error) dispatching to Wayland display. stics@fedora:~/Downloads/Applications$ That makes sense
ninjadev64
ninjadev643mo ago
weird do you have an Nvidia GPU by any chance?
Stics
SticsOP3mo ago
Yes...
ninjadev64
ninjadev643mo ago
You could try WEBKIT_DISABLE_DMABUF_RENDERER=1 /bin/opendeck
Stics
SticsOP3mo ago
🤣
ninjadev64
ninjadev643mo ago
but usually that's a fix for a different issue with Nvidia, this one's new
Stics
SticsOP3mo ago
That worked
ninjadev64
ninjadev643mo ago
oh awesome add WEBKIT_DISABLE_DMABUF_RENDERER=1 to the end of /etc/environment and it should work normally after a reboot
Stics
SticsOP3mo ago
What does that do?
ninjadev64
ninjadev643mo ago
I think it changes the way that WebKit renders the application window, seems the default of using the dmabuf renderer doesn't work on Nvidia It's really late here so I'm going to go to sleep, but I'll be back tomorrow ;)
Stics
SticsOP3mo ago
Sounds good, thanks for the help!
ninjadev64
ninjadev643mo ago
Did you get everything working alright?
Stics
SticsOP3mo ago
Yes, I did, thank you!
Want results from more Discord servers?
Add your server