Do gnome3 and plasma use wayland by default? I'm so confused about wayland.
First, I'm really confused as to what EXACTLY wayland and x *are*. Can any of you recommend a ess-technical reference I can read to learn about it? Reading that it is a compositor protocol which interfaces with the xyz client is just beyond my skill/knowledge level right now. I need something a little more dumbed down than that.
i've been using arch a couple weeks now and find it superior in every way to other distros I've used such as fedora, ubuntu, mint and suse to name a few. I absolutely love pacman. What I haven't settled on is a desktop. I'm running a desktop ryzen 2700x/1070ti and so far gnome has run the smoothest. KDE ran pretty smooth but I disliked the workflow. I also dislike the gnome workflow but it runs so smooth I continue to use it. xfce gave me screen tearing and tonight I tried i3 which also gave me tearing. I was trying to figure out why only gnome and KDE run without tearing. Do they both use wayland? I can't find a definitive yes/no on that.
If it is so, then what is all this I hear about nvidia prop drivers not working with wayland? I don't know, I'm feeling really lost. Someone suggested I replace i3 with sway. I Feel like this is a learning moment for me though, so I Want to take advantage of it.
About this post
- Posted
- Archived
- Score
- 9 · 100% up
- Kind
- Text
- ID
- fteaqa
4 comments
Gnome uses wayland by default, though it seems to fallback to X if you're using the nvidia proprietary driver. Plasma uses X by default. You can usually change that from your display manager. You should have options named something like Gnome (Xorg) and Plasma (Wayland) for the non-default cases. After you've already logged in you can check what server you are using as described here.
In layman terms, they define how the input & output of graphical applications should be handled. The part that you are mostly going to notice as a casual user is that they handle drawing the output of programs to the screen differently.
Well, nvidia pulled a classic nvidia and chose to only support a buffer API that literally no one else uses. This is why getting wayland to work on nvidia is a separate issue from getting it to work on everything else and some projects might just choose to not support it at all.
sway is a window manager, which handles exactly what it sounds like. This is the part of the desktop environment that is going to interface with the display server (wayland/X). i3 seems to be X only and sway's official website states:
So it sounds like what you want and it will most likely be tear-free.
As far as I know,
both GNOME andPlasma runs on X by default, unless you launch them into Wayland explicitly. What I suppose helps with tearing in them is having a desktop compositor - which is basically a program that takes every individual window, and instead of having them drawn directly on the screen, draws each one into its own individual video buffer (i.e. "redirects" to that buffer) and then composes the final image out of all the windows, likely in sync with your monitor.I personally use Picom as my compositor on i3, which has a setting that removes tearing, which also works well. But it introduces a very tiny impercievable delay because of it (as all tearing removing solutions do, usually), which makes me not want to have it enabled. I'm fine with tearing :v
Probably not exactly what you need, but this website with live examples really helps understanding what an X server (and XOrg specifically) is and how it works: https://magcius.github.io/xplain/article/
Or see comments of this (rather old) Reddit post that linked that article above: https://www.reddit.com/r/linux/comments/d7e3sc/understanding_the_working_of_x11_from_the_ground/
That should give more knowledge.
GNOME uses Wayland as default if not running on proprietary NVIDIA drivers.
Oh, good to know.