From Pixels To Perception: Linux's X11 vs Wayland in Great Details!

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • Discover the evolution of graphical user interfaces for linux!
    Join us in this informative RUclips video as we explore the history and inner workings of the X Window System, X11, and Xorg.
    Through engaging explanations and illustrative code examples, we'll unlock the secrets of how X11 manages window systems and different window managers using the command line interface (CLI).
    But that's not all! We'll also shed light on the cutting-edge Wayland display server and its revolutionary approach to handling graphics.
    Learn how Wayland differs from X11, its unique advantages, and which one suits your needs best, based on your specific requirements.
    Whether you're a computer science enthusiast, a Linux user, or simply curious about the magic behind graphical interfaces, this video offers valuable insights to deepen your understanding of these essential technologies.
    Don't miss this exciting exploration of X11 and Wayland's realms, packed with knowledge, code demonstrations, and informed recommendations for your graphic journey.
    Timestamps
    00:00 : Introduction
    00:20 : What is a Display Server?
    01:06 : What happens after you press the power button?
    03:10 : What is X11?
    04:35 : Problems with X11
    06:18 : Starting the X Server
    08:32 : What is Wayland?
    09:55 : Pros of Wayland
    10:27 : Conclusion

Комментарии • 53

  • @ClintAnderson808
    @ClintAnderson808 2 месяца назад +6

    this was nice to find after watching several videos that were just people reading web pages or spouting off opinions, thanks for this

  • @lealcy
    @lealcy 5 месяцев назад +16

    The display manager (KDM, GDM, XDM) loads after X11 or Wayland. The DM is just a graphical program to manage the login to the desktop and need a graphical server to load on.

    • @neamupanselutelor7309
      @neamupanselutelor7309 2 месяца назад +1

      How does the DM choose whether to load X11 or Wayland on the first boot?

    • @lealcy
      @lealcy 2 месяца назад

      @@neamupanselutelor7309 it depends on how the distro is configured on install

    • @yusefaslam9675
      @yusefaslam9675 14 дней назад

      In GDM (GNOME Display Manager), there is an option called "WaylandEnable", if that is set to true, GDM uses Wayland, if it is false or commented out it uses X11.

    • @yusefaslam9675
      @yusefaslam9675 14 дней назад

      Sorry, I meant to say in GDM's configuration file.

  • @MrCWoodhouse
    @MrCWoodhouse 9 месяцев назад +7

    Thanks. Helped me a lot to understand. X11 has been such a mystery to me my whole life. Time to learn.

  • @methos1024
    @methos1024 6 месяцев назад +18

    Wayland is not a Display Server that first statement is alredy wrong. It is a Protocol and the actual Desktops have to program thyr Display managers etc. around that protocol for compatibility.

    • @whoman0385
      @whoman0385 2 месяца назад

      same with X11, just a protocol and there are display servers that implement it like xorg and xfree86

    • @methos1024
      @methos1024 2 месяца назад

      @@whoman0385 Yeah, that should be correct. So i should Frame what i want to say a bit different so everyone gets what i really want to say.

  • @gamedevmode
    @gamedevmode 11 месяцев назад +3

    thank you for explaining in such great details!

  • @PoeLemic
    @PoeLemic 2 месяца назад +2

    Thank you for explaining this -- thru showing us an example. It makes total sense. I had basic idea of how X worked, but I'm coming from Windows. And, I want to understand Linux better.

  • @garolstipock
    @garolstipock Год назад

    this was superb!

  • @ToyKeeper
    @ToyKeeper 14 часов назад

    I use X11 because network transparency and accessibility and automation are important, and Wayland sacrificed those things to solve problems I don't have. I could list many examples if youtube's filter would let me, but it blocks long comments... so I'll try to describe just one. I have a bunch of computers, including desktops, notebooks, and servers. I rely on being able to use all of them regardless of where I am or which hardware is in front of me. With X11 I can mix and match freely, but Wayland is designed to prevent that because it's considered unnecessary and a security risk. Like, if I'm at my desk I have a desktop and two notebooks, so I use the desktop's mouse and keyboard for all three, simply moving the cursor off the edge of one screen and onto the next, using a trivial little program called x2x. But frequently I'll grab a notebook to go elsewhere, like a cafe or the loo or a client meeting or even just the living room couch. I can still use every computer, either by exporting a running session as a remote desktop, or running individual programs over the network for remote display, or simply moving the cursor to any screens which happen to be nearby. It all "just works" easily and reliably, even for servers with no screen or keyboard attached. When doing local stuff it's a smooth 60fps with no perceptible lag, and when remote, things are slower but still very usable. But Wayland doesn't do that. In a time when nearly everything in computing is getting more flexible, more interoperable, and more network-transparent... Wayland strives to go in the opposite direction. With Wayland, I can't even use my notebooks while I'm at my desk.

  • @anonymouscommentator
    @anonymouscommentator 2 месяца назад

    loved the video, thank you very much!

  • @sweetlaura7316
    @sweetlaura7316 Год назад +4

    Roses are red, violets are blue, your pixel knowledge is on point, and your humor is too! 😂

  • @aka6double0
    @aka6double0 4 месяца назад +1

    Wow, thank you. Very well said my friend.

  • @iamwatchingthisvid.7682
    @iamwatchingthisvid.7682 Месяц назад

    I ran into problems with wayland being unable to drag and drop archive contents to my file explorer when extracting... but on x11 worked just fine... wayland is much responsive tho and I use gnome desktop.... if this problem in wayland is fixed then I might use it again

  • @twachl8039
    @twachl8039 5 месяцев назад

    great video, thumbs up my friend

  • @silver-zero
    @silver-zero 11 месяцев назад

    thank you so much!

  • @GnuChanOS
    @GnuChanOS 2 месяца назад

    I tried Wayland before in Manjaro, but it only showed a cursor and a black screen, so I gave up. Xorg works fine for me.

  • @harshpandey703
    @harshpandey703 11 месяцев назад

    thanks!

  • @dragos-andreirotaru2316
    @dragos-andreirotaru2316 6 месяцев назад +4

    Hyprland dev commented :))

    • @oddstonegames
      @oddstonegames  6 месяцев назад

      Oh wow! I am glad you watched it. 😄

  • @HikaruAkitsuki
    @HikaruAkitsuki 6 месяцев назад +2

    If you running Linux in VM which is the host is also Linux, X11 version of your DE is work better than Wayland's DE

    • @kienhwengtai8113
      @kienhwengtai8113 Месяц назад

      There's zero benefit using Wayland on VM because the underlying GPU is a virtual GPU anyway.

  • @1pcfred
    @1pcfred Месяц назад

    I use X.0rg but I have used X11 in the past. X11R6

  • @methos1024
    @methos1024 6 месяцев назад

    There is not really a question whether to go with wayland or X11.
    its more like have you an nvidia Graphics card oder an AMD/Intel graphics card. With the first one you have no real choice. witch the others the best option for many usecases ist the not deprecated standard - wayland.
    But you also may have A workload that does currently not support wwayland - so again no choice..

  • @oglothenerd
    @oglothenerd 2 месяца назад +1

    Why hello there! :)

  • @methos1024
    @methos1024 6 месяцев назад +1

    Wayland does NOT handle User input. Things like libinput is used for user inputs

  • @methos1024
    @methos1024 6 месяцев назад

    I Like this explanation, but it ist not 100% correct :-) still good for understanding some things especially about X11

  • @AnnatarTheMaia
    @AnnatarTheMaia 2 месяца назад +1

    Boy am I glad we don't have "Weyland" on Solaris! Good old X11R6 (Solaris 10) and X11R7 (Solaris 11 / illumos) and driiivvveee....

    • @user-xv8xh2ib6p
      @user-xv8xh2ib6p Месяц назад

      Using Solaris is even more funny than using BSD OSes as a desktop. At least FreeBSD and OpenBSD are good for servers. Who tf uses Solaris in 2024?

    • @NitroNilz
      @NitroNilz Месяц назад

      That's very "racist" in terms of OS'es. (Does it have a term? OS-ist?). I would also suggest jumping to open source like an illumos distribution, but still respect people who'd stay on proprietary shit.

    • @AnnatarTheMaia
      @AnnatarTheMaia Месяц назад +1

      @@NitroNilz the word you are looking for is "elitist", and yes it is, and so what? Enough with mediocrity!

    • @NitroNilz
      @NitroNilz Месяц назад

      @@AnnatarTheMaia I was referring to "who […] uses Solaris in 2024?" as elitist. Thank you for the word! Down with mediocracy!

  • @samucancld
    @samucancld 2 месяца назад +1

    X11 makes more sense

  • @gustavojoaquin_arch
    @gustavojoaquin_arch 5 месяцев назад

    Imagine using winbugs

  • @miku
    @miku 6 месяцев назад

    god is happy

  • @SlinkyD
    @SlinkyD 3 месяца назад +3

    Wayland is X12.

    • @1pcfred
      @1pcfred Месяц назад

      Wayland is X0

  • @CocolinoFan
    @CocolinoFan 3 месяца назад

    Wasteland is not a display server, is a protocol

  • @vaxryy
    @vaxryy 6 месяцев назад +21

    22 seconds in an you already have made a considerable mistake. That's quite fast. Neither X11 nor Wayland are display servers.

    • @dragos-andreirotaru2316
      @dragos-andreirotaru2316 6 месяцев назад +2

      Display protocol?

    • @oddstonegames
      @oddstonegames  6 месяцев назад +20

      Ok, I did my research when i made this video but found that the two terms were used interchangeably, I don't have any kind of experience with wayland or x11, i did it only for a month or two and decided to make a video about it. If you can explain in detail it will be of help to anyone reading :)

    • @slycordinator
      @slycordinator 3 месяца назад +7

      ​@@oddstonegames As alluded to, X11 is a windowing system and protocol. A big component of it is the server, but X11 itself isn't the server.
      Though, the distinction can be confusing, given that X11's canonical implementation is XOrg Server.

    • @khaled-0
      @khaled-0 Месяц назад +1

      🤓

    • @wildwestrom
      @wildwestrom 22 дня назад

      ​@@oddstonegames You just admitted you haven't even used the software you're talking about and made a video about them?