Wayland: Can we already use it? What are the drawbacks?
First I'd like to say that I don't really know that much about wayland and x to begin with, but considering that always having the "latest and greatest" is one of the prime reasons I'm using arch, makes me want to take a look at wayland.
Is anybody here using it? Can it already be used in day to day work? Is it hard to switch? If it can't be used yet, why? What's missing?
About this post
- Posted
- Archived
- Score
- 49 · 100% up
- Kind
- Text
- ID
- 29tkvi
31 comments
It's summed up pretty well in the wiki.
https://wiki.archlinux.org/index.php/Wayland
There are very few native wayland apps. To run x11 apps you need xwayland, which doesn't work with the current version of Gnome. That said, Gnome is probably the most wayland-compatible desktop environment.
So in summary, it's just not ready.
Aside from all the ones that use GTK3 and Qt5.
Really? It works fine with 3.13.
And when 3.13 becomes 3.14 that'll be a really good thing. For now though 3.12 is the current version. Unless of course one wants the add the potential headaches of running a development branch of their desktop environment on top of a not entirely ready for prime time windowing system.
So all GTK3 apps will automatically support wayland? Interesting, I wasn't aware of that.
Current stable version of Gnome is 3.12.1, which according to the wiki is not working with xwayland.
Watch the talk The real story behind Wayland and X. It's as entertaining as it is informative.
Currently the best way to try Wayland is Fedora Rawhide. Here's a recent progress update. It's definitely not a daily driver at this point, but it's getting really close, and as soon as Fedora's got it, Arch won't be too far behind.
Its still very much a beta or alpha level product at the user level.
With the exception of some minor input problems, it actually runs excellently on Fedora Rawhide with RadeonSI. Obviously 3D acceleration for XWayland isn't there, but SDL2 has native Wayland support as of 2.0.2, so a lot of games should run fine.
Not even with xf86-video-wayland-git? Worked for me last time I tried it, which is several weeks ago..
You need Xorg Server 1.16 where GLAMOR is mainlined and everything is configured so Wayland can act as a DDX and use GLAMOR acceleration on everything.
minor input problems?
Only with Gnome as far as I can tell, and only the keyboard. For instance, Alt-tab will input a tab character to a focused text box or terminal, even though it switches window normally. Pressing Alt-tab too fast often doesn't register at all.
You can use it, drawbacks are that there is no 3d accelerated xwayland yet and you will need to compile a few things from source(xwayland and Gnome). It currently also only works on systems with Intel gpu, from what I've heard.
Hmm, I don't use 3D graphics on my Intel igpu that is my main gpu, and I don't use gnome (i3wm). Wonder if it's worth trying out. I'm gonna read that wiki page when I'm not on my phone.
You'll need a new DE/WM. i3 will never run on Wayland. http://www.i3way.org/
I've ran gnome on Wayland with nouveau graphics. Only real problems I had were very minor, plus the fact that nouveau drivers suck. I only used it for a few days before going back to proprietary NVIDIA drivers (so back to Xorg) so I don't think I used it long enough to hit big issues.
You don't have to compile gnome, the arch packages are already built to work. You do need a patched xwayland and a couple of other small things (there was a guide on how to do it here a while ago, I'll try to dig it up)
It's usable, but only if you use free drivers, and only if you like Gnome. I'm fairly sure the other desktops are far futher behind than Gnome is (gnome even has a Wayland option in GDM) but this looks like it's changing with KDE 5 and enlightenment 19. So, go ahead and try it!
I'm running it with Mesa on an AMD card with no problems whatsoever.
Maybe can try putting 3d accelerated programs on another tty... cant find the wiki page.
Pretty sure there is. First, a rather long time ago it worked with a modified ddx for intel and radeon, then it kinda broke and then with xf86-video-wlglamor or something like that and then xf86-video-wayland http://www.phoronix.com/scan.php?page=news_item&px=MTQ3MzQ
I'm pretty sure the plan is to just integrate it into xwayland directly.
I've tried it once and it worked, but I wish the docs weren't complete trash. Otherwise I would've ported my WM/toolkit over already. I still can't figure out how the event processing works.
Docs are pointless to write when the sand is shifting. Project needs to be somewhat stable in structure before that can be done.
I thought the API looked somewhat solid already (last time I looked at it anyway). But still, the lack of resources for porting xlib/xcb apps over is insane on their part considering it's meant to replace it.
It's Friday!