Hi everyone,
I am encountering issues with GPU passthrough in a Windows 11 VM.
My build:
- Ryzen 9 9950x
- Gigabyte x870 Gaming Wifi 6
- NVIDIA RTX 5070ti
UEFI settings:
- Resizable BAR: enabled
- Above 4G decoding: enabled
- CSM: disabled
GRUB config:
GRUB_CMDLINE_LINUX_DEFAULT="quiet pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb
ff video=efifb
ff video=simplefb
ff"
VM config:
args: -cpu host,-hypervisor,kvm=off, -smbios type=0,vendor="American Megatrends International",version=F5,date="03/12/2025"
bios: ovmf
boot: order=scsi0;net0
cores: 16
cpu: host,hidden=1
efidisk0: vms:vm-110-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:01:00.0,pcie=1,romfile=vbios.bin,vendor-id=0x10de,x-vga=1
machine: pc-q35-9.2+pve1
memory: 32768
meta: creation-qemu=9.2.0,ctime=1745758477
name: Win11-gaming
net0: virtio=BC:24:11:B9
3:58,bridge=vmbr0,firewall=1
ostype: win11
scsi0: vms:vm-110-disk-1,iothread=1,size=150G
scsihw: virtio-scsi-single
smbios1: uuid=67dbbf21-678b-45dd-a5d4-94f1d3ac6487
sockets: 1
tpmstate0: vms:vm-110-disk-2,size=4M,version=v2.0
vga: virtio
vmgenid: c9eef372-e262-4aa4-83bf-b78268cda3a8
Basically, I set up IOMMU correctly and I can pass the GPU to the VM. Then I configure the basic stuff (RDP, VirtIO drivers for the NIC, ...).
The issues arise when I try to download the nvidia drivers: at first the GPU seems to get recognized correctly (no code 43), but when I reboot it, it gets stuck on the loading screen (see image) and sometimes windows goes into recovery.
Further tests revealed that the issues start as soon as the drivers finish installing. I discovered this because I tried not to connect through RDP but with an HDMI cable to a physical monitor and there I could see the image until the drivers finished installing, then I could only see a black screen.
I already tried multiple "solutions" which did not work: changing the GRUB config, recreating the VM, removing the drivers through DDU and then reinstalling them even using NVCleanstall to check the MSI flag, but still no luck.
Can someone help me?
I am encountering issues with GPU passthrough in a Windows 11 VM.
My build:
- Ryzen 9 9950x
- Gigabyte x870 Gaming Wifi 6
- NVIDIA RTX 5070ti
UEFI settings:
- Resizable BAR: enabled
- Above 4G decoding: enabled
- CSM: disabled
GRUB config:
GRUB_CMDLINE_LINUX_DEFAULT="quiet pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb



VM config:
args: -cpu host,-hypervisor,kvm=off, -smbios type=0,vendor="American Megatrends International",version=F5,date="03/12/2025"
bios: ovmf
boot: order=scsi0;net0
cores: 16
cpu: host,hidden=1
efidisk0: vms:vm-110-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:01:00.0,pcie=1,romfile=vbios.bin,vendor-id=0x10de,x-vga=1
machine: pc-q35-9.2+pve1
memory: 32768
meta: creation-qemu=9.2.0,ctime=1745758477
name: Win11-gaming
net0: virtio=BC:24:11:B9

ostype: win11
scsi0: vms:vm-110-disk-1,iothread=1,size=150G
scsihw: virtio-scsi-single
smbios1: uuid=67dbbf21-678b-45dd-a5d4-94f1d3ac6487
sockets: 1
tpmstate0: vms:vm-110-disk-2,size=4M,version=v2.0
vga: virtio
vmgenid: c9eef372-e262-4aa4-83bf-b78268cda3a8
Basically, I set up IOMMU correctly and I can pass the GPU to the VM. Then I configure the basic stuff (RDP, VirtIO drivers for the NIC, ...).
The issues arise when I try to download the nvidia drivers: at first the GPU seems to get recognized correctly (no code 43), but when I reboot it, it gets stuck on the loading screen (see image) and sometimes windows goes into recovery.
Further tests revealed that the issues start as soon as the drivers finish installing. I discovered this because I tried not to connect through RDP but with an HDMI cable to a physical monitor and there I could see the image until the drivers finished installing, then I could only see a black screen.
I already tried multiple "solutions" which did not work: changing the GRUB config, recreating the VM, removing the drivers through DDU and then reinstalling them even using NVCleanstall to check the MSI flag, but still no luck.
Can someone help me?
Attachments
Last edited: