[Support]: high gpu usage with new webui #11520
-
Describe the problem you are havingWhen the live camera feeds or individual camera feed page is open I get 85-100% GPU usage in task manager. If I click a different tab to hide the frigate page, usage drops down to single digits. Any other program or website that requires the GPU lags and is unusable. Version0.14.1-beta1 Frigate config file# yaml-language-server: $schema=./schema.json
database:
path: /db/frigate.db
mqtt:
host: 192.168.10.13
port: 1883
topic_prefix: frigate
user: homeassistant
password: *
detectors:
coral:
type: edgetpu
device: usb
model:
path: /edgetpu_model.tflite
go2rtc:
streams:
garage:
- rtsp://*:*@192.168.5.225:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
driveway:
- rtsp://*:*@192.168.5.42:554/Streaming/Channels/101
front-door:
- rtsp://*:*@192.168.3.225:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif#backchannel=0
- ffmpeg:front-door#audio=opus
living-room:
- rtsp://*:*@192.168.5.230:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
- ffmpeg:living-room#audio=opus
office:
- rtsp://*:*@192.168.5.117:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
- ffmpeg:office#audio=opus
mom:
- rtsp://*:*@192.168.5.115:554/
- ffmpeg:mom#audio=opus
record:
events:
pre_capture: 10
post_capture: 20
ffmpeg:
output_args:
record: preset-record-generic-audio-aac #add audio to recordings, default is no audio
snapshots:
timestamp: false
bounding_box: false
timestamp_style:
position: br
cameras:
# test:
# ffmpeg:
# inputs:
# - path: /media/frigate/clip_driveway_1697337696.167372-1697341520.537267.mp4
# input_args: -re -stream_loop -1 -fflags +genpts
# roles:
# - detect
# detect:
# height: 1080
# width: 1920
# fps: 5
mom:
ffmpeg:
inputs:
- path: rtsp://*:*@192.168.5.115:554/h264Preview_01_sub
roles:
- detect
- path: rtsp://127.0.0.1:8554/mom?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
detect:
enabled: false
width: 640
height: 360
record:
enabled: true
retain:
days: 14
mode: all
snapshots:
enabled: false
living-room:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/living-room?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path:
rtsp://*:*@192.168.5.230:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
roles:
- detect
detect:
enabled: true
width: 640
height: 480
record:
enabled: true
retain:
days: 14
mode: all
snapshots:
enabled: false
office:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/office?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path:
rtsp://*:*@192.168.5.117:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
roles:
- detect
detect:
enabled: false
width: 640
height: 480
record:
enabled: true
retain:
days: 14
mode: active_objects
snapshots:
enabled: true
objects:
track:
- person
filters:
person:
min_area: 500
front-door:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front-door?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path:
rtsp://*:*@192.168.3.225:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif#backchannel=0
roles:
- detect
detect:
enabled: true
width: 720
height: 576
record:
enabled: true
events:
retain:
default: 14
mode: active_objects
snapshots:
enabled: true
motion:
mask:
- 146,340,143,291,320,291,456,287,455,336
- 720,25,720,0,494,0,491,31
- 652,71,538,0,488,130,502,360,632,466
objects:
track:
- person
filters:
person:
min_area: 500
driveway:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/driveway?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://*:*@192.168.5.42:554/Streaming/Channels/102
roles:
- detect
detect:
enabled: true
width: 640
height: 480
record:
enabled: true
retain:
days: 7
mode: all
events:
pre_capture: 10
post_capture: 20
retain:
default: 14
snapshots:
enabled: true
required_zones:
- sidewalk_yard_driveway
motion:
threshold: 35
contour_area: 30
lightning_threshold: 0.6
mask:
- 151,211,385,200,391,145,431,146,439,199,561,207,640,238,640,0,0,0,0,232
# - 640,480,640,394,450,446,208,444,0,374,0,480
objects:
track:
- person
# mask:
# - 242,134,414,144,406,90,440,82,444,148,500,154,586,182,640,238,640,0,0,0,0,168
# - 640,480,640,394,450,446,208,444,0,374,0,480
filters:
person:
min_area: 500
max_area: 8000
mask:
- 477,222,489,258,437,263,435,228
- 557,241,609,236,603,216,555,216
- 32,211,390,187,390,147,426,137,432,187,576,203,640,249,640,0,0,0,0,251
- 41,226,63,224,63,214,31,216
zones:
sidewalk_yard_driveway:
coordinates:
387,186,393,146,427,146,433,190,589,204,640,256,640,384,429,480,171,480,0,400,0,258,43,214
objects:
- person
# driveway_minus_my_spot:
# coordinates: 391,144,232,143,172,277,428,278
# objects:
# - car
birdseye:
mode: objects
mqtt:
required_zones:
- sidewalk_yard_driveway
review:
alerts:
required_zones:
- sidewalk_yard_driveway
garage:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/garage?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path:
rtsp://*:*@192.168.5.225:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
roles:
- detect
detect:
enabled: true
width: 640
height: 480
record:
enabled: true
events:
retain:
default: 14
mode: active_objects
motion:
mask:
- 612,0,612,53,408,49,414,0
objects:
track:
- person
snapshots:
enabled: true Relevant log output2024-05-25 15:23:35.146439823 [INFO] Preparing Frigate...
2024-05-25 15:23:35.225416317 [INFO] Starting Frigate...
2024-05-25 15:23:37.028011078 [2024-05-25 15:23:37] frigate.app INFO : Starting Frigate (0.14.0-b97e274)
2024-05-25 15:23:37.028045838 [2024-05-25 15:23:37] frigate.app INFO : Creating directory: /config/model_cache
2024-05-25 15:23:37.028080718 [2024-05-25 15:23:37] frigate.util.config INFO : Checking if frigate config needs migration...
2024-05-25 15:23:37.028113808 [2024-05-25 15:23:37] frigate.util.config INFO : copying config as backup...
2024-05-25 15:23:37.066822012 [2024-05-25 15:23:37] frigate.util.config INFO : Migrating frigate config from 0.13 to 0.14...
2024-05-25 15:23:37.085169942 [2024-05-25 15:23:37] frigate.util.config INFO : Migrating export file names...
2024-05-25 15:23:37.085550251 [2024-05-25 15:23:37] frigate.util.config INFO : Finished frigate config migration...
2024-05-25 15:23:37.133420869 [2024-05-25 15:23:37] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2024-05-25 15:23:37.135817773 [2024-05-25 15:23:37] frigate.config WARNING : office: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-05-25 15:23:37.141379078 [2024-05-25 15:23:37] frigate.config WARNING : Customizing more than a detector model path is unsupported.
2024-05-25 15:23:37.181752347 [2024-05-25 15:23:37] frigate.app INFO : Making backup of DB before migrations...
2024-05-25 15:23:37.548795651 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Starting migrations
2024-05-25 15:23:37.561101898 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Migrate "021_create_previews_table"
2024-05-25 15:23:37.561233337 [2024-05-25 15:23:37] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "previews" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "path" VARCHAR(255) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "duration" REAL NOT NULL)',)
2024-05-25 15:23:37.561607056 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Done 021_create_previews_table
2024-05-25 15:23:37.563868700 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Migrate "022_create_review_segment_table"
2024-05-25 15:23:37.563941240 [2024-05-25 15:23:37] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "reviewsegment" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME, "has_been_reviewed" INTEGER NOT NULL, "severity" VARCHAR(30) NOT NULL, "thumb_path" VARCHAR(255) NOT NULL, "data" JSON NOT NULL)',)
2024-05-25 15:23:37.564121210 [2024-05-25 15:23:37] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "review_segment_camera" ON "reviewsegment" ("camera")',)
2024-05-25 15:23:37.564292769 [2024-05-25 15:23:37] peewee_migrate.logs INFO : sql ('CREATE INDEX "review_segment_start_time_end_time" ON "reviewsegment" ("start_time" DESC, "end_time" DESC)',)
2024-05-25 15:23:37.564691178 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Done 022_create_review_segment_table
2024-05-25 15:23:37.566828932 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Migrate "023_add_regions"
2024-05-25 15:23:37.566876412 [2024-05-25 15:23:37] peewee_migrate.logs INFO : add_column ('recordings', 'regions', <IntegerField: Recordings.regions>)
2024-05-25 15:23:37.567283601 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Done 023_add_regions
2024-05-25 15:23:37.568443788 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Migrate "024_create_export_table"
2024-05-25 15:23:37.568496288 [2024-05-25 15:23:37] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "export" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "name" VARCHAR(100) NOT NULL, "date" DATETIME NOT NULL, "video_path" VARCHAR(255) NOT NULL, "thumb_path" VARCHAR(255) NOT NULL, "in_progress" INTEGER NOT NULL)',)
2024-05-25 15:23:37.568583877 [2024-05-25 15:23:37] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "export_camera" ON "export" ("camera")',)
2024-05-25 15:23:37.568842887 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Done 024_create_export_table
2024-05-25 15:23:37.571228380 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Migrate "025_create_user_table"
2024-05-25 15:23:37.571262010 [2024-05-25 15:23:37] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "user" ("username" VARCHAR(30) NOT NULL PRIMARY KEY, "password_hash" VARCHAR(120) NOT NULL)',)
2024-05-25 15:23:37.571617839 [2024-05-25 15:23:37] peewee_migrate.logs INFO : Done 025_create_user_table
2024-05-25 15:23:37.590542217 [2024-05-25 15:23:37] frigate.app INFO : Running database vacuum
2024-05-25 15:23:45.525527825 [2024-05-25 15:23:45] frigate.app INFO : Recording process started: 739
2024-05-25 15:23:45.530840090 [2024-05-25 15:23:45] frigate.app INFO : Recording process started: 741
2024-05-25 15:23:45.532863394 [2024-05-25 15:23:45] frigate.app INFO : go2rtc process pid: 91
2024-05-25 15:23:45.563815070 [2024-05-25 15:23:45] detector.coral INFO : Starting detection process: 768
2024-05-25 15:23:48.634884094 [2024-05-25 15:23:45] frigate.app INFO : Output process started: 770
2024-05-25 15:23:48.635038763 [2024-05-25 15:23:45] frigate.app INFO : Camera processor started for mom: 818
2024-05-25 15:23:48.638495694 [2024-05-25 15:23:45] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-05-25 15:23:48.638565123 [2024-05-25 15:23:48] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-05-25 15:23:48.638599083 [2024-05-25 15:23:45] frigate.app INFO : Camera processor started for living-room: 820
2024-05-25 15:23:48.638642323 [2024-05-25 15:23:45] frigate.app INFO : Camera processor started for office: 835
2024-05-25 15:23:48.638673653 [2024-05-25 15:23:45] frigate.app INFO : Camera processor started for front-door: 841
2024-05-25 15:23:48.638707973 [2024-05-25 15:23:45] frigate.app INFO : Camera processor started for driveway: 854
2024-05-25 15:23:48.638746993 [2024-05-25 15:23:45] frigate.app INFO : Camera processor started for garage: 862
2024-05-25 15:23:48.638778133 [2024-05-25 15:23:45] frigate.app INFO : Capture process started for mom: 872
2024-05-25 15:23:48.638814023 [2024-05-25 15:23:45] frigate.app INFO : Capture process started for living-room: 875
2024-05-25 15:23:48.638848243 [2024-05-25 15:23:45] frigate.app INFO : Capture process started for office: 879
2024-05-25 15:23:48.638883323 [2024-05-25 15:23:45] frigate.app INFO : Capture process started for front-door: 883
2024-05-25 15:23:48.638917643 [2024-05-25 15:23:45] frigate.app INFO : Capture process started for driveway: 889
2024-05-25 15:23:48.638952762 [2024-05-25 15:23:45] frigate.app INFO : Capture process started for garage: 898
2024-05-25 15:23:48.638989862 [2024-05-25 15:23:46] frigate.app INFO : ********************************************************
2024-05-25 15:23:48.639031722 [2024-05-25 15:23:46] frigate.app INFO : ********************************************************
2024-05-25 15:23:48.639064732 [2024-05-25 15:23:46] frigate.app INFO : *** Auth is enabled, but no users exist. ***
2024-05-25 15:23:48.639101112 [2024-05-25 15:23:46] frigate.app INFO : *** Created a default user: ***
2024-05-25 15:23:48.639146692 [2024-05-25 15:23:46] frigate.app INFO : *** User: admin ***
2024-05-25 15:23:48.639174682 [2024-05-25 15:23:46] frigate.app INFO : *** Password: b6423aa41cc7b0c234e82a71d813147b ***
2024-05-25 15:23:48.639210582 [2024-05-25 15:23:46] frigate.app INFO : ********************************************************
2024-05-25 15:23:48.639248622 [2024-05-25 15:23:46] frigate.app INFO : ********************************************************
2024-05-25 15:28:11.053540231 [2024-05-25 15:28:11] frigate.comms.dispatcher INFO : Turning off detection for living-room FFprobe output from your cameran/a Frigate stats{"cameras":{"driveway":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":889,"detection_enabled":true,"detection_fps":0.3,"ffmpeg_pid":901,"pid":854,"process_fps":5.1,"skipped_fps":0.0},"front-door":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":883,"detection_enabled":true,"detection_fps":1.9,"ffmpeg_pid":895,"pid":841,"process_fps":5.1,"skipped_fps":0.0},"garage":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":898,"detection_enabled":true,"detection_fps":1.2,"ffmpeg_pid":913,"pid":862,"process_fps":5.1,"skipped_fps":0.0},"living-room":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":875,"detection_enabled":false,"detection_fps":0.0,"ffmpeg_pid":882,"pid":820,"process_fps":5.0,"skipped_fps":0.0},"mom":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":872,"detection_enabled":false,"detection_fps":0.0,"ffmpeg_pid":878,"pid":818,"process_fps":5.0,"skipped_fps":0.0},"office":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":879,"detection_enabled":false,"detection_fps":0.0,"ffmpeg_pid":888,"pid":835,"process_fps":5.0,"skipped_fps":0.0}},"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"100":{"cmdline":"python3 -u -m frigate","cpu":"1.9","cpu_average":"2","mem":"0.6"},"109":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"147":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"148":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"149":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"14900":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(56)","cpu":"0.0","cpu_average":"0","mem":"0.0"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"150":{"cmdline":"nginx: worker process","cpu":"0.1","cpu_average":"0","mem":"0.0"},"151":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"158":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"16":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"168":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"180":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"205":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"239":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"24":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"286":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31563":{"cmdline":"ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/mom?audio -c:a libopus -application:a lowdelay -min_comp 0 -vn -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/b4f0d3fbef77864a86b521485ff0f399","cpu":"0.9","cpu_average":"0","mem":"0.0"},"31564":{"cmdline":"ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/front-door?audio -c:a libopus -application:a lowdelay -min_comp 0 -vn -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/35971eb3b3fff7c6a2b8d811da863f4b","cpu":"0.7","cpu_average":"0","mem":"0.0"},"31565":{"cmdline":"ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/living-room?audio -c:a libopus -application:a lowdelay -min_comp 0 -vn -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5c9f362260c258b4ebb09d8698be5586","cpu":"1.0","cpu_average":"0","mem":"0.0"},"31567":{"cmdline":"ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/office?audio -c:a libopus -application:a lowdelay -min_comp 0 -vn -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/8a79704cc973dd8a5ece530109e93847","cpu":"1.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"325":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32683":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"},"369":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"409":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"43":{"cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"437":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"44":{"cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"470":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"503":{"cmdline":"nginx: cache manager process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"731":{"cmdline":"frigate.logger ","cpu":"0.0","cpu_average":"0","mem":"0.2"},"739":{"cmdline":"frigate.recording_manager","cpu":"3.9","cpu_average":"3","mem":"0.3"},"741":{"cmdline":"frigate.review_segment_manager","cpu":"0.5","cpu_average":"0","mem":"0.2"},"767":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(67)","cpu":"0.3","cpu_average":"0","mem":"0.0"},"768":{"cmdline":"frigate.detector.coral","cpu":"3.5","cpu_average":"3","mem":"0.3"},"770":{"cmdline":"frigate.output ","cpu":"3.5","cpu_average":"3","mem":"0.2"},"778":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"783":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"788":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"793":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 720x576 -i pipe: -f mpegts -s 900x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"798":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"803":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"81":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"818":{"cmdline":"frigate.process:mom ","cpu":"0.9","cpu_average":"0","mem":"0.3"},"819":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"820":{"cmdline":"frigate.process:living-room","cpu":"0.8","cpu_average":"1","mem":"0.3"},"83":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"835":{"cmdline":"frigate.process:office","cpu":"0.8","cpu_average":"0","mem":"0.3"},"84":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"841":{"cmdline":"frigate.process:front-door","cpu":"5.0","cpu_average":"4","mem":"0.3"},"854":{"cmdline":"frigate.process:driveway","cpu":"1.3","cpu_average":"1","mem":"0.3"},"862":{"cmdline":"frigate.process:garage","cpu":"2.7","cpu_average":"1","mem":"0.3"},"872":{"cmdline":"frigate.capture:mom ","cpu":"0.4","cpu_average":"0","mem":"0.2"},"875":{"cmdline":"frigate.capture:living-room","cpu":"0.5","cpu_average":"0","mem":"0.2"},"878":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.5.115:554/h264Preview_01_sub -r 5 -vf fps=5,scale=640:360 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.3","cpu_average":"1","mem":"0.0"},"879":{"cmdline":"frigate.capture:office","cpu":"0.5","cpu_average":"0","mem":"0.2"},"882":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.5.230:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif -r 5 -vf fps=5,scale=640:480 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.9","cpu_average":"1","mem":"0.0"},"883":{"cmdline":"frigate.capture:front-door","cpu":"0.7","cpu_average":"0","mem":"0.2"},"888":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.5.117:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif -r 5 -vf fps=5,scale=640:480 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.0","cpu_average":"0","mem":"0.0"},"889":{"cmdline":"frigate.capture:driveway","cpu":"0.5","cpu_average":"0","mem":"0.2"},"890":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/mom?video=copy&audio=aac -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/mom@%Y%m%d%H%M%S%z.mp4","cpu":"1.8","cpu_average":"2","mem":"0.0"},"895":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.3.225:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif#backchannel=0 -r 5 -vf fps=5,scale=720:576 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.7","cpu_average":"1","mem":"0.0"},"898":{"cmdline":"frigate.capture:garage","cpu":"0.6","cpu_average":"0","mem":"0.2"},"899":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/living-room?video=copy&audio=aac -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/living-room@%Y%m%d%H%M%S%z.mp4","cpu":"1.6","cpu_average":"1","mem":"0.1"},"901":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.5.42:554/Streaming/Channels/102 -r 5 -vf fps=5,scale=640:480 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.7","cpu_average":"2","mem":"0.0"},"908":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/office?video=copy&audio=aac -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/office@%Y%m%d%H%M%S%z.mp4","cpu":"2.6","cpu_average":"2","mem":"0.0"},"91":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"21.6","cpu_average":"15","mem":"0.2"},"913":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.5.225:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif -r 5 -vf fps=5,scale=640:480 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.9","cpu_average":"1","mem":"0.1"},"914":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/front-door?video=copy&audio=aac -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/front-door@%Y%m%d%H%M%S%z.mp4","cpu":"1.7","cpu_average":"1","mem":"0.0"},"915":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/driveway?video=copy&audio=aac -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/driveway@%Y%m%d%H%M%S%z.mp4","cpu":"0.9","cpu_average":"0","mem":"0.0"},"918":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.14.0-b97e274 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/garage?video=copy&audio=aac -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/garage@%Y%m%d%H%M%S%z.mp4","cpu":"2.9","cpu_average":"3","mem":"0.0"},"99":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"frigate.full_system":{"cpu":"7.3","mem":"26.4"}},"detection_fps":3.4,"detectors":{"coral":{"detection_start":0.0,"inference_speed":27.5,"pid":768}},"processes":{"go2rtc":{"pid":91},"logger":{"pid":731},"recording":{"pid":739},"review_segment":{"pid":741}},"service":{"last_updated":1716671308,"latest_version":"0.13.2","storage":{"/dev/shm":{"free":2042.2,"mount_type":"tmpfs","total":2048.0,"used":5.8},"/media/frigate/clips":{"free":8850405.2,"mount_type":"fuse.shfs","total":15254339.1,"used":6403933.9},"/media/frigate/recordings":{"free":8850405.2,"mount_type":"fuse.shfs","total":15254339.1,"used":6403933.9},"/tmp/cache":{"free":3782.1,"mount_type":"tmpfs","total":3814.7,"used":32.6}},"temperatures":{},"uptime":2683,"version":"0.14.0-b97e274"}} Operating systemUNRAID Install methodDocker Compose Coral versionUSB Network connectionWired Camera make and modeln/a Any other information that may be helpfulFirefox 127.0b5 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
what resolution are your cameras and how many do you see live (red dot in the corner)? |
Beta Was this translation helpful? Give feedback.
-
5 cameras with red dots, plus one more. Most are 15 fps, and these are the main stream resolutions. Sub-stream resolutions are a lot smaller.
|
Beta Was this translation helpful? Give feedback.
-
I will try to tune the motion detection, but people aren't going to use the webui if the home page lags the whole computer. A setting or something to not auto load all the full resolution streams would be much appreciated. Cheers! |
Beta Was this translation helpful? Give feedback.
The red dot indicates that the full resolution stream is currently playing in the browser. So what you're seeing for cpu/gpu usage on your client is expected.
Unlike 0.13 with Birdseye, Frigate 0.14 automatically switches to a full resolution live view when motion is detected on a camera (indicated by the red dot). You'll want to use the new Motion Tuner (Settings --> Motion Tuner) to better fine-tune your motion detection parameters.