Hacker News new | ask | show | jobs
by troyvit 843 days ago
> I'm loving Plasma 6 so far. Wayland support is much better!

I'm jealous. I lasted about half an hour on Wayland, but several apps I use still don't work. xtrlock (anti-cat measures) and freetube both wouldn't work, but worse was that games like Dying Light crash almost immediately. On KDE 6 / X11 it's a little better but the game still craters after an hour. Still figuring out why. Maybe it's because the laptop is an AMD ecosystem.

4 comments

> freetube

I don't know about the other apps/games, but I use freetube all the time on my KDE5/Nvidia/Wayland system and have never had an issue with it. Which distro/gpu/driver version are you on?

You're right! I tried it again and all was well.
I'd imagine XWayland Xorg emulation is far from perfect so I wouldn't be surprised if games that depend on that would crash.

That being said, I recently switched to Wayland again after a hiatus and it seems support keeps improving. I'm not using proprietary NVIDIA drivers currently so that might be it.

The thing that you have to remember about Xwayland is that it is Xorg. It just has a Wayland DDX[0] on the back end rather than a device-specific DDX or one that talks e.g., directly to the modesetting driver.

[0] Device-Dependent X, i.e., the bits of X that talk directly to the display. Contrasted with Device-Independent X (DIX), i.e., the bits that do state tracking and protocol communication with clients.

So, it is the Wayland DDX part that is buggy? How is that different from "Wayland Xorg emulation is buggy"?
Because it can't emulate what it actually is. Xwayland is Xorg.
Xwayland is maintained by Xorg
If a game doesn't work in Wayland, you could always launch it in gamescope[1], which AFAIR doesn't expose WAYLAND_DISPLAY by default, so games should treat it the same as an X11 desktop.

[1]: https://github.com/ValveSoftware/gamescope

I haven't had anything flat out refuse to work on Wayland, but unfortunately Discord won't work right. It runs, but it can't detect that you're AFK any more, so you stop getting messages on the mobile app. It's a bummer because otherwise I would love to use Wayland.
> freetube

I have it and works fine on plasma6/wayland.

This must just be me then. I'll give it another shot!