434
Wayland vs Xorg be like (sh.itjust.works)

Yes, I made it using a laptop's trackpad, how could you tell?

[Image description: Panel 1: Young man confidently walking, his vest bears the Wayland logo. Behind him is a grunt with the Gnome logo on his face holding a katana. The young man says: "It's high time you retire, old man!" Panel 2: An old man with a long beard and the Xorg logo on his chest is sitting on a throne and petting a rat, the XFCE mascot. He says: "It's still a hundred years too early for you to defeat me!" ]

you are viewing a single comment's thread
view the rest of the comments
[-] independantiste@sh.itjust.works 57 points 8 months ago* (last edited 8 months ago)

Wayland gets so many more of the basics so much better than X11 it's not even funny anymore. X11 is stuttery, unsecure, unmaintaned, can't really be updated for new features that are pretty important in 2024 (VRR, HDR). For now with my usage, the only big disadvantage I saw from Wayland is that you can't restart it like X11 when something goes wrong, but that's the thing, I haven't had to restart it like I had to often with X11. Even on Nvidia Wayland is better now, except maybe for gaming but that's Nvidia for you.

[-] Rustmilian@lemmy.world 33 points 8 months ago

You absolutely can restart Wayland. The command to do so is just specific to whichever DE or WM you're using as they have their own Wayland Compositor implementation.

[-] Pantherina@feddit.de 10 points 8 months ago

DEs should implement good commands for that

  • start session from tty (example startplasma-wayland)
  • logout (example qdbus org.kde.ksmserver /KSMServer logout 0 3 3)
  • restart wayland server (example kwin_wayland --replace)

Some of those are completely undiscoverable

[-] Rustmilian@lemmy.world 1 points 8 months ago

Yeah, I agree. I just ended up aliasing them.

[-] Pantherina@feddit.de 4 points 8 months ago

Haha me too, didnt know the third one

[-] Aganim@lemmy.world 3 points 8 months ago* (last edited 8 months ago)

X11 is stuttery

Not for me

unsecure

Source?

unmaintaned

Received a number of commits just last week: https://gitlab.freedesktop.org/xorg

can't really be updated for new features that are pretty important in 2024 (VRR, HDR).

VRR is supported, at least on AMD: https://wiki.archlinux.org/title/Variable_refresh_rate

For HDR you have a point, afaik.

Wayland gets so many more of the basics so much better than X11 it's not even funny anymore.

And yet X11 works rock solid for me, while Wayland still crashes whenever I so much as look at it wrong. The amount of time and work I've lost because of Wayland crapping out on me isn't even funny anymore. On AMD by the way, so no blaming Nvidia's crappy Linux support.

Wayland will probably be the better product one day, but this day is not that day, at least not for every use-case. Great that it works fantastically for you, I genuinely advise you to keep using it, but keep in mind that 'mileage may vary' from person to person. Personally for now I'll stick to X11, as I need to get work done and unfortunately don't have time to muck around with Wayland's antics.

[-] Rustmilian@lemmy.world 14 points 8 months ago* (last edited 8 months ago)

Not for me

Source?

The Xorg devs have literally stated as much themselves.

Received a number of commits just last week: https://gitlab.freedesktop.org/xorg

The vast majority of those commits are literally because of Xwayland.

VRR is supported, at least on AMD: https://wiki.archlinux.org/title/Variable_refresh_rate

Barely, it has numerous issues. The Wayland VRR implementations address much of those issues.

For HDR you have a point, afaik.

HDR literally can't be added to Xorg without rewriting the entire stack. They've been trying to get HDR working for something like around 10yrs before they gave up completely.
Wayland on the other hand has been designed from the ground up to be completely expandable, directly addressing the largest problem with Xorg, maintainability.

...at least not for every use-case... ...‘mileage may vary’ from person to person...

Yes, that's true. What would reduce edge cases however, is if you reported those bugs.

Wayland will probably be the better product one day...

That day is coming sooner then later.

Personally for now I’ll stick to X11...

That's fine, however you should switch as soon as it becomes viable to do so.

[-] Pantherina@feddit.de 7 points 8 months ago

X11 is insecure. Any program can read any keystroke, any windows contents, can input anything anywhere etc.

The concept of separate apps basically doesnt exist.

[-] WaterWaiver@aussie.zone 3 points 8 months ago* (last edited 8 months ago)

Those security features are misleading.

A second app can already read all of your files, modify the first app, modify $PATH to replace your display server and do anything it wants as your user. Running wayland instead of Xorg provides no tangible benefits in security.

[-] Pantherina@feddit.de 6 points 8 months ago

Yes and wayland is a puzzle piece of fixing that.

The other one is containerized apps that use a trusted system portal to get opt-in filesystem access to actually needed directories.

[-] mlg@lemmy.world 2 points 8 months ago

10% FPS drop compared to X11 because of perfect frame requirements

X11 has literally never stuttered even on the hack that is WSL

The only time I have actually gotten X11 to crash was an unrelated kernel panic.

Also no one uses X11 networking by default lmao, its always X forward over SSH, that is definitely secure and still something wayland can't do.

[-] feral_hedgehog@pawb.social 4 points 8 months ago

Also no one uses X11 networking by default lmao, its always X forward over SSH, that is definitely secure and still something wayland can’t do.

Sure it can, with waypipe (like, for a while now...)
Just waypipe ssh <host> [command]

You can even run X apps over this through cage even when X11 forwarding is disabled by the host (because, you know, the security issues...)

[-] MeanEYE@lemmy.world -1 points 8 months ago

I see you have never used nVidia cards.

[-] nexussapphire@lemm.ee 1 points 8 months ago

It's still buttry smooth, you just have to downgrade back to x11 when the Nvidia drivers shit in there hands and claps.

[-] MeanEYE@lemmy.world 1 points 8 months ago

I was referring to crashing X11. That happens all the time with nVidia.

[-] nexussapphire@lemm.ee 1 points 8 months ago

I thought it was hyperbole, that sucks. If your using an Nvidia card from before 2014(kepler) those drivers aren't officially being supported anymore on linux. I'd recommend upgrading, maybe going used if your strapped for cash. 20series and later is getting a lot of love rn so id probably wouldn't go older than 20 series.

[-] MeanEYE@lemmy.world 2 points 8 months ago

Oh, I did upgrade, to AMD card. Since then 0 issues. :D

this post was submitted on 28 Feb 2024
434 points (96.4% liked)

linuxmemes

21281 readers
11 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS