HNHacker News
TopNewBestAskShowJobs

sprash

777 karma · joined October 16, 2010

submissionscomments
sprash··on Young men and women are drifting apart
Maybe not billionaires but in the past "activists" like Glroria Steinem were confirmed CIA operatives. These days they are called "influencers" but quiet probable still state funded.
sprash··on Dropping GNOME's X11 session approved for Fedora 41
> As opposed to the mess of X protocols which are elegant and working great?

They are clearly better, simpler and more tested then the conglomerate of protocol mess pertaining the Wayland ecosystem.

> The X11 protocol itself is insane.

According to whom? I would call Wayland insane. This is just your personal opinion

> Wayland does not have a perfect world here

X11 is not great, but Wayland is far worse also in this case. I agree.

> XInput was also not enough, so there is now XInput2.

X11 is designed to be extended. Wayland manages to be worse than all of that.

> Inter-app communication is handled via ICCCM

Wrong! ICCCM standardizes communication between window managers and clients. Which is one of the strengths of X11 and allowed a plethora of niche window managers to flourish.

X properties are not "abused" for IPC. They are a central part of it and far more elegant than abominations like dbus or Wayland.

> QXcb is known to have race conditions

Qt is more concerned with portability than being a X11 toolkit. That's why they are having problems.

> However, the design issues that X ran into are basically cemented into history at this point, and that's why it is not a viable path forward.

There are zero design issues with X. With the right extensions it can be a "viable" path forward.

> If your needs for a desktop haven't dramatically changed in the last couple of decades X11 is objectively better.

Indeed but even for today's needs in a world where screen sharing is one of the most important tasks of desktop computers X11 manages to be miles ahead of Wayland which does not even standardize basic functionality like screen sharing.

> I'm arguing that we need something that we can actually fucking improve and build the future on top of, and between X and Wayland as a base, it's not even close. It's Wayland. It has been Wayland.

What is your argument here? Wayland is shit but it is "the future"?

X11 is extensible by design and has been extended many times. In this way it "survived" many generations of graphics hardware starting from dual ported RAM and ending with GPU's where one is more powerful than all computers in the world combined at the time X11 was introduced.

> When most people talk about Wayland shortcomings, they're talking about things that actually can be improved and fixed, in some cases they're being fixed right now, in others it might take time but there's paths forward.

Waylanders are "fixing" things for 16 years now. This mantra is getting bit stale to say the least.

> When most people talk about X11 shortcomings, they're talking about things that will never, ever be fixed. Ever.

What exactly can never "EVER" be fixed on X11. Can't think of a single thing.

> The only thing that's been entertaining to me is that X was always the bane of our existence and the butt of many Linux user's jokes in around 2004

X11 was bad in 2004. But so was every other operating system that had to deal with a new type of graphics hardware. It was a symptom of technological progress.

Wayland was never great and due to the politics, its idiotic design and protocol hell it will never be.

> Now the impetus to move on from X11 is suddenly seen as hasty, despite the fact that it is definitely severely overdue.

The only thing that is overdue is putting Wayland into the trash where it belongs.

sprash··on Dropping GNOME's X11 session approved for Fedora 41
Besides the point. The only reason Wayland is worked on and X11 is not worked on is funding. Not because Wayland is in any way better or something. It's clearly worse than X11 in almost every aspect.
sprash··on Dropping GNOME's X11 session approved for Fedora 41
> Xorg offers a fairly good out-of-box experience on many GPUs but it falls apart when you try to do things that would be considered normal on other OSes

You are you talking about Wayland. Wayland has no or severely lacking mechanisms for screenshots, screen sharing, positioning of windows, window management, window icons, drag and drop, ...

Many of the issues are duck-taped with a clusterfuck of incompatible external protocols which turns the whole ecosystem into a complete mess.

But what do you expect from a severely lacking protocol designed for digital signage and car entertainment systems that is being shoehorned into a desktop protocol.

> Everybody keeps treating this issue like it's just programmers deprecating old code for fun

No. It's all about funding. DARPA (=RedHat) used to fund X11, now it's funding Wayland. That's it. X11 is still to this day the better solution for Desktops, by a long shot.

> while it's easy to downplay the importance of its shortcomings

The only shortcomings that are consistently being downplayed are those of Wayland.

sprash··on Dropping GNOME's X11 session approved for Fedora 41
Two things that are wrong here:

1. Wayland was actually started in 2008

2. Wayland API is not stable even today

sprash··on Progman: X11 WM modeled after Program Manager from the Windows 3 era
Almost every skinnable WM has a BeOS theme.

Pekwm has my favourite BeOS theme (https://www.pekwm.se/themes/benu.html) because it supports window grouping flawlessly, which turns every window into a potential tab just by dragging.

sprash··on Godot 4.3 Game Engine to Feature Native Wayland Support
If window icons and drag and drop are corner cases "that go against the explicit and specific designs of what the protocol should do" the "specific designs of what the protocol should do" are clearly wrong.

Besides that, only RedHat and Collabora consultants are pushing for Wayland. People that actually use their computer (as in requiring e.g. drag and drop to work properly) stay on X11 and have done so for the last 16 years.

sprash··on Godot 4.3 Game Engine to Feature Native Wayland Support
Xorg + DRI3 uses the exact same buffer swap mechanism as Wayland. Wayland is basically just a very over engineered protocol to blit some bitmaps. How exactly is Wayland more optimal for modern hardware?
sprash··on Godot 4.3 Game Engine to Feature Native Wayland Support
Why even bother? Wayland is on it's way out and will go down in history as the worst managed piece of system architecture in history. After year 16 (!) the responsible "committee" still has not figured out how to deal with window icons[1] or how to do drag and drop properly[2]. It's an absolute farce that needs to end soon.

1.: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/m...

2.: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/m...

sprash··on Why is Maxwell's theory so hard to understand? (2007) [pdf]
In Quantum Chromodynamics we have 3 things that combine to nothng though.
sprash··on Five richest men double their money as poorest get poorer
Don't hate this world, simply hate central banks. Fiat money is the primary reason the rich get richer and poor get poorer.
sprash··on Centralized or Decentralized There Is No Question
Matrix and Mastodon are federated but not decentralized. I don't understand why the are getting advertised all the time. Alternatives like Zeronet are truly decentralized and barely get any mention.
sprash··on Harlequin: SQL IDE for Your Terminal
If you develop SQL you need to write code and view tables. A grid with monospace characters is perfectly suitable for that.

But other than that, no, people don't love being in a terminal. It just happens that all open source portable toolkits like qt and gtk do not work via ssh and are in general total abominations for developers and users. The vt100 standard is 45 years old and turned out to be the lowest common denominator to write GUIs for better or worse.

sprash··on The Linux graphics stack in a nutshell, part 2
With "centralized" i really meant standardized. X11 has a standardized API that tells you how to implement window managers. Window managers themselves can be swapped, even at runtime without the need for swapping the whole display server or gui toolkit and are as such "decentralized". Similarly there should be a standardized interface to render fonts which every application can/should use and where the actual rendering backend can be swapped (ideally at runtime as well) because a lot of people have a vastly different opinion about how to render fonts (which comes down to taste in the end) but they want all their applications look the same.
sprash··on The Linux graphics stack in a nutshell, part 2
> Yes, you should optimize for the 99% case. That is basic software engineering.

Wayland is optimized for car entertainment systems and digital signage. Is this your 99% case?

> X toolkits since GTK in 1998 have been drawing bitmaps to shared memory.

Not true. E.g. several Gtk2.x rendering backends utilized XRender to draw Buttons with gradients without a single bitmap in shared memory.

> X doesn't have the synchronization features that necessitated Wayland. It's simply not the case that X can do everything that Wayland can do.

The X11 extension "Present" does exactly the same as Wayland concerning "synchronization features". What exactly can Wayland do that X11 can't do?

sprash··on The Linux graphics stack in a nutshell, part 2
> What other fragmentation was there?

No strong reference implementation. No protocol for access control and resource sharing. No centralized font rendering (which is a mistake. every app looks different now even when using the same library). No centralized drawing (which pushes things like multi dpi monitors + fractional scaling down to clients). And many other things. Essentially everything a typical application needs except pushing some pixels.

sprash··on The Linux graphics stack in a nutshell, part 2
Very opinionated article really.

It starts with unsubstantiated claims that X suffers from "bloat" despite being capable of running on a 486 and dismissing the fact that the average Wayland compositor + necessary infrastructure is much more "bloated" than X ever was.

It fails to distinguish between compositing and hardware accelerated blit operations that allow X to display multiple windows without the need for a compositor.

It talks about hardware planes but fails to mention that no Wayland compositor so far is capable of using them whereas X is using them for the mouse for a long time (which avoids mouse stuttering on high GPU/CPU load).

It proclaims that certain protocols are "commonly used" when they are really in a experimental phase or actually not commonly used.

I get it. Linux userland graphics is huge a mess right now. Mostly because Wayland caused a huge amount of uncertainty and fragmentation. At least call it out as such and don't pretend otherwise.

sprash··on Terminal Emulators Battle Royale – Unicode Edition
More interesting would be st with the HarfBuzz patch though.
sprash··on The Linux graphics stack in a nutshell
Xrender is hardware accelerated and cairo uses Xrender as a backend. Why is Xrender not "viable"?
sprash··on Firefox 121 defaults to Wayland on Linux
I gave it a try. It's shit!

Worse latency and performance (on intel and AMD), xdotools don't work, window managers don't work. Doesn't work without dbus (the first thing I usually uninstall) and additional seat/login daemons which indicates its bad design.

sprash··on Firefox 121 defaults to Wayland on Linux
What is good about Wayland? I only see a really idiotic, badly designed API and a very over-complicated ecosystem that requires lots of bloat, parallel infrastructure and duplicated effort to do even the simplest tasks due to lack of standardization of essential functionality.

Personally I can't wait until everybody comes to their senses and drops this pile of garbage API and goes back to X11.

sprash··on Firefox 121 defaults to Wayland on Linux
I am sensing zero momentum for Wayland. It was is absolutely idiotic API with lots of unnecessary arbitrary restriction and vast over-complication and over-engineering for no other reason than NIHS.

It will eventually be dropped like a hot potato, just like HAL.

sprash··on Shader Park Is Kinda Neat
It depends. High complexity with SDFs is possibly cheap. It just has to be procedural. For example a single 3D-cube has the same computational cost like an infinite array of 3D-cubes in SDFs.
sprash··on Make Apps for Linux
Have you tried WebUI? It's like a ultra minimalist version of electron. It uses available browsers instead of shipping its own. You simply write your App in html/js and everything that goes beyond (e.g. file access) is delegated to C with a simple callback mechanism.
sprash··on Wayland Isn't Going to Save the Linux Desktop (2022)
This is not a problem with X. DPI and pitch information is accessible via the xrandr extension. It's GNOME and GTK that arbitrarily chooses to ignore that information.
sprash··on Wayland Isn't Going to Save the Linux Desktop (2022)
For my personal taste it's already a mess but for the the average masochist it's maybe bearable. The real mess starts from here though:

- Wayland can not render strings. You need something external just to render some other text than "hello world". And depending on the library text rendering will look different for each application.

- Wayland can and will block your render loop for arbitrary reasons (like being minimized) potentially indefinitely. In order to make this application useful you have to put everything concerning rendering in it's own thread which complicates things hugely.

- If you want to have basic functionality like capturing the screen (former simple XGetImage() call) you have to talk to dbus and pipwire which pull all kind of dependencies and require loads parallel infrastructure running. And then you still have no guarantee that it works on every compositor.

sprash··on Wayland Isn't Going to Save the Linux Desktop (2022)
> multiple monitors

You are talking about a very rare niche case where one monitor runs with VRR and the other doesn't. Everything else is handled just fine with X.

> screen tearing.

"No screen tearing" just means forced vsync which is easily possible on X11 with a configuration switch or by using a compositor. Actually forced vsync is one of the great disadvantages of Wayland because it always comes at the cost of higher latency.

> Wayland rocks those two challenges.

And it sucks in every other challenge. Most importantly standardization and development. The Wayland API ecosystem is ultra developer unfriendly and complicated and will pose serious harm to the FOSS landscape which thrives on hobbyist and niche applications. It's so bad it wouldn't be far fetched to call it sabotage. (E.g. look at the hello world: https://github.com/emersion/hello-wayland/blob/master/main.c it's a complete mess)

sprash··on PgAdmin 4 v8.0
I disagree. I use pgAdmin all the time. It is a very decent web application for doing typical admin stuff. If you need a fully powered desktop SQL integrated development environment there are surely better options out there but that's beside the point. Also, people operating inside a heterogeneous intranet infrastructure often don't have the option to install programs. But they surely have a web browser.
sprash··on Freezing in style
Despite being ancient it's still better than Wayland. The "same developers" narrative is just a story you tell yourself to justify your opinion after the fact. Wayland is fundamentaly flawed on every level. Its sprawling patchwork of parallel infrastructure an duplicated effort shows it.
sprash··on Freezing in style
This is obviously wrong. The most capable X11 developers retired (like KP) and the least capable developers of the younger generation started Wayland.
← PreviousPage 3 of 29Next →