this post was submitted on 11 Jan 2024
81 points (92.6% liked)

Linux

48187 readers
1500 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

This post is in part a response to an aspect of Nate’s post “Does Wayland really break everything?“, but also my reflection on discussing Wayland protocol additions, a unique pleasure that I have been involved with for the past months.

Before I start I want to make a few things clear: The Linux desktop will be moving to Wayland – this is a fact at this point (and has been for a while), sticking to X11 makes no sense for future projects.

By switching to Wayland compositors, we are already forcing a lot of porting work onto toolkit developers and application developers. This is annoying, but just work that has to be done. It becomes frustrating though if Wayland provides toolkits with absolutely no way to reach their goal in any reasonable way.

Many missing bits or altered behavior are just papercuts, but those add up. And if users will have a worse experience, this will translate to more support work, or people not wanting to use the software on the respective platform.

What’s missing?

  1. Window positioning
  2. Window position restoration
  3. Window icons
  4. Limited window abilities requiring specialized protocols
  5. Automated GUI testing / accessibility / automation

I spent probably way too much time looking into how to get applications cross-platform and running on Linux, often talking to vendors (FLOSS and proprietary) as well. Wayland limitations aren’t the biggest issue by far, but they do start to come come up now, especially in the scientific space with Ubuntu having switched to Wayland by default. For application authors there is often no way to address these issues.

all 42 comments
sorted by: hot top controversial new old
[–] [email protected] 64 points 10 months ago (3 children)

To me, saying "wayland breaks things" is putting it backwards: at this point, it should be "[thing] still doesn't work on wayland".

[–] TheGrandNagus 13 points 10 months ago* (last edited 10 months ago)

Yeah.

If I installed, say, a messenger app on my phone that supports Android 4.0 but not Android 13, my reaction wouldn't be "Android breaks this app!!", my reaction would be "wow, this app hasn't been updated to support any modern Android version, they need to fix that"

If Wayland was brand new and X11 was going to be killed in the very short term, then I'd agree, but that's not the case. Wayland is over a decade old. Prominent distros have had it as the default since 2016. Shit, Debian has had it as the default since 2019. And that's Debian.

[–] amorpheus 5 points 10 months ago (1 children)

I use an app to control the mouse and keyboard of my home theater PC from my smartphone. Will that ever be able to work?

[–] [email protected] 2 points 10 months ago (1 children)

Err... KDE Connect works for me. Have you tried it?

[–] amorpheus 2 points 10 months ago

That PC is on Ubuntu LTS so it didn't come to mind. The app I've been using is called Unified Remote and was generally pretty neat, not so much about tying my phone to the PC.

[–] [email protected] 2 points 10 months ago

100% for the applications I use daily.

They did bring up a few specific scientific applications though that can't be ported right now even though they would.

[–] [email protected] 48 points 10 months ago

Can people who very clearly haven't read the article stop commenting the equivalent of "works on my machine", please? I know it's a long article, but it's worth a read. It's not anti-Wayland and it's definitely not pro-X11. It just outlines a few limitations of Wayland and problems with how Wayland is currently being developed. It's a great follow up to Nate's blog post, which was posted here a while back and got pretty popular.

[–] mypasswordis1234 28 points 10 months ago* (last edited 10 months ago) (4 children)

I forced myself to use Wayland for a week.

Most of the applications worked out of the box. For some I had to manually change the settings and/or environment variables to make them work on Wayland.. And single ones did not work at all.

If it weren't for the fact of these "single ones" I would have stayed on Wayland.

However, as long as I can't use my system fully functionally, I remain on XOrg.

[–] [email protected] 20 points 10 months ago

What apps didn't work on Wayland at all? Java apps usually work through xwayland, and most other toolkits are wayland native. Of course, except features like screen sharing, which have to be supported by the developer. And 5 missing features from the blog.

[–] [email protected] 20 points 10 months ago

What are these "single ones", if I may ask?

[–] [email protected] 11 points 10 months ago

I've been using fedora for the last couple years and I finally got an AMD card for myself and holy shit Nvidia sucks. Everything I thought was a Wayland bug was just an Nvidia bug

[–] superbirra 4 points 10 months ago (1 children)

yeah, at the end of the day there is zero reason to ditch a perfectly working setup while it's still supported by distros... computers are for productivity I really do not understand why so many people insist everybody must migrate now :)

[–] semperverus 4 points 10 months ago (1 children)

If they didn't insist on it, things would migrate never :)

[–] superbirra 3 points 10 months ago (1 children)

but they who? I will not change a bit of my setup because a random internet neckbeard mandates that lol :P

[–] [email protected] -2 points 10 months ago (1 children)

Don't cry us a river once you are actually forced because party of your system are out-dated or programs are not working as expected anymore. Times move on.

[–] superbirra -1 points 10 months ago (1 children)

rotfl, rest assured I would not cry you nothing even if I wouldn't be able to do basic maintenance to my things.
It's time you figure out you are not an elite superhaxxor because you use a software or another 😭😭😭 or maybe not, after all I'm here for the lulz

[–] [email protected] 1 points 10 months ago
[–] [email protected] 11 points 10 months ago (3 children)

Unpopular opinion, maybe, but Wayland has been just fine for me. All amd system, single monitor, on fedora since f37. Even before that, on other distros like Manjaro it was fine. I don't think I use anything that really cares what display management I use.

I can sympathize with those that this is an issue. As Wayland continues to becoming the standard.

[–] [email protected] 7 points 10 months ago

Same here (thumbleweed, kde, amd), I've been using wayland for around a year with zero issues.

[–] [email protected] 5 points 10 months ago

I meant to comment on this comment haha anyways

I just got an AMD card for myself and holy shit. Everything I thought was a Wayland bug was a Nvidia bug. I've been using fedora for a couple years now.

[–] TheGrandNagus 1 points 10 months ago* (last edited 10 months ago)

I've been using Wayland since like 2016 and the only issues I've had have been with Discord and Steam's in-home-streaming (and they still aren't sorted).

Everything other than that for me has been smoother than X11 ever was.

If Discord and steam streaming were a deal-breaker to me though, then I'd obviously use X11 still. Apps need to have proper support.

[–] [email protected] 9 points 10 months ago

Yea, my experience with Wayland has been that things work but most work through Xwayland so I may as well keep using X11 anyways. If things aren't easy to port over it will hurt adoption.