Update ii 04.08. : After updating kernel(so effing easy today … click…
) it took me about 30 minutes to get it running with the instructions in the arch wiki
Update 04.08.2025 : Just came across this (no point trying until kernel is update):
https://www.reddit.com/r/VFIO/comments/1ma1gk1/error_43_after_libvirtqemu_update_nvidia/
Some notes:
Placing the VM file on an NTFS partition because that’s where space is available should be avoided. At some point funky permission problems arise.
Using HDMI or Display Port can make a difference. For some only one works. For some it only works if a monitor is connected for the guest after guest has booted.
There is a HUGE difference in performance between qcow2 and RAW on HDDs
Hello
Summary:
- Host uses iGPU from an i7-9700k
- An RTX 3070 on the system is using vfio-pci and not in use by the host.
- The RTX 3070 has been made available to a Windows 11 guest as a PCI device in QEMU.
- NVIDIA driver installation under Windows guest successful.
- However the GPU shows correctly named with error 43 in the guest’s device manager.
Long version
I felt tremendous success when finally I saw this under the GPU:
“Kernel driver in use: vfio-pci”.
But that was killed a few minutes later by error 43 in the guest.
From what I read, the error used to be caused by a missing function in the nvidia drivers which has since become available.
For the GPU isolation I looked at various tutorials and what some scripts did.(One killed my installation)
My last attempt was first going through the Virt-manager steps in the Wiki on a freshly installed system. Then ‘upgrading’ that with everything from SysGuides (How Do I Properly Install KVM on Linux (2024)) except for bridged networking.
A fresh install of a Windows guest (again following tips from SysGuides) then resulted in a more responsive VM, but the error with GPU passthrough remains.
I’ve also dumped the ROM and added that to the corresponding XML configuration in QEMU. Just like adding the now obsolete lines for vendor ID and hiding in the main config XML… no luck.
Host is using the IGPU of an i7-9700k and for the guest I want to make an RTX 3070 available.
I’m using GRUB (most systems in tutorials and instructions appear to be).
Both outputs go to the same monitor and for now I’ll be happy to switch inputs as needed. I’ll look at the other things allowing for a more seamless integration, including proper passthrough of USB after the GPU is working. Main thing is having the processing power available.
Many thanks in advance.