[HW Accel Support]: NUC5i5RYH #14949
-
Describe the problem you are havingBased on performance metrics and sometimes crashing, I think my GPU isn't doing much (see screenshot of CPU at 34% and GPU at 0%). I'm running HAOS on an Intel NUC5i5RYH. I have the following in my frigate.yaml file
I have also tried the following in the Frigate Full-Access add-on (with protection mode disabled): LIBVA_DRIVER_NAME=i965 (I'm guessing that's where to put it?) I'm a bit over my head with this stuff and could use some guidance. Version0.14.1-f4f3cfa Frigate config filedetectors:
coral:
type: edgetpu
device: usb
ffmpeg:
hwaccel_args: preset-vaapi
go2rtc:
streams:
doorbell_main:
- rtsp://user:[email protected]:554/Preview_01_main#backchannel=0
- rtsp://user:[email protected]:554/Preview_01_sub
- ffmpeg:doorbell_main#audio=opus#hardware
doorbell_sub:
- rtsp://user:[email protected]:554/Preview_01_sub
- ffmpeg:doorbell_sub#audio=opus#hardware
cameras:
doorbell:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/doorbell_main
input_args: preset-rtsp-restream-low-latency
roles:
- record
- path: rtsp://127.0.0.1:8554/doorbell_sub
input_args: preset-rtsp-restream-low-latency
roles:
- detect
- audio docker-compose file or Docker CLI commandN/A Relevant Frigate log output2024-11-13 02:37:38.048235391 [INFO] Preparing Frigate...
2024-11-13 02:37:38.118338443 [INFO] Starting Frigate...
2024-11-13 02:37:41.491900599 [2024-11-12 21:37:41] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-11-13 02:37:41.497088886 [2024-11-12 21:37:41] frigate.app INFO : Creating directory: /tmp/cache
2024-11-13 02:37:41.501981983 [2024-11-12 21:37:41] frigate.util.config INFO : Checking if frigate config needs migration...
2024-11-13 02:37:41.612164537 [2024-11-12 21:37:41] frigate.util.config INFO : frigate config does not need migration...
2024-11-13 02:37:48.478376042 [rtsp @ 0x1d716500] method DESCRIBE failed: 404 Not Found
2024-11-13 02:37:58.489690876 [2024-11-12 21:37:58] peewee_migrate.logs INFO : Starting migrations
2024-11-13 02:37:58.491367414 [2024-11-12 21:37:58] peewee_migrate.logs INFO : There is nothing to migrate
2024-11-13 02:37:59.930161466 [2024-11-12 21:37:59] frigate.app INFO : Recording process started: 395
2024-11-13 02:37:59.937310380 [2024-11-12 21:37:59] frigate.app INFO : Recording process started: 397
2024-11-13 02:37:59.942400947 [2024-11-12 21:37:59] frigate.app INFO : go2rtc process pid: 98
2024-11-13 02:37:59.981134529 [2024-11-12 21:37:59] detector.coral INFO : Starting detection process: 424
2024-11-13 02:37:59.988519322 [2024-11-12 21:37:59] frigate.app INFO : Output process started: 426
2024-11-13 02:37:59.997429903 [2024-11-12 21:37:59] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-11-13 02:38:00.024537773 [2024-11-12 21:38:00] frigate.comms.dispatcher INFO : Turning off recordings for CAM11
2024-11-13 02:38:00.024543307 [2024-11-12 21:38:00] frigate.comms.dispatcher INFO : Turning off snapshots for CAM11
2024-11-13 02:38:00.024549939 [2024-11-12 21:38:00] frigate.comms.dispatcher INFO : Turning off audio detection for CAM11
2024-11-13 02:38:00.025529837 [2024-11-12 21:38:00] frigate.comms.dispatcher INFO : Turning off detection for CAM11
2024-11-13 02:38:00.027005114 [2024-11-12 21:38:00] frigate.comms.dispatcher INFO : Turning off motion for CAM11
2024-11-13 02:38:00.526901060 [2024-11-12 21:38:00] frigate.app INFO : Camera processor started for doorbell: 444
2024-11-13 02:38:00.527078306 [2024-11-12 21:38:00] frigate.app INFO : Camera processor not started for disabled camera CAM1
2024-11-13 02:38:00.533761757 [2024-11-12 21:38:00] frigate.app INFO : Camera processor started for CAM2: 445
2024-11-13 02:38:00.542699517 [2024-11-12 21:38:00] frigate.app INFO : Camera processor started for CAM11: 453
2024-11-13 02:38:00.557097118 [2024-11-12 21:38:00] frigate.app INFO : Camera processor started for CAM12: 461
2024-11-13 02:38:00.558204286 [2024-11-12 21:38:00] frigate.app INFO : Capture process started for doorbell: 469
2024-11-13 02:38:00.564951124 [2024-11-12 21:38:00] frigate.app INFO : Capture process not started for disabled camera CAM1
2024-11-13 02:38:00.566318382 [2024-11-12 21:38:00] frigate.app INFO : Capture process started for CAM2: 479
2024-11-13 02:38:00.582711659 [2024-11-12 21:38:00] frigate.app INFO : Capture process started for CAM11: 483
2024-11-13 02:38:00.585844794 [2024-11-12 21:38:00] frigate.app INFO : Capture process started for CAM12: 487
2024-11-13 02:38:00.597465536 [2024-11-12 21:38:00] frigate.app INFO : Audio process started: 491
2024-11-13 02:38:02.622146304 [2024-11-12 21:38:02] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found Relevant go2rtc log output2024-11-13 02:37:38.086682509 [INFO] Preparing new go2rtc config...
2024-11-13 02:37:38.155645514 [INFO] Got IP address from supervisor: 192.168.50.15
2024-11-13 02:37:38.216095905 [INFO] Got WebRTC port from supervisor: 8555
2024-11-13 02:37:39.219732161 [INFO] Starting go2rtc...
2024-11-13 02:37:39.387349420 21:37:39.387 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-11-13 02:37:39.387376886 21:37:39.387 INF config path=/dev/shm/go2rtc.yaml
2024-11-13 02:37:39.388200543 21:37:39.388 INF [api] listen addr=:1984
2024-11-13 02:37:39.388393549 21:37:39.388 INF [rtsp] listen addr=:8554
2024-11-13 02:37:39.388661454 21:37:39.388 INF [webrtc] listen addr=:8555/tcp
2024-11-13 02:37:48.052097415 [INFO] Starting go2rtc healthcheck service...
2024-11-13 02:37:48.478056141 21:37:48.477 WRN [rtsp] error="streams: dial tcp 192.168.50.211:554: i/o timeout" stream=CAM1_sub FFprobe output from your camerai don't think I can run this Install methodHassOS Addon Object DetectorCoral Network connectionWired Camera make and modelAmcrest IP8M-2779EW and Reolink Doorbell Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulSaw this in the hardware info:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
your biggest user of CPU is go2rtc, you can reduce CPU usage by changing your config to:
|
Beta Was this translation helpful? Give feedback.
yeah it does seem like there is not much headroom in the current hardware