2 ms·
Virtualization is such a key ability. I really really lament that it's been tucked away, in a couple specific products (The last MxGPU is, what, half a decade o
by jauntywundrkind 3y ago
Virtualization is such a key ability. I really really lament that it's been tucked away, in a couple specific products (The last MxGPU is, what, half a decade old? More? Oh I guess they finally spun off a new one, an RDNA2 V620!).
I keep close & cherish a small hope that for some use-cases we might get a soft virtualization-alike that just works. I don't know enough to say how likely this is to adequately work, but in automotive & some other places there are nested Waylands, designed to share hardware. You still need a shared OS layer, a shared kernel, and a compositor that manages all the subdesktops - this isn't full virtualization - but hypothetically you get something very similar to virtualized/VDI gpus, if you can handle the constraints.
This is really a huge huge huge shift that Wayland has potentially enabled, by actually using kernel resources like DMA-BUFs and what not, where apps can just allocate whatever & pass the compositor filehandles to the bufs. Wayland is ground up, unlike X's top down. So it's just a matter of writing compositors smart enough to push what data from whom needs to get rendered and sent out where.
I would love to know more about what hardware virtualization really buys, know more about the limitations of what VDI is possible in software. But my hope is, in not too long, there's good enough VDI infrastructure that it's basically moot whether a gpu has hardware support. There will be some use cases where yes every users needs to run their own kernel & OS, and that won't be supported (albeit virtio might workaround even that quite effectively), but for 95% of use cases the more modern software stack might make this a non-issue. And at that point, these companies might stop having such expensive-ass product segmentation, charging 3x as much to have a couple hardware virtual devices, since in fact it costs them essentially nothing & the software virtualization is so competitive.