Help me boot into a PCI passthrough GPU (5700xt)


New Member
Dec 23, 2023
Error code:
swtpm_setup: Not overwriting existing state file.kvm: ../hw/pci/pci.c:1637: pci_irq_handler: Assertion `0 <= irq_num && irq_num < PCI_NUM_PINS' failed.stopping swtpm instance (pid 17041) due to QEMU startup errorTASK ERROR: start failed: QEMU exited with code 1

I am trying to pass through my 5700xt into my windows vm. I've set as much gpu passsthrough command as I can but when I try booting up the device it still says nope, the error code being above.

Any ideas how to solve this? Or do you know what the error code tells?


I've rebooted proxmox and have set my mechine as auto start, if I do that my graphics card is passed in definitely, but once I press restart vm or shutoff and restart my vm, the error code being above and I have to reboot my host mechine... I think it's related to some kind of driver issue or some sort in proxmox but this is just weird
Last edited:


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!