[Config Support]: 0.15 RC 2 - fresh install crashing errors #16307
-
Describe the problem you are havingHi, I was previously running a working 0.14 in a LXC in PVE. I wanted a setup that is easier to update, so I tried a fresh install with Docker compose in LXC. I read and went through the manuals and got it to run with the bare minimum (without hardware acceleration), anytime I try to add hwaccel. it seems to error loop, half loading frigate and restarting the container. Tried many iterations and args. Another thing, the timestamp in the errors and logs are no correct, I tried to set the timezone in docker config but still the same. Please advise. Thanks. Version0.15.0-cea210d Frigate config filemqtt:
enabled: true
# Required: host name
host: 192.168.3.205
# Optional: port (default: shown below)
port: 1883
user: ***
password: ***
ffmpeg:
hwaccel_args: preset-vaapi
go2rtc:
streams:
Porch:
- ffmpeg:rtsp://***@192.168.3.61:554/axis-media/media.amp?videocodec=h264
#- ffmpeg:Porch#video=h264#hardware
cameras:
####### PORCH #######
Porch:
ffmpeg:
output_args:
record: preset-record-generic
inputs:
- path: rtsp://127.0.0.1:8554/Porch
input_args: preset-rtsp-restream
roles:
- detect
- record
record:
enabled: false
retain:
days: 3
mode: all
detect:
enabled: false # <---- disable detection until you have a working camera feed
width: 720
height: 720
detectors:
ov:
type: openvino
device: GPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
version: 0.15-1 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 go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service nginx-log successfully started
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
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
2025-02-04 11:04:20.011404446 [INFO] Preparing Frigate...
2025-02-04 11:04:20.023418003 [INFO] Starting NGINX...
2025-02-04 11:04:20.024914789 [INFO] Preparing new go2rtc config...
2025-02-04 11:04:20.103147167 [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-02-04 11:04:20.120999066 [INFO] Starting certsync...
s6-rc: info: service legacy-services successfully started
2025-02-04 11:04:20.261103444 127.0.0.1 - - [04/Feb/2025:19:04:20 +0800] "" 400 0 "-" "-" "-"
2025-02-04 11:04:20.624958825 [INFO] Starting go2rtc...
2025-02-04 11:04:20.751836144 19:04:20.751 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-02-04 11:04:20.751888415 19:04:20.751 INF config path=/dev/shm/go2rtc.yaml
2025-02-04 11:04:20.752389467 19:04:20.752 INF [rtsp] listen addr=:8554
2025-02-04 11:04:20.752479697 19:04:20.752 INF [api] listen addr=:1984
2025-02-04 11:04:20.752577409 19:04:20.752 INF [webrtc] listen addr=:8555/tcp
2025-02-04 11:04:21.420811718 2025/02/04 19:04:21 [error] 159#159: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.3.43, server: , request: "GET /ws HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "192.168.3.148:5000"
2025-02-04 11:04:21.422296636 2025/02/04 19:04:21 [error] 159#159: *2 auth request unexpected status: 502 while sending to client, client: 192.168.3.43, server: , request: "GET /ws HTTP/1.1", host: "192.168.3.148:5000"
2025-02-04 11:04:21.423142888 192.168.3.43 - - [04/Feb/2025:19:04:21 +0800] "GET /ws HTTP/1.1" 500 579 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36" "-"
2025-02-04 11:04:22.797866915 [2025-02-04 19:04:22] frigate.util.config INFO : Checking if frigate config needs migration...
2025-02-04 11:04:22.799533501 [2025-02-04 19:04:22] frigate.util.config INFO : frigate config does not need migration...
2025-02-04 11:04:22.816056264 [2025-02-04 19:04:22] frigate.app INFO : Starting Frigate (0.15.0-cea210d)
2025-02-04 11:04:22.822685355 [2025-02-04 19:04:22] peewee_migrate.logs INFO : Starting migrations
2025-02-04 11:04:22.823037030 [2025-02-04 19:04:22] peewee_migrate.logs INFO : There is nothing to migrate
2025-02-04 11:04:22.833574477 [2025-02-04 19:04:22] frigate.app INFO : Recording process started: 343
2025-02-04 11:04:22.836854581 [2025-02-04 19:04:22] frigate.app INFO : Review process started: 352
2025-02-04 11:04:22.836858534 [2025-02-04 19:04:22] frigate.app INFO : go2rtc process pid: 98
2025-02-04 11:04:22.848650539 [2025-02-04 19:04:22] detector.ov INFO : Starting detection process: 359
2025-02-04 11:04:22.863138913 [2025-02-04 19:04:22] frigate.app INFO : Output process started: 375
2025-02-04 11:04:22.876894703 [2025-02-04 19:04:22] frigate.app INFO : Camera processor started for Porch: 390
2025-02-04 11:04:22.882306442 [2025-02-04 19:04:22] frigate.app WARNING : The current SHM size of 64.0MB is too small, recommend increasing it to at least 70MB.
2025-02-04 11:04:22.890823618 [2025-02-04 19:04:22] frigate.app INFO : Capture process started for Porch: 393
2025-02-04 11:04:22.894924634 Process detector:ov:
2025-02-04 11:04:22.894928090 Traceback (most recent call last):
2025-02-04 11:04:22.894929403 File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
2025-02-04 11:04:22.894930374 self.run()
2025-02-04 11:04:22.894931486 File "/opt/frigate/frigate/util/process.py", line 41, in run_wrapper
2025-02-04 11:04:22.894935390 return run(*args, **kwargs)
2025-02-04 11:04:22.894955281 File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
2025-02-04 11:04:22.894956600 self._target(*self._args, **self._kwargs)
2025-02-04 11:04:22.894958136 File "/opt/frigate/frigate/object_detection.py", line 121, in run_detector
2025-02-04 11:04:22.894959247 object_detector = LocalObjectDetector(detector_config=detector_config)
2025-02-04 11:04:22.894960196 File "/opt/frigate/frigate/object_detection.py", line 68, in __init__
2025-02-04 11:04:22.894961134 self.detect_api = create_detector(detector_config)
2025-02-04 11:04:22.894985093 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
2025-02-04 11:04:22.894986301 return api(detector_config)
2025-02-04 11:04:22.895000335 File "/opt/frigate/frigate/detectors/plugins/openvino.py", line 40, in __init__
2025-02-04 11:04:22.895001564 self.interpreter = self.ov_core.compile_model(
2025-02-04 11:04:22.895002895 File "/usr/local/lib/python3.9/dist-packages/openvino/runtime/ie_api.py", line 543, in compile_model
2025-02-04 11:04:22.895003955 super().compile_model(model, device_name, {} if config is None else config),
2025-02-04 11:04:22.895004982 RuntimeError: Exception from src/inference/src/cpp/core.cpp:121:
2025-02-04 11:04:22.895006039 Check '!m_device_map.empty()' failed at src/plugins/intel_gpu/src/plugin/plugin.cpp:379:
2025-02-04 11:04:22.895021548 [GPU] Can't get OPTIMIZATION_CAPABILITIES property as no supported devices found or an error happened during devices query.
2025-02-04 11:04:22.895022867 [GPU] Please check OpenVINO documentation for GPU drivers setup guide.
2025-02-04 11:04:22.895023755
2025-02-04 11:04:22.895024420
2025-02-04 11:04:22.895024974
2025-02-04 11:04:23.249985622 [2025-02-04 19:04:23] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-02-04 11:04:23.372384374 [2025-02-04 19:04:23] frigate.api.fastapi_app INFO : FastAPI started
2025-02-04 11:04:23.855303207 [2025-02-04 19:04:23] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:25.620087340 [2025-02-04 19:04:25] frigate.video ERROR : Porch: Unable to read frames from ffmpeg process.
2025-02-04 11:04:25.620484081 [2025-02-04 19:04:25] frigate.video ERROR : Porch: ffmpeg process is not running. exiting capture thread...
2025-02-04 11:04:25.859323699 [2025-02-04 19:04:25] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:27.866749021 [2025-02-04 19:04:27] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:29.870888820 [2025-02-04 19:04:29] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:30.020446902 [INFO] Starting go2rtc healthcheck service...
2025-02-04 11:04:31.877490156 [2025-02-04 19:04:31] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:33.879185376 [2025-02-04 19:04:33] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:35.882867079 [2025-02-04 19:04:35] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:37.888535686 [2025-02-04 19:04:37] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:39.891716745 [2025-02-04 19:04:39] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:41.896470009 [2025-02-04 19:04:41] frigate.comms.mqtt ERROR : MQTT disconnected
2025-02-04 11:04:42.934088427 [2025-02-04 19:04:42] watchdog.Porch ERROR : Ffmpeg process crashed unexpectedly for Porch.
2025-02-04 11:04:42.934254393 [2025-02-04 19:04:42] watchdog.Porch ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-04 11:04:42.934260854 [2025-02-04 19:04:42] ffmpeg.Porch.detect ERROR : Option hwaccel (use HW accelerated decoding) cannot be applied to output url vaapi -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
2025-02-04 11:04:42.934262433 [2025-02-04 19:04:42] ffmpeg.Porch.detect ERROR : Error parsing options for output file vaapi.
2025-02-04 11:04:42.934263735 [2025-02-04 19:04:42] ffmpeg.Porch.detect ERROR : Error opening output files: Invalid argument
2025-02-04 11:04:43.249058478 [2025-02-04 19:04:43] frigate.watchdog INFO : Detection appears to have stopped. Exiting Frigate...
s6-rc: info: service legacy-services: stopping Relevant go2rtc log output2025-02-04 11:07:40.557257094 [INFO] Preparing new go2rtc config...
2025-02-04 11:07:41.279442693 [INFO] Starting go2rtc...
2025-02-04 11:07:41.456268079 19:07:41.456 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-02-04 11:07:41.456338520 19:07:41.456 INF config path=/dev/shm/go2rtc.yaml
2025-02-04 11:07:41.456848105 19:07:41.456 INF [rtsp] listen addr=:8554
2025-02-04 11:07:41.456904655 19:07:41.456 INF [api] listen addr=:1984
2025-02-04 11:07:41.457141863 19:07:41.457 INF [webrtc] listen addr=:8555/tcp Frigate statsNo response Operating systemDebian Install methodProxmox via Docker docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:0.15.0-rc2
devices:
- /dev/dri/renderD128
volumes:
- ./config:/config
- ./storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "8554:8554" # RTSP feeds
- "5000:5000"
environment:
TZ: Asia/Kuala_Lumpur Object DetectorOpenVino Screenshots of the Frigate UI's System metrics pagesunable to load page, keeps refreshing and refused connect page appears. Any other information that may be helpfulConfig from 0.14 that works fine mqtt: go2rtc:
cameras: ####### PORCH #######
######### HALL #############
######### KITCHEN ############
######### 2ND HALL ############
####### BACKYARD #######
####### Left Garden #######
####### RIGHT Garden #######
detectors: record: version: 0.14 Birdseye: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The crash showing in your logs is with the OpenVINO detector which just requires you to pass through Also, there's the common issue with OpenVINO as listed in the FAQ, Upgrade issues question 6. |
Beta Was this translation helpful? Give feedback.
The crash showing in your logs is with the OpenVINO detector which just requires you to pass through
/dev/dri/renderD128
.Also, there's the common issue with OpenVINO as listed in the FAQ, Upgrade issues question 6.