[HW Accel Support]: VAAPI detected but not used - GPU stays at 0% on Home Assistant OS with Intel HD Graphics 4600 #21319
Replies: 2 comments 6 replies
|
Based on your Intel HD Graphics 4600 (4th generation Haswell), you should use the However, I notice a potential issue in your configuration. For Home Assistant Add-on users, you need to define the Try this configuration: environment_vars:
LIBVA_DRIVER_NAME: i965
ffmpeg:
hwaccel_args: preset-vaapiThe Important notes for your setup:
If GPU usage remains at 0% after applying these changes, check:
Some users with 6th-8th generation Intel CPUs have reported better stability by leaving 📚 Sources:
Have another question? Just tag @inkeep. |
|
If you are not seeing errors in your logs, your iGPU is being used for hardware acceleration. The 0% issue is a reporting bug with Intel GPU Tools and is not an issue Frigate can work around. Some users have reported this has been fixed in the latest Linux kernel version. I do believe the latest update to Home Assistant OS has the most up-to-date Linux kernel. What version of HAOS are you running? |
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem you are having
VAAPI detected but not used - GPU stays at 0% on Home Assistant OS with Intel HD Graphics 4600
Hi everyone,
I'm trying to enable hardware acceleration with VAAPI on Frigate, but despite VAAPI being detected, my GPU remains at 0% usage while CPU does all the decoding work.
Setup
/dev/dri/renderD128exists and has proper permissionsCurrent behavior
Automatically detected vaapi hwaccel for video decodingConfiguration tested
Set
LIBVA_DRIVER_NAME: i965in environment variables, with no hwaccel_args to let Frigate auto-detect.What I've tried
preset-vaapi(with and without auto-detection)-hwaccel vaapi -hwaccel_device /dev/dri/renderD128preset-intel-qsv-h264→ fails with driver errors-init_hw_device vaapi=va:/dev/dri/renderD128,driver=i965Relevant logs
The detection works:
[2025-12-16 16:04:12] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decodingBut no ffmpeg errors, everything runs smoothly, just GPU is never engaged.
Question
Is there a specific configuration needed for VAAPI to actually be used (not just detected) in Home Assistant OS environment? The Intel HD Graphics 4600 requires the legacy i965 driver.
Any help would be appreciated!
Version
0.16.3-9034454
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Install method
Home Assistant Add-on
Object Detector
Other
Network connection
Wired
Camera make and model
Tapo C220 & C510
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
{"return_code":0,"stderr":"","stdout":"vainfo: VA-API version: 1.22 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Desktop - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD"}
All reactions