245
submitted 6 days ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 47 points 6 days ago* (last edited 6 days ago)

X Windowing System is used in XWayland still. ~~X11~~ Xorg is no longer needed. RIP ~~X11~~ Xorg, you served us well.

Edit: Thanks to the note in the comments. I obvously meant Xorg is no longer needed, which is the widely used implementation of X11 protocol. This always confuses the hell out of me.

[-] [email protected] 27 points 6 days ago

With Wayland, programs still can't restore their window position or size. It sure would be nice if they could get basic functionality working.

[-] [email protected] 29 points 6 days ago

Wayland is still incomplete, but that is besides the point I was making. X is still not dead, even living within XWayland, within Wayland. X11 is just one implementation of the X Protocol and XWayland is a new implementation.

Wayland itself is functional and working, just not 100% compatible to X11. The same could be said about X11, it would be nice if they could get some basic functionality working right; but they can't, and that is why we need to replace it with something more modern and better. I think Wayland is working on a solution for restoring window position and size.

When X was created, there was no compatibility needed. Wayland on the other hand is in a different position, where it needs to innovate, make it more secure and keep as much as possible compatibility to X11, DEs and window managers. It's just unfair to just say Wayland would not have basic functionality working. It also depends on the desktop environments and GNOME is often to blame for.

[-] [email protected] 18 points 6 days ago

It will never be compatible with X because they are different designs. X relies on a central program (server) that accepts commands from programs. It is also a mess as it was built during the 80s for 80s hardware. It was expanded over time but you can only stretch the arch so far.

Wayland doesn't have a server. You desktop talks to the hardware and then the desktop accepts connections from apps.

[-] [email protected] 4 points 6 days ago

GNOME catching a devious stray there for no reason

[-] [email protected] 3 points 5 days ago

That does not seem to be a stray and yes there's definitely reasons to take potshots at Gnome. They still don't support server-side decorations. Everyone is absolutely fine with them not wanting to use them in their own apps, have them draw window decorations themselves, and every other DE lets gnome apps do exactly that, but Gnome is steadfastly and pointlessly refusing to draw decorations for apps which don't want to draw their own decorations. It'd be like a hundred straight-forward lines of code for them.

And that's just the tip of the iceberg when it comes to breakage you have to expect when running Gnome.

[-] [email protected] 2 points 5 days ago

I generally speaking like most of the other things you say on lemmy, so I’m just gonna agree to disagree and move on. Have a nice day

[-] [email protected] 12 points 6 days ago

Oh noooooooo not a single QOL feature

[-] [email protected] 13 points 6 days ago

And Wayland accessibility is very bad.

load more comments (11 replies)
[-] [email protected] 8 points 6 days ago* (last edited 6 days ago)

that's not basic funcionality

[-] [email protected] 3 points 5 days ago

Programs can't set position or size of windows, period, at most they can ask and then hope they don't get ignored and it's good that way. Window management is responsibility of the compositor, not of applications.

At least KDE has support for it that's about on X11 level, a proper-proper solution is still in the pipeline. And yes you're seeing right it's been there for four years.

[-] [email protected] 6 points 6 days ago

Of course apps can and do restore their window sizes. Don't spread misinformation

[-] [email protected] 7 points 6 days ago

This is undesired behavior, it should be controlled by window managers not applications

I for one want my windows tiled and tabbed

[-] [email protected] 2 points 6 days ago

ELI5: what does this mean for the end user? Is there any simple test I can do with both to see this?

[-] [email protected] 2 points 5 days ago

it means that you have to manually reposition every single window, every single time. for any and all apps, by design

[-] [email protected] 1 points 5 days ago

just another reason to use tiling window managers ;) at least mine opens my windows in the same workspace on the same output every time, if i configure it to

[-] [email protected] 2 points 6 days ago

If it ain't broke, don't fix it

[-] [email protected] 2 points 6 days ago

Explains why I was having issues with this in Gnome on my HTPC...

Ended up making a remote button shortcut to maximise and restore apps

[-] [email protected] 9 points 6 days ago* (last edited 6 days ago)

I think you mean Xorg instead of X11.

[-] [email protected] 4 points 6 days ago

Yes, you are right. I always get tripped up with this one. Xorg is the implementation of the X11 protocol.

[-] [email protected] 2 points 5 days ago* (last edited 5 days ago)

Wayland kinda is an x.org project in the first place. AFAIK it's officially organised under freedesktop but the core devs are x.org people.

x.org as in the organisation and/or domain might not be needed any more, but the codebase is still maintained by exactly those Wayland devs for the sake of XWayland. Support for X11 clients isn't going to go away any time soon. XWayland is also capable of running in rootfull mode and use X window managers, if there's enough interest to continue the X.org distribution I would expect them to completely rip out the driver stack at some point and switch it over to an off the shelf minimum wayland compositor + XWayland. There's people who are willing to maintain XWayland for compatibility's sake, but all that old driver cruft, no way.

[-] [email protected] 2 points 5 days ago* (last edited 5 days ago)

Wayland is freedesktop's project and freedesktop is Xorg's project. But you are kinda correct.

[-] [email protected] 1 points 5 days ago

Wayland kinda is an x.org project in the first place.

Not really. Wayland is fundamentally different from Xorg. Otherwise we would not need Wayland and create X12. It's like saying mechanical hard drives are kind of Solid State Drives, just because they allow to do something similar. Even if the developers are the same, does not mean the technology is.

AFAIK it’s officially organised under freedesktop but the core devs are x.org people.

I'm not sure if this is correct. But let's assume this is correct. Why does it matter? If Wayland was developed by different people than those who maintain Xorg at the moment, would not change the fact that we need Wayland, because it is different and solves issues that cannot be solved with Xorg without rewriting it. And nobody wants to rewrite Xorg or understand the code (other than very basic security maintenance).

[-] [email protected] 2 points 5 days ago

And nobody wants to rewrite Xorg or understand the code (other than very basic security maintenance).

That's precisely the point: All the devs got tired of it and started wayland instead.

X12 might happen at some point when wayland is mature, as in a "let's create and bless a network-transparent protocol so we might have a chance of getting rid of XWayland in 50 years" kind of move.

[-] [email protected] 1 points 5 days ago

Freedesktop is X.org's group. X.org isn't going away.

[-] [email protected] 2 points 6 days ago

lol, Wayland can't even start a desktop session on my machine, whereas X11 has worked without issues since 2009 (the last time I ever had to edit xorg.conf).

Sure sounds like X11 is the one who's "dead" around here!

[-] [email protected] 10 points 6 days ago* (last edited 6 days ago)

Dead in the sense of development. ~~I thought this was obvious. But I explained it for you, here you go.~~ (Edit: I forgot to be nice. )

[-] [email protected] 3 points 6 days ago

X11 is being actively developed, last commit on xserver was 7 hours ago, and it will probably continue being worked on for a long time

[-] [email protected] 10 points 6 days ago* (last edited 6 days ago)

We even disagree on what "dead development" means. :D ( Edit: To add a bit substance to my reply, minimal maintenance is not actively developed in my books. )

[-] [email protected] 4 points 6 days ago

And almost all (if not all of it) is done by redhat engineers which will drop it when rhel 8 or 9 (whichever one still supports xorg) goes end of life.

[-] [email protected] 1 points 5 days ago

Yep that'd be Wayland devs maintaining XWayland, which is part of the x.org codebase. There are no "X11 devs", they're the ones who started Wayland to get rid of that bowl of spaghetti!

[-] [email protected] 1 points 6 days ago

It's not dead there either, although I'd make the argument that X11 as a project is "mature" or "finalized", it doesn't really need hyperactive development like the tiktok children are used to.

(There are very good arguments that a new software stack was needed, but I'd expect the result to at least do something; ATM Wayland is little more than literally a "everyone else do my work for me" project)

[-] [email protected] 3 points 6 days ago

I argue that X11 would have hyperactive development, if we did not have Wayland (or Mir, before it turned into a Wayland compositor). There are at least two major fields that do not work perfectly and cannot be changed by simple updates, it needs rewrite from ground up: a) advanced multi-monitor handling of different kind of monitors at the same time, b) security issues related to keyloggers, as apps are not isolated. Nobody want to touch the X11 code for more than simple maintenance, no one wants to rewrite major portions or add new features.

We just need Wayland, as you already noted there are very good arguments. A complete new base with modern code and people developing for modern times and hardware just makes sense. Think about it, do you really want to have X11 going forward the next decades? It's like holding to hard drives and saying its okay, there are no problems, and writing off SSDs.

[-] [email protected] 4 points 5 days ago

I argue that X11 would have hyperactive development, if we did not have Wayland

Wayland was started by the X developers because they were sick and tired of hysterical raisins. Noone else volunteered to take over X, either, wayland devs are thus still stuck with maintaining XWayland themselves. I'm sure that at least a portion of the people shouting "but X just needs some work" at least had a look at the codebase, but then noped out of it -- and subsequently stopped whining about the switch to Wayland.

What's been a bit disappointing is DEs getting on the wayland train so late. A lot of the kinks could have been worked out way earlier if they had given their 2ct of feedback right from the start, instead of waiting 10 years to even start thinking about migrating.

[-] [email protected] 1 points 5 days ago* (last edited 5 days ago)

What’s been a bit disappointing is DEs getting on the wayland train so late. A lot of the kinks could have been worked out way earlier if they had given their 2ct of feedback right from the start, instead of waiting 10 years to even start thinking about migrating.

That's the real issue. And its worse with Gnome, as Gnome doesn't want support "all of" Wayland and its protocols. That means Wayland will be broken on Gnome, despite Gnome being the most used DE (at the moment). People complain about the problems in Wayland, but not all problems are caused by Wayland itself.

However there were or are two big reasons I can think of why Wayland wasn't adopted early and for some may never: a) its much harder to be Wayland conform, because the window manager/DE has to do much more work, b) Wayland was just not ready before, as many important aspects were missing (in example some basic protocols, Nvidia) or broken. I don't blame them. For the record, I am not a Wayland chill, just talking about this, because there are many misconceptions (me included, I'm not perfect) and switched to Wayland just end of last year. Before that Wayland did just not work for me. I even switched from Qtile to KDE, because KDE has probably the best Wayland support (I hate manual window management).

Edit: I just remembered another reason why Wayland wasn't probably adopted early. Canonical/Ubuntu started a Wayland alternative called Mir (that was before Mir transformed into a Wayland compositor). And devs probably didn't want set on Wayland or Mir before knowing what will be around in the future.

load more comments (2 replies)
[-] [email protected] 2 points 6 days ago

When was the last time you tried it, and what GPU did you use?

[-] [email protected] 1 points 5 days ago

February this year, and the iGPU of my machine (Intel 915 driver).

[-] [email protected] 2 points 6 days ago

That's not the norm

load more comments (1 replies)
this post was submitted on 24 Jun 2024
245 points (97.7% liked)

Linux

45417 readers
2011 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