On Tue, Mar 15, 2022 at 02:06:04PM +0000, Alyssa Ross wrote: > On Sun, Mar 13, 2022 at 03:08:04PM +0000, Thomas Leonard wrote: > > On Wed, 10 Nov 2021 at 12:59, Alyssa Ross wrote: > > > > > > Thomas Leonard writes: > > > > > > > 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'm happy to test it now with Linux 5.16, but I think I need a newer > > crosvm too. Looks like support got added in > > https://github.com/google/crosvm/commit/231a54f36fbfb90ebac152d66f937af3644f6676, > > so it should be in 94.14150. > > > > Is there a new-enough package for crosvm available somewhere? NixOS > > only has 81.12871.0.0-rc1, and spectrum seems to be on > > 91.13904.0.0-rc2. > > I don't know of one. I haven't been keeping it up to date since we've > mostly switched over to cloud-hypervisor for Spectrum, but it doesn't > have any way of doing virtio-gpu (yet, porting crosvm's vhost-user-gpu > implementation is on my list). > > I'll have a go at updating it in Nixpkgs and report back. Okay, here's a package for crosvm 99.14468.0.0-rc1: https://github.com/NixOS/nixpkgs/pull/164306 I've tested some basic stuff, but haven't tested virtio-gpu. I don't see any reason it wouldn't work, though. Good luck! Let me know if I can help with anything else.