mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-11 05:11:13 +03:00
Verify an i915/xe device exists in /sys/class/drm before scanning /proc, and log a distinct warning for each durable failure: an intel_gpu_device that does not resolve, one that resolves to a non-Intel card, an unreadable /proc, and a kernel that publishes no per-client engine counters. A present GPU with no attached DRM clients now reports an idle 0% reading instead of latching the hour-long hwaccel error cooldown, which blanked stats after momentary gaps such as camera restarts. Remove the System page warning that blamed intel_gpu_top for all-zero readings, since 0.18 no longer uses intel_gpu_top and 0% is now a legitimate idle reading.