[Bug]: ghcr.io/blakeblackshear/frigate:stable-h8l excessive logging #19585
-
Checklist
Describe the problem you are havingHailort writes info logging to: /opt/frigate/hailort.log many times per second even with logging only warnings 13:53:22.139689 frigate.detecto(493571): W /var/lib/docker/overlay2/ce75288330e048a0a3dfbd3f74a142707cd73faa557f64661b3d5cf699c1f985/diff/opt/frigate/hailort.log This is a problem on a Pi5 with sdcard. logs: [2025-08-18 13:55:28.883] [387] [3194287] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0) config: logger: [Image: ](image: ghcr.io/blakeblackshear/frigate:stable-h8l) Steps to reproduce... VersionSystem 0.15.2-3bda638 In which browser(s) are you experiencing the issue with?N/A Frigate config filelogger:
default: error
logs:
frigate.object_detection: critical
detector.hailo8l: critical
mqtt:
enabled: false
detectors:
hailo8l:
type: hailo8l
device: PCIe
#model:
# width: 300
# height: 300
# input_tensor: nhwc
# input_pixel_format: bgr
# model_type: ssd
# path: /config/model_local/ssd_mobilenet_v1.hef
model:
width: 640
height: 640
path: /config/model_local/yolov6n.hef
ffmpeg:
# hwaccel_args: -hwaccel drm
hwaccel_args: preset-rpi-64-h265
objects:
track:
- person
- car
review:
alerts:
labels:
- car
- person
detections:
labels:
- speech
record:
enabled: True
sync_recordings: True
retain:
days: 3
mode: motion
alerts:
retain:
days: 30
mode: motion
detections:
retain:
days: 3
mode: all
go2rtc:
streams:
kamera1:
- "ffmpeg:rtsp://temp:temp1234@192.168.1.124:554/Preview_01_main"
# - "ffmpeg:rtsp://temp:temp1234@192.168.1.124:554/Preview_01_main#video=copy#audio=copy#audio=opus"
# - "ffmpeg:kamera1#audio=opus"
kamera1_sub:
- "ffmpeg:rtsp://temp:temp1234@192.168.1.124:554/Preview_01_sub"
kamera2:
- "ffmpeg:rtsp://temp:temp1234@192.168.1.176:554/Preview_01_main"
# - "ffmpeg:rtsp://temp:temp1234@192.168.1.176:554/Preview_01_main#video=copy#audio=copy#audio=opus"
# - "ffmpeg:kamera2#audio=opus"
kamera2_sub:
- "ffmpeg:rtsp://temp:temp1234@192.168.1.176:554/Preview_01_sub"
cameras:
kamera1:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/kamera1
input_args: preset-rtsp-restream
roles:
- record
- audio
- path: rtsp://127.0.0.1:8554/kamera1_sub
input_args: preset-rtsp-restream
roles:
- detect
kamera2:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/kamera2
input_args: preset-rtsp-restream
roles:
- record
- audio
- path: rtsp://127.0.0.1:8554/kamera2_sub
input_args: preset-rtsp-restream
roles:
- detect
version: 0.15-1 docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable-h8l
shm_size: "512mb" # calculate on your own
stop_grace_period: 30s # allow enough time to shut down the various services
restart: unless-stopped
privileged: true
ports:
- "5000:5000"
- "1935:1935"
- "8554:8554"
- "8971:8971"
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
devices:
- /dev/hailo0:/dev/hailo0
- /dev/media0:/dev/media0
- /dev/media1:/dev/media1
- /dev/media2:/dev/media2
- /dev/video19:/dev/video19
volumes:
- /etc/localtime:/etc/localtime:ro
- /data/frigate/config:/config
- /data/share/frigate:/media/frigate
# - /mnt/tmpfs/hail1.log:/root/.hailo/hailort/hailort.log
# - /mnt/tmpfs/hail2.log:/opt/frigate/hailort.log
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000 Relevant Frigate log output[2025-08-18 13:55:28.663] [387] [387] [HailoRT] [info] [edge_elements.cpp:287] [create] Created (HwReadEl0yolov6n/conv38_70 | hw_frame_size: 6400)
[2025-08-18 13:55:28.663] [387] [387] [HailoRT] [info] [queue_elements.cpp:630] [create] Created (PullQEl_nms0yolov6n/conv38_70 | timeout: 10s)
[2025-08-18 13:55:28.663] [387] [387] [HailoRT] [info] [edge_elements.cpp:287] [create] Created (HwReadEl9yolov6n/conv47_70 | hw_frame_size: 128000)
[2025-08-18 13:55:28.663] [387] [387] [HailoRT] [info] [queue_elements.cpp:630] [create] Created (PullQEl_nms9yolov6n/conv47_70 | timeout: 10s)
[2025-08-18 13:55:28.663] [387] [387] [HailoRT] [info] [edge_elements.cpp:287] [create] Created (HwReadEl5yolov6n/conv48_70 | hw_frame_size: 6400)
[2025-08-18 13:55:28.663] [387] [387] [HailoRT] [info] [queue_elements.cpp:630] [create] Created (PullQEl_nms5yolov6n/conv48_70 | timeout: 10s)
[2025-08-18 13:55:28.663] [387] [387] [HailoRT] [info] [edge_elements.cpp:287] [create] Created (HwReadEl7yolov6n/conv49_70 | hw_frame_size: 1600)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [queue_elements.cpp:630] [create] Created (PullQEl_nms7yolov6n/conv49_70 | timeout: 10s)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [edge_elements.cpp:287] [create] Created (HwReadEl4yolov6n/conv57_70 | hw_frame_size: 38400)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [queue_elements.cpp:630] [create] Created (PullQEl_nms4yolov6n/conv57_70 | timeout: 10s)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [edge_elements.cpp:287] [create] Created (HwReadEl8yolov6n/conv58_70 | hw_frame_size: 1920)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [queue_elements.cpp:630] [create] Created (PullQEl_nms8yolov6n/conv58_70 | timeout: 10s)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [edge_elements.cpp:287] [create] Created (HwReadEl6yolov6n/conv59_70 | hw_frame_size: 480)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [queue_elements.cpp:630] [create] Created (PullQEl_nms6yolov6n/conv59_70 | timeout: 10s)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [queue_elements.cpp:773] [create] Created (UserBufQEl_post_infer0yolov6n/yolox_nms_postprocess | timeout: 10s)
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [vstream.cpp:1114] [OutputVStreamImpl] Creating yolov6n/yolox_nms_postprocess...
[2025-08-18 13:55:28.664] [387] [387] [HailoRT] [info] [vstream_builder.cpp:622] [create_output_post_process_nms] Output pipeline 'yolov6n/yolox_nms_postprocess': HW >> (HwReadEl2yolov6n/conv36_70 | hw_frame_size: 512000) >> (PullQEl_nms2yolov6n/conv36_70) >> (HwReadEl1yolov6n/conv37_70 | hw_frame_size: 25600) >> (PullQEl_nms1yolov6n/conv37_70) >> (HwReadEl0yolov6n/conv38_70 | hw_frame_size: 6400) >> (PullQEl_nms0yolov6n/conv38_70) >> (HwReadEl9yolov6n/conv47_70 | hw_frame_size: 128000) >> (PullQEl_nms9yolov6n/conv47_70) >> (HwReadEl5yolov6n/conv48_70 | hw_frame_size: 6400) >> (PullQEl_nms5yolov6n/conv48_70) >> (HwReadEl7yolov6n/conv49_70 | hw_frame_size: 1600) >> (PullQEl_nms7yolov6n/conv49_70) >> (HwReadEl4yolov6n/conv57_70 | hw_frame_size: 38400) >> (PullQEl_nms4yolov6n/conv57_70) >> (HwReadEl8yolov6n/conv58_70 | hw_frame_size: 1920) >> (PullQEl_nms8yolov6n/conv58_70) >> (HwReadEl6yolov6n/conv59_70 | hw_frame_size: 480) >> (PullQEl_nms6yolov6n/conv59_70) >> (NmsPPMuxEl0YOLOX-Post-Process | Op YOLOX, Name: YOLOX-Post-Process, Score threshold: 0.200, IoU threshold: 0.65, Classes: 80, Cross classes: false, Max bboxes per class: 100, Image height: 640, Image width: 640) >> (UserBufQEl_post_infer0yolov6n/yolox_nms_postprocess | timeout: 10s)
[2025-08-18 13:55:28.665] [387] [387] [HailoRT] [info] [core_op.cpp:156] [activate] Activating yolov6n took 0.554021 milliseconds. Note that the function is asynchronous and thus the network is not fully activated yet.
[2025-08-18 13:55:28.665] [387] [387] [HailoRT] [info] [core_op.cpp:156] [activate] Activating yolov6n took 0.567336 milliseconds. Note that the function is asynchronous and thus the network is not fully activated yet.
[2025-08-18 13:55:28.676] [387] [3194252] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194256] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194258] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194255] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194253] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194257] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194254] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194259] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.676] [387] [3194260] [HailoRT] [info] [vdevice_native_stream.cpp:331] [read_impl] Failed read from stream HAILO_STREAM_NOT_ACTIVATED(72) (device: 0001:01:00.0)
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [core_op.cpp:186] [deactivate] Deactivating took 0.635058 ms
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [core_op.cpp:186] [deactivate] Deactivating took 0.65065 ms
[2025-08-18 13:55:28.677] [387] [3194252] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms2yolov6n/conv36_70!
[2025-08-18 13:55:28.677] [387] [3194257] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms7yolov6n/conv49_70!
[2025-08-18 13:55:28.677] [387] [3194254] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms0yolov6n/conv38_70!
[2025-08-18 13:55:28.677] [387] [3194253] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms1yolov6n/conv37_70!
[2025-08-18 13:55:28.677] [387] [3194255] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms9yolov6n/conv47_70!
[2025-08-18 13:55:28.677] [387] [3194258] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms4yolov6n/conv57_70!
[2025-08-18 13:55:28.677] [387] [3194256] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms5yolov6n/conv48_70!
[2025-08-18 13:55:28.677] [387] [3194260] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms6yolov6n/conv59_70!
[2025-08-18 13:55:28.677] [387] [3194259] [HailoRT] [info] [queue_elements.cpp:707] [run_in_thread] Shutdown event was signaled in run_pull of queue element PullQEl_nms8yolov6n/conv58_70!
[2025-08-18 13:55:28.677] [387] [3194261] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element UserBufQEl_post_infer0yolov6n/yolox_nms_postprocess is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element UserBufQEl_post_infer0yolov6n/yolox_nms_postprocess has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194260] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms6yolov6n/conv59_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms6yolov6n/conv59_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194259] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms8yolov6n/conv58_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms8yolov6n/conv58_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194258] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms4yolov6n/conv57_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms4yolov6n/conv57_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194257] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms7yolov6n/conv49_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms7yolov6n/conv49_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194256] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms5yolov6n/conv48_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms5yolov6n/conv48_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194255] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms9yolov6n/conv47_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms9yolov6n/conv47_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194254] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms0yolov6n/conv38_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms0yolov6n/conv38_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194253] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms1yolov6n/conv37_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms1yolov6n/conv37_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194252] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PullQEl_nms2yolov6n/conv36_70 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PullQEl_nms2yolov6n/conv36_70 has 0 frames in his Queue on destruction
[2025-08-18 13:55:28.677] [387] [3194251] [HailoRT] [info] [queue_elements.cpp:54] [operator()] Thread in element PushQEl3yolov6n/input_layer1 is not running anymore, exiting..
[2025-08-18 13:55:28.677] [387] [387] [HailoRT] [info] [queue_elements.cpp:43] [~BaseQueueElement] Queue element PushQEl3yolov6n/input_layer1 has 0 frames in his Queue on destruction Relevant go2rtc log outputN/A Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelReolink 843 Screenshots of the Frigate UI's System metrics pages![]() Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The excessive HailoRT logging you're experiencing is a known issue with the Hailo-8L detector. The HailoRT library generates verbose info-level logs that bypass Frigate's logger configuration (1). Your logger configuration correctly sets the Frigate logging levels (1): logger:
default: error
logs:
frigate.object_detection: critical
detector.hailo8l: critical However, the HailoRT logs you're seeing are generated directly by the Hailo hardware library, not by Frigate itself, which is why they don't respect Frigate's logger settings (1). For Raspberry Pi 5 with SD card storage, this excessive logging can indeed cause performance issues and unnecessary wear. You've already identified a potential workaround by mounting tmpfs volumes to redirect the log files: volumes:
- /mnt/tmpfs/hail1.log:/root/.hailo/hailort/hailort.log
- /mnt/tmpfs/hail2.log:/opt/frigate/hailort.log This approach redirects the HailoRT logs to temporary filesystem locations in RAM rather than writing to your SD card (2). The Hailo-8L detector is configured correctly in your setup (3): detectors:
hailo8l:
type: hailo8l
device: PCIe This logging behavior appears to be inherent to the HailoRT library and not something that can be controlled through Frigate's configuration alone. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
You should update to 0.16 and see if this is still an issue |
Beta Was this translation helpful? Give feedback.
You should update to 0.16 and see if this is still an issue