I am running Proxmox on a Dell Optiplex 7050 Mini with an i7-6700T. The i7-6700T has an integrated Intel 530 GPU and in order to use this GPU in Frigate for hardware acceleration it needs to be passed through from Proxmox.
Open the grub file
nano /etc/default/grub
Update the file
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"
Save and update
update-grub
reboot
Confirm IOMMU is enabled
dmesg | grep -e DMAR -e IOMMU
Blacklist Proxmox from using the iGPU
nano /etc/modprobe.d/blacklist-igpu.conf
blacklist i915
blacklist snd_hda_intel
options i915 enable_guc=0
update-initramfs -u
reboot
Enable PCIe passthrough for the iGPU
Get the PCI address of the VGA controller
lspci -nn | grep VGA
Bind the iGPU to the VFIO
nano /etc/modprobe.d/vfio.conf
options vfio-pci ids=8086:1912
update-initramfs -u
reboot
Pass the iGPU through to the VM

Install Intel iGPU drivers in Frigate VM
Check if iGPU is detected
lspci -nn | grep VGA
apt update
apt install -y intel-media-va-driver vainfo
vainfo
0 Comments