No UI in Plexamp with Ubuntu 23.04 and Wayland

Hey there guys,

I recently switched from X11 to Wayland, as I wanted to try this window manager. Besides smaller issues, I came to find that it’s impossible for me now to launch Plexamp :man_shrugging:

I am able to start it, but just nothing happens if I click on it. It just seems that it somehow can’t display the UI.

So far this only happens with Plexamp. Anything I can do about it?

FWIW, I use Plexamp on Wayland exclusively. I’ve not touched x11 in years, aside from a few xwayland clients.

To help you out, I’d need a little more information. Are you using the Plexamp appimage, or flatpak?

What do you see if you run Plexamp from the terminal?

What graphics drivers are you using?

Appreciate your help once more. Currently I’m back to X11 as I figured it’s not stable enough for me (On KDE Plasma/Kubuntu 23.04 with an Nvidia card). So currently I can’t provide you with any logs or similar.

Using Latest Nvidia Ubuntu drivers 530.

Also on a sidenote is that being on Wayland I wasn’t able to utilize full refresh rate with my monitor and I’ve read about plenty of similar issues with Nvidia and Wayland. So I figured it’d be best to go back to what’s working for me, X11. Also, games stuttered like hell for me, making them unplayable, so currently Wayland doesn’t seem to be an option on my distro, sadly

1 Like

Ah, classic NVIDIA woes :upside_down_face:

I’m sorry, but NVIDIA’s drivers have always been terrible with Wayland. Intel’s drivers work best, AMD’s second, and NVIDIA’s in last place (and it’s not even close).

I’ve implemented a few hacks and workarounds in Plexamp to improve the NVIDIA + Wayland scenario, and from what I’ve seen and tested, they’ve worked well enough (at least on Gnome Wayland sessions), but I’m unsurprised if it’s failing on some setups.

I’ll try and remember to ping you again if and when this situation changes, because I think there are some upstream improvements on their way, but for now I’d recommended sticking with what works.

Oh I see! Yeah there’s a lot going on with the upcoming changes to Wayland integration on plasma 6 as well, even making Wayland the default in general for plasma 6, so I have high hopes for improvements heading out way.

Let’s see what happens to that in the 2nd half of the year :slight_smile:

Thank you however for being so responsive to all my Plexamp hiccups!

1 Like

@aubrey.wodonga btw, I’ll give Wayland another go later this night. I’ve noticed I didn’t even finish all the prerequisites to run Wayland with Nvidia proprietary drivers, so I’m keen again how this will work out. Especially if Plexamp would display a UI for me :sweat_smile:

To be more precise, this wasn’t given on my machine:

  • Make sure to have the Nvidia EGL library installed. For example on Ubuntu and Neon the relevant package is called libnvidia-egl-wayland1

So maybe this just magically solves all my Nvidia Wayland issues :innocent:

So I’m back at the status quo. Some apps keep messing around. Now Plexamp won’t launch and the Plex Desktop App is doing shananigans as well :sweat_smile: Damn you Waylan!

I’d really love to get this working, so if you have anything up your brain that could help me, shoot :grin:

To clarify the shananigans: If I myself start a stream in plex-desktop it continues playing upon stopping it. It’s shown in the Dashboard, as well that miniature video is solely sitting in where it shouldn’t in the bottom left of the “mini” player (minimized player). It wouldn’t stop until I quit the app, but then the stream still shows as running in my dashboard :see_no_evil: Weird. But from what I can currently tell only Plex apps seem to not work (for me that is on Wayland, on X11 all fine)

And also: Don’t have this issue on Plex Web! I guess I’ll just stick to Wayland, Plex Web for videos and music and do what I can to help here on the Plex forums, Github, Reddit, KDE Plasma and whatnot to share my experience and iron out those bugs

1 Like

Jog my memory, I’ve been busy :sweat_smile: are you using Plexamp flatpak, or appimage?

The flatpak is more supported, and has a few Wayland + nvidia workarounds built into the packaging, so if you’re using the appimage, could you try switching and see if it’s any better?

Haha sorry :smiley: appimage doesn’t work either for me. Other than the flatpak version I am able to start it, but I can’t playback anything :cowboy_hat_face: As soon as I click on the play button it goes back to the previous screen. EDIT: However, that’s not related to Wayland for me. Was the same on X11

Unlike yesterday, the flatpak app wouldn’t start at all anymore. But now I can provide you with logs or anything you need :smiling_face: Anything you’d like to see?

Hey @aubrey.wodonga, I got something new for you.

Finally, I can now see the error message upon starting Plexamp, maybe that helps?

image

I’m quite sure this is about to be fixed with the upcoming release of KDE Plasma 6, which itself will provide a lot of Wayland + Nvidia issues fixes, but if you wanna dig deeper into this on Plasma 5.XX.X I’m here to provide you with anything :smiley:

Any news on this @aubrey.wodonga :pray:

No news sorry. Any chance you could share Plexamp logs with me (here or via DM is fine). Make sure to capture them after you’ve reproduced the issue :slight_smile:

I would of course! But if I’m seeing this correctly there’s no logs created anymore, as Plexamp completely fails to execute.

I tried launching it several times now, but the latest logs created are from 28th of May :confused:

Any updates on this? I’m currently back on wayland and an Nvidia card and I still have the same issue months later :frowning:

@aubrey.wodonga for visibility

Unfortunately the state of things with Nvidia + Wayland + Electron hasn’t changed much. We’re planning to bump to a newer electron version shortly, which I’m hoping :crossed_fingers: may bring some relief, but for now if you’re using the flatpak, you can use Flatseal to revoke access to the wayland socket, like below:

image

This should get things working for you until there’s a better solution.

Oh wow! Omg I can’t believe it was that simple! Thank you so much!!

I was about to switch back to X11, just to be able to use the best music player ever created :smiley: Thanks! Perfect workaround :handshake:

1 Like

Hey there @aubrey.wodonga.

I just wanted to let you know, that Plexamp + Wayland on Linux still doesn’t work with the new Electron update built in Plexamp v4.9.0.

However, no biggie, as your workaround using Flatseal to revoke the permission of Plexamp to utilize wayland still does its job.

Just thought you would like to know that this didn’t do the trick, sadly, but as I said: No biggie

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.