πŸ“œ ⬆️ ⬇️

What will replace the X Window System?

One of the significant Linux events of the past year was the release of the 25th Fedora with the Gnome 3.22 graphical environment based on the Wayland display server , which is designed to replace the X Window System . But why, after all these years, why did such a need arise?




Recently, the crew of the ISS has moved from Windows to Linux.
- Houston, we have problems. It blows us to Jupiter.
- Are you messing with xorg.conf again?
- Yes. Houston, for the last three days, for some reason, our beards have grown.

Further, it’s about why Linux needs a new graphical environment, at least in 2017, and in a separate post I’ll tell you about Wayland and Mir.


Item X


I am sure that you have already read the Habrapost article about the Linux graphics stack , as well as the page on the wiki and now you can confidently move on. Well, if for now you have left it in bookmarks, let me remind you briefly.





X.Org Server .



, Linux .




X


X β€” , : ?
.

? Android , , X Windows System , - . Linux / Unix , , GTK+ QT, X.


X11 30 . X Window System , 1996 .



X11 Unix . β€” , , X- . , . XLFD .


X :






, , . , modesetting, , GNU/Linux.


X.Org


, , .





, : GPU, , . , OpenGL. X Window system , . , … BIOS , I/O, . X , , .


, , xfree86. , , X.Org GPL. .






- X ? . , X- WM β€” . , X WM, , , . WM, . , ? β€” Wayland.


- . -, DRI off-screen buffer . , , X- WM, DRI .


, , Motif . -, , . IPC, , , pop-up . , , , , , Wayland. , .



X11 X- X-. : , . .


  1. .
  2. ButtonPress.
  3. MapWindow .
  4. .
  5. Expose.
  6. .

, , 4. , , mouse ahead. ButtonRelease . X- .


Server                           Client
+-------+                        +-----+
Left Button Down
               |
               +----------------> Map menu
Left Button Up                     |
      |                            |
      +-------------------------------> No menu operations visible
                                   |
Map Window <-----------------------+

synchronous grab, . . , , . . .



Unix X Window System , . β€” Sun NeWS, Amiga, ? -, TCP/IP, http .





- . , X , . , , X Window System . , . , . - , , , . Linux . , Linux , X .


X Window System Wayland Mir? , . , . . , , systemd. ?



  1. Kernel Recipes 2014 The Linux graphics stack and Nouveau driver
  2. X and the future of Linux graphics
  3. Linux.conf.au 2013 The real story behind Wayland and X
  4. The X Windowing System
  5. Explaining X11 for the rest of us
  6. Thoughts about DRI.Next

')

Source: https://habr.com/ru/post/321470/


All Articles