Wayland eGPU: Test different compositors?
Hey Linux people! I don't really have time to test this myself, but I figured I would post this in case anyone else wants to try.
We seem to have the X configuration down pretty well for Linux, but for Wayland, I haven't seen anything except setting DRI_PRIME=1 and hoping for the best. In my experience, this isn't great in general; especially on the GNOME desktop where I experience stuttering, screen tearing and sometimes even crashes. I believe this is due to the ongoing development of the mutter compositor used in GNOME's Wayland implementation.
So I was interested in looking at different compositors; I was even more intrigued when I stumbled across the Sway compositor and it seemed to have robust multi-gpu support through a single environment variable. (See the multi-GPU section of the FAQ)
I think this could lead to much better Wayland eGPU setups. However, Sway doesn't seem to have a super user friendly interface (at least to me) and no official supported packages for Ubuntu or Debian.
So, if someone out there with an Arch installation or something and eGPU has a desire to test this that would be cool.
I have been looking into various alternative window managers / compositors, but I have also been interested in checking out Wayland. I looked into installing Sway and was going to give it a shot but this is on their Git read me
All proprietary graphics drivers are unsupported. This includes the Nvidia proprietary driver. The open source Nouveau driver is required instead. This is not going to change, don't ask. Tip: buy your hardware with open source support in mind.
This is not promising to say the least.
Yeah I agree, I actually messed around a bit with Sway on a Manjaro i3 install but didn't really get anywhere. Plus, Steam doesn't seem to like a tiling WM so it's probably not worth installing unless you're used to that kind of thing. FWIW it seems like more mainstream compositors will implement better multi-gpu features eventually.