News for hackers. Stuff that matters.
Re:KiCad and Wayland Support by magicalhippo on Tuesday June 17, 2025 @06:34AM (#44297552)
These problems exist because Wayland’s design omits basic functionality that desktop applications for X11, Windows and macOS have relied on for decades—things like being able to position windows or warp the mouse cursor. This functionality was omitted by design, not oversight.

We do not investigate or support bug reports related to Wayland-specific issues.

For now, if you need to use KiCad on Linux, use X11.

Can totally understand their position. I've developed cross-platform applications and it was enough work without the extra headache they describe Wayland brings.

I've been thinking about ditching Windows as my primary OS for some years, but Wayland has been really detrimental to the Linux desktop. Over a decade later and it's still not production ready, at least in my tests. Yet X11 is dying it seems, with GNOME and KDE dropping support soon[1][2].

From where I stand, the intentional fragmentation of the ecosystem seems like an especially poor decision.

[1]: https://www.omgubuntu.co.uk/2025/05/gnome-dropping-x11-suppo...

[2]: https://linuxiac.com/kde-x11-support-to-continue-until-plasm...

Re:KiCad and Wayland Support by toast0 on Tuesday June 17, 2025 @12:05PM (#44300704)
> I've been thinking about ditching Windows as my primary OS for some years, but Wayland has been really detrimental to the Linux desktop. Over a decade later and it's still not production ready, at least in my tests. Yet X11 is dying it seems, with GNOME and KDE dropping support soon[1][2].

IMHO, Wayland will be dead before X11. There's too many things people want to do that Wayland designed out of their system. The future is likely a third system.

Probably something designed to service Win32 windowing APIs, because Win32 is basically the stable application toolkit, for better or worse.

Re:KiCad and Wayland Support by LorenDB on Tuesday June 17, 2025 @12:34PM (#44301001)
Not directly Wayland specific, but vaxry (Hyprland guy) is trying to get up a new standards body to replace Freedesktop.org. That could possibly accelerate the coming of a major shift around compositors.
Re:KiCad and Wayland Support by inftech on Tuesday June 17, 2025 @05:40PM (#44304252)
Can you provide the source, please?
Re:KiCad and Wayland Support by LorenDB on Tuesday June 17, 2025 @08:14PM (#44305391)
https://xcancel.com/vaxryy/status/1934931695498559631

Also see this thread where Vaxry lays out his gripes with Freedesktop.org: https://xcancel.com/vaxryy/status/1934721645115224431

Re:KiCad and Wayland Support by DrillShopper on Tuesday June 17, 2025 @11:05PM (#44306323)
> vaxry (Hyprland guy)

Too bad Hyprland's community sucks

Re:KiCad and Wayland Support by ChocolateGod on Wednesday June 18, 2025 @02:44AM (#44307240)
It's the only wayland display server to have a community.
Re:KiCad and Wayland Support by wpm on Wednesday June 18, 2025 @09:19AM (#44309653)
Then don’t hang out there?
Re:KiCad and Wayland Support by DrillShopper on Wednesday June 18, 2025 @09:21AM (#44309664)
I don't? That doesn't change the fact that it's awful.
Re:KiCad and Wayland Support by rowanG077 on Wednesday June 18, 2025 @09:51AM (#44309879)
Why does it suck? I run hyprland but I'm not really involves with the community. The times I did have contact they were helpful and super quick with solutions. Like literally the issue is fixed in a day.
Re:KiCad and Wayland Support by 0points on Wednesday June 18, 2025 @09:57AM (#44309944)
Mainly because vaxry is a toxic political crusader bashing on rust and other topics, which brings in other toxic political crusaders to his community.
Re:KiCad and Wayland Support by dsr_ on Tuesday June 17, 2025 @12:39PM (#44301047)
To draw a possibly inapt analogy: it was clear at a certain point that CVS, the king of versioning systems, was going to be replaced. It also seemed clear that any successful contender would seamlessly import from CVS, but not necessarily from any of the unsuccessful contenders, so it made sense to wait and let everyone else fight it out.

(And the winner appeared to be subversion, for a couple of years, and then git came along and won decisively -- with support for importing from subversion.)

I have been assuming that Wayland would pull itself together or else someone would build a competitor that does everything X11 can do, but also backwards and in heels and doing a creditable job at running X applications. Somehow neither of these has happened yet.

I am fond of the idea of arcan -- arcan-fe.com -- being that winner, but there doesn't seem to be much traction.

Re:KiCad and Wayland Support by ur-whale on Tuesday June 17, 2025 @09:58PM (#44305984)
Very apt analogy.

Wayland is indeed the subversion of window systems, can't wait for it to die and be replaced by a window system equivalent of git.

Re:KiCad and Wayland Support by ahartmetz on Friday June 20, 2025 @04:50AM (#44325774)
Wayland isn't bad or limited by design. It's just too little. If you just made all the necessary extensions for desktop use and made them mandatory (possibly in a single implementation like Xorg), you'd have a solution.
Re:KiCad and Wayland Support by ur-whale on Friday June 20, 2025 @01:58PM (#44330211)
> It's just too little.

The X11 ecosystem might be very rich, but it's been 17 years since the Wayland project inception.

Just saying.

Re:KiCad and Wayland Support by ahartmetz on Sunday June 22, 2025 @04:35AM (#44345118)
Sure it's a problem, but more of a social one. Wayland's creator was weirdly opposed (that was the net effect anyway) to adding features, and the freedestop.org setup is better, but not good.
Re:KiCad and Wayland Support by donkeybeer on Wednesday June 18, 2025 @02:38AM (#44307210)
>or else someone would build a competitor that does everything X11 can do, but also backwards and in heels and doing a creditable job at running X applications.

I fear the genetic code for such kind of work no longer exists in the DNA. Almost all new development work just doesn't have it in them at all.

Re:KiCad and Wayland Support by mqus on Wednesday June 18, 2025 @02:01PM (#44311995)
I counter with Pipewire. Supports all of the previous linux audio systems out of the box, and almost right from the start (and is drop-in replacable), has less bugs, less problems than their previous options. Runs stable as hell.

Sometimes I wonder how this even happened, like, it seems impossible.

Re:KiCad and Wayland Support by ahartmetz on Friday June 20, 2025 @04:46AM (#44325758)
It was done by someone who deeply understands the subject matter and it took a couple of years of full-time work before seeing wide use. But yeah, it's so good that you can basically put a checkmark on "Linux audio".
Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @02:57AM (#44307310)
> I have been assuming that Wayland would pull itself together or else someone would build a competitor that does everything X11 can do, but also backwards and in heels and doing a creditable job at running X applications. Somehow neither of these has happened yet.

Then what XWayland is?

Re:KiCad and Wayland Support by tannhaeuser on Tuesday June 17, 2025 @01:08PM (#44301339)
> Win32

My thoughts exactly given the progress wine/proton is making; pretty much the only success story for Linux on the mainstream "desktop" (handheld) for over ten years. Though I'm not sure about the underlying infrastructure of SteamOS (Arch-based) and/or Bazzite (fedora-based); could well be Wayland raising its ugly head there, and I just don't see a new generation of developers or sponsors willing to invest into it.

Re:KiCad and Wayland Support by pjmlp on Wednesday June 18, 2025 @02:54AM (#44307292)
Which will only work as Windows XP Win32 is good enough for whatever people are doing, Valve is willing to sponsor the work, and Microsoft doesn't decide to do something that changes that.

Like when then went down into netbooks, first blow was the cheap Windows XP licenses, followed by tablets wiping the remaining ones, as OEMs found a better deal selling tablets, keyboards and covers than keeping netbooks arounds, while pivoting such designs into the expensive ultra-light laptops segment.

Microsoft only needs to use their weight as one of the biggest publishers in the market, one of the top three console vendors, and biggest gaming OS on desktop systems and game tournaments.

Re:KiCad and Wayland Support by tannhaeuser on Wednesday June 18, 2025 @04:27AM (#44307836)
Yeah you've got a point. What's the lesser evil though when the alternative is overconfident over-motivated junior devs refactoring stuff for the sake of it while breaking apps, not realising their work should be to support the precious few FOSS desktop apps we have that won't come back with no new ones in sight either, leading us into know how monopolisation. That attitude is showing right here with Wayland apologists getting defensive as in nothing wrong with Wayland, it's just a new "platform" lol. Same thing with programming language fetishists which is just a means to an end. The problem is that the next generation of developers want to have their fun and educational experience reinventing stuff, too; and who wants to blame them when that's just what the previous gen did.
Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @05:32AM (#44308209)
This is just malicious, ignorant and plain falss towards the Wayland developers (which is by the way a very diverse group), whom are by all chance waay more experienced than you are.

Also, fails to take into account that X has plenty of objective design failures, which is to be expected given GPUs didn't exist at the time of its invention.

Re:KiCad and Wayland Support by pjmlp on Wednesday June 18, 2025 @07:31AM (#44308938)
GPUs did exist, maybe not what we know them today but exist did they.

Assuming that the entry https://en.wikipedia.org/wiki/X_Window_System is correct, the initial release was in 1984.

Amiga 500 Blitter, which is a baby step into GPU would become, is from 1987.

Texas Instruments TMS34010 was released in 1986, being the very first programmable graphics processor, going beyond DMA programable ones like the Amiga 500's Agnus.

https://en.wikipedia.org/wiki/TMS34010

While these jurassic GPUs could not be taken into account for X Window 1.0 design, by the time of X11R6 release, it was more than enough time to have had them into account.

EDIT: reformating

Re:KiCad and Wayland Support by snvzz on Thursday June 19, 2025 @09:34PM (#44324006)
Why highlight A500's blitter? the original 1985 Amiga 1000 had a near-identical blitter, just different package.

The first significant change was the ECS blitter much latter.

Re:KiCad and Wayland Support by pjmlp on Friday June 20, 2025 @03:24AM (#44325454)
Market share and awareness.
Re:KiCad and Wayland Support by zppln on Tuesday June 17, 2025 @01:14PM (#44301390)
> out of their system

I spent some time last year digging around in Wayland and I've got to admit that I was surprised to learn that there really isn't anything really there. Like, there is no "system". I had read that "it's a protocol" but I hadn't fully internalized it. I'm honestly a bit surprised anyone has adopted it. It almost feels like a scam. :) When I checked you couldn't even get your window decorated without an extension (that Gnome decided to not support so you have to bring your own decorator there?).

Re:KiCad and Wayland Support by IshKebab on Tuesday June 17, 2025 @01:38PM (#44301670)
Yeah I think the fundamental mistake they made was trying to standardise a display protocol without a display server.

They changed it so that everyone who previously just wrote a window manager now had to write an entire display server. The open source community just doesn't have that much manpower.

Re:KiCad and Wayland Support by jchw on Tuesday June 17, 2025 @08:24PM (#44305449)
> They changed it so that everyone who previously just wrote a window manager now had to write an entire display server.

Not entirely true. Now if you want to share the "display server" bits you can plug in a library like wlroots or Smithay. The real issue, if any, is that most of those bits are not standardized; or at least, only the libwayland part.

Of course, that's not even the entire story either. When X11 servers were basically entire operating systems that ran as root, implemented print servers and directly touched /dev/mem, only a lunatic would want to maintain multiple of them... but now on Linux and even some BSDs, you can fall back to GBM/DRM/KMS/libinput/etc. for most of your "hardware" needs, the OS is doing the OS things. Wayland is also just simpler than X11; The current day cleaned-up X.org is still around 5x larger by SLOC and much more complex than wlroots.

So how come GNOME and KDE both built their own display server? Well really, they didn't; they took their existing compositors they had for X11 anyway and grew Wayland server limbs out of them. In practice retrofitting Wayland into existing compositors is still hard, but if you already have written a compositor and window manager it's still probably easier than writing a new one from scratch. And for KWin, I believe they're also making use of Qt's Wayland compositor infrastructure, too.

Something that took me a long time to understand is that people are just unhappy no matter what. Not that all of their points are invalid, just, it's often not even really about that; the specific points are often just the obvious weak spots, like the classic "Wayland can't screen capture" meme (totally fair point, but persisted so long that some people still don't know it hasn't been an issue for years.) This right here is just another one of those. Notice that when many Linux distros unified towards a singular init system, systemd, people came out with pitchforks. Were they all spouting incorrect nonsense? Well, blah blah UNIX philosophy, but largely no, there were plenty of valid complaints about systemd and what it meant for the Linux ecosystem, but it wasn't really about that. Same with Wayland! Wayland did the exact opposite, and defined a set of protocols anyone could implement, allowing you to choose your compositor. Seeing as people hated what systemd did and wanted to preserve "choice" in the Linux world, you'd expect that people would like what Wayland did, but instead everyone is just pissed about fragmentation now.

You can pick apart that argument and try to figure out why it's wrong or and invalid comparison and I'm not going to try to fight anyone on that. You can also say that the argument is made by different people and maybe that's true too (though personally I believe "people who hated systemd" and "people who hate Wayland" forms more of a circle than a venn diagram.) Even if it is, the outcome is the same: you're damned if you do and damned if you don't. What I do know is that desktops on X11 stagnated with the same sorts of problems they always had and with Wayland a lot of that got unblocked. X11 will probably be in the same crappy state it's in today and Wayland will continue iterating and improving over time. I'm sure there will be a lot of pain along the way, and I agree it isn't always pretty, but it is what it is. Software isn't a beauty contest, and there's a good reason why "elegant" stuff rarely wins in the long run.

Re:KiCad and Wayland Support by magicalhippo on Wednesday June 18, 2025 @02:33AM (#44307184)
> Seeing as people hated what systemd did and wanted to preserve "choice" in the Linux world, you'd expect that people would like what Wayland did, but instead everyone is just pissed about fragmentation now.

As a mere Linux user, who's occasionally been annoyed at systemd and as mentioned have had poor experiences with Wayland implementations, I've been wondering about the alternate timeline where systemd and Wayland swapped approaches.

That is, systemd was just a set of protocols along with reference implementations, so people could say swap out journald to something that logged to text instead of a binary database etc.

And Wayland instead just did the whole kitchen sink, becoming the basis for the Linux desktop of the future, instead of fragmenting the existing ecosystem even more.

Probably a lot of good reasons why it wouldn't have been better, but it would be interesting to see what might have been.

Re:KiCad and Wayland Support by eliaspro on Wednesday June 18, 2025 @12:25PM (#44311235)
Well, with systems that's actually the case. It's suite of mostly loosely coupled tools and services and you totally can swap out or disable many of the components however you like. They mostly just use DBus and/or Varlink for IPC and use some common shared libraries to prevent code duplication across the whole project.
Re:KiCad and Wayland Support by mqus on Wednesday June 18, 2025 @01:57PM (#44311967)
well, no? Systemd actually also delivered all of the implementations of those protocols and barely no one cared to fit their previous solution to their standards? Rather, it was the opposite, systemd could also run your usual service shell scripts for a while.

Sure, there are similarities in the sense that you started out with 0 service files at the beginning and no GUI toolkit implemented the Wayland protocol from the start, but the thing itself is pretty different. Systemd wasn't designed by committee (and many people still have gripes about this). Wayland kinda is.

Re:KiCad and Wayland Support by saurik on Thursday June 19, 2025 @12:47PM (#44320325)
The "choice" people want is the ability to easily mix and match a patchwork quilt of software from different parties, each adding one tiny behavior. Wayland doesn't do that: it makes it so almost every behavior people want must be added to the compositor.

The magic is in finding what the right point in the abstraction is: what will be centralized and what will be decentralized. Both of your examples--systems and Wayland--made the same decision: the patchwork quilt of behaviors was complex for many users to get working, and even then often didn't work 100% always. It was also slow and a bit insecure (if you don't trust your software).

So, both systemd and Wayland took the same approach of pushing forward the boundary of abstraction and merging together most of the things people would have had to configure. This means that that one core component in the middle -- and sure: in Wayland you can have multiple implementations, and those can even share a library, but you can't MIX AND MATCH -- must do all of the things people want.

The reality is that no one wanted to maintain multiple X11 servers... but we also didn't want to! What we do want is to to be able to mix and match compositors and macro systems and window managers and all of the fun little behaviors that make a computer feel like it works for us, and now we can't, as we have to find and select a single giant ball of behaviors that happens to be close enough to what we wanted.

Theoretically, some day, someone could make a really advanced and capable display server for Wayland, one that will be extremely general and will have a number of protocols for how to extend its behavior. It will be the one display server to rule all display servers, and even ecosystems like Gnome and KDE could just interoperate with it, and we could get back the glorious ecosystem that people are killing...

...but that's effectively what X11 is, right now, and by the time you get that--with a ton of protocols that are old enough to be widely used--all of those behaviors will have aged and ossified and the code will be built by people who are gone in a language that isn't fun using conventions that are out of date, and some A-hole will point out that the stack is difficult to maintain and user's experience is variable and throw the entire thing out to start over :/.

Like, I dunno... I honestly do not understand how you are saying Wayland is doing the thing people wanted from systemd: the issue isn't that I wanted to be able to replace systemd, the issue is that I wanted systemd to not be a single giant C program because I really liked the patchwork of scripts and behaviors and alternative parts that were built up in the ecosystem.

And again: everything tends to end up with some central thing in the design somewhere... but you have to make that thing be so boring that no one has any interest in innovating on it, and X11 was that: while I do think we should have multiple implementations for robustness, we would expect every one of those implementations to work as close as possible to 100% identically.

Re:KiCad and Wayland Support by jchw on Thursday June 19, 2025 @06:44PM (#44323211)
Well really, what people actually want, by my estimation, is a machine that works and to not have to adjust their workflows. These are both very sensible things that everyone understands. The stuff about "UNIX philosophy" and composability is mostly BS. We're talking about Linux, the least UNIX-y UNIX-like imaginable. People getting mad that a single program does too many things is insane when the first thing your computer boots out of firmware is the Linux kernel. Same for many of the more ideological systemd complaints, some of which exacerbated by people not understanding that systemd is an umbrella project and not an init daemon (and you can in fact swap in and out many of the components like timesyncd, networkd, resolved etc.)

I think whether Wayland really was what people wanted out of systemd or not is mostly not that important. I'm arguing that people were mad because systemd took away their choices, you're arguing that Wayland wasn't the choices they wanted. I'm not sure what choices they wanted. I don't think most people who are mad about new things have fully-formed opinions about what they actually want in the first place. Either way, Wayland gives you nothing if not plenty of choices, and many of them much more complete than what you could get with random WMs on X.

Most importantly, though, I strongly disagree that X11 is the ideal protocol to build on. X11 is a mess that's hard to implement and if you omit anything you'll basically always break a non-trivial amount of software. XInput 1 is pretty broken but tough, Wine needs it. Have fun implementing Xv everywhere too, and XRender. Most modern apps just grab a GL or Vulkan context and ignore all of that, but if you want to meaningfully implement X11 those things need to be there. I could go on, but I'm sure you get the point.

Realistically, I'm sure we don't want to maintain multiple X servers. As it is, nobody wants to really maintain X.org to begin with... Well, there is one guy, but that doesn't appear to have gone so well so far.

What's funny is, when people actually want to have X11 support, what they do instead is implement Wayland and use XWayland instead. Seriously, look at how many things implement Wayland: ChromeOS for Linux apps, SteamOS for game compositing, Windows for wslG, termux-x11... Wayland and Weston are much easier to implement and adapt than X11 and X.org were.

When everything works well across all of the GPU vendors and the major applications have the remaining kinks ironed out, things will keep moving along and the sky will probably not fall. I honestly think that people were going to get cranky even if everything was done absolutely perfectly here, because succeeding X requires some people to do a bunch of work and adjust their workflows. Don't blame 'em, doesn't mean they're right.

Re:KiCad and Wayland Support by queenkjuul on Saturday June 21, 2025 @06:40AM (#44336384)
Systemd, unlike Wayland, does everything i need, hence I've never complained about it. That's the only reason i have an opinion on Wayland at all.
Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @03:00AM (#44307325)
A window manager is just an X11-ism. It's nothing more in that parlance than a Gnome plugin.

There are "Wayland display server toolkits" out there, so you can just build whatever you want without reimplementing a wheel. But an additional layer allowing for these plugins that X has is just added complexity that not every diplay server would want - e.g. a custom display server for a thermostat.

Re:KiCad and Wayland Support by arboles on Wednesday June 18, 2025 @09:15AM (#44309634)
Emphasis on the plural in "toolkits", X has one standard interface running on people's computers that window managers target. X environments end up having common behavior regardless of window manager, and for application developers having to target each Wayland display server with its own subset of protocols has to be less appealing. That is what that comment was getting at.

Application developers don't want to log your keyboard and aren't oblivious to security. The lack of a standard Wayland display server is a real grievance.

Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @04:53PM (#44313189)
Where is that common behavior, is that GNOME's one, KDE' one, or the million tiny window managers' ones?

Would you swear that no "application" developer would want to log my keyboard if we include the transitive dependencies of every single nodejs/python/etc package that I use for regular-ass development? Because we have seen how trustworthy supply-chains are. But sure, you can definitely drive a car without a seatbelt on, it's just not a good idea.

Re:KiCad and Wayland Support by michaelmrose on Wednesday June 18, 2025 @03:06PM (#44312482)
X and Wayland from the perspective of desktop Linux is for computers and what would be good for thermostats is irrelevant.

It makes more sense to have an entirely different thing for embedded

Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @04:53PM (#44313194)
What about a car entertainment system? A kiosk that is basically a full touch-based desktop, but only displaying a single app? Where is the line?
Re:KiCad and Wayland Support by panick21_ on Wednesday June 18, 2025 @08:29AM (#44309285)
This just false. There are libraries you can use to get most what you need and you can only change the things you care about related to window manager. And many systems have done that. Libraries are somehow a good way to share software, but not when it comes to display managers?

The claim about OpenSource manpower is also false. We have multiple high quality compositors and despite any issues, there is quite a large amount of homebrew and other compositors.

If you want something like X11, you can built on something like Mir.

Re:KiCad and Wayland Support by mqus on Wednesday June 18, 2025 @01:51PM (#44311922)
The point is: The libraries are not from the same people that build the standards, meaning: there is no "primary implementation" that everyone agreed on. ("agreed on" already is one of the problems, X11 was mostly just developed and everyone got "the thing" and had to use it, for better or worse. In Wayland, KDE, Gnome, wlroots, etcpp first have to agree on a common protocol to implement... and we see how that is going)
Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @05:01PM (#44313246)
Besides there being a large overlap between the "people that write the standards" and library authors, how is there no primary implementation and why does it matter? It's literally an XML document that can be used to generate C code for the server/client, that can communicate via a binary protocol.

This is just a faulty sentence. If you meant that there is no general consensus on which extensions are "core core" and which are completely optional, that might be a more reasonable criticism.

Re:KiCad and Wayland Support by 0points on Wednesday June 18, 2025 @09:53AM (#44309908)
> They changed it so that everyone who previously just wrote a window manager now had to write an entire display server.

Hence wlroots was born.

Re:KiCad and Wayland Support by teleforce on Tuesday June 17, 2025 @09:33PM (#44305831)
>Like, there is no "system". I had read that "it's a protocol" but I hadn't fully internalized it. I'm honestly a bit surprised anyone has adopted it. It almost feels like a scam.

I feel you. I was there before and after Wayland. I was there when they promised you toward the promise land of the year of Linux Desktop and allegedly X11 is the main hurdle.

X11 is a proper system and protocol, and it seems the Wayland folks just ignore this. The two main reasons were given by them at the time were X11 has archaic architecture (reverse client and server concept) and, the X11 code is ancient and a mess. I'm kind of sold on their first idea of Linux need a clean windowing system so we can have something nice like RDP in Windows. But their second points on the codes debt is rather off. It did occur to me at the time it will be much easier to come up with a clean room implementation of X11 system and protocol rather than come up with entire new windowing system, than hope entire people and industries will use them. After all Linux basically is a clean room implementation of Unix.

I think the main problem is that at the time there's no authoritative figure like Linus on the non-kernel Linux part or what I called Linux user environment. At the time there was Miguel de Icaza of Gnome fame but at the time he seems too much involved with another promise land of Windows .Net and Linux people cannot come to term with the idea of we should just use Win32 as other comments have suggested here. It's proven later that .Net is an eventual failure as expected and Miguel reputation suffered because of that. Strangely to be honest I have never read Linus comment on Wayland but why would he? He's laser focus on the kernel and he's happy to admit using Fedora in the middle of the Red Hat Fedora bruhaha.

Re:KiCad and Wayland Support by ChocolateGod on Wednesday June 18, 2025 @02:41AM (#44307220)
> X11 is a proper system and protocol

It's really not, it's designed for drawing on remote terminals over a network (it even has a print server), not hardware accelerated devices. Things like HDR, multiple refresh rates, mixed DPI, passive compositing, hardware planes are just harder to do.

There was a reason Android didn't use Xorg and instead used SurfaceFlinger (which shares more design with Wayland than Xorg).

Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @03:05AM (#44307351)
What I don't understand is why do "GNU Linux" have such an adverse reaction to anything Android? Like why wasn't SurfaceFlinger got adapted for both?
Re:KiCad and Wayland Support by ChocolateGod on Wednesday June 18, 2025 @05:25AM (#44308164)
> Like why wasn't SurfaceFlinger got adapted for both

IIRC SurfaceFlinger is tightly tied to Binder which is an Android only kernel IPC, didn't work with the standard Mesa stack and wasn't designed for multiple windows with multiple displays.

Wouldn't be surprised though if eventually Android swaps to Wayland as Google wants to merge it with ChromeOS. Since talking to the compositor is abstracted away to the platform APIs, I don't see it as big of a hurdle as X11 to Wayland was.

Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @07:20AM (#44308866)
Fair enough.

Though I would be happy if merging of work would happen in either direction.

Re:KiCad and Wayland Support by ahartmetz on Friday June 20, 2025 @04:41AM (#44325740)
It doesn't seem like Android devices have much to offer to fill desktop computing functionality gaps in Wayland.
Re:KiCad and Wayland Support by ChocolateGod on Friday June 20, 2025 @10:01AM (#44327825)
Adopting SurfaceFlinger on the desktop would certainly be a step backwards, OEMs effectively fork it each time and change it for functionality on their devices.

Google sometimes tries to add these features (e.g. split screen, multiple windows etc) into the base code but can take time for OEMs to adopt them on their skins.

Re:KiCad and Wayland Support by m-p-3 on Thursday June 19, 2025 @09:10AM (#44318387)
I'm curious to see what Google did for their Desktop Mode / DeX-like implementation in Android 16.
Re:KiCad and Wayland Support by teleforce on Thursday June 19, 2025 @08:30AM (#44318028)
>Things like HDR, multiple refresh rates, mixed DPI, passive compositing, hardware planes are just harder to do.

Are you sure it's easier to do with Wayland, all this while the Linux HDR is not working well [1],[2].

I've got the feeling that every features claimed to be easier with Wayland are all bogus and the same thing can be achieved with the same amount of effort and time on X. Wayland now really feel like the Emperor's New Cloth.

[1] Ubuntu 25.04 & Fedora 42 Hit A Long Sought Milestone With HDR Support Working Well On The Linux Desktop:

https://www.phoronix.com/review/linux-hdr-2025

[2] Wayland Color Management & HDR Protocol Support Merged:

https://www.phoronix.com/news/Wayland-CM-HDR-Merged

Re:KiCad and Wayland Support by phendrenad2 on Saturday June 21, 2025 @08:51AM (#44337185)
> it's designed for drawing on remote terminals over a network

Yes, but.

On a local machine the "network" is just system calls, and the kernel just hands the data from one process to the other. The overhead is minimal. HDR, multiple refresh rates, mixed DPI, these can all be implemented on the existing protocol. X11 actually closely resembles win32 (it was inspired by the same source after all - Xerox Parc GUI research), which has support for all of these things (it may not be pretty but are Adobe or the legion of game devs complaining? Of course not, it's write once and done.)

Re:KiCad and Wayland Support by const_cast on Tuesday June 17, 2025 @06:06PM (#44304477)
I disagree, features are added to Wayland constantly and we're getting more and more highly supported protocols by the day. We can already do 95% of what you can do on X on major implementations - screen sharing, global hotkeys, file pickers, etc.

Yes, these things were designed out of Wayland, but that doesn't mean they shouldn't exist. It means the developers decided we probably shouldn't shove them into the display server. So we just put them somewhere else, and that seems to be working fine. The situation can only improve, truly.

Re:KiCad and Wayland Support by hakfoo on Tuesday June 17, 2025 @10:34PM (#44306164)
The whole "95% support on major implementations" thing is still a hurdle. Wayland ends up railroading users into GNOME and KDE, with virtually everything else being in some way second-class.

In X11, I can still use all the same core features whether I run a full KDE desktop, Window Maker and a few dockapps, or a stack of xterms that I manually position with --geometry.

It does astonish me how Wayland missed obvious killer angles when they decided to reinvent X11. People would have been excited by "Here's a rich native toolkit so all the new software will look and work and theme consistently"-- a well-known and directly user-facing friction point, so how did they miss that?

Re:KiCad and Wayland Support by const_cast on Wednesday June 18, 2025 @01:31AM (#44306909)
GNOME and KDE are the most complete implementations, yes, but that's just a function of developer time. Keep in mind that's better than what we had with X - which had 1 implementation, that couldn't be touched with a ten foot pole because of how fragile said implementation was.

> "Here's a rich native toolkit so all the new software will look and work and theme consistently"-- a well-known and directly user-facing friction point, so how did they miss that?

The problem is that application toolkits are a step above window managers and compositors. That's really an application developers choice, not a desktop's choice. Developers want to use Electron, and there's nothing we can do about that.

We can get consistently themed apps... if everyone hops on Qt. Which they won't because C++ is evil. People want to shove HTML and CSS into their music player and theme it like they do a website, so here we are.

This isn't a solved problem on any platform, even really really locked down ones like iOS. Half my iOS apps are web views which don't follow the look and feel of iOS and have inconsistent behavior as compared to the system. And iOS is the best about this honestly - it's, like, way worse on Windows which has half a dozen competing toolkits from Microsoft alone.

Re:KiCad and Wayland Support by bmacho on Wednesday June 18, 2025 @04:16AM (#44307761)
[delayed]
Re:KiCad and Wayland Support by const_cast on Wednesday June 18, 2025 @06:47PM (#44313941)
The landscape was quite different in 2014. I know, I was there, and Linux desktops have been getting less themable since because application technologies are going off the rails.

KDE today is still fairly themable if you stick to Qt apps and GTK 3 apps. But if you use a dozen frameworks then yeah, that's not themable anymore. Which really sucks but it is what it is. And, honestly, it's not that bad. It's much, much worse on some other platforms.

Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @05:41AM (#44308246)
> It does astonish me how Wayland missed obvious killer angles when they decided to reinvent X11. [..] rich native toolkit

What does a toolkit have to do with a display server?! Especially in this age and year when pretty much no one writes native UIs anymore? Like, android, which is by far the most popular OS by user count has a huge proportion of web apps - apps are fundamentally driven by network effects, so the tiny user count a new Linux contender could muster up would be a rounding error.

Re:KiCad and Wayland Support by hakfoo on Wednesday June 18, 2025 @11:13PM (#44315125)
If you asked people "what are your pain points with the current Unix GUI ecosystem?", in the early 2000s when this was being first discussed, this would have been a popular answer.

This was decades before the "let's make everything a stupid webpage in an Electron box" movement, but you were likely running some GTK and Qt apps and probably even some Motif or Xaw stragglers, on a single desktop most days.

Yes, they could have said "out of scope" and moved on. TBH, I wonder if that's part of how we ended up where we are. There probably needed to be clear documentation at the right moments of "this is what we don't include, this is why, and this is how we recommend you do it outside the system."

Re:KiCad and Wayland Support by gf000 on Wednesday June 18, 2025 @02:56AM (#44307304)
There is nothing Wayland "designed out" of their system. It's a fully extendible design which has a very minimal core, instead of bundling a printer and whatnot into the display server.

This makes it feasible for car entertainment systems that only want to display bitmaps, but is easily extended to any future use case. There are a bunch of actually standard extensions now, implemented across all desktop Wayland servers, so many of these criticisms are moot.

Re:KiCad and Wayland Support by rcxdude on Wednesday June 18, 2025 @04:14AM (#44307748)
The main issue is GNOME, really. They are keen to pare down the functionality offered to users and app developers, and so will block standardization of extensions that try to bring wayland up to feature parity, and even if they do get standardised, they will refuse to implement it. Which basically means many developers and users don't want to play ball with wayland at all, and the network effects are fairly strong.
Re:KiCad and Wayland Support by jenadine on Wednesday June 18, 2025 @03:19AM (#44307412)
Maybe Wayland is extensible, but if the main desktop compositor (i.e. Gnome) don't implement these, it is as much as useless. And it seems that Gnome very much "designed out" some features such as window positioning, window icon, and so on.

(We're talking about user's desktop, not custom car entertainment compositor)

Re:KiCad and Wayland Support by lotharcable on Wednesday June 18, 2025 @07:36AM (#44308960)
Wayland devs and Xorg X11 devs are by and large the same group of people. So nothing you said really makes a lot of sense.

There are lots of display technologies out there for Linux besides X11 and Wayland.

There was Mir from Canoncial, which is now dead. The project moved to using Wayland.

There was Freon from Google's ChromeOS that was announced in 2015 to replace X11 for ChromeOS, but it is dead. They are moving to using Wayland.

There was DirectFB, which has been supplanted by DirectFB2. They have been plugging away doing their own thing since time immemorial. Directfb2 even has Vulkan support now. Good luck getting KiCAD working on that.

And there is Surfaceflinger from Android. Which is actively developed and widely used.

None of these things would allow to do what people are complaining about what they are not allowed to do in Wayland .

> There's too many things people want to do that Wayland designed out of their system.

eye rolls

Re:KiCad and Wayland Support by happymellon on Wednesday June 18, 2025 @08:47AM (#44309424)
Its similar to the CVS analogy given below, however I would liken it to Pulse Audio. We know we have needed to "fix" the audio subsystems for a while, and Pulse fixed a lot of problems but by the time it came along what were problems had moved on. Pulse ended up with other issues, and not actually doing everything we actually needed so it was eventually replaced with Pipewire.

I'm not sure if Systemd falls enough into the same pattern, but I'm sure something better will emerge in the next few years.

Re:KiCad and Wayland Support by s1gsegv on Thursday June 19, 2025 @10:21AM (#44318938)
The more I dig into systemd the more I like how it works. Are there still problems popping up with systemd? Anecdotally, I had a couple user-facing problems that were caused by PulseAudio but never systemd actually being broken.
Re:KiCad and Wayland Support by happymellon on Friday June 20, 2025 @02:50AM (#44325309)
No I've never had any issues with it. It is so much faster and better for me and my usecases that I don't grasp any of the arguments.

But I also never had any issues with Pulse so I don't ever want to discount other peoples experiences.

Re:KiCad and Wayland Support by ahartmetz on Friday June 20, 2025 @04:56AM (#44325801)
Systemd seems fine as an init system at this point, most of its gratuitous replacements for other system services are still garbage.
Re:KiCad and Wayland Support by michaelmrose on Wednesday June 18, 2025 @03:03PM (#44312462)
It won't be win32 because it just isn't on Linux and there is no reason for it to be.

Wheres game compatibility is great with proton in between apps are not with installation sucking, mostly replicating better native apps, and updated versions which are common and continuous in apps as it isn't in games usually leading to breakage.

Re:KiCad and Wayland Support by phendrenad2 on Saturday June 21, 2025 @08:47AM (#44337166)
> The future is likely a third system

I don't know about that. I've always been skeptical of the "X11 can't be fixed" claims, nobody has ever been able to explain that one technically, it's always "I read it somewhere" or "Trust me bro the code is bad (and I read that somewhere)". With XLibre, maybe there's life left in X11.

Re:KiCad and Wayland Support by superkuh on Tuesday June 17, 2025 @12:38PM (#44301035)
It's a poor decision. Unless you're IBM/Red Hat/GNOME. Then it's clearly the correct decision for increasing profit. Since GNOME desktop (and mutter) is the only wayland desktop of the dozen incompatible implementations that supports accessibility (they invented two new protocols for it; disregarding existing solutions) it's basically a take-over of the entire linux desktop business space. No other wayland DE is ADA compliant and the Gtk treadmill will make X11 and it's very solid accesibility less likely to work with any application. Sort of a combination gish gallop and CADT so that they're the only linux desktop left that fits business use cases.
Re:KiCad and Wayland Support by senkora on Tuesday June 17, 2025 @01:49PM (#44301801)
I had to look up some terms, so for anyone else:

Gish gallop = “a rhetorical technique in which a person in a debate attempts to overwhelm an opponent by presenting an excessive number of arguments, without regard for their accuracy or strength, with a rapidity that makes it impossible for the opponent to address them in the time available.”, coined about a particular creationist’s debate strategy.

https://en.m.wikipedia.org/wiki/Gish_gallop

CADT = “Cascade of Attention-Deficit Teenagers”, describing a situation where software is re-written so often that filing bugs against it is useless, coined by jwz here about GNOME’s development approach: https://www.jwz.org/doc/cadt.html

Re:KiCad and Wayland Support by jhoechtl on Tuesday June 17, 2025 @12:44PM (#44301092)
We have to investigate if Windows and or Apple had their fingers init.

At hindsight it seems such a stupid decision to fragment a small comminity by designing such a small protocol instead of revamping the existing X protocol to sane security stamdards

Re:KiCad and Wayland Support by justinrubek on Tuesday June 17, 2025 @01:02PM (#44301271)
People were and are free to do so. They've chosen not to, though, so far.
Re:KiCad and Wayland Support by ezst on Tuesday June 17, 2025 @07:54PM (#44305261)
X11 was an unmaintainable pile of legacy mess, Wayland was its exhausted developers starting from a blank slate with tons of lessons learned the hard way. It's not a cabal or a conspiracy, just a sensible evolution.
Re:KiCad and Wayland Support by immibis on Thursday June 19, 2025 @05:54AM (#44317042)
The insane part is their explicit rejection of a bunch of things people actually want - like window coordinates and icons.

Xorg has security module hooks btw

Re:KiCad and Wayland Support by ezst on Thursday June 19, 2025 @02:25PM (#44321201)
I don't have a horse in this race, but I also can't blame the Wayland designers for not rushing to implement something like that. Encouraging application developers to manipulate windows themselves essentially means turning them into window-manager developers, but with a hand tied in their back and probably little interest in doing it thoroughly. I think the practical results speak for themselves: I cannot count a single application that does it extensively and that isn't broken in the typical multi-monitor cases you find in the wild.
Re:KiCad and Wayland Support by immibis on Thursday June 19, 2025 @03:31PM (#44321763)
Well, in Wayland, the same apps just don't work at all. The developer basically has to rewrite them and turn them into different apps to make them work in Wayland. Is that good or bad? Maybe if you hate a certain type of app it's good, but this is the open source world and if something doesn't hurt anyone then you should probably be allowed to do it. It's not the display server's job to rule by fiat. It might be the window manager's job, but only if the application-provided coordinates don't work, or you're using something strict like a tiling WM.
Re:KiCad and Wayland Support by ezst on Friday June 20, 2025 @06:52AM (#44326517)
> The developer basically has to rewrite them and turn them into different apps to make them work in Wayland. Is that good or bad? Maybe if you hate a certain type of app it's good

Just to make the record straight, it's not about "hating" anybody or anything. And I really don't see the need to appeal to emotions here. It is about acknowledging that this way of doing things might, in retrospect, have been a bad idea all along and represents a technical dead-end. Departing from it, given the chance, is for the benefit of all in the long run (tech doesn't like carrying old bags around forever, and I suspect that your laptop don't hold a CD-ROM drive for similar reasons).

> if something doesn't hurt anyone then you should probably be allowed to do it

It would cost the Wayland compositors developers extra effort to maintain this capability for decades to come, it's not free. Moreover, those apps would still be broken by design (not in a position to do as good a job at positioning their windows as the compositors would do), so the compositors developers would, as a second order of annoyance, probably see their issue trackers filling-up with user complaints that are outside of their scope/power to address.

> this is the open source world

And the great news here is that those entrenched apps who refuse to adopt more modern UX paradigms (for the detriment of their old and new users alike, if I might say) will still be able to run through XWayland virtually forever.

Re:KiCad and Wayland Support by ahartmetz on Friday June 20, 2025 @04:59AM (#44325818)
It's a pattern that I have seen a few times before, "I know! We will do the exact opposite of the problems with the previous project!" - but that's not ideal neither.
Re:KiCad and Wayland Support by MegaDeKay on Tuesday June 17, 2025 @12:55PM (#44301192)
Wayland messes up Visual Pinball as well [0]. VP depends on being able to place the main playfield window, the backglass window, and the Dot Matrix Display window in specific locations on specific monitors mounted in the cabinet.

[0] https://github.com/vpinball/vpinball

Re:KiCad and Wayland Support by 0points on Wednesday June 18, 2025 @10:03AM (#44310000)
I'd place those windows exactly where I want with a sway config in about 2 minutes effort.

Not a wayland issue.

Re:KiCad and Wayland Support by delfinom on Wednesday June 18, 2025 @12:19PM (#44311179)
The fact you have to edit a config file means it's missing the boat by mile. A user should not have to learn config file formats in a graphical GUI interface.
Re:KiCad and Wayland Support by 0points on Thursday June 19, 2025 @02:16AM (#44315939)
> The fact you have to edit a config file means it's missing the boat by mile.

No. That's how i3 and sway works, on purpose, by design.

I use sway, hence I claim to know how to do it in less than 2 minutes.

i3 precedes wayland, so again, not a wayland issue.

> A user should not have to learn config file formats in a graphical GUI interface.

If <app> requires user to <insert skill>, then user will need to <insert skill> in order to use <app>.

Well said, anon!

Re:KiCad and Wayland Support by MegaDeKay on Thursday June 19, 2025 @02:23PM (#44321184)
<app> should not require user to <insert skill>. <app> should be permitted to do reasonable things without requiring user to come up with workarounds for missing functionality.
Re:KiCad and Wayland Support by 0points on Saturday June 21, 2025 @04:28AM (#44335747)
If that's your pet peeve, consider using another <app> with said guard rails and fluff.

Meanwhile, maybe stfu with your opinions about my work flow.

Re:KiCad and Wayland Support by queenkjuul on Saturday June 21, 2025 @08:04AM (#44336903)
With X11, neither the application nor the user requires a window manager to place the window at all. The application can just put itself where it wants, even with no running window manager. That's the point.
Re:KiCad and Wayland Support by jeroenhd on Tuesday June 17, 2025 @01:25PM (#44301505)
I've been using Wayland for years and most applications will just work, either under XWayland or natively. The only problematic ones are the ones with incomplete Wayland implementations and the ones relying on the complete lack of security design on systems like X11 of Win32. The biggest blocker for me has always been Nvidia, and that problem was solved years ago. Meanwhile, whenever I drop back to X11, I'm reminded that things like multi-touch gestures are plainly broken on X11 mode in ever DE I've tried.

To be honest, I've never seen a Linux desktop that most people would call "production ready". Even in the best days, X11 and Wayland have glitches, hardware issues, and stability problems that no other platform seems to suffer from. It took until Pipewire for audio to actually work well out of the box.

As for X11, KDE and probably others will run X11 for years to come, mostly because companies like Canonical and Red Hat ship LTS versions. Whether applications will keep supporting old configurations is another question (what software still runs on Ubuntu 16.04? I wouldn't know and I bet neither do most third party vendors), but the protocol itself isn't dying any time soon. It's not allowed to by corporate contracts.

What is dying, is corporate investment into X.org and X11 targets for some desktop environments. Developers and companies that favor X11 can come together and fork those projects, or join the dev team, to ensure their desktops work like they used to. Just because IBM doesn't want to pay developers to maintain such configurations doesn't mean they suddenly stop working, just that someone else will need to apply bugfixes from then on out. The only serious attempt I've seen from people who want to keep X11 alive was that fork from that antivax anti-DEI weirdo.

Re:KiCad and Wayland Support by ciupicri on Tuesday June 17, 2025 @02:31PM (#44302268)
> xorg-x11-server is removed from RHEL 10

> The X.Org server, an implementation of the X Window System, was previously deprecated and is removed from RHEL 10. Note that the X11 protocol is not removed, which means that most applications will remain compatible through the Xwayland compositor. For more information, see Red Hat Enterprise Linux 10 plans for Wayland and Xorg server (Red Hat Blog).

(https://docs.redhat.com/en/documentation/red_hat_enterprise_...)

Re:KiCad and Wayland Support by mid-kid on Wednesday June 18, 2025 @12:39AM (#44306722)
> things like multi-touch gestures are plainly broken on X11 mode in ever DE I've tried

The main reason for this is that neither major DE has implemented multi touch gestures on X11. Not that they can't be.

There's several tools you can use for things like touchpad gestures on X11 and they work well, but aren't as nice as native integration into a DE.

Re:KiCad and Wayland Support by mardifoufs on Wednesday June 18, 2025 @06:05PM (#44313675)
How is Wayland more secure than modern win32? Not saying it isn't, but win32 is at least a lot safer than x11 imo.
Re:KiCad and Wayland Support by msgodel on Tuesday June 17, 2025 @10:09PM (#44306049)
Just install mate or similar and ignore the drama.
Re:KiCad and Wayland Support by pjmlp on Wednesday June 18, 2025 @02:48AM (#44307262)
This kind of stuff is why I evolved from an FOSS zealot that back in the early Linux adoptions days would have email signatures with M$ stuff on it, most likely still in some Usenet archives, back to Windows land as main desktop on Windows 7.

UNIX was designed as CLI OS, the only companies that did great things in terms of desktop experience were Sun, SGI, and NeXT, so that leaves macOS when I feel like using a UNIX workstation, instead of running a GNU/Linux VM.

Even X11 was the outcome of UNIX wars, were X itself was made open, but CDE systems not, Keith Packard has a few talks on the matter, as he was there as it happened.

Re:KiCad and Wayland Support by dadoum on Wednesday June 18, 2025 @04:38AM (#44307901)
> I've developed cross-platform applications and it was enough work without the extra headache they describe Wayland brings.

Have you tried wayland-client? When I made my custom application framework, since I had no previous experience I decided to start with wayland-client library, and then figure out what to use for X11.

My experience with it is that it is painfully sensible. Things fail when misused, which happens a lot (probably also because only few people actually wrote code with it so I was on my own to understand how to do stuff), but at the end they were fixable, and the only gripes I had were the protocols that GNOME didn't implement at the time. But I guess, if they are not implementing it right now, it means that they think it's okay if it does not work. (and actually I could also defend a lot of missing things in Wayland protocols, like the fact you can't position windows yourself)

On the other side, X11 just looks like a mess. When you start it feels like you have 2 options, XCB and Xlib. Old posts say that XCB is the modern one, but nobody uses XCB so in fact you may encounter bugs. Error handling is really poor, most of the errors are small messages written in stdout. You ask for things called "Atoms", and you send them/attach them to the X window. No feedback on whether it works or not, they mostly have weird names with prefixes like _NET_WM or _MOTIF. If you want to make an OpenGL window, for a long time it was not possible if you used XCB because GLX requires you to give Xlib handles, then came EGL-XCB which was supported by almost no driver because for some reason it seems that you need driver support for each X library you may want to use. When you start you're reminded of a slew of somewhat niche concepts today, like Visuals, Seat, Back pixel, Front pixel, which you are probably not expected to use today (in detail, I know, visuals may be useful in some small use cases, I don't know why the app is in charge of selecting the seat though, and pixel stuff is probably a dead thing). At the end the only thing that makes X11 bearable in my opinion is the fact that people wrote a lot of code with it so you can search on the Internet for the most part and find a snippet of code that should work for your use case.

Re:KiCad and Wayland Support by immibis on Thursday June 19, 2025 @11:20AM (#44319510)
To get past this, you have to learn that X11 is a protocol, not a library, and learn the protocol and then use the library to send protocol messages, instead of learning the library, which is how it's unfortunately taught and also how Xlib was unfortunately conceived of being used. Xlib was designed so you'd use it similarly to say Win32; that idea was a colossal failure. xcb is more closely aligned with the idea that it just helps you format network packets.
Re:KiCad and Wayland Support by bjoli on Wednesday June 18, 2025 @06:04AM (#44308379)
I am holding on to xorg until i can shade Windows and use something with half the power of xinput to configure my trackball. Oh, and I also want to be able to have many different keyboard layouts for sddm. Most themes fail to display a layout selection menu that isn't blank for me.

Otherwise I don't really mind wayland.