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

TomiWebPro

New Member
Dec 23, 2023
17
1
1
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?

EDIT:

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:

Thanks for reply.

its not GPU ptoblem but NVME

Code:
proxmox kernel: vfio-pci 0000:02:00.0: Unable to change power state from D0 to D3hot, device inaccessible

02:00.0 is NVME passed to VM Win11

cant solve this ...
 
its not GPU ptoblem but NVME

Code:
proxmox kernel: vfio-pci 0000:02:00.0: Unable to change power state from D0 to D3hot, device inaccessible
Maybe search for threads about NVMe passthrough (instead of and old duplicate thread about AMD GPU)? Work-around is to use disk passthrough instead of PCIe passthrough.
 

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!