11 ms·
The Linux graphics stack from X to Wayland (2011)
- kleiba 10y agoFrom March 2011.
- majewsky 10y agoYeah, I was confused there too why a lot of recent developments were omitted. Can mods please add "(2011)"?
- shrewduser 10y ago5 years ago and we still haven't got wayland yet.
- morsch 10y agoIt's available in Fedora 24: Fedora 24 continues to improve support for the next-generation display server, Wayland. Wayland is still not the default for Fedora 24, but it worked well enough that I would not be surprised to see it the default option for Fedora 25. Just know there are still some quirks, like the inability to reliably get screenshots working, which is a deal breaker for me. [0] More details in [1]. I'm sure it's available in most other big distros, too. [0] http://arstechnica.com/information-technology/2016/08/fedora-24-review-the-years-best-linux-distro-is-puzzlingly-hard-to-recommend/ http://arstechnica.com/information-technology/2016/08/fedora... [1] https://blogs.gnome.org/mclasen/2016/03/04/why-wayland-anyway/ https://blogs.gnome.org/mclasen/2016/03/04/why-wayland-anywa...
- josteink 10y ago> It's available in Fedora 24 It also was available in Fedora 23. I've used it daily, only with minor hickups. These hicksups include: - Gparted not working without some command-line initialization, etc. - Remmina remote desktop not working at all, unless built from source. All in all, for a guy like me, pretty easy to work around. The tools which needed tweaking wouldn't be the ones "your grandma" would be using anyway, so impact on a typical user would probably be low. It's not all the way there, but it's definitely ready for the "I use my laptop for web-browsing and email"-crowd.
- cmurf 10y agoSubstitute blivet-gui for gparted. It groks pretty much all Linux storage: MBR, GPT, mdadm and LVM raid, Btrfs, LUKS. https://github.com/rhinstaller/blivet-gui https://github.com/rhinstaller/blivet-gui http://www-rhstorage.rhcloud.com/blog/vtrefny/blivet-gui-20 http://www-rhstorage.rhcloud.com/blog/vtrefny/blivet-gui-20 Not just for servers, but quite useful on them is Cockpit which leverages storaged and libblockdev, providing a good chunk of storage configuration via web UI, among other things. https://github.com/cockpit-project/cockpit https://github.com/cockpit-project/cockpit
- NoGravitas 10y agoIn Fedora 23, the default session was Gnome on X, but you could choose Gnome on Wayland. In Fedora 24, the default session is Gnome on Wayland.
- josteink 10y agoNope. Not default yet. Only GDM/lightdm/whatever runs using Wayland out of the box. The default DE is still gnome with X11. In fedora 25 (that is next release) they intend to flip the switch to Wayland though. That'll be the real test for how desktop ready it really is.
- NoGravitas 10y agoAh, my error. I've been using Wayland since 23, and saw it mentioned in the 24 release notes, and thought it had been made default.
- teh 10y agoI've been running on Wayland for a year with only minor issues. Which distro are you using?
- kochthesecond 10y agoWhich apps and what DE do you typically use?
- chongli 10y agoWhat graphics card are you using?
- emilsedgh 10y agoWe knew its going to take long. Progress is steady though. For example, KDE's Neon project [0] turned Wayland on as default [1] in developer edition. Wayland will slowly crawl into distributions near you. [0] https://neon.kde.org https://neon.kde.org [1] https://blog.martin-graesslin.com/blog/2016/09/kde-neon-devunstable-switching-to-wayland-by-default/ https://blog.martin-graesslin.com/blog/2016/09/kde-neon-devu...
- qznc 10y agoSince I use Ubuntu 16.04 with Unity, I should be using Mir, which is the Ubuntu competitor to Wayland.
- rantanplan 10y agoI don't think it's going to compete with anything. Pretty much everyone supports(and if not they will) Wayland, so maintaining and supporting Mir will become moot. One of those things that you really can't understand why they sink money into it :(
- majewsky 10y agoExcept that you're not. 16.04 is an LTS release, therefore Canonical delayed the Mir integration to 16.10.
- josteink 10y ago> Since I use Ubuntu 16.04 with Unity, I should be using Mir You're wrong. That's Unity 8. And it's not the default DE (although you can apt-get install it).
- ansible 10y agoYes, I tried it with Ubuntu 16.04, and my system hung. I was looking forward to trying it out, because the Intel integrated graphics (HD4000) has bad tearing problems with application such as Firefox. That, combined with PulseAudio problems may force me to re-install 14.04. Though I need to keep using Win10 this week because of a CAD program anyway.
- MayeulC 10y agoThere is quite a lot of slightly wrong bits here, or I just don't remember some parts. It is however relieving to see how much progress has been done on the graphics stack since (open source drivers, DRI3) and the Wayland side (especially with libinput, which I think didn't exist at the time of this article). Anyway, Wayland is almost there, guys!
- IshKebab 10y ago> It is however relieving to see how much progress has been done on the graphics stack since Really? Most distros still use X11 by default 5 years later. That's pretty bad progress in my book.
- stephen_g 10y agoX11 has been the main windowing system for Unix and Linux for 32 years... You can't expect Wayland to replace it overnight!
- lake99 10y agoActually, this is something that can get replaced overnight, were it not for the serious lack of manpower. Most people use Gnome or KDE. They will continue to do so when their distros quitely replace X11 with Wayland, overnight. Except that Gnome/Wayland has some features still unimplemented, and KDE/Wayland is awfully unstable. I mean, this is more of a upstream-domain issue than a user-domain issue.
- aseipp 10y agoWhy do you think 5 years is an unreasonable amount of time to see major traction for such a project? For that matter, why would 8 years be unreasonable? X is 30+ years old, Wayland is less than 1/3rd the age. The amount of available people for work is not static or even well defined. The systems Wayland integrates with (DEs/login managers/WMs) and replaces are deeply integrated across our ecosystem. And this new design is completely new, so it will take time and a lot of upstream coordination to make progress. They also have gone out of the way to do things like provide continued X support through XWayland on top of that to lower the barrier to moving forward on it. This will help accelerate Wayland's adoption, and allow applications to move to it quicker (and distros can ship Wayland, rather than maintain X11 and Wayland). Do you think 5 years is bad because the developers just didn't like, invest enough free labor in the project to satisfy your arbitrary requirements, or something? Did they not work hard enough? Was the job actually easier than they made it seem? Would replacing it in 3 years have been acceptable in your "book" of requirements? Inquiring minds want to know what your book says. I ask this seriously, even if it may come off as slightly annoyed. I think that's reasonable levels of annoyance. Your reply comes off as extremely ungrateful, IMO. I ask that you seriously, sincerely think about why you believe this is "bad progress". Do you have serious reason to suggest they have messed up somewhere, that they have failed to deliver on promises, or do you just "think" that it shouldn't have taken that long and thus, it is bad? Or do you believe X never needed replacing (and why do you think that, vs the Wayland developers, most of whom are prior X developers)? "Thinking something" you can't verify isn't the same thing as actual knowledge. People who work on open source and free projects invest real time, labor, and life into them, much of it thankless work, on projects like Wayland -- even if the projects themselves are good and that "thankless" work vital. Even if they take years to realize. Why? There are a lot of reasons, really. But none of them involve wanting to have people judge them with no context, by arbitrary standards of how good they are as software developers, or something, because they think it "took too long". That's the kind of shit people make fun of managers for saying! Please note I'm not affiliated with the Wayland project in any way, but I have my share of experience with doing maintenance on large open source projects. When people say things like this, it comes off as ungrateful, as if I haven't given enough free labor to satisfy you or your desires. Maybe I should have worked 80 hours a week instead to deliver it to you "on time". That might have satisfied the requirements in your "book", I suppose? Or maybe I should have just not written the software at all, and left you on your own, whatever the cost of doing that is.
- oDot 10y agoSuper noob question: Where can I read in depth about the whole stack? An example question is how apps draw things on the screen (qt/gtk or neither)? Do they use OpenGL? Something else? Is there a good write up of this or do I need to gather bits and pieces?
- bwindels 10y agoFor Gtk+ this might be a good place to start: https://blog.gtk.org/2016/06/15/drawing-in-gtk/ https://blog.gtk.org/2016/06/15/drawing-in-gtk/ The API will likely change considerably in Gtk4, more here: https://www.bassi.io/articles/2016/07/05/gsk-demystified-1/ https://www.bassi.io/articles/2016/07/05/gsk-demystified-1/
- ProfDreamer 10y agohttps://magcius.github.io/xplain/article/ https://magcius.github.io/xplain/article/ Something like this?
- oDot 10y agoYes! Thank you. If anyone has more, I'll be glad to read :D
- bandrami 10y agoLike most of what freedesktop.org does (pretty much since dbus), I look at Wayland and think, "hmm... that's a probably-interesting solution to a set of problems I just don't have." I've never in my life seen this "tearing" that people keep complaining about. OTOH I use X's network transparency daily. I'm sure several years from now Wayland will be able to replicate the use cases I get now from X, at which point I'll probably switch. So, I wish the best to the people working on it, even if I scratch my head over their intentions.
- lomnakkus 10y agoThere's really very little standing in the way of network transparency: https://blogs.s-osg.org/wow-wayland-over-wire/ https://blogs.s-osg.org/wow-wayland-over-wire/
- bandrami 10y agoWhich is why I'm pretty confident that in a few years it will be available, at which point I'll think about using Wayland, particularly since it will probably be getting the lion's share of updates by then.
- madez 10y agoI see tearing often and it bothers me a lot. Also, if you run a program with gui in X you will need to trust that program to act in your best interest since X doesn't protect against malicious clients. When I start a game on my computer, I do not want to have to trust it to behave nicely.
- pmoriarty 10y agoAre legacy X apps going to be able to be run directly under Wayland, or will they have to be ported?
- FreeFull 10y agoThere already is an X server that runs under Wayland, called XWayland, and most Wayland compositors integrate well with it.
- NoGravitas 10y agoThey seem to work fine on a Gnome session running on Wayland in Fedora 23/24. Wayland runs an X server for legacy X apps.
- DonHopkins 10y agoHere's an interesting interview [1] [2] with Jim "Internet Plumber" Gettys [3], one of the original designers of X [4], and editor of the HTTP/1.1 specification. He talks about his work on the OLPC project, X memory usage, Linux and other stuff. He also has a great blog [5], and has been investigating the effect of bufferbloat on network performance [6] [7]. [1] Part 1: https://lwn.net/Articles/188060/ https://lwn.net/Articles/188060/ [2] Part 2: https://lwn.net/Articles/188073/ https://lwn.net/Articles/188073/ [3] Jim Gettys: https://en.wikipedia.org/wiki/Jim_Gettys https://en.wikipedia.org/wiki/Jim_Gettys [4] The (Re)Architecture of the X Window System (July 2004 Ottawa Linux Symposium): https://keithp.com/~keithp/talks/xarch_ols2004/xarch-ols2004-html/ https://keithp.com/~keithp/talks/xarch_ols2004/xarch-ols2004... [5] Blog: https://gettys.wordpress.com/ https://gettys.wordpress.com/ [6] Bufferbloat: https://en.wikipedia.org/wiki/Bufferbloat https://en.wikipedia.org/wiki/Bufferbloat [7] Bufferbloat project: https://www.bufferbloat.net/projects/ https://www.bufferbloat.net/projects/
- deleted 10y ago[deleted]
- ramblenode 10y ago> Recently, Ubuntu has stepped up, suggesting that they are planning to use Wayland in conjunction with their own new window manager called Unity. FYI, the article is a bit dated. Currently Ubuntu is working on their own display server called Mir [0]. [0] https://wiki.ubuntu.com/Mir/Spec https://wiki.ubuntu.com/Mir/Spec