GPU Passthrough ends up with PCI_NUM_PINS error

server_paul

New Member
Jun 22, 2022
10
0
1
I'm running Proxmox on my server and recently added a AMD Raden RX 5700 XT.
It is affected by the vendor-reset bug, but I solved that. I can now reboot the VMs without any errors.

The GPU has 1 HDMI and 3 DP Ports. I initally connected it via HDMI to my Monitor, which is connected to a smart power plug so I can turn it off completely when I'm not home. This worked well.

However, I now switched to DisplayPort and just "restarting" my monitor ends up in a error.
Code:
kvm: ../hw/pci/pci.c:1637: pci_irq_handler: Assertion `0 <= irq_num && irq_num < PCI_NUM_PINS' failed.
TASK ERROR: start failed: QEMU exited with code 1
The only way I was able to fix this is by rebooting Proxmox.
 
I solved it - I used to do
Code:
echo 0 > /sys/bus/pci/devices/.../d3cold_allowed
because I had some troubles with that in the past. Once I echo'ed 1 into that, the error didn't return.
The VM however, still runs into an "internal error". After a reboot of the VM everything worked fine again...
Can I somehow get a log of what happened inside the Debian VM?
 
I'm having similar issue with RX6400, when cheking d3cold_allowed it seems I have 1 by default though
 

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!