The real story behind Wayland and X
Linux.conf.au 2013 -- Canberra, Australia4 HN recommenders · recommended in 4 months, 2018-2024
46K views · 11 years ago · talk · evergreen
X.Org developer Daniel Stone explains the history and technical limits of the X Window System and why Wayland was created, debunking myths from forum comments. He covers topics such as network transparency and blocking calls.
HN uses it as the go-to answer to claims that Wayland is unnecessary, from a developer who knew X's codebase well.
45:35The Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013)
Mladen Mijatov
104K views • 13 years ago
45:35[Linux.conf.au 2013] - The real story behind Wayland and X
HackersOnBoard
35K views • 13 years ago
2:26Qt 5 based 3D Wayland compositor
Samuel Rødal
133K views • 14 years ago
7:42:30XDC 2020 - Day 1 - September 16, 2020
X.Org Foundation
24K views • 6 years ago
45:33"A Political History of X" - Keith Packard (LCA 2020)
linux.conf.au
52K views • 6 years ago
49:16XFS: Recent and Future Adventures in Filesystem Scalability - Dave Chinner
Linux.conf.au 2012 -- Ballarat, Australia
29K views • 14 years ago
42:20Writing a Wayland Compositor in Zig - Isaac Freund
Zig SHOWTIME
26K views • 6 years ago
47:18The Tragedy of systemd
linux.conf.au
1.3M views • 7 years ago
27:27Faking RTX Global Illumination vs. RTX | 100% Ray-Traced Game, Pt 1
Gamers Nexus
260K views • 7 years ago
5:05New Voxel Engine Reveal - Crystal Islands Experiment
John Lin
394K views • 5 years ago
1:04:04LISA11 - Fork Yeah! The Rise and Development of illumos
USENIX
310K views • 14 years ago
1:11:44DebConf 14: QA with Linus Torvalds
Adnan Hodzic
737K views • 12 years ago
46:06Gtk to Qt - a strange journey [linux.conf.au 2014]
Konstantin Bläsi
46K views • 12 years ago
2:13Brigade 3.0 preview - Real-time path tracing
icelaglace
439K views • 12 years ago
1:25:13The Origins of Linux—Linus Torvalds
Computer History Museum
659K views • 18 years ago
40:45Exclusive: Metro Exodus Enhanced Edition Analysis - The First Triple-A Game Built Around Ray Tracing
Digital Foundry
915K views • 5 years ago
53:55A Narrative History of BSD, Dr. Kirk McKusick
bsdconferences
30K views • 17 years ago
49:39NeWS: A Networked and Extensible Window System, lecture by James Gosling
Computer History Museum
5K views • 10 years ago
48:13RIP Windows: Linux GPU Gaming Benchmarks on Bazzite
Gamers Nexus
1.1M views • 11 months ago
53:11EFI and Linux: the future is here, and it's awful - Matthew Garrett
Linux.conf.au 2012 -- Ballarat, Australia
77K views • 14 years ago
15 comments from Hacker News
'Programming X is like reading one of those French philosophers where afterwards you start wondering whether you really know anything for sure.' [1] [1] Thomas Thurman - ▶ this video link
> I've seen commentary from people who have worked intimately on both protocols and implementations of both who consider Wayland to have the better architecture. For those interested in details: ▶ this video
Well, you can imagine some evil behind everything if you wish.. Or just look at a technical video about it: ▶ this video I don’t see these conteos regarding linux, especially goddamn desktop with the minuscule user share. It is literally a hobby thing for some graphics enthusiasts without any sort of money. Yeah sure, red hat or whatever..
> I have an opposite view. All I can say is that nearly every single one of the former core Xorg developers has said precisely the opposite (sometimes in literal terms [0] [1]), and has switched to developing Wayland. [0] ▶ this video [1] link > In Plasma we need Wayland support as we are hitting the limitations of X all the time. Wayland will simplify our architecture and allow us to composite the screen in the way we consider as most useful.
Daniel Stone, The real story behind Wayland and X (Or, 'Why Everything You've Read in LWN and Phoronix Comments is Untrue') ▶ this video And directly from ajaxnwnk link > Moreover, X works for me now and does everything I need. Someone makes pig fly all these years.
Please address [1] or you don't know what you are talking about. Similar point in next post [2]. [1] ▶ this video [2] link
link I've described context. You've confirmed it. Statement supported not by fact but by inner voice. My morale stems from Christianity, I believe Enlightenment got it right — discovery of nature is discovery of God. I've been to church, I've seen priest who shared joy. I've seen other priests, I would rather not see them. X.Org developer described what's wrong with the project [1]. Not one of the Wayland critiques addressed his points. They have no facts, they just want it to fail. Those who work hard and share for free get anger in return. Sway / wlroots maintainer (ddevault) got off the edge from this misinformation and I do not agree with him but I am not maintainer either. Where is love and God in this story? > That’s not even considering any personal goals, which I have vanishingly little time for. I get zero exercise, and though my diet is mostly reasonable the majority of it is delivery unless I get the odd 2 hours to visit the grocery store. That is, unless I want to spend those 2 hours with my friends, which means it’s back to delivery. My dating life is almost nonexistent. I want to spend more time studying Japanese, but it’s either that or keeping up with my leisure reading. Lofty goals of also studying Chinese or Arabic are but dust in the wind. I’m addicted to caffeine, again. > Less healthy ways have included walking to the corner store to buy unhealthy comfort foods, consuming alcohol or weed too much or too often, getting in stupid internet arguments, being
It would be nice to reproduce phoronix results. Do they run in GNOME shell? What if I run in Sway? What exactly they expect of Selenium? I've heard gedit startup example. Sorry, I can't continue until you've watched presentation [1] > gedit startup: > 130 blocking InternAtom calls > 34 blocking GetProperty calls > 116 property change requests > blocking because Xlib is terrible > usually spends 25ms waiting for requests > sometimes spends 1428ms [1] ▶ this video
This criticism looks like "free as beer and I know better". 1. The old, mostly working thing waits your commit 2. That new thing can have some help too I recommend developers story about this "mostly working thing" (2014) [1]. It is quite fun and eye opening, he clearly knows his subject better than most of the comments. Wayland demo worked almost from day one. I've run it in 2010 [2]. But we need applications, that is migrating toolkits and this took 10 years. It is very toxic development culture, cancel culture, mob. [1] ▶ this video [2] link
Protocol limits what is possible. Legacy defines performance. Gnome is X11 first. Wlroots in Wayland first. It should be possible to optimize Gnome. Wayland was created because of horrible X11 performance [1]. It is not Waylands prime time yet but X.Org still works and maintained. Phoronix.com should have checked contributions [2]. [1] ▶ this video [2] link
But why? X11 works. I've tried wayland in 2010, second time today. If anything today's story shows that developers do not want to work on X11 and how much we depend on Red Hat. X11 problems explained by Daniel Stone [1]. As I understand there are two parallel architectures, one uses X11 server primitives (xfontsel), another renders on client (fontconfig fc-list etc). It is very confusing. [1] ▶ this video
Really recommend that speech as well since it's give good understanding what's wrong with X11 and why Wayland was created. The real story behind Wayland and X: ▶ this video
After watching ▶ this video At 18m30, he mentions that everyone uses SHM and DRI2, which don't work over the network. He mentions X isn't "network transparent" anymore, it's "network capable". I'm not 100% sure what the difference is tbh. At 40m10, he mentions that rendering on the "server" then compressing it to transfer over the network to display locally is basically VNC.
last time I used kde was in 2002. I loved especially kmail and konqueror. Though I have eventually been turned off by the dependency hell of big DE's (not unique to kde and probably only an issue if you compile the DE yourself, ... though also annoying if you have 100+ base-packages/dependencies pulled in just because you want 1 tool). after moving to i3 I find it hard to look back. the level of customization I can do with a tiling WM (also dwm, xmonad etc) is just insane. Makes more sense to me since most of the tools I use are lightweight, e.g. suckless (surf), a complete process tree after login now consists of: ?─┬─?───i3-wrapper───i3 ├─sh───xautolock ├─sh───unclutter ├─sh───dunst───2*[{dunst}] ├─sh───i3bar───sh───python───{python} ├─sh───x-terminal-emul─┬─3*[bash] │ ├─bash───pstree │ └─6*[{x-terminal-emul}] └─systemd─┬─at-spi-bus-laun─┬─dbus-daemon │ └─3*[{at-spi-bus-laun}] ├─at-spi2-registr───2*[{at-spi2-registr}] ├─dbus-daemon ├─dconf-service───2*[{dconf-service}] ├─dirmngr ├─gconfd-2 ├─gvfs-udisks2-vo───2*[{gvfs-udisks2-vo}] ├─gvfsd─┬─gvfsd-trash───2*[{gvfsd-trash}] │ └─2*[{gvfsd}] ├─gvfsd-metadata───2*[{gvfsd-metadata}] ├─pulseaudio───2*[{pulseaudio}] └─tracker-store───4*[{tracker-store}] $> sudo smem -c pss -t | tail -1 606032 ^^^^ as commenter below pointed out this includes processes from other users. the correct figure is smem -c pss -t | tail -1 220678 Use compton if you need some bells+whistles (transparency). If you want to get rid of X.org and use Wayland[0]
>Ultimately, since I can't go wrong with X and I can go wrong with Wayland, the choice was easy. Keep in mind that Wayland has been designed by people who've been maintaining X11 for years. >it also offers no mode that would work over a network X11 has a huge number of issues when it comes to network transparency. tl;dr is: it's not designed for this, you should use a proper remote desktop protocol instead. More info: ▶ this video >Of that, EGL even requires Mesa and thus Cgo. That's not true anymore. You can use the DMA-BUF protocol instead of wl_drm. I'm not sure how to export a DMA-BUF without Cgo though… But that's a different issue. If you're going to use the GPU you'll probably need Cgo anyway.