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.
This is the Frigate frontend which connects to and provides a User Interface to the Python backend.
Web Development
Installing Web Dependencies Via NPM
Within /web, run:
npm install
Running development frontend
Within /web, run:
PROXY_HOST=<ip_address:port> npm run dev
The Proxy Host can point to your existing Frigate instance. Otherwise defaults to localhost:5000 if running Frigate on the same machine.
Extensions
Install these IDE extensions for an improved development experience:
- eslint