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

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 75

  • @lealcy
    @lealcy 11 หลายเดือนก่อน +47

    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 8 หลายเดือนก่อน +3

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

    • @lealcy
      @lealcy 8 หลายเดือนก่อน

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

    • @yusefaslam9675
      @yusefaslam9675 6 หลายเดือนก่อน +5

      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 6 หลายเดือนก่อน +4

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

    • @mgord9518
      @mgord9518 2 หลายเดือนก่อน

      ​@@neamupanselutelor7309 I don't think any DMs "choose", they're just configured to use one out of the box

  • @cebruthius
    @cebruthius 2 หลายเดือนก่อน +15

    Riddled with errors. Modern Xorg uses libinput as well. KMS is not used to get graphics on the screen, as the name says its responsibility is mode setting. Check Wikipedia. You're confusing it with DMR (direct rendering manager). Xorg supports hardware-accelerated compositing. MIT-SHM is not used for IPC between clients, but only for clients to efficiently push image data to the server if they're on the same machine. MIT-SHM is more efficient than connecting through a unix domain socket.

  • @reallyWyrd
    @reallyWyrd หลายเดือนก่อน +2

    I found the video helpful, but I also found the comments pointing out the video's mistakes to be helpful as well. So thanks for leaving those up. 👍

  • @ClintAnderson808
    @ClintAnderson808 8 หลายเดือนก่อน +11

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

  • @meqdadfn
    @meqdadfn 4 หลายเดือนก่อน +2

    This is the best explanation of display servers and windows managers I’ve watched! Great video.

  • @methos1024
    @methos1024 ปีที่แล้ว +37

    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 8 หลายเดือนก่อน +6

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

    • @methos1024
      @methos1024 8 หลายเดือนก่อน +1

      @@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.

    • @mgord9518
      @mgord9518 2 หลายเดือนก่อน +5

      ​@@whoman0385 Yeah, except X11 is so complex that XOrg is the only usable one. Mind you that XOrg is also a fork of XFree86, which has now died so talking about them as if they're separate projects is a little misleading

    • @happygofishing
      @happygofishing 8 วันที่ผ่านมา +1

      SAAAAAR!!!!

  • @MrCWoodhouse
    @MrCWoodhouse ปีที่แล้ว +9

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

  • @akashashen
    @akashashen 4 หลายเดือนก่อน +1

    Minor note, over a year later, initramfs loads the root file system. It loads first in case a problem disrupts that sequence (that's why it has itsown mini-toolkit/environment.

  • @sweetlaura7316
    @sweetlaura7316 ปีที่แล้ว +5

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

    • @oddstonegames
      @oddstonegames  ปีที่แล้ว +1

      AAHHAHAHHA! Thank you so much!

  • @sacredbanana
    @sacredbanana 4 หลายเดือนก่อน +3

    Apparently there's a primitive version of X11 for Commodore Amiga to ease porting UNIX applications to AmigaOS, though I know nothing about it

  • @gamedevmode
    @gamedevmode ปีที่แล้ว +3

    thank you for explaining in such great details!

  • @agentotten
    @agentotten 2 หลายเดือนก่อน +1

    Wayland is cool and all but damn X11, that old stuff just works.

  • @PoeLemic
    @PoeLemic 8 หลายเดือนก่อน +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.

  • @iamwatchingthisvid.7682
    @iamwatchingthisvid.7682 7 หลายเดือนก่อน +1

    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

  • @HikaruAkitsuki
    @HikaruAkitsuki ปีที่แล้ว +3

    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 7 หลายเดือนก่อน

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

  • @Mattia_98
    @Mattia_98 3 หลายเดือนก่อน +2

    X11 Compositors can absolutely use the GPU for rendering.

  • @ToyKeeper
    @ToyKeeper 6 หลายเดือนก่อน +4

    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.

  • @aka6double0
    @aka6double0 10 หลายเดือนก่อน +1

    Wow, thank you. Very well said my friend.

  • @garolstipock
    @garolstipock ปีที่แล้ว

    this was superb!

  • @NKG416
    @NKG416 5 หลายเดือนก่อน

    so what's the different between linux and windows in these area?

  • @dragos-andreirotaru2316
    @dragos-andreirotaru2316 ปีที่แล้ว +6

    Hyprland dev commented :))

    • @oddstonegames
      @oddstonegames  ปีที่แล้ว

      Oh wow! I am glad you watched it. 😄

  • @GnuChanOS
    @GnuChanOS 8 หลายเดือนก่อน

    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.

  • @1pcfred
    @1pcfred 7 หลายเดือนก่อน +1

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

  • @anonymouscommentator
    @anonymouscommentator 9 หลายเดือนก่อน

    loved the video, thank you very much!

  • @twachl8039
    @twachl8039 11 หลายเดือนก่อน

    great video, thumbs up my friend

  • @vaxryy
    @vaxryy ปีที่แล้ว +54

    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 ปีที่แล้ว +4

      Display protocol?

    • @oddstonegames
      @oddstonegames  ปีที่แล้ว +32

      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 10 หลายเดือนก่อน +12

      ​@@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 7 หลายเดือนก่อน +7

      🤓

    • @wildwestrom
      @wildwestrom 6 หลายเดือนก่อน +9

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

  • @methos1024
    @methos1024 ปีที่แล้ว +2

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

  • @silver-zero
    @silver-zero ปีที่แล้ว

    thank you so much!

  • @xXaymanXxBG
    @xXaymanXxBG 5 หลายเดือนก่อน +1

    Dawg now i understand why since i stopped using wayland my pc stopped freezing forcing me to cut off electricity on the entire pc just to reboot...

  • @Fetrovsky
    @Fetrovsky วันที่ผ่านมา

    Nowm is pretty cool.

  • @AnnatarTheMaia
    @AnnatarTheMaia 8 หลายเดือนก่อน +1

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

    • @JacksonNick-j6i
      @JacksonNick-j6i 8 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน +1

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

    • @NitroNilz
      @NitroNilz 7 หลายเดือนก่อน

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

  • @wile123456
    @wile123456 6 หลายเดือนก่อน

    The only annoying thing in wayland is vsync is forced on for everything, so the vsync setting in video games litterally does nothing. Vsync should be enabled for windows and desktop applications, but its annoying it doesnt allow easy changing of vsync of games or 3D applications

  • @CocolinoFan
    @CocolinoFan 9 หลายเดือนก่อน +3

    Wasteland is not a display server, is a protocol

  • @methos1024
    @methos1024 ปีที่แล้ว

    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..

  • @RishiYT-is1ld
    @RishiYT-is1ld 5 หลายเดือนก่อน

    thank you

  • @harshpandey703
    @harshpandey703 ปีที่แล้ว

    thanks!

  • @samucancld
    @samucancld 8 หลายเดือนก่อน +2

    X11 makes more sense

  • @oglothenerd
    @oglothenerd 8 หลายเดือนก่อน +1

    Why hello there! :)

  • @nonenothingnull
    @nonenothingnull 29 วันที่ผ่านมา +1

    I need autistic detail and this isn't it yet

  • @SlinkyD
    @SlinkyD 9 หลายเดือนก่อน +4

    Wayland is X12.

    • @1pcfred
      @1pcfred 7 หลายเดือนก่อน

      Wayland is X0

  • @methos1024
    @methos1024 ปีที่แล้ว

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

  • @miku
    @miku ปีที่แล้ว

    god is happy

  • @gustavojoaquin_arch
    @gustavojoaquin_arch 11 หลายเดือนก่อน

    Imagine using winbugs

  • @Fetrovsky
    @Fetrovsky วันที่ผ่านมา

    Oi Veyland!

  • @kencreten7308
    @kencreten7308 3 หลายเดือนก่อน +1

    when you talk - you don't need to say the words that people can - read on the screen...