u/Ichai_Tianui

Need help with GPU passthrough (GT1030)

i set up my proxmox server a while ago and it runs my NAS and a couple containers.

now i thought it would be fun to attach it to my TV and run a retrogaming distro like batocera.

i tried setting up the pcie passthrough but i cant get it to work. this is what i did so far:

My Setup:

Asrock B550m ITX/AC Bios 3.90
AMD 3400G
Corsair vengeance LPX DDR4 2x32GB CMK64GX4M2D3000C16
Nvidia GT1030
4x 4TB Sata Drives
nvme boot drive
Proxmox VE 9.1.9 No-Subscription

/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction"

/etc/modules

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

/etc/modprobe.d/iommu_unsafe_interrupts.conf

options vfio_iommu_type1 allow_unsafe_interrupts=1
options vfio_iommu_type1 allow_unsafe_interrupts=1

/etc/modprobe.d/kvm.conf/etc/modprobe.d/kvm.conf

options kvm ignore_msrs=1options kvm ignore_msrs=1

/etc/modprobe.d/blacklist.conf

*blacklist nouveau
blacklist nvidia

/etc/modprobe.d/vfio.conf

0ptions vfio-pci ids=10de:1d01,10de:1d01 disable_vga=1

with lspci -v it shows kernel in use vfio-pci

then i mapped the gt1030 and the audio device with resource mapper on the Proxmox Datacenter > Resource mappings (01:00.0 and 01:00.1)

the VM is set to use

Q35
Display: none
Memory balooning: disabled
BIOS: OVMF (UEFI)
PCI-Device: GT1030 (from the Resource mapping i did earlier)

after adding it to a test vm running ubuntu 25.04 and starting the vm the screen resets from showing the initial couple lines of proxmox booting and then goes black. no signal, i can verify the vm did not start properly as i cant SSH into it and my internet router doesnt show it as a connected ip.

when i stop the vm and start it again i get the following error:

error writing '1' to '/sys/bus/pci/devices/0000:01:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:01:00.0', but trying to continue as not all devices need a reset
kvm: ../hw/pci/pci.c:1815: pci_irq_handler: Assertion `0 <= irq_num && irq_num < PCI_NUM_PINS' failed.
TASK ERROR: start failed: QEMU exited with code 1

have i forgotten something and what can i do from here to get it working?

reddit.com
u/Ichai_Tianui — 4 days ago