this post was submitted on 15 May 2024
172 points (98.9% liked)

Linux

52827 readers
473 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] LeFantome@programming.dev 31 points 10 months ago

I cannot wait until this lands in most distros. So much of the Wayland noise will go away.

[–] exocortex@discuss.tchncs.de 19 points 10 months ago (2 children)

what does "rootfull" mean?

[–] tuna@discuss.tchncs.de 22 points 10 months ago (2 children)

XWayland normally runs x11 apps seamlessly (more or less) in Wayland

XWayland rootful spawns a window which is like a virtual monitor running a full x11 session inside it. You spawn apps inside of the window using the DISPLAY variable

[–] atzanteol@sh.itjust.works 23 points 10 months ago (4 children)

Still, the Xwayland window is missing a title bar that would allow for moving the window around.

This is because Wayland does not decorate its surfaces, this is left to the Wayland client themselves to add window decorations (also known as client side decorations, or CSD for short).

This however would add a lot of complexity to Xwayland (which is primarily an Xserver, not a full fledged Wayland application). Thankfully, there is libdecor which can fence Xwayland from that complexity and provide window decorations for us.

This seems... ridiculous. Windows and MacOS developers don't worry about creating decorations. And they don't worry about that "adding a lot of complexity". Even with X11 you get decorations from the WM without any work. I know I don't understand the glory that is the Wayland architecture and that a bunch of folks will now angrily tell me all the numerous ways in which I'm not only wrong but but also stupid but.. It just seems weird is all.

[–] Confetti_Camouflage@pawb.social 31 points 10 months ago

iirc mandatory Client Side Decorations is only a Gnome on Wayland thing and everyone else has support for both Client and Server Side Decorations.

[–] turbowafflz@lemmy.world 8 points 10 months ago (1 children)

Honestly I feel like it doesn't really matter either way, it adds a little complexity for the people maintaining qt and gtk and things like that, but most actual application developers aren't interacting directly with the display server so it doesn't make much difference for them

[–] gamma@programming.dev 3 points 10 months ago (1 children)

It's probably the biggest deal for games running in xwayland

[–] dino@discuss.tchncs.de 1 points 10 months ago (1 children)

Care to elaborate? What have games to do with window decorations?

[–] unique_hemp@discuss.tchncs.de 5 points 10 months ago (1 children)

Native games need to add client side decorations to be usable on Wayland Gnome. Currently most games just run in XWayland.

load more comments (1 replies)
[–] semperverus@lemmy.world 5 points 10 months ago* (last edited 10 months ago)

I think that the reason for all the weirdness in wayland is because they are considering more usecases than just desktop with taskbar and window title bars with _ [ ] X buttons. Think signage, mobile interfaces, kiosks, and other weird non-traditional interfaces. Its why absolute window positioning is dumb the way it is too.

[–] callyral@pawb.social 4 points 10 months ago (2 children)

I though only GNOME cared about having client-side decorations? Probably why any GNOME app I have has an annoying toolbar when I'm using a tiling window manager.

[–] leopold@lemmy.kde.social 3 points 10 months ago* (last edited 10 months ago)

Indeed, but GNOME is big enough to veto against anything they dislike getting into Wayland. And indeed, TWMs were brought up as a big reason why CSD sucks; window decorations primarily contain controls for the window manager and the form these controls should take depends entirely on the nature of the window manager, therefore the window manager should draw the controls. But GNOME doesn't want to perform the oh so difficult task of providing window controls to apps that don't provide their own under Wayland, so too bad.

load more comments (1 replies)
[–] Cwilliams@beehaw.org 1 points 10 months ago* (last edited 10 months ago)

Its confusing that we also use 'rootful' to refer to a process running as the root user

[–] Regalia@lemmy.blahaj.zone 7 points 10 months ago* (last edited 10 months ago)

You need to wander through links a bit to find it but https://ofourdan.blogspot.com/2023/10/xwayland-rootful-part1.html talks about the rootful and the recent changes.

[–] nomadjoanne@lemmy.world 9 points 10 months ago

Sure. I can't wait to finally make the switch (Nvidia).

[–] autotldr 5 points 10 months ago

This is the best summary I could come up with:


Red Hat's Olivier Fourdan just announced the stable release of XWayland 24.1 as the newest feature release for this X.Org Server code allowing X11 clients to work within the confines of Wayland compositors.

XWayland 24.1 brings explicit sync support that's long been in the works throughout the stack.

The explicit sync support brings the most noticeable improvements for those using the NVIDIA proprietary Linux graphics driver with the R555 beta driver due out imminently with that driver-side support.

Also of NVIDIA relevance in XWayland 24.1 is removing the EGLStream back-end now that NVIDIA has finally been supporting GBM across their recent driver versions.

XWayland 24.1 also ships a number of rootful improvements including HiDPI and fractional scaling for the rootful mode, among other improvements.

The brief XWayland 24.1 release announcement can be found on the Xorg mailing list.


The original article contains 160 words, the summary contains 138 words. Saved 14%. I'm a bot and I'm open source!

[–] BigTrout75@lemmy.world 4 points 10 months ago (1 children)
load more comments
view more: next ›