News for hackers. Stuff that matters.
Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Latty on Sunday July 03, 2022 @09:35PM (#31972606)
X is 40 years old. Talking about Wayland breaking compatibility there like it's a JS toolkit being dropped after 6 months is a bit silly.

Yeah, compatibility is nice, but not when it means you have security flaws innate to the system, bloat and stuff you never want but have to keep around, etc... Sometimes the positives outweigh the negatives.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by jrm4 on Monday July 04, 2022 @12:35AM (#31973526)
The thing is, this story feels like BS because X never broke, in all this time. Devs can say all they want, but where's the breakage?

It's been what, a decade? And X still works fine. All I hear is this pathetic "fractional scaling" and "screen tearing!!"

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by bzzzt on Monday July 04, 2022 @04:58AM (#31974992)
Of course it's not broken. The architecture only prevents it from being as good as modern desktops. Think screen tearing, multi-resolution multi-screen support, plug and play support for multiple GPU's, monitors, refresh rates, color spaces and input devices.

Those are all functions macOS and even Windows have had for years (ever reloaded your graphics driver without shutting down applications? Windows can do that since Vista...) Since X does not have the right architecture for those kind of features it's unfit for modern desktops. Also, lots of X functions are no longer necessary or even practical to use anymore. Why is Windows remote desktop useable with an order less bandwidth than most X clients. (of course that's all the clients fault and not the X server, but that doesn't matter for users does it?)

If you want a vintage Unix workstation lookalike running 4 xterms and xeyes on a static desktop PC with a single ethernet connection X will do fine. But why force other people to look at the world in such a limited way?

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by smoldesu on Monday July 04, 2022 @11:10PM (#31983900)
> Of course it's not broken. The architecture only prevents it from being as good as modern desktops. Think screen tearing, multi-resolution multi-screen support, plug and play support for multiple GPU's, monitors, refresh rates, color spaces and input devices.

I mean, most of those things aren't solved problems on Wayland either. The only thing we "solved" was screen tearing issues (fixed in most x11 compositors anyways...), configurable DPI is still extremely buggy, extended color spaces haven't even started development afaik and Xorg's input handling is still architecturally fairly sane. The 'problem' is that these hacks we used to use on x11 still feel better to use than their Wayland alternatives. Plus, once you consider all of the functionality, software compatibility and desktop environments we sacrificed for this meager victory, it seems utterly pyrrhic. Nothing of value was gained for the overwhelming majority of the software ecosystem.

> Since X does not have the right architecture for those kind of features it's unfit for modern desktops.

I agree. Consider the following: Wayland doesn't feature support for AppIndicators, which both MacOS and Windows have had for... 30 years. Is that befitting of a modern window server? Nobody's asking them to support it in GNOME, but rather to offer simple hooks in the code for the vast majority (eg. KDE, i3wm, Sway, Budgie, GNOME 3, MATE, LXDE, XFCE, etc.) of desktops that would want that functionality? It's another anti-cooperative move on the behalf of GNOME's development team, which is why it's no wonder that the rest of the community has abandoned the prospect of working with them. x11 needs to die urgently, and watching Wayland fail to replace Xorg, one of most ill-concieved software systems ever designed, makes me want to pull my hair out.

> If you want a vintage Unix workstation lookalike running 4 xterms and xeyes on a static desktop PC with a single ethernet connection X will do fine. But why force other people to look at the world in such a limited way?

Be pragmatic. If GNOME went Wayland-only tomorrow, 90% of the Nvidia systems would break overnight, that's not just ostracizing "Unix workstation lookalike" users. The reason Xorg is still around is obvious: Wayland simply isn't complete. The vast majority of desktop environments don't support it. The vast majority of desktop applications run worse on it. I despise x11 for being as crusty and stiff as it is, but I can run it on all of my systems without any problems. I can't do that with Wayland, and until I can, I have no reason to switch. x11 is superior for my workflow, full stop. There's no appeal to use it when only one or two of my computers actually run it well, and the rest have horrible showstopping bugs.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Crysstalis on Tuesday July 05, 2022 @03:13PM (#31992458)
>configurable DPI is still extremely buggy, extended color spaces haven't even started development

Those have started development. They're not done yet. Compare to X11 where no one is working on fixing those things.

>Wayland doesn't feature support for AppIndicators

App indicators are not a wayland or X thing, the API has been in dbus for some 10 odd years now.

>but rather to offer simple hooks in the code for the vast majority (eg. KDE, i3wm, Sway, Budgie, GNOME 3, MATE, LXDE, XFCE, etc.) of desktops that would want that functionality? It's another anti-cooperative move on the behalf of GNOME's development team, which is why it's no wonder that the rest of the community has abandoned the prospect of working with them.

I have absolutely no idea what you're trying to say here, all those other desktops do already have their own way they implemented app indicators. For GNOME it is available via an extension. There is nothing anti-cooperative about this and nothing was abandoned.

>Wayland simply isn't complete. The vast majority of desktop applications run worse on it. I despise x11 for being as crusty and stiff as it is, but I can run it on all of my systems without any problems. I can't do that with Wayland, and until I can, I have no reason to switch. x11 is superior for my workflow, full stop. There's no appeal to use it when only one or two of my computers actually run it well, and the rest have horrible showstopping bugs.

I don't think this matters much, most of them are very small niche projects in the already small Linux niche. If you found bugs then report them, there is no other way they get fixed. Staying on x11 forever is not a viable option. Wayland probably won't ever be complete, but x11 is both incomplete and abandoned.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by smoldesu on Tuesday July 05, 2022 @05:34PM (#31994020)
I feel like there was a real failure to engage here, which is a shame because hating both of these window servers is something that I could do all day. However, I'll leave you with this:

> Staying on x11 forever is not a viable option.

"Staying on GTK2 forever is not a viable option."

"Staying on GTK3 forever is not a viable option."

"Using native packaging forever is not a viable option."

"Using Linux kernel v4.19 forever is not a viable option."

I wonder how many times I've heard this mantra repeated before...

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Crysstalis on Tuesday July 05, 2022 @06:33PM (#31994568)
For one, your timeline is way off. Within the time period of GTK2 and GTK3 that would be more like Linux kernel v2.6 and v3.19. Yes there are still some projects I know of using these, but for the most part they're not viable, certainly not if you want any of the new features that will probably not be backported. The mantra holds true for most. The tiny group that it doesn't hold for is on the hook for paying support costs indefinitely.

Right now, native packaging isn't a viable option for a lot of things and it hasn't been for some time, have a look at the success of Docker.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by smoldesu on Wednesday July 06, 2022 @12:24AM (#31996694)
It's not chronologically sorted. I've heard this argument many times though, and it has failed again and again. The only time technology has seamlessly replaced a predecessor on Linux is when it reaches feature parity with whatever it usurps. I have no problem with PipeWire replacing Jack/Pulse. Both of those frankly suck, and PipeWire provides their functionality as well as it's own featureset that puts it heads-and-shoulders above the alternative.

Wayland is not that. People are welcome to defend it all they want, but this futuristic technology won't replace everyone's setup. It's not inevitable. They made that choice when they dropped support for hardware that x11 handles without issue. My point is that people have used outdated technology for more petty reasons than just "it doesn't work on my hardware" before. If Wayland wants to be minimal and petty about their featureset, fine. They'll have a minimal and petty community to go along with it. Nothing is inevitable on the Linux desktop though, I'd hope most people on HN of all places would know that by now.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Crysstalis on Wednesday July 06, 2022 @12:50AM (#31996853)
>I've heard this argument many times though, and it has failed again and again

I am not speaking of you personally, this is in terms of distros as a whole. It has definitely not failed there, they will drop these packages when they become stale and it becomes too burdensome to support them for little benefit. Like, I don't know any common non-niche distros that are still shipping a 2.6 kernel. You can attempt to fight them but it will probably be futile, few have any reason to maintain that.

>Wayland is not that. People are welcome to defend it all they want, but this futuristic technology won't replace everyone's setup. It's not inevitable.

>Nothing is inevitable on the Linux desktop though, I'd hope most people on HN of all places would know that by now.

Not true, death is inevitable. What is really inevitable is that x11 will fade away. Everything dies eventually. The question is what will replace it when that happens, if not Wayland then something else that probably has worse hardware support. We went through this already with the drama around Mir. Or maybe the Linux desktop will just die because it was always obscure, unpopular and fragmented with a severe lack of developers.

>My point is that people have used outdated technology for more petty reasons than just "it doesn't work on my hardware" before. If Wayland wants to be minimal and petty about their featureset, fine. They'll have a minimal and petty community to go along with it.

I don't see why this point is significant to anything. Using outdated technology for similarly petty reasons is just furthering the same problem and putting yourself in the same petty communities.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by smoldesu on Wednesday July 06, 2022 @10:51AM (#32001865)
> Or maybe the Linux desktop will just die because it was always obscure, unpopular and fragmented with a severe lack of developers.

I certainly believe that this is more likely than everyone transitioning to Wayland. And, when it inevitably does, I don't think the majority of people are going to pick Wayland to run their legacy systems on. If both desktop servers stopped development today, I reckon they'd have to pick the most-finished option.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Crysstalis on Wednesday July 06, 2022 @01:51PM (#32004428)
I don't think those people with legacy systems running on X11 will pick Linux at all. They will probably use XQuartz, or one of the many X servers that runs on Windows. BSD may even work for them. The only reason to use Linux is for dependency on some kernel features, X11 can be used on any other OS kernel.
Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by dontlaugh on Monday July 04, 2022 @01:43AM (#31973813)
X has been broken for decades.

For example, I’ve never managed to get it to be tear-free, on various hardware and software combinations over time. It got infuriating.

It’s part of why I switched to macOS.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by orbifold on Monday July 04, 2022 @04:59AM (#31974995)
Using NVIDIA drivers this was never a problem. I only ever encountered these issues using open-source drivers.
Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Latty on Monday July 04, 2022 @12:36PM (#31978963)
So it works fine for you, but not for others. For some, screen tearing and fractional scaling are important issues, just because you don't care doesn't make them "pathetic".
Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by GauntletWizard on Monday July 04, 2022 @12:36AM (#31973529)
X has no provision for untrusted programs running with access to the X server. That design is naive by modern standards, but whether that's a "flaw" is a matter of interpretation. It would be nice if there were a model for running individual applications as application specific users or subusers, but Wayland doesn't solve that problem, either.

X being 40 years old has nothing to do with when it's reasonable to break compatibility. The amount of time that a suitable replacement has been around does matter; Typical times are 2-5 years from a suitable replacement being available to deprecation, which is to say that we'll be able to deprecate X in 2040 when someone's built something that actually solves user needs, unlike Wayland.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by hulitu on Monday July 04, 2022 @01:16AM (#31973710)
> Yeah, compatibility is nice, but not when it means you have security flaws innate to the system, bloat and stuff you never want but have to keep around, etc... Sometimes the positives outweigh the negatives.

They shall fix the flaws not create new ones. Why do i need GTK 1, 2, 3 and 4 on my system ?

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by metadat on Sunday July 03, 2022 @09:42PM (#31972644)
Who should be the one who decides this? Nothing personal to you, sir, madame, or they, but I don't want it to be someone with this attitude.

Wayland breaks a huge amount of apps, with no good porting story.

Most of us just want our apps to be able to keep working. Linux is not a place for a wizard in the high castle to disconnectedly architect the future of Linux GUIs.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by akvadrako on Sunday July 03, 2022 @09:44PM (#31972659)
Mostly, it's the developers and those who pay them. Almost nobody is developing X11 anymore, they've moved on to Wayland. And GTK devs don't want to support it.
Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by ssivark on Sunday July 03, 2022 @10:25PM (#31972881)
The code is still there (FOSS), so you can continue using it as long as you want — and even maintain/sponsor if you like. None of us is entitled to developer time (from others), so if the ecosystem moves and they wish to invest their effort on different endeavors or approaches, we can’t hold them back.
Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by jrm4 on Monday July 04, 2022 @12:32AM (#31973507)
But I've said this elsewhere. Yes, we can criticize what they are doing even if we are not paying them. We can't sue them, we can't take way their money, and that is 100% fair, of course we shouldn't be able to do that.

But yes, I can absolutely say "Y'all are wasting a ton of time with this Wayland way y'all are doing things, you should go fix X instead."

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Latty on Monday July 04, 2022 @12:34PM (#31978941)
So the answer to "who gets to be the one who decides this", remains "the one writing the code" and "the one choosing what to install", independent of each other.

While it's true no one can stop you telling people they should be working on what you want and not what they find valuable, you sound like a petulant child demanding people do things for you.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by jrm4 on Monday July 04, 2022 @04:23PM (#31981363)
Sorry, your name calling here doesn't hold up at all. How they operate directly affects my work. I onboard people to Linux and this Wayland discrepancy is an annoyance I'd rather not deal with.

What I'm doing is pretty similar to dealing with, e.g. a land developer putting up a big shopping center near my quiet neighborhood. I don't have much legal recourse here, but someone who speaks against it isn't childish.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Latty on Tuesday July 05, 2022 @06:15AM (#31986408)
You write off the things other people care about as "pathetic" elsewhere (https://news.ycombinator.com/item?id=31973526) in this thread, your point of view seems to boil down to "things I care about should be tailored to, and other people's cares are worthless", which yes, is pretty childish.
Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by jrm4 on Wednesday July 06, 2022 @03:39PM (#32005787)
I'll happily defend it.

I believe a free/open source desktop OS that's easy for "regular" people to use is VERY important. One of the "selling" points is "stuff doesn't break, it will work the same way it does today as it will tomorrow." This could improve the user experience for a lot of people, this could get more people interested in tech, this could save a lot of e-waste. Again, this isn't mere ideas for me -- I do this with lots of people all the time.

Now sure, you could get on your tech high horse and say "well, all those newbs should catch up." Yes, I think the people who focus too strongly on comparatively small things like fractional scaling aren't seeing the bigger picture. And that is pathetic.

Re:When Time Comes for GTK5, It Might Be Wayland-Only on Linux by Latty on Thursday July 07, 2022 @02:53AM (#32010714)
Except regular people want to be able to watch a video without screen tearing, or use their nice new monitor at a resolution that suits their needs without the UI being tiny/huge. It doesn't matter if the user experience is consistent, if it is consistently not what they need, they'll still switch away.

Not breaking stuff is a great goal, but it is a trade off, there is a cost to supporting the old, and it isn't always worth paying. Just sounds like your priorities don't line up with the people actually paying and doing the work. Your attempts to convince that it's a better option by telling them they are stupid actually are misguided if you think that'll actually work.