PCI Passthrough Blackscreen

Apr 9, 2022
2
0
6
I'm following this wiki guide (https://pve.proxmox.com/wiki/Pci_passthrough) for PCI passthrough for my RTX 2070 but getting black screen video when the VM starts (I'm directly plugged into the card HDMI output). I see the bios and grub but nothing after so I believe the device is not being touched by proxmox. When I connect with RDP I see that the device says error code 43 under device manager.

The weird thing is that this card worked perfect in my setup like 2 days ago for a brief test, so I know it works. I can also do passthrough consistently using a radeon R7 so I 100% know my bios is configured properly and the board supports passthrough. I'm losing my mind because everything seems correct from looking around.

Here's my config to hopefully help resolve the issue. Let me know if I can run anything else to narrow down the fault

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"

/etc/modprobe.d/iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1

/etc/modprobe.d/blacklist.conf
blacklist radeon blacklist nouveau blacklist nvidia blacklist nvidiafb

output of lspci -n -s 1:00 (my 2070 address)
01:00.0 0300: 10de:1f07 (rev a1) 01:00.1 0403: 10de:10f9 (rev a1) 01:00.2 0c03: 10de:1ada (rev a1) 01:00.3 0c80: 10de:1adb (rev a1)

/etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1f07,10de:10f9 disable_vga=1

and finally /etc/pve/nodes/pve/qemu-server/101.conf (the vm I want to pass into)
zbios: ovmf boot: order=ide0;ide2;net0 cores: 4 efidisk0: local-lvm:vm-101-disk-1,efitype=4m,pre-enrolled-keys=1,size=4M hostpci0: 0000:01:00,pcie=1,x-vga=1 ide0: local-lvm:vm-101-disk-0,size=256G ide2: local:iso/Win11_English_x64v1.iso,media=cdrom machine: pc-q35-6.1 memory: 8192 meta: creation-qemu=6.1.0,ctime=1649487387 name: Win11 net0: e1000=8E:28:99:2C:47:26,bridge=vmbr0,firewall=1 numa: 0 ostype: win11 scsihw: virtio-scsi-pci smbios1: uuid=56045f65-74b1-4896-8279-1abf88dd26a4 sockets: 1 tpmstate0: local-lvm:vm-101-disk-2,size=4M,version=v2.0 vmgenid: 9c7efb2f-8f91-43ff-9a01-f78d329dccf5
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!