54
What are some things X11 can do that Wayland still can't?
The biggest thing I can think of is that X11 is more flexible when it comes to specifying custom resolutions; which some people use to output 240p on CRT TVs for emulation. AFAIK, there is currently no real equivalent for xrandr on any Wayland compositor.
I’ve also noticed that Grsync’s password prompt is broken on Wayland. Thankfully, it has a feature that lets you preview the command it’s about to run, so that you can copy and paste it into a terminal.
Being a KDE user on EndeavourOS, I use Wayland everyday. I switched over a few years ago for Waydroid, but now X11 isn’t even an option for me with the current release of KDE.
Comments
Unless I’m mistaken, Wayland can’t rotate your display by 22 degrees.
This sounds like something KDE randomly adds in 5 years because why not.
Deal breaker. Xorg4lyfe
Just curious, why would you need to rotate your display by 22 degrees
I wasn’t being serious. I like Wayland very much.
In general, it’s things that Wayland chose not to do so as to have a better security model.
For instance multi window apps can’t tell the compositor where to put their windows such as snapping a window to another or following a window. Apps can’t read other windows. It’s a good thing for security but it breaks some older tools and workflows.
There’s others like multiple mouse cursors, registering global hotkeys, overscan correction etc but many of these things are being addressed and new standards are being drafted, it just takes time.
I moved to Wayland very early on and, honestly, I’ve not had any problems but I don’t have a complicated or special setup.
No global hotkeys is a dealbreaker for me, though.
Once you get used to using custom global hotkeys as part of your workflow, you can never go back.
They can have positions lf existing windows saved and restored (still rolling out), and I think can ask for some details of initial placement outside of that too.
Of course still very limited and not handling the specific cases you mentioned.
Setting up hotkeys is possible, just in a very different way. You have to have the desktop environment forward it, and for now specifics differ from de to de. Generally they can all bind actions though. A safe minimum-viable way should be to add shortcuttable actions to the desktop file I think, though the qt shortcut stuff should also generally work I think.
kwin at least has had that for a while
Personally for me I used to have a script invoked by tilting the sceoll wheel that’d send a shortcut (e.g. ctrl+page-up/down) to the window under the cursor without focussing it, letting me change tabs of unfocussed windows.
I think I did that by quickly changing input focus, sending it, then changing it back, with xdotool etc…
On wayland I’ve tried implementing that via kwin scripting a few times, but found it so hard to debug and to work with in comparison I never managed to recreate that simple tool.
Having universal posix-like tools to affect the window manager and user input from console is definitely something I miss occasionally.
Largely this is just a lack of wayland tools I am sure. And I must admit it’s been a while since I last tried.
It would be nice if end users had more choice in the matter. It’d be cool if someone made a Wayland compositor that allowed some of these features as an opt-in thing.
wayland dwms can and do absolutely implement that. For example kwin has a setting to let programs access keyboard input in the X11 way for the old method of global shortcuts. And to disable the framebuffer for fullscreen games.
If you wanted, you could probably write a wayland compositor that has all the X11 apis that old management tools use. Wayland is just an api at the end of the day.
Users do have choice, X11 still exists, there’s lots of distros to choose from, but Wayland is the culmination of 40 years of learnings from the X11 project.
Linux hosts with desktop managers/window managers were loved by security testers and threat actors for how darn easy it was to get spyware running - logging all keystrokes, recording the whole screen, etc. X11 gave all apps the keys to the kingdom regardless of security policy.
Wayland is vastly more secure. Sure, there’s work to be done to build out a few edge cases - they’re known and have been in discussion for years at this point - it just takes time.
X11 had 40 years, Wayland had only had 18. With most mainstream distros switching display server, we should have the remaining sticking points ironed out in the next couple of years.
Not if you want to use KDE on Arch or derivatives.
It is nice that Wayland is more secure, and that’s one of the reasons I started using it before my DE started mandating it. But, it’d be nice if I could keep most of that security, while having the option to enable certain things that are disabled for security by default where I need them.
Going back to X11 and its total lack of security isn’t an ideal option, and I can’t even use my preferred DE with it on my preferred distro.
SonicDE is in the AUR. For people who want continued X11 support for KDE, it looks like this is the project to follow (and vote on in the AUR to promote it to the main packages repos).
While I don’t plan on going back to X11 anytime soon on my main system, I think I’ll vote for this anyway. People have valid reasons for continuing to use X11, and I’m sick of KDE’s “father knows best” attitude.
Show me a Wayland screensaver. I’m honestly interested if one actually honestly exists.
There’s no timed desktop lock?
The technical reasons for a screensaver pretty much vanished 10+ years ago, the security aspects are stronger than ever.
Sometimes you just want to have a screen showing you pretty colours on a random rotation. kde’s plasma just goes dark and kicks back to login, and kwin then crashes 9 out of 10 times on resume. Problems I never had with xscreensaver on openbox.
I like photo slideshows… never had too much trouble with the various things that do that… A lot of times I’ll just have a rotating desktop wallpaper, if I want to watch the photos I just minimize my apps.
Neither of which are drop-in replacements for screensavers. xscreensaver-gl has a whole heap more than just photo slideshows.
Sure, and what’s standing in the way of a vibe-coded port?
KWin doesn’t support them, and the KDE devs in their stubbornness see no reason to. I really have a love/hate relationship with this DE.
Same. Unfortunately a few family members decided it was what they wanted for their first foray into linux and I have to try to support it for them.
Isn’t there a version of xscreensaver that works with Wayland? Besides that, there’s Wayfire’s rotating cube.
I haven’t been able to get xscreensaver to work with kde’s plasma. It’s the only wayland desktop I have run so far, as I maintain systems with openbox otherwise.
Can Wayland do
ssh -X?There seems to be https://wiki.gentoo.org/wiki/Waypipe which I’ve never used (unlike ssh -X which I once needed for a university course).
You will need to do
ssh --wayfor thatHonestly so many tiny annoyances I used to have with x11 have just gone with Wayland. Multi monitor especially seems so much easier to work with.
Screen saver? At least I haven’t found one yet for Gnome. Or is this a gnome issue?
KDE doesn’t have them either, and they’re something I sorely mess. Whenever I emulate or virtualize Windows, sometimes I like to let it go idle and just watch its screensavers.
Talon Voice and other accessibility tools like cursorless. I am destroying my hands because I can’t do handless input on Wayland.
Run on older video cards.
My home server has a basic Quadro K420. Since the latest KDE forced it onto Wayland, it’s unusable even for the short remote sessions I need the GUI for. Chrome hangs if I don’t disable HW acceleration, within minutes Firefox leaks memory to the point where the kernel panics, Transmission’s window gets garbled like I’m watching a coded PayTV channel.
Installed xfce and everything is back to normal. Of course nVidia shares some of the blame here, but it’s clearly working on one windowing system and not on the other.
A lot of 3d software has problems with tablets on Wayland. Stuff like ZBrush, Substance Painter and even their recent AI clones:
Wayland can sorta do all three, but they’re effort to set up and sometimes have bugs, whereas it was perfect under X:
1: Rotate, flip or scale a display.
2: View a window on a different computer
2.5: View a window on a different computer that’s already alive.
3: Overlap two displays.
@Aria @mrbigmouth502 But what X didn't do while all that was going on was use two different GPUs to make the graphics all smooth.
Drag & drop, cut n paste, and screen-recording are very iffy, even though they technically work.
I’m on Wayland and have literally never had any issues with those features. Are these problems you’ve previously had or do you have recent examples where they don’t work as expected?
I’ve had them previously, and I still have them. A lot depends on your compositor, distro, and the specific programs you use.
I’ve had zero issues with these on wayland, where is this happening?
The switch 2 emulator told me to only run it in X11 as wayland still has performance issues. I didn’t really notice much difference running it in xwayland tho
For me it’s Steam Remote Play. I can’t say Wayland is unable to do it, but it’s always been so problematic I switch back to x11.
Highly recommend Moonlight/Sunshine as an alternative. It’s a bit janky sometimes but in general vastly more reliable than anything else I’ve tried especially on Linux or into Linux.
I’ve tried them in the past, but my client device was a Chromecast w/ Google TV, which I suspect contributed to my performance issues. I’m currently using an Onn 4k pro connected via Ethernet. Might be time to give Moonlight/Sunshine another go.
I never cosidered if that was a problem i had last year when demoing remoteplay onto an apple tv.
Does gamescope run on Wayland? I’d have thought it would be great for this
Yes, gamescope is specifically built for Wayland.
I had never thought to check if Wayland was the issue there.
Legit the generic W icon is fucking terrible
Worse than the generic X11 one though?
I prefer the X11 logo over Wayland’s personally.
That’s ok.
It’s ok to be wrong.I mean they are both really annoying.
Thing is, the X-11 logo is usually shown in tiny boxes and X-11 is a default that has been supported for donkeys years.
The W is shown huge and obnoxiously and despite being around for a while, is the newcomer
The images do not display for me.
does it need to be replaced by the WU TANG?
Birdtray gave up on me when I last upgraded the system, so I switched to Betterbird. Even though it feels like buggier Thunderbird, they at least have somewhat fuctional tray icon.
I blame Mozilla for not supporting Linux for so long.
what do you mean by this?
I believe this is the original ticket that requested implementation of a tray icon in Linux: https://bugzilla.mozilla.org/show_bug.cgi?id=18732. It was requested 27 years ago and closed 2 years ago.
And it still doesn’t work properly (for me it didn’t work at all). And this is the current (still open) ticket https://bugzilla.mozilla.org/show_bug.cgi?id=1942125
I guess someone needs to get up and get it done.
systray-x works very well as an alternative on Wayland!
My personal bugbear is that there is no compositor-agnostic way to tell what workspace a window is located on. This means that taskbars cannot implement an “only show windows on the current workspace” setting, which frustrates me to no end. (Taskbars like the LXQt and XFCE panels still have the setting, but it does nothing.) There is not even any proposed protocol to support this, and acceptance and implementation would take years even if there were.
Integrated desktops like KDE probably roll their own custom implementation, but out in Labwc land I’m shit out of luck. (1 2 3 4)
Reading those issues… WTF? How many alternative implementation of basic functionalities are there? I think I remember reading back in the day that this will be the issue with Wayland, every DE will have to implement way more than with X. Now I understand what they were talking about.
Support for stylus / pen writing on screen.
input-remapper-gtkis a decidedly non-obvious way of rebinding mouse buttons.Of course,
xmodmapis also a decidedly non-obvious way …Automated window positioning through tools like wmctrl and xdotool. There are replacements on Wayland but they’re either missing features or are tied to a specific window manager.
I use Xfce, and I like writing bash scripts that can work anywhere.
prob more people using KDE now than X11 ;)
Universal stuff for those (under wayland) compositor-specific functionalities kinda became impossible when wayland became standard.
In some cases there’s tools that support kwin, mutter, and wlroots, which is now as close to universal as you can probably get for things without standardized wayland api.
Interesting how introducing a new standard made it impossible to have a standard.
By the time Xfce supports it maybe it’ll be in a more stable state. Not interested in switching to KDE.
Xfce does support wayland, though in earlier stages than most, who had it somewhat stable it for like 3-4 years now. Xfce started experimentally with 4.20, and should be stabelizing it right now. If you update to 4.22 unstable it might just work just fine.
Run the old login credentials stealers
Just looking at these comments, and the fact that wayland still isn’t as good as x11 after all these years (10, 15?) And all this budget shows that wayland is architectually wrong and will never be actually good.
Any software engineer will understand this. If your project is still in basically beta after more than a decade and that much budget, and it’s only selling point is that “but it’s slightly better than the decades old legacy system”, that project has been architectually wrong, and also definitely has awful management, and you call it failed.
I was sold when I could setup my 1440p@144Hz horizontal monitor and 4k@60Hz vertical monitor in Wayland without any issues. This was after hours trying to get it to work with X11 (and giving up).
The rest of your comment reads like ragebait, tbh. What, exactly, isn’t as good? What indicates it’s still in beta? What are the flaws? That was the whole point of the post, and “it has problems trust me” is not very helpful.
read the rest of the comments for that.
it’s still very unpolished and fragmented from my experience.
down voted for telling the truth. I use Wayland on my laptop and it works fine, but x11 is honestly still the defacto window system
I have to use x11 on my desktop (yes Nvidia) and it’s a nightmare. I try it every now and then though
Have you ever considered a career in set theory?
Work with Pynput
Asychronous design of Wayland protocol implies it technically can do everything X11 could. But it requires a lot of development.
Just wanted to point out that you can create custom resolutions on wayland with
kscreenctl(orkscreen-doctor.) I use it to create to enjoy the enlightened 2880x2160.yes, but you can’t do seperate horizontal and vertical scaling
So, just discovering the joys of virtual monitors available in the kernel now. NAS now has and gives me sunshine. Bazzite lets you put your own monitors’ (ujust setup-sunshine - Configure Virtual Monitor) edid into initramfs so sunshine (and KDE remote access if you want laggy but cut and paste enabled) work without a monitor connection (or dongle), very cool. Just thought I should spread the news and this is vaguely associated.
Not really relevant to the X11 question, except that it provides a (superior) workaround for some issues…
To the actual question, xtool for automating UI stuff hasn’t been completely replicated, but given it’s an insecure horrible solution I’m OK. Also running a program through a remote connection on a beefier machine was useful at times, is there an equivalent other than remote access?
Yes, there is
waypipe. Very close analog tossh -X, arguably better. Even lets me access my local clipboard inwl-copy/wl-pastecommands on the remote.It’s not part of ssh though, so needs to be installed on server and client.
I found waypipe to be way more responsive than X11, and just … better somehow. More integrated into the other programs.
When using it, take care that pam is enabled in sshd. Else it won’t initialize the proper xdg environment which wayland stuff doesn’t like.
thanks. I have not done a workstation in awhile except for my wife and keep on thinking about doing it. This funtion is one that gives me a bit more motivation.
Btw. for now you can also still use X for this, it works just fine via xWayland on wayland desktops, and programs still generally support both x11 and wayland.
yeah we had beefy graphics workstations at a place I worked and we would do this all the time. I sorta thought it had went the way of the dodo.
Still quite a thing. Though probably slower than ever since programs have increasingly more trips back and forth with the display server, and with x11 every one of them has to transit the connection. With an 8ms ping to a server, I expect programs to take 10-30s to start, 5-10s to open dropdown menus, and ~3s+ to scroll. I’m quite happy waypipe is a thing, I mostly ditched ssh -X voluntarily to avoid all this, though sometimes suffering a slow program for a few minutes is still faster than installing waypipe when setting up a new system.
Thanks, great that that’s there.
Switched my HTPC from a regular Debian desktop with X11 to Plasma Bigscreen (Fedora) with Wayland. Biggest frustration I have is Kodi can’t automatically adjust the TV’s fps, but besides that it’s been going smooth. Steam Link even works well for streaming games from my PC!
Vibe coded a Kodi addon that actually changes the fps, but if anyone knows an actual solution that’d probably be better.
Sign in to comment. Sign in