I would like to use the host Graphic Adapter (Intel UHD 600) for the Frigate addon in HA.
There is only one post about this topic, but it is old and the VM is Ubuntu and not HAOS.
If someone has experience with that and the HAOS specific issues, help would be very welcome.
Note I got passthrough working on an LC container in Proxmox, but not yet used it for a VM.
I followed more or less this guide to install the kernel with graphic support on the host.
I’m running into similar issues with passing an Intel UHD 750 iGPU to Windows for Plex. Pretty much the same symptoms where the passthrough appears to be working but the guest VM has issues. In Windows, it gives an Error 43 (which is a generic driver failure) message.
In addition to the iGPU, I have an LSI HBA expander card being passed through to TrueNAS, so I know IOMMU as a whole is working.
I’m not sure if you subsequently resolved this issue but i just followed the same guide that you linked to in an attempt to pass through the iGPU and get Frigate to run with hardware acceleration.
Everything appeared to be working from the Proxmox host but i encountered an error when trying to open the console: “guest has not initialized the display (yet)”. Also, when trying to open the web address nothing would load.
I eventually managed to get it to work through trial and error by:
removing `Machine: q35’ from /etc/pve/qemu-server/.conf (if you had done that);
when adding the PCI device under the hardware tab, only checking the options: “All Functions” and “ROM-Bar” (ie don’t select “Primary GPU” or “PCI-Express”);
make sure the ‘Display’ option under the hardware tab is set to “Default” (not none).
After making these changes i was then able to get HA to run and i was also successful in getting Frigate to work with hardware acceleration (before doing this everytime i tried to add “hwaccel_args: preset-vaapi” Frigate would crash!)