[Detector Support]: Enabling OpenVino on N100 machine causes Frigate to constantly restart #17679
Describe the problem you are havingI have installed Frigate through Docker compose on a Beelink S 12 pro mini PC which has Intel N100 processor. The OS is Debian 12 server. It is also running multiple other docker containers without problem. When I add OpenVino as the detector in the config file, Frigate keeps restarting constantly. Without detectors, it works well. I'm not an expert by any means and not able to figure out what the problem is. Any help will be graetly appreciated. Version0.15.0-cea210d Frigate config filemqtt:
enabled: false
ffmpeg:
hwaccel_args: preset-intel-qsv-h265
cameras:
gate: # <------ Name the camera
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:cctv@321@192.168.30.5:554/Streaming/Channels/102 # <----- The stream you want to use for detection
roles:
- detect
- path: rtsp://admin:cctv@321@192.168.30.5:554/Streaming/Channels/101 # <----- The stream you want to use for detection
roles:
- record
detect:
enabled: true # <---- disable detection until you have a working camera feed
width: 640
height: 360
fps: 5
motion:
mask:
- 0.001,0,0.001,0.223,0.216,0.109,0.225,0.191,0.293,0.214,0.291,0.066,0.509,0.057,0.517,0.25,0.769,0.312,0.914,0.107,0.979,0.064,0.993,0.005,0.574,0.005,0.185,0.007
- 0.384,0.084,0.4,0.387,0.505,0.429,0.492,0.092
- 0.112,0.166,0.144,0.529,0.286,0.429,0.261,0.236,0.176,0.152
record:
enabled: true
retain:
days: 2
mode: motion
alerts:
retain:
days: 5
detections:
retain:
days: 5
snapshots:
enabled: true
retain:
default: 5
detectors:
ov:
type: openvino
device: CPU
version: 0.15-1docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
stop_grace_period: 30s # allow enough time to shut down the various services
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "512mb" # update for your cameras based on calculation above
devices:
# - /dev/bus/usb:/dev/bus/usb # Passes the USB Coral, needs to be modified for other versions
# - /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
# - /dev/video11:/dev/video11 # For Raspberry Pi 4B
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /DATA/AppData/frigate/config:/config
- /DATA/frigate_storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "5000:5000" # Internal unauthenticated access. Expose carefully.
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: "password"Relevant Frigate log outputs6-rc: info: service s6rc-fdholder: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service certsync-log: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service frigate-log successfully started
s6-rc: info: service certsync-log successfully started
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service go2rtc-healthcheck successfully started
2025-04-13 12:14:35.253514609 [INFO] Preparing new go2rtc config...
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
2025-04-13 12:14:35.261313777 [INFO] Starting NGINX...
2025-04-13 12:14:35.262601919 [INFO] Preparing Frigate...
2025-04-13 12:14:35.349105764 [INFO] Starting Frigate...
s6-rc: info: service nginx successfully started
s6-rc: info: service certsync: starting
s6-rc: info: service certsync successfully started
s6-rc: info: service legacy-services: starting
2025-04-13 12:14:35.386831656 [INFO] Starting certsync...
s6-rc: info: service legacy-services successfully started
2025-04-13 12:14:35.566151480 127.0.0.1 - - [13/Apr/2025:12:14:35 +0530] "" 400 0 "-" "-" "-"
2025-04-13 12:14:35.861963642 [INFO] Starting go2rtc...
2025-04-13 12:14:35.954187915 12:14:35.954 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-04-13 12:14:35.954208381 12:14:35.954 INF config path=/dev/shm/go2rtc.yaml
2025-04-13 12:14:35.954555404 12:14:35.954 INF [rtsp] listen addr=:8554
2025-04-13 12:14:35.954603566 12:14:35.954 INF [api] listen addr=:1984
2025-04-13 12:14:35.954708225 12:14:35.954 INF [webrtc] listen addr=:8555/tcp
2025-04-13 12:14:36.795843304 2025/04/13 12:14:36 [error] 164#164: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.30.125, server: , request: "GET /ws HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "192.168.30.140:8971"
2025-04-13 12:14:36.795847528 2025/04/13 12:14:36 [error] 164#164: *3 auth request unexpected status: 502 while sending to client, client: 192.168.30.125, server: , request: "GET /ws HTTP/1.1", host: "192.168.30.140:8971"
2025-04-13 12:14:36.795876651 192.168.30.125 - - [13/Apr/2025:12:14:36 +0530] "GET /ws HTTP/1.1" 500 579 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" "-"
2025-04-13 12:14:37.534495625 [2025-04-13 12:14:37] frigate.util.config INFO : Checking if frigate config needs migration...
2025-04-13 12:14:37.554113174 [2025-04-13 12:14:37] frigate.util.config INFO : frigate config does not need migration...
2025-04-13 12:14:37.559838311 [2025-04-13 12:14:37] frigate.app INFO : Starting Frigate (0.15.0-cea210d)
2025-04-13 12:14:37.565534926 [2025-04-13 12:14:37] peewee_migrate.logs INFO : Starting migrations
2025-04-13 12:14:37.565854293 [2025-04-13 12:14:37] peewee_migrate.logs INFO : There is nothing to migrate
2025-04-13 12:14:37.576906135 [2025-04-13 12:14:37] frigate.app INFO : Recording process started: 346
2025-04-13 12:14:37.576909636 [2025-04-13 12:14:37] frigate.app INFO : Review process started: 353
2025-04-13 12:14:37.579512619 [2025-04-13 12:14:37] frigate.app INFO : go2rtc process pid: 99
2025-04-13 12:14:37.590371006 [2025-04-13 12:14:37] detector.ov INFO : Starting detection process: 362
2025-04-13 12:14:37.592633718 Process detector:ov:
2025-04-13 12:14:37.592637880 Traceback (most recent call last):
2025-04-13 12:14:37.592639234 File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
2025-04-13 12:14:37.592640132 self.run()
2025-04-13 12:14:37.592641228 File "/opt/frigate/frigate/util/process.py", line 41, in run_wrapper
2025-04-13 12:14:37.592645166 return run(*args, **kwargs)
2025-04-13 12:14:37.592659442 File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
2025-04-13 12:14:37.592660565 self._target(*self._args, **self._kwargs)
2025-04-13 12:14:37.592662117 File "/opt/frigate/frigate/object_detection.py", line 121, in run_detector
2025-04-13 12:14:37.592663164 object_detector = LocalObjectDetector(detector_config=detector_config)
2025-04-13 12:14:37.592664109 File "/opt/frigate/frigate/object_detection.py", line 68, in __init__
2025-04-13 12:14:37.592665065 self.detect_api = create_detector(detector_config)
2025-04-13 12:14:37.592685606 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
2025-04-13 12:14:37.592686671 return api(detector_config)
2025-04-13 12:14:37.592701026 File "/opt/frigate/frigate/detectors/plugins/openvino.py", line 34, in __init__
2025-04-13 12:14:37.592702127 if not os.path.isfile(detector_config.model.path):
2025-04-13 12:14:37.592703150 File "/usr/lib/python3.9/genericpath.py", line 30, in isfile
2025-04-13 12:14:37.592703945 st = os.stat(path)
2025-04-13 12:14:37.592704924 TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
2025-04-13 12:14:37.597876388 [2025-04-13 12:14:37] frigate.app INFO : Output process started: 377
2025-04-13 12:14:37.614663558 [2025-04-13 12:14:37] frigate.app INFO : Camera processor started for gate: 391
2025-04-13 12:14:37.624209345 [2025-04-13 12:14:37] frigate.app INFO : Capture process started for gate: 397
2025-04-13 12:14:38.085231721 [2025-04-13 12:14:38] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-04-13 12:14:38.187147985 [2025-04-13 12:14:38] frigate.api.fastapi_app INFO : FastAPI started
2025-04-13 12:14:45.259123922 [INFO] Starting go2rtc healthcheck service...
2025-04-13 12:14:58.080346500 [2025-04-13 12:14:58] frigate.watchdog INFO : Detection appears to have stopped. Exiting Frigate...
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service go2rtc-healthcheck: stopping
s6-rc: info: service certsync: stopping
2025-04-13 12:14:58.097061442 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2025-04-13 12:14:58.098980420 [INFO] Service CERTSYNC exited with code 256 (by signal 15)
s6-rc: info: service certsync successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service certsync-log: stopping
s6-rc: info: service certsync-log successfully stopped
2025-04-13 12:14:58.196449233 [INFO] Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service nginx-log: stopping
s6-rc: info: service frigate: stopping
s6-rc: info: service nginx-log successfully stopped
2025-04-13 12:14:58.398651120 [2025-04-13 12:14:58] frigate.app INFO : Stopping...
2025-04-13 12:14:58.401156799 [2025-04-13 12:14:58] frigate.watchdog INFO : Exiting watchdog...
2025-04-13 12:14:58.402407327 [2025-04-13 12:14:58] frigate.record.cleanup INFO : Exiting recording cleanup...
2025-04-13 12:14:58.404099742 [2025-04-13 12:14:58] frigate.ptz.autotrack INFO : Exiting autotracker...
2025-04-13 12:14:58.404194541 [2025-04-13 12:14:58] frigate.stats.emitter INFO : Exiting stats emitter...
2025-04-13 12:14:58.404516285 [2025-04-13 12:14:58] frigate.events.cleanup INFO : Exiting event cleanup...
2025-04-13 12:14:58.404522635 [2025-04-13 12:14:58] frigate.app INFO : Waiting for capture process for gate to stop
2025-04-13 12:14:58.404525751 [2025-04-13 12:14:58] frigate.storage INFO : Exiting storage maintainer...
2025-04-13 12:14:58.405137506 [2025-04-13 12:14:58] watchdog.gate INFO : Terminating the existing ffmpeg process...
2025-04-13 12:14:58.405250336 [2025-04-13 12:14:58] watchdog.gate INFO : Waiting for ffmpeg to exit gracefully...
2025-04-13 12:14:58.764541333 [2025-04-13 12:14:58] watchdog.gate INFO : Terminating the existing ffmpeg process...
2025-04-13 12:14:58.765119154 [2025-04-13 12:14:58] watchdog.gate INFO : Waiting for ffmpeg to exit gracefully...
2025-04-13 12:14:59.098367430 [2025-04-13 12:14:59] frigate.events.maintainer INFO : Exiting event processor...
2025-04-13 12:14:59.214838744 [2025-04-13 12:14:59] frigate.object_processing INFO : Exiting object processor...
2025-04-13 12:14:59.246068465 [2025-04-13 12:14:59] frigate.app INFO : Waiting for process for gate to stop
2025-04-13 12:15:02.206802011 [2025-04-13 12:15:02] frigate.video INFO : gate: emptying frame queue
2025-04-13 12:15:02.207691038 [2025-04-13 12:15:02] frigate.video INFO : gate: exiting subprocess
2025-04-13 12:15:02.219366475 [2025-04-13 12:15:02] frigate.app INFO : Closing frame queue for gate
2025-04-13 12:15:03.222599304 [2025-04-13 12:15:03] frigate.app INFO : Detection queue closed
2025-04-13 12:15:03.723874971 [2025-04-13 12:15:03] frigate.app INFO : Detected frames queue closed
2025-04-13 12:15:04.225211444 [2025-04-13 12:15:04] frigate.app INFO : Timeline queue closed
2025-04-13 12:15:05.698891703 [2025-04-13 12:15:05] frigate.output.output INFO : exiting output process...
2025-04-13 12:15:08.217573012 [2025-04-13 12:15:08] frigate.review.maintainer INFO : Exiting review maintainer...
2025-04-13 12:15:08.390401884 [2025-04-13 12:15:08] frigate.comms.ws INFO : Exiting websocket client...
2025-04-13 12:15:08.616196677 [2025-04-13 12:15:08] peewee.sqliteq INFO : writer received shutdown request, exiting.
2025-04-13 12:15:08.649316352 [INFO] Service Frigate exited with code 0 (by signal 0)
s6-rc: info: service frigate successfully stopped
s6-rc: info: service go2rtc: stopping
s6-rc: info: service frigate-log: stopping
2025-04-13 12:15:08.651668034 exit with signal: terminated
s6-rc: info: service frigate-log successfully stopped
2025-04-13 12:15:08.656351889 [INFO] The go2rtc service exited with code 0 (by signal 0)
s6-rc: info: service go2rtc successfully stopped
s6-rc: info: service go2rtc-log: stopping
s6-rc: info: service go2rtc-log successfully stopped
s6-rc: info: service log-prepare: stopping
s6-rc: info: service s6rc-fdholder: stopping
s6-rc: info: service log-prepare successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service s6rc-fdholder successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stoppedInstall methodDocker Compose Object DetectorOpenVino Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Answered by
hawkeye217
Apr 13, 2025
Replies: 1 comment 2 replies
|
When using the OpenVINO detector, you also need to specify a model. See the documentation: https://docs.frigate.video/configuration/object_detectors#supported-models |
2 replies
Answer selected by
sanjaynair73
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


When using the OpenVINO detector, you also need to specify a model. See the documentation: https://docs.frigate.video/configuration/object_detectors#supported-models