VM Fails to Start with vGPU - vfio-pci Input/Output Error

ofahmy2000

Member
Mar 18, 2023
11
0
6
I'm encountering a problem while trying to start a VM on Proxmox using a mediated vGPU device. The VM fails to boot with a vfio-pci error related to an I/O issue.

Hypervisor: Proxmox VE 8.x
GPU: P4000
root@proxmox:~# qm start 101
kvm: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/00000000-0000-0000-0000-000000000101,id=hostpci0,bus=pci.0,addr=0x10: vfio 00000000-0000-0000-0000-000000000101: error getting device from group 164: Input/output error
Verify all devices in group 164 are bound to vfio-<bus> or pci-stub and not already in use
waited 10 seconds for mediated device driver finishing clean up
actively clean up mediated device with UUID 00000000-0000-0000-0000-000000000101
start failed: QEMU exited with code 1


bios: ovmf
boot: order=scsi0;ide2;ide0;net0
cores: 4
cpu: x86-64-v2-AES
efidisk0: local-lvm:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:d5:00.0,mdev=nvidia-47
ide0: local:iso/virtio-win-0.1.271.iso,media=cdrom,size=709474K
ide2: local:iso/2004.SUPERLITE_COMPACT.U8.X64.GHOSTSPECTRE._W_.ISO,media=cdrom,size=2652608K
machine: pc-q35-9.2+pve1
memory: 4096
meta: creation-qemu=9.2.0,ctime=1752395630
name: test
net0: e1000e=BC:24:11:CF:97:C3,bridge=vmbr0
numa: 0
ostype: win10
scsi0: local-lvm:vm-101-disk-1,iothread=1,size=80G
scsihw: virtio-scsi-single
smbios1: uuid=6a346a80-d463-4f30-8011-c80d49bb333f
sockets: 1
vmgenid: ef5ef7b5-9973-473a-bf44-02db8ee756a4
 
Pinning of 6.8.12-11-pve seems to fix up my passthrough of an X550 NIC, however, others are reporting pinning is not working for some devices. -12 has a passthrough regression.
 
Last edited: