[HW Accel Support]: Camera Feed not working anymore after switching from Intel to AMD CPU / Graphics #15899
-
Describe the problem you are havingI'm using frigate in a LXC container on a Proxmox server.
After making the switch, it seems that the same config does not work correctly with the AMD proxmox server for one of the cameras. The "garage" cameras has problems, while the "werkstatt" camera seems to work fine. I constantly get "h264_qsv @ 0x5bc353712b40] Failed to create a VAAPI device." in the frigate logs for the "garage" camera. Strangely enough, when I wait a few minutes after starting frigate, the camera live view starts working, but only with Google Chrome. But nothing gets recorded, as you can see from the log message "No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process..." Version0.14.1-f4f3cfa Frigate config filemqtt:
enabled: true
host: [...]
user: [...]
password: [...]
detectors:
coral:
type: edgetpu
device: usb
go2rtc:
webrtc:
candidates:
- 192.168.1.13:8555
- stun:8555
streams:
garage:
- rtsp://admin:[...]@192.168.1.[...]:554/h265Preview_01_main
- ffmpeg:garage#video=h264#hardware#audio=opus
werkstatt:
- rtsp://admin:[...]@192.168.1.[...]:554/stream1
cameras:
garage:
ffmpeg:
hwaccel_args:
- -hwaccel_flags
- allow_profile_mismatch
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps
1 -strftime 1 -c:v h264_qsv -b:v 4M -c:a copy -r 15 # record with 15fps
inputs:
- path: rtsp://127.0.0.1:8554/garage # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/garage # <--- the name here must match the name of the camera_sub in restream
input_args: preset-rtsp-restream
roles:
- detect
live:
quality: 1
record:
enabled: true
retain:
days: 365
mode: motion
events:
pre_capture: 60
post_capture: 120
retain:
default: 365
mode: active_objects
snapshots:
required_zones:
- entire_yard
zones:
entire_yard:
coordinates: 0,2160,3840,2160,3840,0,920,0,966,578,878,582,0,897
detect:
enabled: true
objects:
track:
- person
- car
- dog
- cat
- bird
- elephant
- cow
- bicycle
motion:
threshold: 40
mask:
- 3840,0,3840,75,3059,67,3051,0
werkstatt:
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/werkstatt
input_args: preset-rtsp-restream
roles:
- record
- detect
live:
quality: 1
record:
enabled: true
retain:
days: 365
mode: motion
events:
pre_capture: 60
post_capture: 120
retain:
default: 365
mode: motion
detect:
enabled: true
objects:
track:
- person
motion:
threshold: 70
mask:
- 463,0,447,44,0,44,0,0
version: 0.14 docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "200mb" # update for your cameras based on calculation above
mem_swappiness: 0
devices:
- /dev/dri/renderD128
- /dev/dri/card0
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
volumes:
- /etc/localtime:/etc/localtime:ro
- /root/config.yml:/config/config.yml
- /mnt/usbstorage:/media/frigate
- /mnt/usbstorage2:/media/frigate2
- /root:/config
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8554:8554" # RTSP feeds
- "1984:1984" # go2rtc api
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: [...]
LIBVA_DRIVER_NAME: "radeonsi" 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 frigate successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service go2rtc-healthcheck successfully started
2025-01-08 18:43:47.579438108 [INFO] Preparing Frigate...
2025-01-08 18:43:47.580303223 [INFO] Preparing new go2rtc config...
2025-01-08 18:43:47.580506717 [INFO] Starting NGINX...
2025-01-08 18:43:47.584836855 [INFO] No TLS certificate found. Generating a self signed certificate...
2025-01-08 18:43:47.585852887 [INFO] Starting Frigate...
2025-01-08 18:43:47.720754290 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2025-01-08 18:43:47.743237996 [INFO] Starting go2rtc...
2025-01-08 18:43:47.806747974 18:43:47.806 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-01-08 18:43:47.806750114 18:43:47.806 INF config path=/dev/shm/go2rtc.yaml
2025-01-08 18:43:47.806753033 18:43:47.806 INF [rtsp] listen addr=:8554
2025-01-08 18:43:47.806753973 18:43:47.806 INF [api] listen addr=:1984
2025-01-08 18:43:47.806754693 18:43:47.806 INF [webrtc] listen addr=:8555
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-01-08 18:43:48.124522197 [INFO] Starting certsync...
s6-rc: info: service legacy-services successfully started
2025-01-08 18:43:48.157856817 127.0.0.1 - - [08/Jan/2025:18:43:48 +0000] "" 400 0 "-" "-" "-"
2025-01-08 18:43:48.364096668 [2025-01-08 18:43:48] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2025-01-08 18:43:48.364109698 [2025-01-08 18:43:48] frigate.util.config INFO : Checking if frigate config needs migration...
2025-01-08 18:43:48.377177439 [2025-01-08 18:43:48] frigate.util.config INFO : frigate config does not need migration...
2025-01-08 18:43:48.585846381 [2025-01-08 18:43:48] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2025-01-08 18:43:50.549489485 2025/01/08 18:43:50 [error] 180#180: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.11, server: , request: "GET /api/stats HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "192.168.1.13:5000"
2025-01-08 18:43:50.549494555 2025/01/08 18:43:50 [error] 180#180: *2 auth request unexpected status: 502 while sending to client, client: 192.168.1.11, server: , request: "GET /api/stats HTTP/1.1", host: "192.168.1.13:5000"
2025-01-08 18:43:51.874814947 [2025-01-08 18:43:51] peewee_migrate.logs INFO : Starting migrations
2025-01-08 18:43:51.874838147 [2025-01-08 18:43:51] peewee_migrate.logs INFO : There is nothing to migrate
2025-01-08 18:43:51.883867862 [2025-01-08 18:43:51] frigate.app INFO : Recording process started: 439
2025-01-08 18:43:51.887453301 [2025-01-08 18:43:51] frigate.app INFO : Recording process started: 448
2025-01-08 18:43:51.888591789 [2025-01-08 18:43:51] frigate.app INFO : go2rtc process pid: 98
2025-01-08 18:43:51.902462827 [2025-01-08 18:43:51] detector.coral INFO : Starting detection process: 468
2025-01-08 18:43:51.905195720 [2025-01-08 18:43:51] frigate.app INFO : Output process started: 471
2025-01-08 18:43:52.577049482 [2025-01-08 18:43:52] frigate.app INFO : Camera processor started for garage: 504
2025-01-08 18:43:52.584793164 [2025-01-08 18:43:52] frigate.app INFO : Camera processor started for werkstatt: 505
2025-01-08 18:43:52.592634333 [2025-01-08 18:43:52] frigate.app INFO : Capture process started for garage: 509
2025-01-08 18:43:52.600850071 [2025-01-08 18:43:52] frigate.app INFO : Capture process started for werkstatt: 516
2025-01-08 18:43:54.454521407 [2025-01-08 18:43:51] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2025-01-08 18:43:54.458169384 [2025-01-08 18:43:54] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-01-08 18:43:57.579612819 [INFO] Starting go2rtc healthcheck service...
2025-01-08 18:44:12.647324220 [2025-01-08 18:44:12] ffmpeg.garage.record ERROR : [h264_qsv @ 0x638f28cb8b40] Failed to create a VAAPI device.
2025-01-08 18:44:12.647384799 [2025-01-08 18:44:12] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:44:12.647446857 [2025-01-08 18:44:12] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:44:12.647650511 [2025-01-08 18:44:12] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:44:22.665839747 [2025-01-08 18:44:22] ffmpeg.garage.record ERROR : [hevc @ 0x64f90e0b9e80] PPS changed between slices.
2025-01-08 18:44:22.665872426 [2025-01-08 18:44:22] ffmpeg.garage.record ERROR : [hevc @ 0x64f90e0b9e80] Error parsing NAL unit #0.
2025-01-08 18:44:22.665901215 [2025-01-08 18:44:22] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:44:22.665953784 [2025-01-08 18:44:22] ffmpeg.garage.record ERROR : [hevc @ 0x64f90e0f5280] Could not find ref with POC 21
2025-01-08 18:44:22.665955673 [2025-01-08 18:44:22] ffmpeg.garage.record ERROR : [h264_qsv @ 0x64f90ddfeb40] Failed to create a VAAPI device.
2025-01-08 18:44:22.665976723 [2025-01-08 18:44:22] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:44:22.666003732 [2025-01-08 18:44:22] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:44:22.666018052 [2025-01-08 18:44:22] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:44:27.267857148 192.168.1.11 - - [08/Jan/2025:18:44:27 +0000] "GET / HTTP/1.1" 200 7593 "-" "HomeAssistantSupervisor/2024.12.0 aiohttp/3.11.10 Python/3.12" "-"
2025-01-08 18:44:32.687221861 [2025-01-08 18:44:32] ffmpeg.garage.record ERROR : [hevc @ 0x575f5ca62180] PPS changed between slices.
2025-01-08 18:44:32.687245081 [2025-01-08 18:44:32] ffmpeg.garage.record ERROR : [hevc @ 0x575f5ca62180] Error parsing NAL unit #0.
2025-01-08 18:44:32.687294849 [2025-01-08 18:44:32] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:44:32.687296609 [2025-01-08 18:44:32] ffmpeg.garage.record ERROR : [hevc @ 0x575f5ca60900] Could not find ref with POC 21
2025-01-08 18:44:32.687305599 [2025-01-08 18:44:32] ffmpeg.garage.record ERROR : [h264_qsv @ 0x575f5c71cb40] Failed to create a VAAPI device.
2025-01-08 18:44:32.687319868 [2025-01-08 18:44:32] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:44:32.687352647 [2025-01-08 18:44:32] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:44:32.687353437 [2025-01-08 18:44:32] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:44:42.718124971 [2025-01-08 18:44:42] ffmpeg.garage.record ERROR : [hevc @ 0x56670c82c640] PPS changed between slices.
2025-01-08 18:44:42.718174790 [2025-01-08 18:44:42] ffmpeg.garage.record ERROR : [hevc @ 0x56670c82c640] Error parsing NAL unit #0.
2025-01-08 18:44:42.726341051 [2025-01-08 18:44:42] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:44:42.726376760 [2025-01-08 18:44:42] ffmpeg.garage.record ERROR : [hevc @ 0x56670c825940] Could not find ref with POC 22
2025-01-08 18:44:42.726393459 [2025-01-08 18:44:42] ffmpeg.garage.record ERROR : [h264_qsv @ 0x56670c4dd480] Failed to create a VAAPI device.
2025-01-08 18:44:42.726415439 [2025-01-08 18:44:42] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:44:42.726442998 [2025-01-08 18:44:42] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:44:42.726458717 [2025-01-08 18:44:42] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:44:48.170494119 127.0.0.1 - - [08/Jan/2025:18:44:48 +0000] "" 400 0 "-" "-" "-"
2025-01-08 18:44:52.736079006 [2025-01-08 18:44:52] ffmpeg.garage.record ERROR : [hevc @ 0x5f97b6398c80] PPS changed between slices.
2025-01-08 18:44:52.736124855 [2025-01-08 18:44:52] ffmpeg.garage.record ERROR : [hevc @ 0x5f97b6398c80] Error parsing NAL unit #0.
2025-01-08 18:44:52.736125945 [2025-01-08 18:44:52] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:44:52.736150214 [2025-01-08 18:44:52] ffmpeg.garage.record ERROR : [hevc @ 0x5f97b63f76c0] Could not find ref with POC 22
2025-01-08 18:44:52.736158954 [2025-01-08 18:44:52] ffmpeg.garage.record ERROR : [h264_qsv @ 0x5f97b6071dc0] Failed to create a VAAPI device.
2025-01-08 18:44:52.736189363 [2025-01-08 18:44:52] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:44:52.736213703 [2025-01-08 18:44:52] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:44:52.736251021 [2025-01-08 18:44:52] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:45:02.778779702 [2025-01-08 18:45:02] ffmpeg.garage.record ERROR : [hevc @ 0x5d95386b38c0] PPS changed between slices.
2025-01-08 18:45:02.778876379 [2025-01-08 18:45:02] ffmpeg.garage.record ERROR : [hevc @ 0x5d95386b38c0] Error parsing NAL unit #0.
2025-01-08 18:45:02.778877909 [2025-01-08 18:45:02] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:45:02.778878639 [2025-01-08 18:45:02] ffmpeg.garage.record ERROR : [hevc @ 0x5d9538645e80] Could not find ref with POC 23
2025-01-08 18:45:02.778895389 [2025-01-08 18:45:02] ffmpeg.garage.record ERROR : [h264_qsv @ 0x5d95382c4480] Failed to create a VAAPI device.
2025-01-08 18:45:02.778928657 [2025-01-08 18:45:02] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:45:02.778936997 [2025-01-08 18:45:02] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:45:02.778959177 [2025-01-08 18:45:02] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:45:12.788921138 [2025-01-08 18:45:12] ffmpeg.garage.record ERROR : [hevc @ 0x5fde16185900] PPS changed between slices.
2025-01-08 18:45:12.788945947 [2025-01-08 18:45:12] ffmpeg.garage.record ERROR : [hevc @ 0x5fde16185900] Error parsing NAL unit #0.
2025-01-08 18:45:12.788958716 [2025-01-08 18:45:12] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:45:12.789004195 [2025-01-08 18:45:12] ffmpeg.garage.record ERROR : [hevc @ 0x5fde16181000] Could not find ref with POC 0
2025-01-08 18:45:12.789016525 [2025-01-08 18:45:12] ffmpeg.garage.record ERROR : [h264_qsv @ 0x5fde15e5a480] Failed to create a VAAPI device.
2025-01-08 18:45:12.789035124 [2025-01-08 18:45:12] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:45:12.789056154 [2025-01-08 18:45:12] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:45:12.800834139 [2025-01-08 18:45:12] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:45:22.811631938 [2025-01-08 18:45:22] ffmpeg.garage.record ERROR : [hevc @ 0x62eda03bb2c0] PPS changed between slices.
2025-01-08 18:45:22.811659387 [2025-01-08 18:45:22] ffmpeg.garage.record ERROR : [hevc @ 0x62eda03bb2c0] Error parsing NAL unit #0.
2025-01-08 18:45:22.811680896 [2025-01-08 18:45:22] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:45:22.811753754 [2025-01-08 18:45:22] ffmpeg.garage.record ERROR : [hevc @ 0x62eda0405740] Could not find ref with POC 0
2025-01-08 18:45:22.811755624 [2025-01-08 18:45:22] ffmpeg.garage.record ERROR : [h264_qsv @ 0x62eda01192c0] Failed to create a VAAPI device.
2025-01-08 18:45:22.811757214 [2025-01-08 18:45:22] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:45:22.811774194 [2025-01-08 18:45:22] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:45:22.811806493 [2025-01-08 18:45:22] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:45:32.830664980 [2025-01-08 18:45:32] ffmpeg.garage.record ERROR : [h264_qsv @ 0x58522b247b40] Failed to create a VAAPI device.
2025-01-08 18:45:32.830708639 [2025-01-08 18:45:32] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:45:32.830787407 [2025-01-08 18:45:32] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:45:32.830844975 [2025-01-08 18:45:32] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:45:42.866220041 [2025-01-08 18:45:42] ffmpeg.garage.record ERROR : [hevc @ 0x5bc353a8a640] PPS changed between slices.
2025-01-08 18:45:42.866274569 [2025-01-08 18:45:42] ffmpeg.garage.record ERROR : [hevc @ 0x5bc353a8a640] Error parsing NAL unit #0.
2025-01-08 18:45:42.866485663 [2025-01-08 18:45:42] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:45:42.866486723 [2025-01-08 18:45:42] ffmpeg.garage.record ERROR : [hevc @ 0x5bc3539e7b40] Could not find ref with POC 1
2025-01-08 18:45:42.866487503 [2025-01-08 18:45:42] ffmpeg.garage.record ERROR : [h264_qsv @ 0x5bc353712b40] Failed to create a VAAPI device.
2025-01-08 18:45:42.866488533 [2025-01-08 18:45:42] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:45:42.866510152 [2025-01-08 18:45:42] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:45:42.866511112 [2025-01-08 18:45:42] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:45:48.183113361 127.0.0.1 - - [08/Jan/2025:18:45:48 +0000] "" 400 0 "-" "-" "-"
2025-01-08 18:45:52.892580769 [2025-01-08 18:45:52] ffmpeg.garage.record ERROR : [hevc @ 0x6533dc6c8f40] PPS changed between slices.
2025-01-08 18:45:52.892625648 [2025-01-08 18:45:52] ffmpeg.garage.record ERROR : [hevc @ 0x6533dc6c8f40] Error parsing NAL unit #0.
2025-01-08 18:45:52.892649747 [2025-01-08 18:45:52] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:45:52.892665807 [2025-01-08 18:45:52] ffmpeg.garage.record ERROR : [hevc @ 0x6533dc6c44c0] Could not find ref with POC 2
2025-01-08 18:45:52.892682246 [2025-01-08 18:45:52] ffmpeg.garage.record ERROR : [h264_qsv @ 0x6533dc3b2480] Failed to create a VAAPI device.
2025-01-08 18:45:52.892699366 [2025-01-08 18:45:52] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:45:52.892715545 [2025-01-08 18:45:52] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:45:52.892732095 [2025-01-08 18:45:52] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:46:02.904994029 [2025-01-08 18:46:02] ffmpeg.garage.record ERROR : [hevc @ 0x5ea639f61c40] PPS changed between slices.
2025-01-08 18:46:02.905018099 [2025-01-08 18:46:02] ffmpeg.garage.record ERROR : [hevc @ 0x5ea639f61c40] Error parsing NAL unit #0.
2025-01-08 18:46:02.918332789 [2025-01-08 18:46:02] ffmpeg.garage.record ERROR : Error while decoding stream #0:0: Invalid data found when processing input
2025-01-08 18:46:02.918388248 [2025-01-08 18:46:02] ffmpeg.garage.record ERROR : [hevc @ 0x5ea639f5aa00] Could not find ref with POC 3
2025-01-08 18:46:02.918412877 [2025-01-08 18:46:02] ffmpeg.garage.record ERROR : [h264_qsv @ 0x5ea639bd5480] Failed to create a VAAPI device.
2025-01-08 18:46:02.918445516 [2025-01-08 18:46:02] ffmpeg.garage.record ERROR : Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025-01-08 18:46:02.918465845 [2025-01-08 18:46:02] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:46:02.918486705 [2025-01-08 18:46:02] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:46:12.950346679 [2025-01-08 18:46:12] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:46:12.950396887 [2025-01-08 18:46:12] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:46:12.950454696 [2025-01-08 18:46:12] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:46:22.960503122 [2025-01-08 18:46:22] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:46:22.960517342 [2025-01-08 18:46:22] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:46:22.960543521 [2025-01-08 18:46:22] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:46:27.273818769 192.168.1.11 - - [08/Jan/2025:18:46:27 +0000] "GET / HTTP/1.1" 200 7593 "-" "HomeAssistantSupervisor/2024.12.0 aiohttp/3.11.10 Python/3.12" "-"
2025-01-08 18:46:32.982242191 [2025-01-08 18:46:32] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:46:32.982267100 [2025-01-08 18:46:32] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:46:32.994270928 [2025-01-08 18:46:32] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:46:43.004031921 [2025-01-08 18:46:43] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:46:43.004047320 [2025-01-08 18:46:43] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:46:43.004059640 [2025-01-08 18:46:43] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:46:48.195885044 127.0.0.1 - - [08/Jan/2025:18:46:48 +0000] "" 400 0 "-" "-" "-"
2025-01-08 18:46:53.026344502 [2025-01-08 18:46:53] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:46:53.026390851 [2025-01-08 18:46:53] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:46:53.037920263 [2025-01-08 18:46:53] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:47:03.048179458 [2025-01-08 18:47:03] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:47:03.048202468 [2025-01-08 18:47:03] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:47:03.048258296 [2025-01-08 18:47:03] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:47:13.071493995 [2025-01-08 18:47:13] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:47:13.071531153 [2025-01-08 18:47:13] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:47:13.071573832 [2025-01-08 18:47:13] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:47:23.089096015 [2025-01-08 18:47:23] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:47:23.089149653 [2025-01-08 18:47:23] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:47:23.089180822 [2025-01-08 18:47:23] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:47:33.107712560 [2025-01-08 18:47:33] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:47:33.107755709 [2025-01-08 18:47:33] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:47:33.107818957 [2025-01-08 18:47:33] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:47:43.129351042 [2025-01-08 18:47:43] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:47:43.129370032 [2025-01-08 18:47:43] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:47:43.129396931 [2025-01-08 18:47:43] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:47:48.207957126 127.0.0.1 - - [08/Jan/2025:18:47:48 +0000] "" 400 0 "-" "-" "-"
2025-01-08 18:47:53.160795819 [2025-01-08 18:47:53] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:47:53.160837678 [2025-01-08 18:47:53] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:47:53.174717621 [2025-01-08 18:47:53] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:48:03.190701895 [2025-01-08 18:48:03] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:48:03.190755113 [2025-01-08 18:48:03] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:48:03.190812741 [2025-01-08 18:48:03] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:48:13.222196035 [2025-01-08 18:48:13] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:48:13.222237244 [2025-01-08 18:48:13] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:48:13.222277923 [2025-01-08 18:48:13] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:48:23.245635656 [2025-01-08 18:48:23] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:48:23.245656596 [2025-01-08 18:48:23] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:48:23.245685795 [2025-01-08 18:48:23] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:48:27.285405089 192.168.1.11 - - [08/Jan/2025:18:48:27 +0000] "GET / HTTP/1.1" 200 7593 "-" "HomeAssistantSupervisor/2024.12.0 aiohttp/3.11.10 Python/3.12" "-"
2025-01-08 18:48:33.263409017 [2025-01-08 18:48:33] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:48:33.263448106 [2025-01-08 18:48:33] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:48:33.263469225 [2025-01-08 18:48:33] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:48:43.275757989 [2025-01-08 18:48:43] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:48:43.275780218 [2025-01-08 18:48:43] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:48:43.275797178 [2025-01-08 18:48:43] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:48:48.219576465 127.0.0.1 - - [08/Jan/2025:18:48:48 +0000] "" 400 0 "-" "-" "-"
2025-01-08 18:48:53.311098021 [2025-01-08 18:48:53] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:48:53.311173969 [2025-01-08 18:48:53] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:48:53.311175509 [2025-01-08 18:48:53] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:49:03.327054802 [2025-01-08 18:49:03] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:49:03.327088272 [2025-01-08 18:49:03] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:49:03.327108731 [2025-01-08 18:49:03] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:49:13.344896482 [2025-01-08 18:49:13] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:49:13.344936771 [2025-01-08 18:49:13] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:49:13.344975480 [2025-01-08 18:49:13] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:49:23.364645282 [2025-01-08 18:49:23] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:49:23.364669961 [2025-01-08 18:49:23] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:49:23.364721360 [2025-01-08 18:49:23] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:49:33.388313407 [2025-01-08 18:49:33] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:49:33.388361535 [2025-01-08 18:49:33] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:49:33.388386545 [2025-01-08 18:49:33] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:49:43.406061984 [2025-01-08 18:49:43] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:49:43.406107983 [2025-01-08 18:49:43] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:49:43.406127182 [2025-01-08 18:49:43] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:49:48.231349444 127.0.0.1 - - [08/Jan/2025:18:49:48 +0000] "" 400 0 "-" "-" "-"
2025-01-08 18:49:53.446546890 [2025-01-08 18:49:53] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:49:53.446572669 [2025-01-08 18:49:53] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:49:53.446602319 [2025-01-08 18:49:53] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:50:03.457700680 [2025-01-08 18:50:03] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:50:03.457735490 [2025-01-08 18:50:03] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:50:03.457759819 [2025-01-08 18:50:03] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:50:13.475778527 [2025-01-08 18:50:13] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:50:13.475801227 [2025-01-08 18:50:13] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:50:13.475829906 [2025-01-08 18:50:13] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2025-01-08 18:50:23.508595288 [2025-01-08 18:50:23] watchdog.garage ERROR : No new recording segments were created for garage in the last 120s. restarting the ffmpeg record process...
2025-01-08 18:50:23.508617447 [2025-01-08 18:50:23] watchdog.garage INFO : Terminating the existing ffmpeg process...
2025-01-08 18:50:23.508648236 [2025-01-08 18:50:23] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully... Relevant go2rtc log output- FFprobe output from your camera- Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelReolink PTZ Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulVAInfo output: Return Code: 0 Process Output: vainfo: VA-API version: 1.17 (libva 2.10.0) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
you should be using |
Beta Was this translation helpful? Give feedback.
-
@NickM-27 I tried starting with a blank config, however I still do not get it working. Current config:
Last logs before "death":
|
Beta Was this translation helpful? Give feedback.
-
Finally solved it by trial and error:
@NickM-27 Seems like this could be a bug? To be clear, this works:
And this doesn't work:
|
Beta Was this translation helpful? Give feedback.
Finally solved it by trial and error:
@NickM-27 Seems like this could be a bug?
To be clear, this works: