Thomas Leonard
On Wed, 3 Nov 2021 at 11:37, Alyssa Ross
wrote:Have you seen the new mechanism for Wayland over virtio-gpu context types that Google are moving towards? It's supported in mainline Linux now, and in Sommelier. I'd expect virtio-wl to go away at some point in favour of that.
Ah, is that released already? I saw you mentioned it in your handy graphics write-up, but I thought it wasn't due until Linux 5.16: https://www.phoronix.com/scan.php?page=news_item&px=VirtIO-Linux-5.16-Ctx-Type
You're right. They've just made it toLinus's git tree. But they should be ready for testing if you're brave! :P
I don't know any details about it, but unless it's massively more complicated than virtwl it shouldn't be any trouble to switch to it. Will be nice not having to port virtwl to each new kernel!
Also, I've been following some Qubes work recently, and it sounds like they might be interested in doing X11 over Wayland in a way that wouldn't need special compositor support (and the corresponding potential for security bugs). It sounds like it would be a lot of work though, so we'll see…
Isn't that what Sommelier and wayland-proxy-virtwl are both doing already though? There's no need for any X11 support in the host compositor with them.
Oh I didn't realise that. So the host compositor doesn't have to implement an X11 window manager and speak back to the Xserver, like it does in a normal XWayland setup[1]? [1]: https://wayland.freedesktop.org/docs/html/ch05.html#sect-X11-Application-Sup...