94
submitted 1 year ago by n1729@lemmy.world to c/kde@lemmy.kde.social

Wayland. It comes up a lot: “Bug X fixed in the Plasma Wayland session.” “The Plasma Wayland session has now gained support for feature Y.” And it’s in the news quite a bit lately with the announcement that Fedora KDE is proposing to drop the Plasma X11 session for version 40 and only ship the Plasma Wayland session. I’ve read a lot of nervousness and fear about it lately. So today, let’s talk about it!

top 50 comments
sorted by: hot top controversial new old
[-] Mishaye@lemmy.world 11 points 1 year ago

Wayland+Plasma 5.27 feel pretty close to usable, so I’m hopeful that with Plasma 6 I can finally just pick Wayland and stick with it and not have to back to X11.

(With my usage and a NVIDIA card)

[-] n1729@lemmy.world 6 points 1 year ago

If Nate thinks that wayland only on Plasma 6 is the way to go then I feel like we as a user should trust him.

Currently I use AMD hardware and for me KDE + Wayland is fantastic experience. Some crashes here and there, with which I'm fine with.

My brother is running Fedora Kinoite + Wayland with Nvidia and he is total noob when it comes to Linux. He is happy and never complained about his system.

So, I would only assume for normal use case wayland is already in good shape currently. It is only going to get better with plasma 6.

Fedora 40 is still 7 months away.

[-] Bro666@lemmy.kde.social 1 points 1 year ago

If Nate thinks that wayland only on Plasma 6 is the way to go then I feel like we as a user should trust him.

Well... that is not what he is saying. X11 will be supported for a long time still. In fact KDE has not even set a deadline for ending support for X11^*^. It will definitely not end with the release of Plasma 6.

The point is that not adapting software to Wayland is a mistake. It may be a pain, but X11 is virtually abandonware. The developers have moved on (to Wayland) and there are no new versions coming out -- unless someone forks it, of course, but that would probably be another mistake, as the codebase is an unsustainable mess.

This implies that, yes, when most software projects have got their applications working on Wayland, X11 will be phased out as a platform Plasma works on, but there is no date for that yet.

-- ^*^ Other projects are less coy. Fedora is considering removing support X11 from their very soon, maybe in their next releases. This is what sparked the discussion. Not KDE.

[-] n1729@lemmy.world 9 points 1 year ago

Interesting take from Nate.

I appreciate that he posted his perspective.

[-] ono@lemmy.ca 7 points 1 year ago

One problem that has long plagued X11 is that any app can snoop on any other app, including things like keystrokes and displayed information, even from within containers like Flatpak. (This is understandable, since it was designed at a time when spyware was rare, so there was no need for isolation more fine-grained than the user level.)

IIRC, Wayland didn't address that problem in its early days, but in these modern times of surveillance capitalism, I suspect it has been getting more attention. It would be nice to see it solved.

[-] ExLisper@linux.community 11 points 1 year ago

has long plagued X11

The risk existed but did it plague X11? I never heard about any app logging keystrokes and sending theme somewhere. Where there any attacks using this? I don't think normal uses had to worry about it.

[-] ono@lemmy.ca 7 points 1 year ago* (last edited 1 year ago)

The risk existed but did it plague X11?

Yes, and it still does. Practically every X11 installation is vulnerable.

(If you're nitpicking my use of the word plagued, though, note that I am talking about the vulnerability, not the exploit.)

I never heard about any app logging keystrokes and sending theme somewhere.

That's because of a variety of external factors, including:

  • X11 desktops aren't common enough to be priority malware targets, yet.
  • People who run only open-source software typically get it from trustworthy channels, like their OS distro's package repository.
  • Devices likely to attract malware, such as game consoles and mobile phones, have avoided X11. (Android phones and Steam Deck are examples.) This is no accident; lack of app isolation was a factor in that decision.

I don’t think normal uses had to worry about it.

We've been lucky so far, in that our circumstances have kept us mostly safe. However: Linux malware is on the rise. Commercial games, both on their own and through anti-cheat systems, are making opaque software more common on our desktops. Flathub is working on paid apps, which could likewise create malware opportunities that weren't there before. The Epic Game Store has already been caught collecting data from other apps, so the intent is clearly present already.

It's generally just a matter of time before exploitable systems become exploited systems. We would do well to close the door on unauthorized key logging, clipboard snooping, screen scraping, and input injection.

[-] ExLisper@linux.community -4 points 1 year ago

And all the arguments are like this. "It's good to use it", "it has features", "it's better code". But it's never "it has essential features that people need". Because it doesn't. If it did people would use it.

[-] semperverus@lemmy.world 3 points 1 year ago

Wayland has the following features I need:

Multimonitor and other screen feature support:

  • mixed DPI scaling (can drag a window from a 1x screen to a 1.75x screen and have it look correct on both at the same time, even when halfway across each)

  • Mixed refresh rate (my center monitor is higher refresh rate than my side monitors, X11 just baselines all monitors to the lowest common denominator).

  • Mixed variable refresh rate (center monitor is VRR capable, side monitors are not).

  • HDR support soon (already exists in GameScope).

  • Mixed HDR/SDR output across monitors

Performance:

  • Lower resources

  • Smoother operation (can be felt in mouse cursor movements, window drags, composited animations, etc)

  • Better VR headset isolation compared to X11 (allows the headset to run separately and not interrupt regular monitor layout, and also lets it run freely at the correct refresh rate)

Other:

  • Better security between apps (yes I actually use this and count it as a feature)

  • App video isolation leads to pipe wire functionality, which is a bonus and makes OBS work better overall


I know for a fact I'm forgetting something because this list was longer the last time I wrote it out, but I think you get the point.

[-] nora@slrpnk.net 3 points 1 year ago* (last edited 1 year ago)

It does for me. For some reason my touchpad has really high scroll sensitivity with libinput. It's borderline unusable. The only desktop environment that exposes the ability to change this sensitivity is plasma Wayland. AFAIK there's technical reasons it can't be done on xorg without hacky workarounds. This is the killer feature for me.

In addition both plasma and gnome only have 1:1 touchpad gestures on their Wayland sessions. Obviously I could use third party tools for trackpad gestures under x11 but those aren't 1:1.

Also while I'm aware that fractional scaling on Wayland is a mess and hacky but I still find the fractional scaling implementation on KDE Wayland to be the best, followed by KDE on xorg. I need fractional scaling for things to be appropriate sizes on my laptop screen.

For my desktop I still use x11 because of nvidia but I would definitely benefit from the multi monitor improvements under Wayland since I have two monitors of differing refresh rates and it causes issues.

load more comments (3 replies)
[-] ono@lemmy.ca 2 points 1 year ago* (last edited 1 year ago)

You have misunderstood me. I don't use or promote Wayland, mainly for the very reasons you just listed. But I do recognize that it has the potential to solve real problems that are deeply embedded in X11. If/when it gets there, and fixes various deficiencies that it has today, I expect I will have a good reason to switch.

But it’s never “it has essential features that people need”. Because it doesn’t. If it did people would use it.

Actually, I believe it does have such features for people with certain hardware setups. I just don't happen to have such a setup.

[-] kugmo@sh.itjust.works -4 points 1 year ago

This amount of security theater is why Wayland was unusable for 10 years

[-] semperverus@lemmy.world 3 points 1 year ago

Except it isn't theater, and you are not qualified to make that statement.

[-] solariplex@slrpnk.net 7 points 1 year ago

Weird how this (and only this) link always opens in private browsing mode in Firefox Android / Fennec

[-] Triton@lemm.ee 10 points 1 year ago

Are you using the Jerboa client? I think they recently introduced an option to open links in a private tab which is on by default for some reason. It confused me too until I found the setting.

[-] FarLine99@lemm.ee 1 points 1 year ago
[-] DarthSpot@feddit.de 2 points 1 year ago

I replaced my Nvidia with an AMD graphics card last year. Ever since ive been using Wayland on KDE Plasma without any issue. I have 2 VRR Monitors connected with different refresh rates, which felt clunky on X11 and now feels fluid and just brilliant to use. I don't use X11 Sessions at all anymore and only have XWayland for stuff that requires it

load more comments
view more: next ›
this post was submitted on 18 Sep 2023
94 points (99.0% liked)

KDE

5149 readers
74 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS