Bonum Certa Men Certa

NetBSD: Wayland Has Moved Away From the Modularity, Portability, and Standardization of the X Server

posted by Roy Schestowitz on Dec 15, 2023

Wayland laptop

Recent: OpenBSD Founder Theo de Raadt Says Wayland is an Attack Software Choice and a Push Towards "Vertical Software Monocultures" | OpenBSD Says That Even on Linux, Wayland Still Has a Number of Rough Edges (But IBM Wants to Make X Extinct)

What NetBSD says about Wayland:

In a Wayland system, the "compositor" (display server) is responsible for managing displays, input, and window management. Generally, this means a lot of OS-specific code is contained there.

Wayland does not define protocols for features X11 users expect, like screenshots, screen locking, or window management. Either you implement these inside the compositor (lots of work that has to be redone), or you define your own protocol extension.

The Wayland "reference implementation" is a small set of libraries that can be used to build a compositor or a client application. These libraries currently have hard dependencies on Linux kernel APIs like epoll. In pkgsrc we've patched the libraries to add kqueue(2) support, but the patches haven't been accepted upstream. Wayland is written with the assumption of Linux to the extent that every client application tends to #include <linux/input.h> because Wayland's designers didn't see the need to define a OS-neutral way to get mouse button IDs.

So far, all Wayland compositors but swc have a hard dependency on libinput, which only supports Linux's input API (also cloned in FreeBSD). In NetBSD we have an entirely different input API - wscons(4). wscons is actually fairly simple to write code for, someone just needs to go out there and do it. You can use my code in swc as a reference. :)

In general, Wayland is moving away from the modularity, portability, and standardization of the X server.

Other Recent Techrights' Posts

[Video] LinuxFest Northwest is Letting GAFAM Take Over (and Why It's Hard to Resist)
Microsoft and LinuxFest Northwest
 
[Video] 'Late Stage Capitalism': Microsoft as an Elaborate Ponzi Scheme (Faking 'Demand' While Portraying the Fraud as an Act of Generosity and Demanding Bailouts)
Being able to express or explain the facts isn't easy because of the buzzwords
Richard Stallman Talk 'Delayed'
"Repousé à une date ultérieur. Du au congé, il n'était pas possible de l'organiser bien dans le temps disponible."
Links 15/05/2024: Toll on Climate Change, Physical Assaults on Politicians
Links for the day
[Meme] Free Society Requires Free Press
The Assange decision is now less than a week away (after several delays and demand for shallow 'assurances')
CyberShow Goes "Live"
The CyberShow has a similar worldview (on technology and ethics) to ours
Latest Status of Site Archives (Static Pages)
article listings are reaching a near-final form
IRC Proceedings: Tuesday, May 14, 2024
IRC logs for Tuesday, May 14, 2024
Over at Tux Machines...
GNU/Linux news for the past day
Today's Talk by Richard Stallman Going Ahead as Planned
That talk will be in French
At This Pace (and Rate) It Won't Take Long for Android to Unseat Windows in Russia
Operating System Market Share Russian Federation
[Video] The High Cost of High-Level Tools and High-Level Programming Languages
Windows and Microsoft-style teaching remain a barrier to simple programming
Linux and Linux Foundation Leftovers
Some more Linux news
Africa is Still Android
Operating System Market Share Africa: May 2024
Windows Falls to 10% in Uganda, It Was 94% in 2010
Microsoft fell from market dominance to (soon) single digit (percent-wise).
Grouping Our Archives by Week
No more 'numbers lottery', the clustering is based on dates
Links 14/05/2024: Bounties on Terrible Patents, China Censors Dissidents Internationally via Attack Dogs
Links for the day
Gemini Links 14/05/2024: Server Failure Swallows rawtext.club
Links for the day
Links 14/05/2024: SoftBank and ARM Chasing Hype, "Why Are You Working?"
Links for the day
Links 14/05/2024: Microsoft Edelman Works for Climate Change Deniers, NATO Draws a Cyber Red Line in Tensions With Russia
Links for the day
Feasibility of Self-Hosting is About More Than Speeds
Speed helps, but the Internet (Net) is a global, interconnected system that no single person or company or government fully controls
EPO: Language of Conflict
A letter about this has already been sent
IRC Proceedings: Monday, May 13, 2024
IRC logs for Monday, May 13, 2024
Over at Tux Machines...
GNU/Linux news for the past day
Watching Our Videos Before We Write Articles for Them
It has long been possible
Microsoft is Measured at Lower Than Apple in Niger (Of Course Android Dominates)
Niger's OS share (as measured by Web sites) is subjected to significant fluctuations because it's not highly connected
Refuting the Ludicrous, Laughable Idea I Don't (or Cannot) Code
I've written code for 30 years
[Meme] "Talk is Cheap. Show Me the Code." - Linus Torvalds
be like Chad
Windows in Chad: Going Extinct
From 100% to 1%?
Doing the Site From Home (What I Always Wanted to Do)
Even some of the hosting was done from home (since 2020)
[Video] Systemd Helps Microsoft Break Apart Linux and Hijack the Vocabulary
Systemd and Halloween Documents
Links 13/05/2024: Melinda French Gates Quits Gates Foundation After Leaving Husband Over Strong Jeffrey Epstein Ties
Links for the day
Slashdot Parrots Microsoft/Red Hat PR, Sponsored by Microsoft/Red Hat
The editorial work by "EditorDavid" leaves much to be desired
Links 13/05/2024: Clown Computing Failing Again, Navalny Posthumously Awarded Prize
Links for the day
FSF-EEE (FSFE) and Microsoft, or How Microsoft Keeps Paying the Fake 'FSF Europe'
The FSF-EEE is not even authorised to use the name FSFE
[Meme] Unconstitutional Proceedings in Foreign Languages for the Benefit of Corporations Outside Europe
Why does the UPC even exist?
Android Rises to 59% Market Share in Hungary, Windows Falls to All-Time Low
GNU/Linux in Hungary Reaches 3.5%
Approaching Our 3,000th Post (After Moving to a Static Site Generator Back in September)
the main purpose is to enable people to catch up
[Video] The Microsoft Crisis Isn't Over (More Mass Layoffs Planned)
We saw many attempts at suppressing information lately
Don’t Use Disney Minus. (Disney “Plus”)
Reprinted with permission from Ryan Farmer
Links 13/05/2024: Wikimedia Rides Hype Wave, XBox Expected to Go Through More Layoffs This Summer (July)
Links for the day
Gemini Links 13/05/2024: Kingdom of the Dead and Narrative Adventure Game Gem
Links for the day
When Lunatics Attack Your Family (Especially Women)
The attacks on my wife and my mom are rather revealing. These are acts of extreme misogyny.
Visually Enhanced Interviews With ESR and RMS on Free Software (With French)
Nom de code - Linux
IRC Proceedings: Sunday, May 12, 2024
IRC logs for Sunday, May 12, 2024
Over at Tux Machines...
GNU/Linux news for the past day
GNU/Linux Rises to Record High in Macao
iOS and Android are very big there
Debian: Let's Pretend We Never Knew Daniel Pocock
Ad hominem is what happens when the message is hard to dispute