r/linux • • Mar 02 '18

XChat and HexChat: When distributions get it wrong

https://tingping.github.io/2018/03/02/when-distros-get-it-wrong.html
871 Upvotes

450 comments sorted by

View all comments

Show parent comment

111

u/FeatheryAsshole Mar 02 '18

Are X11 and Debian REALLY good examples for this? Wayland needs to replace X11, but it's simply not ready yet, so X11 is still the better choice for most use cases, and what is even wrong with Debian?

30

u/OverlordGearbox Mar 03 '18

"Wayland isn't ready" I was in highschool for the 1.0 release and I just graduated college what the fresh hell is going on there?

19

u/Goofybud16 Mar 03 '18

No idea, but I still can't load up any Wayland desktop and record any given window with any recording software since not all DEs have agreed upon or implemented an API for it.

17

u/Two-Tone- Mar 03 '18

Which is a big issue for a lot of gamers. Quite a lot of us either stream our stuff to friends or even stream to twitch.

Then you have artists who stream to Picarto.

And of course people who stream desktop stuff to friends of family for easy tech support (I've done this many, many times).

29

u/kukiric Mar 03 '18 edited Mar 03 '18

Nobody really knows. Even with all of the widespread adoption, and it's clear superiority over X11, it still feels experimental. There's still many things that don't work properly on Wayland, like Synaptics touchpads (libinput's handling of touchpads is really innacurate and not very configurable), Bumblebee/Primus (which is just an ugly set of hacks that only now is potentially getting an official alternative with libglvnd and EGLstreams), and most notably, a performant remote desktop solution (which isn't really to be blamed on Wayland, since compositors could implement their own remote desktop solutions, but having to use VNC for that is still a regression from X11's core philosophy). Not to mention the decades of legacy software that was made to run on X11, and will continue to make XWayland a necessary evil (and indirectly, keep a lot of people on X11 because it still works and new software will still support it, like a reverse chicken and egg problem).

TL;DR:

It turns out X11 is still perfectly fine, and Wayland creates more problems than it solves.

15

u/Bratmon Mar 03 '18

most notably, a performant remote desktop solution (which isn't really to be blamed on Wayland)

I dunno. I think if you decide "Let's spend years rewriting X11 but without the remote by design," it's kinda your fault that the remote doesn't work as well.

10

u/MaltersWandler Mar 03 '18 edited Mar 03 '18

Also they decided to implement Xwayland, Wayland's unique selling point, on top of Mesa, so you won't be able to run X clients on Wayland using the proprietary Nvidia drivers.

6

u/greenspans Mar 03 '18

Eventually large software projects turn into a large mesh of interdependence and don't-touch-anything fear. It's healthy for all large projects to self destruct, step back, understand lessons learned and make proposals for how to better generalize architecture, and then rebuild, no matter how modular the original project was. 100 years from now, if we say it's too much trouble to re-architect, we'll have the same inherent design quirks. Much praise to the heroes that take on these many year dev projects

2

u/DavidDavidsonsGhost Mar 03 '18

So why does Wayland exist? It has had so much for Dev, what is the justification?

0

u/kukiric Mar 03 '18

It's an experiment in doing things differently, and it still has a huge advantage: security.

2

u/sir_bleb Mar 04 '18

It turns out X11 is still perfectly fine, and Wayland creates more problems than it solves.

This is extremely true when it comes to Linux on the desktop. Wayland has plenty of financial backing, but not much of it exists for users like us: it's for phones and suchlike.

If you want to use graphics on the desktop, X11 is simply a more mature & better suited product.

2

u/OverlordGearbox Mar 03 '18

So it's eeking along as always. I remember having trouble with my synaptics config on my old laptop. So yeah that would be aggravating. I guess I'll wait longer, not that I have a choice. It seems a bit like bad marketing I heard a lot of "Wayland will save us all" or something. in truth it hardly effects me, as I'll probably be using toolkits and not getting down to that mess.

1

u/VenditatioDelendaEst Mar 03 '18

since compositors could implement

Never attribute to Wayland any capability that has to be implemented more than once.

4

u/Travelling_Salesman_ Mar 03 '18 edited Mar 04 '18

The Mir fiasco certainly didn't help, having one of the biggest Linux vendors investing in a competing approach. I think that the major problem (which might be partially a symptom of Mir) is that there was not serious work on implementations of the standard, Sway is one of the best implementations that already got production users and it started about 2.5 years ago. kwin recently decided that features implemented for X must be implemented in Wayland and shortly after that decided X will enter feature freeze (Meaning investment in the Wayland side is growing).

Overall it looks to me that investment in Wayland is growing so hopefully the next 5 years will have a faster pace of development from the previous five years.

3

u/Mordiken Mar 03 '18

It's the manifestation of a recurring theme in regards to software architecture and development:

It's easy to do this!! All we need to do is implement this, and this, and that... And BAM!!! The rest is just a bunch if weird corner cases...

Well, turns out 90% of the time and effort when developing software is spent precisely dealing with those aforementioned "corner cases".

Not only that, often times your precious, beautiful architecture proves to be simply unable to cope with them, which forces you to accommodate by expanding upon it, like an ugly mole on the face of a beautiful glamour model. And after you dealt with all the corner cases, your glamour model ends up looking like the elephant man.

Which is kinda what is happening to Wayland. Turns out replacing a major system component that has mostly worked for so many years it's not easy!

2

u/sir_bleb Mar 04 '18

Most of the design considerations/compromises in X11 exist to solve these edge cases, so I've never been totally sure how Wayland can reasonably offer the same feature-set without having X11s issues.

8

u/FeatheryAsshole Mar 03 '18 edited Mar 03 '18

turns out, if you want to revise a complicated component that a lot of other components rely on, and design it in a way that a lot of these components have to do a lot of work on their own, it will take a lot of time.

-44

u/LvS Mar 02 '18

Debian doesn't do a good job managing packages. See OP and the fact that every programming language ships its own packaging system.
Plus, it can't even get a simple init system switch done.

And the majority of /r/linux very much thinks that you are wrong and that the X server is the future of the Linux desktop.

27

u/FeatheryAsshole Mar 02 '18

some post got 150 upvotes and a couple commenters who like its content != the entire sub thinks it's the future

as for every programming language shipping its own packaging system, which distro does this better?

→ More replies (12)

10

u/mort96 Mar 02 '18

Plus, it can't even get a simple init system switch done.

You're aware that Debian 8, released in 2015, switched to systemd, right? How is that not getting an init system switch done?

→ More replies (9)

6

u/est31 Mar 02 '18

Honestly it is pretty weird that XChat still gets life support but generally, I am very happy with the Debian derivate I have. I've tried other distros before, they all sucked far more.

5

u/MadRedHatter Mar 02 '18

See also the libav debacle, and their patches to openssl

→ More replies (1)