News for hackers. Stuff that matters.
Re:The technical merits of Wayland are mostly irrelevant by dale_glass on Friday September 01, 2023 @08:49AM (#37350150)
> Network operation. X will always be better here because it was designed to be

Excuse me, but BS. At least for anything of actual relevance.

X11 networking works okay for stuff that looks like a classic X11 app. That's things like xcalc. Any modern text editor, web browser, or anything else is going to be dog slow.

X11 has a bad networking protocol that's way too latency sensitive, and as a result is nigh unusuable without something like NX, which puts a local cache in front to get rid of that latency.

No, I'd say X11 wasn't designed to be run on the network, in that no particular care seems to have been taken to deal with latency and bandwidth issues. It's more of a feature that could be had for free, because if you can use an UNIX socket, you can also use a TCP one with minimal work, so might as well allow it.

Re:The technical merits of Wayland are mostly irrelevant by alphablended on Friday September 01, 2023 @09:09AM (#37350344)
> No, I'd say X11 wasn't designed to be run on the network [...]

That's just wrong. X11 was designed from the ground up to be used on the network. It just happens that nowadays requirements are different from when it was originally designed.

Running X11 on the network was quite a thing in Unis all over the world, where you could have dedicated dozens of X11 graphic terminal servers (tektronix used to make good ones) connected (100Mbits) to a single mainframe, and everyone running an Xemacs session without slowdown.

Wayland design is all about framebuffers, which clearly shows how focus has shifted. X11 was not designed for pixmap heavy, shader heavy scenarios.

Re:The technical merits of Wayland are mostly irrelevant by ekidd on Friday September 01, 2023 @09:19AM (#37350446)
Also, X networking was mostly used within local university and company networks, and not over the internet backbone. Well-designed local networks can be very low latency, often noticeably lower latency than disk I/O.
Re:The technical merits of Wayland are mostly irrelevant by spacedcowboy on Friday September 01, 2023 @11:56AM (#37352428)
To be fair, X doesn't work that well over even local networks with modern apps.

Serving X applications (eg: Chromium) from the Raspberry Pi I'm targeting to the Mac I'm developing on is an exercise in futility, even if it does make 'download this to the target' easier. It's a lot faster to run Safari on the Mac and scp the download to the Pi, just because of interface latency issues.

Re:The technical merits of Wayland are mostly irrelevant by alphablended on Tuesday September 05, 2023 @05:16PM (#37397868)
Well, I don't think that network at the time was faster than SCSI, but that's a fair point that X11 isn't quite "internet ready" (though these days with a dedicated VPN you'd probably get very good performance on the core protocol).
Re:The technical merits of Wayland are mostly irrelevant by steve1977 on Friday September 01, 2023 @09:30AM (#37350589)
I remember running Hummingbird Exceed on Windows to access the “proper” applications on Solaris in a stock trading environment (like 25 years ago)
Re:The technical merits of Wayland are mostly irrelevant by jchw on Friday September 01, 2023 @09:10AM (#37350369)
Actually, though, toolkits that still have XRender backends will run relatively efficiently over the network. To be fair, this is becoming a thing of the past slowly, but it's not gone yet: Qt 6 re-added the XRender backend due to complaints of how much slower X11 networking was!

Granted though, it does nothing for apps using Electron. However, try e.g. the Dolphin file browser on a 4K display over the network, and you'll find it is clearly faster than should be possible.

Probably I should've made it clearer, but imo the bigger problem is that tweaking Waypipe to replace old uses of ssh -Y shouldn't be needed; it should be possible for it to determine what possible options can be used and switch things around to deal with CPU or network bottlenecks most effectively. Easier said than done. There's also still some bugs under Waypipe; it's an understandably challenging problem.

Re:The technical merits of Wayland are mostly irrelevant by jesboat on Friday September 01, 2023 @09:51AM (#37350847)
In the 2010-2013 era, i did most of my computing over X over ssh on a fast LAN. At the time, YouTube and other video stuff worked fine, and my environment felt as responsive as local computing.
Re:The technical merits of Wayland are mostly irrelevant by nullc on Friday September 01, 2023 @02:38PM (#37354603)
Your experience doesn't match with other people's.

Remote X over fast low latency networks is fine, a near local experience-- even running things like firefox or gimp. (And for classic apps it's indistinguishable from local). The wayland world alternatives like using RDP are painful to the point of usability even over a 10gigbit network, peg the cpu... and are really only good for rescuing something that's stuck or providing a bit of tech support.

Yes, over a high latency network remote X is sucky but seldom much worse than RDP.

Re:The technical merits of Wayland are mostly irrelevant by jjav on Sunday September 03, 2023 @03:20AM (#37368385)
> No, I'd say X11 wasn't designed to be run on the network

That's very wrong, the whole point was to run over the network.

It worked exceedingly well even in the earliest 90s (modulo bandwidth expectations of the time) and continues to work wonderfully 30+ years later.

Re:The technical merits of Wayland are mostly irrelevant by bitwize on Sunday September 03, 2023 @02:29PM (#37372917)
No, it doesn't, it works like shit because that's not how modern apps work anymore.

Modern apps draw all their UI client-side onto a surface which is then sent to X for display. IF ONLY we had a windowing system that was based around simply compositing together the various surfaces that the apps draw into a complete image of the desktop. Since this is a step away from the complexity of X, we could give it a name starting with W...

Re:The technical merits of Wayland are mostly irrelevant by jjav on Sunday September 03, 2023 @05:54PM (#37374968)
> No, it doesn't, it works like shit because that's not how modern apps work anymore.

Don't know what to tell you, your experience is different.

Many of my computers are on a rack and I run everything on them over X displaying to my desktop. Works just fine.

Re:The technical merits of Wayland are mostly irrelevant by bitwize on Tuesday September 12, 2023 @05:04PM (#37488327)
Try running Firefox over your networked X connection.

Go ahead, I'll wait. Literally, I'll wait.