I've been having this GPU passthrough issue with HP Proliant dl380 g9. The GPU is passed through to vm, but after installing drivers it either bootloops or freezes the guest. Both q35 and i440fx chipsets were tried. CPU is set in host mode. PSU's give sufficient power, server only consumes 250w out of 1000w possible. EFI dumps from TechPowerUp and dumps from the GPU were edited to cut out the extra part, didn't work either. GPU has a display connected to it at all times, VM's display is set to none. All Funcions, Rom Bar, Primary GPU and Pci-E(when using q35) were checked too.
BIOS has VT-D and IOMMU enabled. The GPU is the only GPU in the server.
Passthrough was tried on Proxmox VE 7.1-7 and 7.2-3
/etc/default/grub
/etc/modprobe.d/vfio.conf
/etc/modprobe.d/iommu_unsafe_interrupts.conf
/etc/modprobe.d/pve-blacklist.conf
/etc/modules
BIOS has VT-D and IOMMU enabled. The GPU is the only GPU in the server.
Passthrough was tried on Proxmox VE 7.1-7 and 7.2-3
/etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifb:off video=efifb:eek:ff"
/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=10de:1380,10de:0fbc disable_vga=1
/etc/modprobe.d/iommu_unsafe_interrupts.conf
Code:
options vfio_iommu_type1 allow_unsafe_interrupts=1
/etc/modprobe.d/pve-blacklist.conf
Code:
blacklist nvidiafb
blacklist nvidia
blacklist nouveau
blacklist radeon
/etc/modules
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Code:
84:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GM107 [GeForce GTX 750 Ti] [1462:8a9b]
Physical Slot: 5
Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 1, IOMMU group 74
Memory at c8000000 (32-bit, non-prefetchable) [size=16M]
Memory at 3bfe0000000 (64-bit, prefetchable) [size=256M]
Memory at 3bff0000000 (64-bit, prefetchable) [size=32M]
I/O ports at a000 [size=128]
Expansion ROM at c9080000 [virtual] [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
84:00.1 Audio device [0403]: NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX] [10de:0fbc] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GM107 High Definition Audio Controller [GeForce 940MX] [1462:8a9b]
Physical Slot: 5
Flags: bus master, fast devsel, latency 0, IRQ 17, NUMA node 1, IOMMU group 74
Memory at c9000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel