this post was submitted on 14 Feb 2024
170 points (98.3% liked)

Linux

48247 readers
556 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
 

Hello, yesterday we released Louvre 1.2.0 (C++ library for building Wayland compositors):

Main New Features:

  • Fractional Scaling (with optional oversampling)
  • VSync control (with optional refresh rate limiting)
  • Gamma Correction

New Wayland Protocols:

  • Viewporter
  • Fractional Scale
  • Tearing Control
  • Wlr Gamma Control

See the GitHub Release

you are viewing a single comment's thread
view the rest of the comments
[–] LeFantome@programming.dev 1 points 9 months ago (1 children)

Still no XWayland support?

[–] ehopperdietzel@lemmy.world 11 points 9 months ago* (last edited 9 months ago) (1 children)

Not yet, I mean, XWayland rootful mode has always been supported. But in this mode, all X application windows are rendered within a single Wayland window, enabling functionalities such as running an entire X Desktop Environment within the compositor. However, what hasn't been implemented yet is the rootless mode. In rootless mode, each X window is treated as a separate Wayland window, enabling better integration with the compositor.

[–] LeFantome@programming.dev 4 points 9 months ago* (last edited 9 months ago) (1 children)

Thank you for the response and explanation.

In my view, it would be better to say on the GitHub page that Louvre lacks support for “XWayland Rootless Mode” or “supports XWayland only in rootful mode” rather than lacking support for XWayland completely.

From reading of the GitHub page, my understanding was that XWayland would not work at all. This made the idea of using Louvre at this point sound totally impractical and positioned it as purely a toy in my mind. It also made me question technically why it would not work. I was already familiar with the idea of rootful vs rootless mode but it would never have occurred to me that this is what you meant.

When I read the new release notes I asked myself “how can XWayland not be a top priority?” but your explanation makes perfect sense. I can completely respect focussing on making Louvre as a fully capable Wayland compositor first before worrying about deeper X11 integration. Rootful mode may be less elegant but at least needing to use an X application is no longer a show-stopper.

I think I saw in a roadmap that XWayland support was prioritized as “hopefully never” which made it seem like a purposeful, ideological boycott. With your explanation here, that also makes a lot more sense and comes across as less off-putting and perhaps just more optimistic for how quickly pure Wayland will suffice. I don’t imagine you would block merging the contribution if somebody else did the X11 work.

[–] ehopperdietzel@lemmy.world 3 points 9 months ago

You're right, thank you for your comment. Being so involved in this sometimes makes me forget that not everyone knows things like that. As you rightly pointed out, my current focus is on addressing everything related to Wayland first. Following that, I intend to incorporate rootless XWayland support. When I mentioned "hopefully never," it was simply a touch of sarcasm.