148
submitted 1 year ago by CAPSLOCKFTW@lemmy.ml to c/linux@lemmy.ml

Hey Community,

Since I just read a post about the X11 vs. Wayland situation I'm questioning if I should stay on X11, or switch to Wayland. Regarding this decision, I'm asking you for your opinions plus please answer me a few questions. I will put further information about my systems at the bottom.

  • What are the advantages of Wayland? What are the disadvantages?
  • I do mostly music production, programming, browsing, etc, but occasionally I'm back into gaming (on the desktop). How's performance there? Anything that might break?
  • what would be the best way to migrate?
  • why have/haven't you made the switch?

Desktop: Ryzen 3100, 16 Gig Ram, Rx 570 Arch Linux with KDE 144 hz Freesync Monitor and 60hz shitty monitor

laptop: Thinkpad L540 (iirc), i3 4100, 8 GB Ram intel uhd630 gfx (iirc) Arch Linux with heavily customized i3-gaps

you are viewing a single comment's thread
view the rest of the comments
[-] Coelacanthus@lemmy.kde.social 23 points 1 year ago* (last edited 1 year ago)

You should, I think. You don't have Nvidia GPU, so you can avoid almost bugs and get better performance.

Advantages:

  1. Better performance. e.g. for Firefox, @lilydjwg got double performance in wayland.
  2. Better multi-screen with multi-DPI support.
  3. Better maintaince. Many DE has put more and more to wayland. And many new features will only be implemented in wayland. (That's because implementing many new features will be difficult or even impossible in X11 old software architecture, as KWin developers said.)

Disadvantages:

  1. Some missing feature, such as remote desktop.
  2. Many bugs when you use Nvidia GPU.
  3. None of the compositors except KWin and Hyprland can use input methods with electron.

I don't know which DE/WM you use. If you use Plasma/GNOME, migration is simple, just switch in SDDM/GDM. If you use i3, you can try sway, it's compatible with i3 config. If you use others, you can try hyprland or wayfire. Wayfire has fantastic animations.

I switch to wayland because I buy a new screen with different DPI... But when I switched, I found I got better performance and video hardware acceleration in Firefox (this feature was introduced to Firefox Wayland first).

[-] michaelrose@lemmy.ml 0 points 1 year ago

double performance in wayland

Ya that is complete nonsense.

Firefox accelerated decoding works in X11 as does mixed DPI

[-] Coelacanthus@lemmy.kde.social 1 points 1 year ago* (last edited 1 year ago)

There is a benchmark use https://webglsamples.org/aquarium/aquarium.html

https://blog.lilydjwg.me/2021/11/12/display-tearing.215968.html

  • X11 + Intel card, 1080p 60fps, GPU fully utilized, one third of frames dropped! 4k 60fps is about the same. It turns out that the focus is not on the resolution (the GPU isn't used to its full capacity anyway), it's on the frame rate of the video.
  • Wayland + Intel cards, 4k 60fps, not even dropping frames, let alone anything else, and the GPU is used for about half of the graphics calculations.

For hardware decode, when I switched to wayland, it was only implemented in Wayland. After they implememted EGL on X11, they implemented hardware decode on X11 as well.

For mixed DPI, applications can implement it use screen information, but not all applictions will do this. But wayland ask them to implement this feature.

load more comments (5 replies)
this post was submitted on 01 Sep 2023
148 points (92.5% liked)

Linux

48214 readers
756 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS