Gpu passthrough / proxmox

I am trying to add hardware acceleration to Frigate. I am running HAOS via Proxmox/debian, all of which is running on a 2012 iMac I had laying around. And maybe I’m going about this all wrong for said goal. Feel free to let me know, this is all a first rodeo for me as I just came from a RPi and have no real experience in linux and VM things. Let me know what other logs or configs would be helpful, please.

USB passthrough for TPU and my Zigbee dongle… no problem, all works great. HA runs fine and stable with the backup I restored from my Rpi.

But I have followed I don’t know how many different tutorials and threads on GPU passthrough and tried many grub edits, all the vfio stuff, all of it…

With the attached settings you see below, when I start the VM, the screen on the host goes blank as if the GPU is being handed off so I know something is happening, but HAOS never boots up. When the display is set to none I get no console, when it is set to standard VGA I get a “guest has not intialized display yet” screen on the console. And in neither case does HA become accessible via 8123, so it’s not booting up.

grub cmd line setting, the last one i tried anyway:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off”

when I run: dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.020600] ACPI: DMAR 0x000000008CD65000 000088 (v01 APPLE IVB 00000001 AAPL 00000001)
[ 0.020622] ACPI: Reserving DMAR table memory at [mem 0x8cd65000-0x8cd65087]
[ 0.073722] DMAR: IOMMU enabled
[ 0.182993] DMAR: Host address width 36
[ 0.182994] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.183005] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a
[ 0.183008] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.183011] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a
[ 0.183012] DMAR: RMRR base: 0x0000008d800000 end: 0x0000008f9fffff
[ 0.183015] DMAR-IR: IOAPIC id 0 under DRHD base 0xfed91000 IOMMU 1
[ 0.183017] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.183018] DMAR-IR: [Firmware Bug]: ioapic 2 has no mapping iommu, interrupt remapping will be disabled
[ 0.183019] DMAR-IR: Not enabling interrupt remapping
[ 0.183020] DMAR-IR: Failed to enable irq remapping. You are vulnerable to irq-injection attacks.
[ 0.301096] DMAR: No ATSR found
[ 0.301097] DMAR: No SATC found
[ 0.301101] DMAR: dmar1: Using Queued invalidation
[ 0.301618] DMAR: Intel(R) Virtualization Technology for Directed I/O



pciSettin

What other information can I share to put this thing to bed?