VAAPI on N100 Stops Working After 2 Hours, Requires Reboot #16438
Replies: 10 comments 16 replies
-
This is likely a bug in the intel_gpu_top tool, I don't think there is any issue with the GPU itself, qsv should be used on this hardware |
Beta Was this translation helpful? Give feedback.
-
I'm having issues with VAAPI on N100 aswell (see: #16609). Mine is totally not working (0% GPU), just wondering how you got yours to work. |
Beta Was this translation helpful? Give feedback.
-
Any solutions? Works few hours and after this time GPU 0% |
Beta Was this translation helpful? Give feedback.
-
Adding my own experience here. Did a fresh Debian on N100 bare metal install with docker, frigate, coral USB. See ~5% GPU for the first few hours. Then later it is ~0.37%. CPU stays roughly the same FWIW so that may support this simply being a reporting bug but would be good to know for sure. Restarting the container does not change the GPU reporting but rebooting the whole system does.
I didn't install any Coral or Intel GPU drivers on Debian assuming the docker container takes care of both. Not sure if that is the correct approach but it seems to work. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, N100 on Debian, Frigate 0.15 (vaapi) hardware acceleration works for a few hours, then it ssuddenly stops working. needs reboot. always the same. |
Beta Was this translation helpful? Give feedback.
-
I don't know what is the fix exactly, but it looks like vaapi is finally working properly in my N100 with Debian 12. I tried to make QSV work, but I could not get it working, althought vaapi got fixed in the process. It was a hell, I cannot say how many things I tried, but resuming: I installed/updated too many things, drivers, intel-media-sdk, backports of the kernel, and anything related to graphics that could cause a problem. That looks like it fixed the problem of vaapi for me. (by now, after 5 days it keeps running) |
Beta Was this translation helpful? Give feedback.
-
I never was able to find an officialish source that this is a bug in intel_gpu_top but do we think this is the same thing/the right place to maybe have some more activity? https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/175 I tried |
Beta Was this translation helpful? Give feedback.
-
"Here are my current specs for VA-API on Debian 12 with Intel N100:*
Key fixes I applied:
Added user to render and video groups. And installed the things I say in my first post, I cannot remember if I updated something else... But I confirm is working like a charm, no stops anymore. |
Beta Was this translation helpful? Give feedback.
-
System Configuration and FFmpeg Testing Plan (Frigate 0.16.0-beta3)I'm participating in this discussion because I’m facing exactly the same issue: after about 1 to 2 hours of continuous usage, the GPU (Intel N100 / Alder Lake-N) stops reporting any activity. Both It appears that VAAPI acceleration or the iHD driver itself silently stops working. Several other users have reported the same behavior, which suggests the issue may lie somewhere between the video driver, FFmpeg integration, or kernel-level handling. To ensure a controlled and clean test environment, I fully reformatted the system and reinstalled Debian 12 (Bookworm) from scratch, leaving it in its most basic form, without graphical interface and without third-party or nonfree repositories. My current setup:
Testing PlanI'm starting a new round of diagnostics with the following goals:
If anyone is conducting similar testing or has ideas for additional diagnostic commands or kernel tweaks, I’m happy to collaborate. Once I identify a reproducible behavior or narrow down the root cause, I’ll update this thread with findings. |
Beta Was this translation helpful? Give feedback.
-
My setup
My config is as follows
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I am using Frigate as an add-on in Home Assistant. Additionally, I have integrated Double Take, Deepstack, CompreFace, and Plate Recognizer. The system is set up to detect humans as well as vehicles and license plates. Currently, I have only two Reolink cameras connected.
I have been trying for a while to get the GPU to work. I have also tried VAAPI and QSV, but neither worked. It constantly shows 0% usage. The only way I can get it to work is by performing a full reboot of the computer, after which it functions for about two hours only.
I have repeated this reboot process three times, and each time the behavior is the same—it works for about two to three hours and then stays at 0% usage without recovering.
I saw that I can try using the i965 environment variable, but I got an error stating that i965 couldn't initialize. When I disable it, the system works for the two hours I mentioned earlier.
Version
0.15.0-cea210d
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
HassOS Addon
Object Detector
Coral
Network connection
Wired
Camera make and model
Reolink Tracemix wifi
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.10.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.3.3 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSliceLP
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointEncSliceLP
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointEncSliceLP
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointEncSliceLP
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointEncSlice
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointEncSlice
VAProfileHEVCMain422_12 : VAEntrypointVLD
VAProfileHEVCMain422_12 : VAEntrypointEncSlice
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointEncSliceLP
VAProfileHEVCSccMain10 : VAEntrypointVLD
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444 : VAEntrypointVLD
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP"}
No response
Beta Was this translation helpful? Give feedback.
All reactions