swtpm_setup error when passing a gpu into a virtualization machine

TomiWebPro

New Member
Dec 23, 2023
17
1
1
Task viewer: VM 100 - Start

OutputStatus

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.

Hi guys,

Does anyone know what caused this error leading to my VM not starting? My VM starts normally without a PCI passthrough, but this error pops up when I add in the card. I have a dual 2680v4 in virtualisation set to host, and I am trying to pass through AMD 5700xt GPU but have no luck. I think it booted up just fine with a GPU before because there was no viewer I cannot tell, it started when I chose virtio as my display option and I now couldn't revert it back even after changing the virtio back to default.

Many thanks,
Merry Christmas as well,
Tomi
 
Task viewer: VM 100 - Start

OutputStatus

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.

Hi guys,

Does anyone know what caused this error leading to my VM not starting? My VM starts normally without a PCI passthrough, but this error pops up when I add in the card. I have a dual 2680v4 in virtualisation set to host, and I am trying to pass through AMD 5700xt GPU but have no luck. I think it booted up just fine with a GPU before because there was no viewer I cannot tell, it started when I chose virtio as my display option and I now couldn't revert it back even after changing the virtio back to default.

Many thanks,
Merry Christmas as well,
Tomi
hi have you resolve those problem ?

i've got:

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 16941) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1
 
hi have you resolve those problem ?

i've got:

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 16941) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1
If you also have a GPU that is supported by vendor-reset, then have a look at the duplicate thread here: https://forum.proxmox.com/threads/help-me-boot-into-a-pci-passthrough-gpu-5700xt.138713/post-619281
 

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!