Hardware:
Dell OptiPlex 3040M DM
CPU: i3-6100T (6 Gen Skylake)
GPU: Intel® HD Graphics 530
I have been struggling to get hardware acceleration (GPU) to work with Frigate (Full access) addon.
Now I got this kind of comment from the Frigate developers:
–cut–
It doesn’t matter what settings you put inside frigate config, HA OS is not giving frigate access to the GPU.
At this point it seems that HA OS does not include the intel driver needed for hwaccel.
This is one of the many reasons we recommend running frigate in native docker.
–cut–
This was real downer for me. Is there anything what can be done ? Install intel GPU drivers (i915) manually ?
Or maybe possible to include those in future when HAOS gets updated ?
HAOS is limited in options in order to keep it stable.
If you want to do something like this then a Core or supervised install is the way to go.
If you have just a little Linux experience, then a supervised install based on Debian 11 should be good. It is a supported install with a lot of possible help available in the forums.
TPU would help and is also recommended for frigate. Beta 12 version of frigate has expanded TPU options maybe this increase the availability if that was issue. Im thinking cpu only severely limits frigate so tpu would allow you to keep existing install method
But core or docker install is what you need for GPU
Miracle times are not over. It is just weird, but I got it working. I think that I tried these same options millions of times without luck. But now it is working. Huh.
I am sure there are better ways to find out whether hw acceleration is working or not.
I do it by disabling hw acceleration within frigate.yaml and monitoring CPU load for a while. Then I’m reenabing hw acceleration and compare the CPU load with the former. Readings should be noticable different if hw acceleration is working.