this post was submitted on 17 Aug 2024
163 points (97.1% liked)

Linux

48287 readers
657 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
 

Wayland seems ready to me but the main problem that many programs are not configured / compiled to support it. Why is that? I know it's not easy as "Wayland support? Yes" (but in many cases adding a flag is enough but maybe it's not a perfect support). What am I missing? Even Blender says if it fails to use Wayland it will use X11.

When Wayland is detected, it is the preferred system, otherwise X11 will be used

Also XWayland has many limitations as X11 does.

you are viewing a single comment's thread
view the rest of the comments
[–] MNByChoice@midwest.social 19 points 3 months ago (2 children)

It is not enough to make a better product.

It is not enough to create all tooling and libraries to seamlessly migrate to the new product, but it helps.

There also needs to be a great big positive reason to make the change. Paying developers, huge user base, the only hardware support, great visuals, etc.

Until I cannot run software on X11, I won't switch over knowingly.

[–] nexussapphire@lemm.ee 16 points 3 months ago (3 children)

Once the desktops switch to Wayland and all distros ship with Wayland by default, support should slow.

Ideally, developers stop improving xwayland over time and go into maintenance mode for a bit. Once it goes into maintenance mode, developers should naturally fall off as it winds down.

If every desktop makes a very public announcement about the xwayland protocol being put into maintenance mode, actively supported apps should switch over. It's up to the public how long they want to keep maintaining xwayland (open source etc).

[–] Psyhackological@lemmy.ml 4 points 3 months ago (1 children)

So, even though KDE Plasma has significantly advanced Wayland, a stronger push is still needed to drive the change further.

[–] nexussapphire@lemm.ee 2 points 3 months ago

I don't think kde plasma was the only one. Anyway, it just feels natural for xwayland to stop pushing for feature parody and for focus to switch over to Wayland after a while.

The biggest target for developers is the Ubuntu/Debian platform so their switch to Wayland should motivate other projects and paid applications to at least take notice.

New projects will try to support both but typically will focus more on Wayland. There's already an unintentional incentive to partially support xdg protocols Wayland relies on thanks to flatpak.

[–] vrighter@discuss.tchncs.de 2 points 3 months ago* (last edited 3 months ago) (1 children)

xwayland cannot ever be removed, because wayland, by design, will not have enough functionality to replace it. So one can either support X desktop environments with their own individual bugs, or one X implementation that has the needed features and works consistently for all DEs

[–] nexussapphire@lemm.ee 1 points 3 months ago* (last edited 3 months ago) (1 children)

If developers drop off there's not much we can do. It'll eventually have to be removed or become a bigger security risk than developers say it is already.

Support on the x server itself has dropped off precipitously since Wayland hit the mainstream and most small x11 DEs are trying to build off of WM like wayfire or wlroots.

[–] vrighter@discuss.tchncs.de 1 points 3 months ago (1 children)

I do not care about security risks. If something made its way onto my system, I've already lost. I just want one implementation of something that gets the job done. And by "gets the job done" I mean it allows us to do things better, not disallow us from even having the option to do things because someone had their tinfoil hat on too tight. Ffs you can't even set your window icon. I don't care if kde has implemented that feature. If I use that, I'd be supporting kde, not wayland. It won't work on other des and so the maintenance burden increases drastically.

[–] nexussapphire@lemm.ee 1 points 3 months ago (1 children)

Your arguments kinda weak, no offense. I do have a solution for you though. If you want to stick with a version of Linux that's guaranteed to support xorg for eight years, I'd recommend Rocky linux! When that reaches EOL I guess you could just stay on it.

Enterprise plans on being fully switched over to Wayland by the next major version. You won't be able to install xorg on redhat for example. The biggest contributors to xorg(Enterprise) are going to shift focus to xwayland to support legacy software on wayland.

Besides it's exciting finally catching up to truly hardware accelerated desktops like Mac OS 10.0 and windows vista. At its heart xorg is a purely single threaded software accelerated bitmap based windowing system from 84. They've had to rewrite small but incredibly complex chunks of the code just to try to keep up with the modern world. Just look at the history of 3D acceleration in x11.

Your free to give it a good go though! The very same team that actively maintained xorg threw in the towel ten years ago when they diverted resources towards a new windowing protocol and they're not going back.

[–] vrighter@discuss.tchncs.de 1 points 3 months ago (1 children)

new features are fine. But first and foremost, is not breaking existing apps, or committing to porting them yourself. So if desktop apps need to do xyz, then wayland needs to support doing xyz. period. No 'but that's insecure', no 'but why would you want to do that' (for setting a window icon or positioning the window ffs). Support existing applications. I'm not saying it should support x protocols. But it should offer replacement features for existing apps to be ported to. And it needs to be wayland. Because it's already the case that certain functionality is implemented for gnome, or kde, with incompatible apis, to fill in the void left by wayland itself. If I want an app to work as I want it, consistently, everywhere? X, with all its warts, is my only choice.

As an example, the accessibility protocols. They're good to have. Except they're opt-in. So incompatible with existing apps. Some apps need to restrict access. They could declare that and make use of additional functionality. But no, choose a default that break everything instead.

The argument that apps just need to be ported also assumes the app is still maintained. Are you willing to do the work yourself if not? Probably not. You're just the one looking down on people like me for wanting functionality in existing apps to be "not literally impossible to implement"

[–] nexussapphire@lemm.ee 1 points 3 months ago

This whole argument ignores xwayland and the fact that new features are added as a standard of Wayland literally every day.

For as long as xwayland is supported you can use your old apps. Wayland actually supports different window icons for multi window apps. But Wayland has always supported window icons, kde just had an annoying bug they finally fixed. Chromium and electron apps kinda just didn't support window icons very well in wayland for a while.

For accessibility, it's been broken on Linux for literally years but there's an active effort to make it better and more universal than it ever could have been on x11. The effort of building a fully featured accessibility stack is being led by the gnome team with help from the free desktop organization and kde.

This is my last response, this conversation isn't going anywhere anyway. I'm not the one transitioning the Linux world to Wayland, I don't see why you could blame me for it anyhow.

[–] MNByChoice@midwest.social 1 points 3 months ago (1 children)

But why would the distros do that? It takes effort and has real costs for them.

[–] nexussapphire@lemm.ee 13 points 3 months ago* (last edited 3 months ago) (1 children)

They're already starting to go that way, in a couple years Linux mint is even going to support Wayland. Ubuntu and fedora has already defaulted to Wayland. Fedora is actually deprecating xorg in a few releases. Budgie wants to have full support next year.

There isn't much more than the testing they already have to do every release. Infact not having to support legacy code will free up resources for the whole Linux community as well as cutting the time in half for validating packages on distros. Every package that runs on xorg also runs on wayland, they have to test both.

Granted some have custom tools they'll be working on but it's going to be a while before every major DE supports Wayland. I'm curious, you think the distros have to implement their own version of Wayland?

[–] MNByChoice@midwest.social -2 points 3 months ago (1 children)

you think the distros have to implement their own version of Wayland?

Nope. They do have to test their own shit.

Why make a change when one can just not?

[–] Sentau@discuss.tchncs.de 7 points 3 months ago (1 children)

Considering that Ubuntu, Fedora and any distro with Gnome or KDE as the default DE already come with Wayland as the default, it is clear they have been testing their own shit when it comes to Wayland and then shifting to Wayland by default.

[–] MNByChoice@midwest.social -1 points 3 months ago (1 children)

This is a thread about slow uptake by programs of Wayland.

X works for me.

[–] Sentau@discuss.tchncs.de 6 points 3 months ago

Well it was you who implied that a distro shipping the DE with wayland has to do extra testing that they don't do. I just replied stating that distros are testing and validating for wayland to be the default.

X works for me.

Good. No one is stopping you from using it.

[–] ijhoo@lemmy.ml 12 points 3 months ago (2 children)

Until I cannot run software on X11, I won't switch over knowingly.

Please explain

[–] mesamunefire@lemmy.world 14 points 3 months ago* (last edited 3 months ago)

Most people use their os to run their programs. So if their programs don't work without x11 people won't switch.

[–] MNByChoice@midwest.social -2 points 3 months ago (1 children)

What is there to explain?

Please explain.

[–] ijhoo@lemmy.ml 9 points 3 months ago (3 children)

Why would someone stay with x even though it's deprecated, architecturally broken and unmaintainable

[–] MNByChoice@midwest.social 6 points 3 months ago (1 children)

This is a thread about slow uptake by programs of Wayland.

X works for me.

[–] ijhoo@lemmy.ml -1 points 3 months ago (1 children)

Right. And I'm interested if there are some legitimate needs for you to run x until it stops working.

Or is this just a revolt?

[–] sfera@beehaw.org 3 points 3 months ago (1 children)

I don't think it's a revolt. Why would they put effort into changing something which works for them with the risk of breaking things? They also wrote "knowingly" which probably means that they won't have an issue with a switch if their distro manages to make a seamless transition.

Some people just want to get their stuff done, without diving into technical details. And as long as that works for them, they won't actively change anything.

[–] ijhoo@lemmy.ml 0 points 3 months ago (1 children)

Why would they put effort into changing something which works for them with the risk of breaking things?

The sentiment is similar to climate change deniers. Why would we stop with fossil fuels when they work, people have jobs, etc. And why would we risk breaking the power grid?

And as long as that works for them, they won't actively change anything.

Wayland on gnome and Ubuntu is already the default. It seems to me you have to actively change the default to x.

It would be interesting to see in which scenario x is better than wayland. The only reason I can think of is an (old) Nvidia card. With new Nvidia's I guess the statement would otherwise be 'i will not use it until they fix Wayland'

[–] sfera@beehaw.org 4 points 3 months ago

The sentiment is similar to climate change deniers.

I don't think that the survival of humankind potentially depends on the adoption speed of Wayland. If anything ever breaks, it will affect only a few individuals which can then still change course.

There are a lot of people using hardware from the last decade. I would even dare to assume that most Linux desktop users do, because that's how you still can get the most out of old hardware.

I have an old tower which I sometimes use for light gaming. It runs X11 because Wayland had some issues on this specific machine. I don't remember which and don't really care to investigate unless it becomes necessary. Until then I'm just happy when I have a little time to use it. And that works perfectly for my needs. For now

[–] Psyhackological@lemmy.ml 4 points 3 months ago

Yeah that was also concerning to me.

[–] un_aristocrate@jlai.lu 3 points 3 months ago (1 children)

Is it really ? It works as expected and never crashes. Xorg's git is active.

Xorg was started in 2004 and Wayland in 2008 At this point they're almost the same age..

[–] ijhoo@lemmy.ml 3 points 3 months ago

Depends on the timeline.

X crashed way more for me on kde than Wayland on gnome. 'Never' is quite the statement.