News for hackers. Stuff that matters.
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.)