Can the Virtio-GPU Venus driver be installed?

I want to setup the 3d accelerated vulkan driver, venus for virtual machines in nixos but cant figure out how

3 Likes

I want this too. Looks like it needs a patched Qemu.
From https://docs.mesa3d.org/drivers/venus.html:

from the virtio-gpu kernel driver, unless vtest is used. That usually means the guest kernel should be at least 5.16 or have the parameters back ported, paired with hypervisors such as crosvm, or patched qemu.

Probably needs an additional option in the Qemu derivation something like:

(qemu.override { venusSupport = true; })

Patching might not be necessary considering there are plans for it to be upstreamed:

1 Like