by jamesu on 12/11/24, 10:38 PM
It's nice to see support for vulkan in qemu actually getting somewhere, being able to run modern accelerated workloads inside a vm (without dealing with sr-iov) is pretty cool and definitely has some use cases.
by jakogut on 12/12/24, 12:08 AM
Features like this are why I prefer using QEMU directly rather than an abstraction like libvirt on top of QEMU.
Graphical interfaces like virt-manager are nice at first, but I don't need an abstraction on top of multiple hypervisors to make them all look superficially the same, because they're not. Eventually the abstraction breaks down and gets in the way.
I need the ability to use the full capability of QEMU. I'll write a shell script to manage the complexity of the arguments. At least I don't have to deal with XML, validation, and struggling with enabling the options I want that are only supported by one specific emulator, which libvirt doesn't support, because it's not common to all of the backends.
by throwaway48476 on 12/12/24, 12:13 AM
This isn't SR-IOV which is a hardware feature for virtualizimg GPUs. The problem is the OEMs that gate this feature for enterprise products. Few people buy them so the state of the software ecosystem for virtual GPU is terrible.
by rafaelmn on 12/11/24, 10:23 PM
So this seems to be about enabling a Linux VM use Vulkan on a Linux host qith Vulkan support ?
by crest on 12/12/24, 12:32 AM
At that point just run the code inside a chroot with a full /dev and call it good enough. No common GPU driver, firmware or hardware was designed to securely run really untrusted code from multiple tenants.
by C-x_C-f on 12/12/24, 12:20 AM
Ignorant question—how's this different from qemu-virgl? I've been using the latter (installed from homebrew) for the last few years passing --device virtio-vga.
by xrd on 12/12/24, 2:38 AM
Does this mean you can run cuda applications inside a qemu VM? The equivalent to --gpu=all for docker but now in an isolated VM? Is this permitting sharing of the GPU inside a VM?
by doctorpangloss on 12/11/24, 11:32 PM
Does this mean graphics workloads using Vulkan can be isolated and share most GPUs securely?
by shmerl on 12/11/24, 11:27 PM
Looking forward to KDE Plasma implementing Vulkan rendering and then it would run in qemu/kvm with GPU acceleration over Vulkan rather than OpenGL.
by enoeht on 12/12/24, 6:48 AM
One still needs an extra discrete vulkan gpu for it and the other for running the OS?
by nubinetwork on 12/12/24, 7:33 AM
Someone wake me up when libvirt/virt-manager supports it, because i can't get the regular virtio gpu acceleration working either... something something spice doesn't support it...
by cwbriscoe on 12/11/24, 10:18 PM
Unfortunately my distro is at linux version 6.8. Looking forward to trying it out someday.