GNOME 47 Can Now Be Built With X11 Support Disabled (www.phoronix.com)
from KarnaSubarna@lemmy.ml to linux@lemmy.ml on 27 Jun 18:15
https://lemmy.ml/post/17367278

For those wanting to build a Wayland-only Linux desktop experience without carrying any aging X11 baggage, GNOME 47 will be able to optionally offer Wayland-only support without carrying X11/X.Org support. This Mutter merge request landed today that allows compiling Mutter with X11 support disabled. That landed today along with this GNOME Shell merge request for being able to disable X11 support too.

#linux

threaded - newest

autotldr@lemmings.world on 27 Jun 18:20 next collapse

This is the best summary I could come up with:


Last week the GNOME 47 development code saw Wayland DRM lease protocol support for enhancing VR headset handling and separately was also accent color support for GNOME Shell.

Adding to the recent slew of changes landing for GNOME 47, the GNOME Shell and Mutter code can now be successfully compiled – optionally – without any X11 support or requiring any X11 build dependencies.

For those wanting to build a Wayland-only Linux desktop experience without carrying any aging X11 baggage, GNOME 47 will be able to optionally offer Wayland-only support without carrying X11/X.Org support.

That landed today along with this GNOME Shell merge request for being able to disable X11 support too.

In turn this closes a two year old issue tracker over making X11 dependencies optional on GNOME.

GNOME 47 is shaping up to be a very exciting desktop update due for release in September and will be found with the likes of Fedora 41 and Ubuntu 24.10.


The original article contains 172 words, the summary contains 158 words. Saved 8%. I’m a bot and I’m open source!

boredsquirrel@slrpnk.net on 27 Jun 18:25 next collapse

Laughing in kwin-wayland

ElectroLisa@lemmy.blahaj.zone on 27 Jun 19:18 collapse

KWin is just a composer though. Plasma as a desktop environment still relies on XWayland

e8d79@discuss.tchncs.de on 27 Jun 20:05 next collapse

How is it relying on XWayland? I don’t know of any KDE Plasma components that require X11. The apps you install might need XWayland but that is separate from the Plasma desktop.

ElectroLisa@lemmy.blahaj.zone on 28 Jun 01:19 collapse

Uninstalling Xwayland breaks it, you’re greeted to a black background and your mouse pointer.

Additionally, as per their own website, it says “The workspaces have been developed for X11 and much functionality relies on X11. To be able to make proper use of Wayland these bits have to be rewritten.”

leopold@lemmy.kde.social on 28 Jun 07:25 next collapse

Yeah. xwayland isn’t gonna die ever probably, so there’s no rush.

e8d79@discuss.tchncs.de on 28 Jun 07:39 next collapse

The article you posted is outdated. The last change was in 2022 and most sections are even older. Plasma 6 has full Wayland support.

boredsquirrel@slrpnk.net on 28 Jun 11:44 next collapse

Interesting on what distro and when did you try that?

I didnt know that it relied on XWayland but that seems outdated anyways

ElectroLisa@lemmy.blahaj.zone on 28 Jun 22:44 collapse

Arch, roughly 2 months ago

boredsquirrel@slrpnk.net on 28 Jun 23:06 collapse

Plasma 6?

Presi300@lemmy.world on 28 Jun 21:55 collapse

This article cites sources from 2015…

<img alt="" src="https://lemmy.world/pictrs/image/0c4cefb1-a539-4775-8743-89cc57cf8fbc.png">

Yeah, that hasn’t been true for a loooong time

boredsquirrel@slrpnk.net on 28 Jun 11:44 collapse

Plasma 6?

GolfNovemberUniform@lemmy.ml on 27 Jun 18:49 next collapse

I love the fact that it’s optional.

Chewy7324@discuss.tchncs.de on 27 Jun 19:00 next collapse

I wonder how long it’ll be possible to build Gnome with Xorg support. If I had to guess I’d say there won’t be any support within the next 3 years, because keeping future Gnome working with Xorg is work nobody wants to put in.

That said, Xwayland will likely keep being around for the foreseeable future.

Out of curiosity, do you use Xorg and if yes, what’s keeping you from using Wayland?

wer2@lemm.ee on 27 Jun 19:19 next collapse

XOrg is my daily driver for these reasons:

  1. I mostly use XFCE, which doesn’t have Wayland yet
  2. last time I tried Wayland (long time ago now on Gnomr), it was buggy and didn’t work
  3. I don’t change my setups that much, so I haven’t tried it since
  4. I don’t need the features Wayland offers/XOrg covers my use cases
  5. Wayland drama

That being said, I have no fundamental opposition to Wayland, and will probably use it someday.

Chewy7324@discuss.tchncs.de on 28 Jun 00:57 collapse

Those are all good reasons. XFCE aims to support Wayland with the next release, so if they choose to use an established compositor it shouldn’t be too buggy.

With XFCE porting their apps over the setup shouldn’t change much, unless you’re using Xorg specific tools.

Over the last few years most features I’d expect from a windowing system were added to Wayland, so I expect the drama to cool down. (I don’t even know what’s still missing (except accessibility), with VRR, tearing, DRM leasing (VR), and global hotkeys being done. It’s just apps like Discord that have to cave in under the pressure to fix their apps.)

Once everything works, there’s no point talking about it.

@Furycd001@fosstodon.org

wer2@lemm.ee on 28 Jun 02:14 collapse

I totally expect one day a XFCE (Wayland) option will show up, I will click it, forget I did, and use it forever more.

KarnaSubarna@lemmy.ml on 28 Jun 05:36 collapse
thejackimonster@wehavecookies.social on 27 Jun 20:40 next collapse

@Chewy7324 @GolfNovemberUniform I'd say as soon as screen readers work properly under Wayland, they could drop X11 builds. But they should definitely not do it before fixing that.

possiblylinux127@lemmy.zip on 27 Jun 22:27 collapse

I think that could be solved with a XDG portal

thejackimonster@wehavecookies.social on 27 Jun 22:58 collapse

@possiblylinux127 That would definitely be part of it, I assume. Does Wayland already track text rendering and its contents?

Because somehow text from any UI would need to be detected.

possiblylinux127@lemmy.zip on 28 Jun 00:25 collapse

The actual implementation would be per desktop. The desktop draws to the screen and then the apps connect to the desktop. We already have a window capture XDG portal that is used by things like OBS. We could huild a simular portal for just text on the screen. We would just need some way of either recognizing text or even better some sort of image to text engine like what is in Firefox.

princessnorah@lemmy.blahaj.zone on 28 Jun 16:26 collapse

Are you saying to use an image to text engine just for what are text fields in applications? That sounds horribly inefficient…

possiblylinux127@lemmy.zip on 28 Jun 20:08 collapse

It would work for images as well. It doesn’t need to be exclusively used but sometimes text is rendered at a pixel level.

D_Air1@lemmy.ml on 28 Jun 05:53 next collapse

Not OP, but I use sunshine and moonlight for streaming my pc to various devices. Wayland forces me to use kms and I can’t turn the monitors off while I’m doing it. Someone was working on a pipewire backend, so hopefully that goes somewhere.

GreenWithEnvy is also a nuisance on Wayland while Nvidia Settings Panel doesn’t even work. I have a custom script just to control my fans on Wayland, but I’m eventually switching from Nvidia anyways, so it won’t matter for much longer.

umbrella@lemmy.ml on 29 Jun 15:35 collapse

iirc GWE is unmaintained atm

D_Air1@lemmy.ml on 29 Jun 21:54 collapse

GWE

The primary maintainer stepped down, but there has still been work done by other contributors. The primary problem is that the underlying library is reliant on x11. This is the same reason why nvidia-settings doesn’t have all of its features on wayland. Basically if nvidia’s on tool doesn’t work then there is no way that green with envy can either. There is an open merge request attempting to switch to a different library that Nvidia says they plan to move to eventually, but it is slow going.

JackGreenEarth@lemm.ee on 28 Jun 07:33 next collapse

Proper screen sharing and xclicker is Why I occasionally switch back to X

theshatterstone54@feddit.uk on 28 Jun 15:19 collapse

Have you tried using ydotool or other wayland alternatives to xclicker? Last I used it, ydotool ran great.

[deleted] on 28 Jun 15:54 next collapse

.

JackGreenEarth@lemm.ee on 28 Jun 15:56 collapse

Xclicker is a GUI autoclicker. I heard of a command line tool for Wayland, but it didn’t seem to exactly be an autoclicker, and I don’t really like command line tools in general.

theshatterstone54@feddit.uk on 29 Jun 04:54 collapse

Oh I absolutely get it. But I guess someone will eventually end up making a GUI for ydotool (or so I hope). Alternatively, there is this (Wayland support is WIP): github.com/RMPR/atbswp

When I say I get it, I mean there was a time I kept Xorg around only so I can use PyAutoGUI (I no longer need it but if I did, I’d have probably created wrapper scripts to allow PyAutoGUI to call grim instead of scrot when on Wayland, or something like that).

GolfNovemberUniform@lemmy.ml on 28 Jun 10:58 next collapse

I switched to Wayland after GNOME 46 release because it fixed the issues I had with it (artifacts and persistent display failures). Many people may still prefer X11 at least because of the lack of input latency on slow machines.

Nisaea@lemmy.sdf.org on 28 Jun 23:33 next collapse

Not op but we do magic cookie shenanigans at work to run a graphic app as another user. I believe that’s not a thing in Wayland.

umbrella@lemmy.ml on 29 Jun 01:40 next collapse

do you use Xorg and if yes, what’s keeping you from using Wayland?

currently sunshine doesnt support wayland. thats it.

TheBroodian@hexbear.net on 29 Jun 07:24 collapse

Last I tried to do discord streaming, it only worked in xorg

KaninchenSpeed@sh.itjust.works on 29 Jun 18:42 collapse

You could use Xwayland video bridge or just use the discord web app in firefox

possiblylinux127@lemmy.zip on 27 Jun 22:26 collapse

Chances are at some point it will be removed as it requires valuable man hours to maintain. At some point it will be a massive hindrance. I don’t think it will be removed for a while but it probably will be forgotten about.

hperrin@lemmy.world on 27 Jun 19:05 next collapse

This is great news. Shipping X11 on a system that doesn’t need it is a big waste.

stuckgum@lemmy.ml on 27 Jun 19:22 next collapse

Better to ship with X11 and make Crapland optional.

737@lemmy.blahaj.zone on 27 Jun 19:43 next collapse

L take

TheGrandNagus@lemmy.world on 27 Jun 21:51 next collapse

Why? Wayland has been working well on non Nvidia hardware on Gnome the entire time I’ve been using it - since 2016.

I truly don’t understand the people who make hating Wayland their entire personality.

You’re in the minority and stuck in the past. Be thankful the devs are keeping X11 as an option for you.

Auzy@beehaw.org on 28 Jun 08:36 next collapse

I disagree… The problem actually is that Wayland is optional, and still is.

So everyone was dragging their heels (and some still are). If all the major distro’s set a cut off date, then things would speed up. The biggest reason for delay was Nvidia imho, so now that they’re sorted, it seems things are falling into place faster.

X11 still hasn’t solved any of their real issues, and its still a security nightmare (which can’t be fixed). Furthermore, most of the developers have moved off it.

What exactly do you like about X11?

pbjamm@beehaw.org on 30 Jun 14:47 collapse

What exactly do you like about X11?

That it works just fine for my purposes. When it does not I will switch to Wayland but I have no reason to at the moment.

lord_ryvan@ttrpg.network on 28 Jun 08:50 collapse

That’s the default everywhere else, yes

possiblylinux127@lemmy.zip on 27 Jun 22:25 next collapse

I think X will still be around for a while but it makes no sense to use it with a full desktop like gnome. Gnome has its own stack so Wayland makes sense.

It will be cool to see desktops like Xfce4, Cinnamon and Mate get support.

user134450@sh.itjust.works on 28 Jun 17:32 collapse

wouldnt Xfce have to rebrand though? lol

possiblylinux127@lemmy.zip on 28 Jun 20:06 collapse

Xfce4 is a name not a acronym. It used to be back in the day but it now uses GTK.

user134450@sh.itjust.works on 28 Jun 23:25 collapse

yes, it is a name that is literally pronounced like “X face”

possiblylinux127@lemmy.zip on 29 Jun 00:13 collapse

I pronounce it x f c e

Luna@lemmy.ml on 28 Jun 15:29 next collapse

<img alt="" src="https://lemmy.ml/pictrs/image/5f724a81-c422-4b75-a629-3652acbd9318.png">

davemeech@lemmy.ca on 29 Jun 00:38 next collapse

If only I wasn’t such a moron with trying to navigate around Nvidia drivers and Optimus, this sounds fantastic.

I have yet to figure all of this out and get to a smooth and stable state.

Cwilliams@beehaw.org on 30 Jun 01:21 collapse

Woohoo! One step closer to killing the tyranny of X11! He’s almost dead already, just those pesky Nvidia users… (Or rather that pesky graphics card company)

boringbisexual@lemmy.blahaj.zone on 30 Jun 16:12 collapse

The newest nvidia driver took care of the one issue I had with a specific game so I’m all Wayland now