[Config Support]: unable to get hwaccel working with radeon HD 8570 #16395
-
Describe the problem you are havingfrigate crashes when adding hwaccel_args: preset-vaapi Dell Optiplex 3060 SFF Camera is a MBS4010 Foscam doorbell Radeon GPU passthrough from proxmox to alpine appears to be working Docker VM
From proxmox host
Version0.14.1-f4f3cfa Frigate config filemqtt:
host: 192.168.0.5 #Insert the IP address of your Home Assistant
port: 1883
topic_prefix: frigate
client_id: frigate
user: <UserName>
password: <Pass>
stats_interval: 60
go2rtc:
streams:
Doorbell:
- rtsp://<user>:<pass>@192.168.10.2:88/videoMain
- "ffmpeg:Entrance#audio=opus" # <- copy of the stream which transcodes audio to the missing codec (usually will be opus)
webrtc:
candidates:
- 192.168.0.5:8555
- stun:8555
ffmpeg:
hwaccel_args: preset-vaapi
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic-audio-copy
cameras:
Doorbell: #Change this to a name of the camera that makes sense to you
ffmpeg:
output_args:
record: preset-record-generic-audio-aac #Insert this if your camera supports audio output
inputs:
#- path: rtsp://<User>:<Pass>@192.168.10.2:88/videoMain #Change as per your camera documentation for high quality feed
- path: rtsp://127.0.0.1:8554/Doorbell #Change as per your camera documentation for high quality feed
roles:
- record
#- detect
- audio
#height: 360 #Change this to match the resolution of your detection channel (in this case channel 1)
#width: 640 #Change this to match the resolution of your detection channel (in this case channel 1)
#fps: 10 #This is the frame rate for detection, between 5-10 fps is sufficient.
# live:
# stream_name: Doorbell
#auth:
# reset_admin_password: true
version: 0.14 Relevant Frigate log output2025-02-08 15:36:16.656925021 127.0.0.1 - - [08/Feb/2025:15:36:16 -0500] "" 400 0 "-" "-" "-"
2025-02-08 15:36:18.901769275 [2025-02-08 15:36:18] watchdog.Doorbell ERROR : Ffmpeg process crashed unexpectedly for Doorbell.
2025-02-08 15:36:18.901856458 [2025-02-08 15:36:18] watchdog.Doorbell ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-08 15:36:18.901956529 [2025-02-08 15:36:18] ffmpeg.Doorbell.detect ERROR : [hevc @ 0x5650a8ed0d00] No support for codec hevc profile 1.
2025-02-08 15:36:18.902057209 [2025-02-08 15:36:18] ffmpeg.Doorbell.detect ERROR : [hevc @ 0x5650a8ed0d00] Failed setup for format vaapi: hwaccel initialisation returned error.
2025-02-08 15:36:18.902151279 [2025-02-08 15:36:18] ffmpeg.Doorbell.detect ERROR : Impossible to convert between the formats supported by the filter 'Parsed_fps_0' and the filter 'auto_scale_0'
2025-02-08 15:36:18.902237769 [2025-02-08 15:36:18] ffmpeg.Doorbell.detect ERROR : Error reinitializing filters!
2025-02-08 15:36:18.902356123 [2025-02-08 15:36:18] ffmpeg.Doorbell.detect ERROR : Failed to inject frame into filter network: Function not implemented
2025-02-08 15:36:18.902451917 [2025-02-08 15:36:18] ffmpeg.Doorbell.detect ERROR : Error while processing the decoded data for stream #0:0
2025-02-08 15:36:20.017950790 [2025-02-08 15:36:20] frigate.video ERROR : Doorbell: Unable to read frames from ffmpeg process.
2025-02-08 15:36:20.018048009 [2025-02-08 15:36:20] frigate.video ERROR : Doorbell: ffmpeg process is not running. exiting capture thread...
2025-02-08 15:36:26.499205015 192.168.0.11 - - [08/Feb/2025:15:36:26 -0500] "GET /api/profile HTTP/1.1" 200 18 "http://192.168.0.5:5000/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:26.499775715 192.168.0.11 - - [08/Feb/2025:15:36:26 -0500] "GET /api/config HTTP/1.1" 200 7789 "http://192.168.0.5:5000/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:26.500295581 192.168.0.11 - - [08/Feb/2025:15:36:26 -0500] "GET /api/config/raw HTTP/1.1" 200 773 "http://192.168.0.5:5000/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:27.007333393 192.168.0.11 - - [08/Feb/2025:15:36:27 -0500] "GET /api/profile HTTP/1.1" 200 18 "http://192.168.0.5:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:27.007765012 192.168.0.11 - - [08/Feb/2025:15:36:27 -0500] "GET /api/config HTTP/1.1" 200 7789 "http://192.168.0.5:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:28.909328781 [2025-02-08 15:36:28] watchdog.Doorbell ERROR : Ffmpeg process crashed unexpectedly for Doorbell.
2025-02-08 15:36:28.909495194 [2025-02-08 15:36:28] watchdog.Doorbell ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-08 15:36:28.909597682 [2025-02-08 15:36:28] ffmpeg.Doorbell.detect ERROR : [hevc @ 0x555d5d019f80] No support for codec hevc profile 1.
2025-02-08 15:36:28.909708013 [2025-02-08 15:36:28] ffmpeg.Doorbell.detect ERROR : [hevc @ 0x555d5d019f80] Failed setup for format vaapi: hwaccel initialisation returned error.
2025-02-08 15:36:28.909762969 [2025-02-08 15:36:28] ffmpeg.Doorbell.detect ERROR : Impossible to convert between the formats supported by the filter 'Parsed_fps_0' and the filter 'auto_scale_0'
2025-02-08 15:36:28.909840340 [2025-02-08 15:36:28] ffmpeg.Doorbell.detect ERROR : Error reinitializing filters!
2025-02-08 15:36:28.909928539 [2025-02-08 15:36:28] ffmpeg.Doorbell.detect ERROR : Failed to inject frame into filter network: Function not implemented
2025-02-08 15:36:28.910047039 [2025-02-08 15:36:28] ffmpeg.Doorbell.detect ERROR : Error while processing the decoded data for stream #0:0
2025-02-08 15:36:29.983109212 192.168.0.11 - - [08/Feb/2025:15:36:29 -0500] "GET /api/logs/frigate?start=9&end=49 HTTP/1.1" 200 6345 "http://192.168.0.5:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:30.060056605 [2025-02-08 15:36:30] frigate.video ERROR : Doorbell: Unable to read frames from ffmpeg process.
2025-02-08 15:36:30.060169854 [2025-02-08 15:36:30] frigate.video ERROR : Doorbell: ffmpeg process is not running. exiting capture thread...
2025-02-08 15:36:31.883934460 192.168.0.11 - - [08/Feb/2025:15:36:31 -0500] "GET /api/logs/frigate?start=0&end=9 HTTP/1.1" 200 1054 "http://192.168.0.5:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:37.018127972 192.168.0.11 - - [08/Feb/2025:15:36:37 -0500] "GET /api/logs/frigate?start=119 HTTP/1.1" 200 3267 "http://192.168.0.5:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
2025-02-08 15:36:38.917291230 [2025-02-08 15:36:38] watchdog.Doorbell ERROR : Ffmpeg process crashed unexpectedly for Doorbell.
2025-02-08 15:36:38.917352845 [2025-02-08 15:36:38] watchdog.Doorbell ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-08 15:36:38.917433287 [2025-02-08 15:36:38] ffmpeg.Doorbell.detect ERROR : [hevc @ 0x55aea842f1c0] No support for codec hevc profile 1.
2025-02-08 15:36:38.917540865 [2025-02-08 15:36:38] ffmpeg.Doorbell.detect ERROR : [hevc @ 0x55aea842f1c0] Failed setup for format vaapi: hwaccel initialisation returned error.
2025-02-08 15:36:38.917543075 [2025-02-08 15:36:38] ffmpeg.Doorbell.detect ERROR : Impossible to convert between the formats supported by the filter 'Parsed_fps_0' and the filter 'auto_scale_0'
2025-02-08 15:36:38.917655400 [2025-02-08 15:36:38] ffmpeg.Doorbell.detect ERROR : Error reinitializing filters!
2025-02-08 15:36:38.917657590 [2025-02-08 15:36:38] ffmpeg.Doorbell.detect ERROR : Failed to inject frame into filter network: Function not implemented
2025-02-08 15:36:38.917754704 [2025-02-08 15:36:38] ffmpeg.Doorbell.detect ERROR : Error while processing the decoded data for stream #0:0
2025-02-08 15:36:40.114564740 [2025-02-08 15:36:40] frigate.video ERROR : Doorbell: Unable to read frames from ffmpeg process.
2025-02-08 15:36:40.114678018 [2025-02-08 15:36:40] frigate.video ERROR : Doorbell: ffmpeg process is not running. exiting capture thread... Relevant go2rtc log output2025-02-08 15:34:16.485771976 [INFO] Preparing new go2rtc config...
2025-02-08 15:34:16.745344338 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2025-02-08 15:34:16.772054141 [INFO] Starting go2rtc...
2025-02-08 15:34:16.857675220 15:34:16.857 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-02-08 15:34:16.857678246 15:34:16.857 INF config path=/dev/shm/go2rtc.yaml
2025-02-08 15:34:16.858843206 15:34:16.858 INF [rtsp] listen addr=:8554
2025-02-08 15:34:16.858845101 15:34:16.858 INF [api] listen addr=:1984
2025-02-08 15:34:16.858846207 15:34:16.858 INF [webrtc] listen addr=:8555
2025-02-08 15:34:26.484158793 [INFO] Starting go2rtc healthcheck service... Frigate statsNo response Operating systemOther Linux Install methodDocker Compose docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
privileged: true # this may not be necessary for all setups
shm_size: "256mb" # update for your cameras based on calculation above
volumes:
- /etc/localtime:/etc/localtime:ro
- ./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"
- "8555:8555/tcp"
- "8555:8555/udp"
- "1984:1984"
environment:
- LIBVA_DRIVER_NAME=radeonsi
devices:
- /dev/dri/renderD128:/dev/dri/renderD128 Object DetectorCPU (no coral) Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
your hardware does not support the necessary decoding profile to decode the cameras h265 stream |
Beta Was this translation helpful? Give feedback.
your hardware does not support the necessary decoding profile to decode the cameras h265 stream