Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Config Support]: Hardware Acceleration Failure #3547

Closed
Perkinje opened this issue Jul 27, 2022 · 9 comments
Closed

[Config Support]: Hardware Acceleration Failure #3547

Perkinje opened this issue Jul 27, 2022 · 9 comments

Comments

@Perkinje
Copy link

Perkinje commented Jul 27, 2022

Describe the problem you are having

I run Frigate docker (version 20.10.17) through docker-compose (version 2.6.0) on a fresh install of Linux 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux using AMD Ryzen 3 2200G with Radeon Vega Graphics, B450I GAMING PLUS AC mobo, 16gb DDR4 2133 , AMD Redwood XT Radeon HD 5670 gpu and Coral usb. I have 5 Unifi cameras configured (G4 Pro, G3 Pro, G3 Flex, G3 instant x2). Without hardware acceleration, this uses a constant 60-70% of the cpu with load averages of ~7, 6 and 5. I'd like to use hardware acceleration if possible to bring down the cpu load and I have at least 1 additional camera to add.

Version

0.10.1-83481af

Frigate config file

mqtt:
  host: 192.168.1.158
  port: a_port
  user: something
  password: something_else

detectors:
  coral:
    type: edgetpu
    device: usb

database:
  path: /db/frigate.db

logger:
  default: debug

ffmpeg:
  global_args: -hide_banner -loglevel debug
  hwaccel_args:
    - -hwaccel
    - vaapi
    - -hwaccel_device
    - /dev/dri/renderD128

objects:
  track:
    - person
    - dog
    - package
  filters:
    person:
      min_area: 5000
      max_area: 100000
      min_score: 0.6
      threshold: 0.8
    dog:
      min_area: 5000
      max_area: 100000
      min_score: 0.6
      threshold: 0.79

record:
  enabled: True
  retain:
    days: 2
    mode: all
  events:
    retain:
      default: 10
    pre_capture: 10
    post_capture: 30
    objects:
      - person
      - dog
      - package
    retain:
     default: 12
     mode: motion
     objects:
       person: 15

detect:
  fps: 7
  max_disappeared: 30
  stationary:
    interval: 0
    threshold: 50

live:
  height: 720
  quality: 5

rtmp:
  enabled: false

cameras:
  Doorbell: 
    ffmpeg:
      inputs:
        - path: 'rtsp://ubnt.****@192.168.1.1:7447/****'
          roles:
            - detect
    rtmp:
      enabled: False
    detect:
      width: 1600 
      height: 1200 
  
  Living_Room: 
    ffmpeg:
      inputs:
        - path: 'rtsp://ubnt.****@192.168.1.1:7447/****'
          roles:
            - detect
    rtmp:
      enabled: False
    detect:
      width: 1920
      height: 1080
    motion:
      threshold: 25
      mask:
        - 1211,0,1211,280,696,271,681,26
  
  Office:
    ffmpeg:
      inputs:
        - path: 'rtsp://ubnt.****@192.168.1.1:7447/****'
          roles:
            - detect
    rtmp:
      enabled: False
    detect:
      width: 1920
      height: 1080
  
  Driveway:
    ffmpeg:
      inputs:
        - path: 'rtsp://ubnt.****@192.168.1.1:7447/****'
          roles:
            - detect
    rtmp:
      enabled: False
    record:
      events:
        required_zones:
          - street
          - drive
    snapshots:
      required_zones:
        - street
        - drive
    detect:
      width: 1920 
      height: 1080
    zones:
      drive:
        coordinates: 1729,1080,1316,168,401,179,120,484,0,698,0,939,0,1080
        objects:
          - person
          - car
      street:
        coordinates: 1305,141,1663,195,1648,130,1614,107,1506,85,1095,76,899,65,760,71,566,89,274,121,35,163,23,231,554,150,892,143
        objects:
         - person
  
  Backyard_Upper_Deck:
    ffmpeg:
      inputs:
        - path: 'rtsp://ubnt.***@192.168.1.1:7447/***'
          roles:
            - detect
    record:
      events:
        required_zones:
          - hot_tub
    snapshots:
      required_zones:
        - hot_tub
    rtmp:
      enabled: False
    detect:
      width: 1920
      height: 1080
    zones:
      hot_tub:
        coordinates: 722,897,745,758,731,752,582,775,519,796,466,931
        objects:
          - person
          - dog

Relevant log output

frigate  | [2022-07-26 01:36:23] frigate.video                  ERROR   : Living_Room: Unable to read frames from ffmpeg process.

frigate  | [2022-07-26 01:36:42] watchdog.Doorbell              ERROR   : Ffmpeg process crashed unexpectedly for Doorbell.
frigate  | [2022-07-26 01:36:42] watchdog.Doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x56389f407580] Original list of addresses:
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x56389f407580] Address 192.168.1.1 port 7447
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x56389f407580] Interleaved list of addresses:
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x56389f407580] Address 192.168.1.1 port 7447
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x56389f407580] Starting connection attempt to 192.168.1.1 port 7447
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x56389f407580] Successfully connected to 192.168.1.1 port 7447
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] SDP:
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : v=0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : o=- 6673 0 IN IP4 192.168.1.1
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : s=E063DA017E63_0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : u=www.evostream.com
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [email protected]
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : c=IN IP4 192.168.1.1
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : t=0 0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=control:*
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=range:npt=now-
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : m=audio 0 RTP/AVP 96
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=rtpmap:96 mpeg4-generic/48000/1
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=control:trackID=0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : m=audio 0 RTP/AVP 96
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=rtpmap:96 opus/48000/2
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=control:trackID=1
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=fmtp:96
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : m=video 0 RTP/AVP 97
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=control:trackID=2
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=rtpmap:97 H264/90000
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : a=fmtp:97 profile-level-id=4d402a; packetization-mode=1; sprop-parameter-sets=Z01AKo2NQDIBL/4C3AQEBQAAAwPoAAFfkJ2giEag,aO44gA==
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : 
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] audio codec set to: aac
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] audio samplerate set to: 48000
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] audio channels set to: 1
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] audio codec set to: opus
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] audio samplerate set to: 48000
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] audio channels set to: 2
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] video codec set to: h264
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] RTP Profile IDC: 4d Profile IOP: 40 Level: 2a
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] RTP Packetization Mode: 1
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] Extradata set to 0x56389f408380 (size: 42)
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] setting jitter buffer size to 0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 2 times
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] hello state=0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] nal_unit_type: 7(SPS), nal_ref_idc: 3
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] nal_unit_type: 8(PPS), nal_ref_idc: 3
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] nal_unit_type: 7(SPS), nal_ref_idc: 3
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] nal_unit_type: 8(PPS), nal_ref_idc: 3
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] Format yuvj420p chosen by get_format().
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] Reinit context to 1600x1200, pix_fmt: yuvj420p
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] Frame num gap 198 196
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40d740] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 20 times
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x56389f404c80] All info found
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Input #0, rtsp, from 'rtsp://ubnt.****@192.168.1.1:7447/*****':
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :   Metadata:
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :     title           : E063DA017E63_0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :   Duration: N/A, start: 1658824582.610522, bitrate: N/A
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :     Stream #0:0, 24, 1/48000: Audio: aac, 48000 Hz, mono, fltp
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :     Stream #0:1, 25, 1/48000: Audio: opus, 48000 Hz, stereo, fltp
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :     Stream #0:2, 22, 1/90000: Video: h264, 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1600x1200 [SAR 1:1 DAR 4:3], 0/1, 45 fps, 45 tbr, 90k tbn, 90 tbc
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Successfully opened the file.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Parsing a group of options: output url /tmp/cache/Doorbell-%Y%m%d%H%M%S.mp4.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Applying option f (force format) with argument segment.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Applying option c (codec name) with argument copy.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Applying option an (disable audio) with argument 1.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Successfully parsed a group of options.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Opening an output file: /tmp/cache/Doorbell-%Y%m%d%H%M%S.mp4.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Successfully opened the file.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Parsing a group of options: output url pipe:.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 7.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Applying option s (set frame size (WxH or abbreviation)) with argument 1600x1200.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Applying option f (force format) with argument rawvideo.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Applying option pix_fmt (set pixel format) with argument yuv420p.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Successfully parsed a group of options.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Opening an output file: pipe:.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [pipe @ 0x56389f4079c0] Setting default whitelist 'crypto,data'
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Successfully opened the file.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [AVHWDeviceContext @ 0x56389f486b80] libva: VA-API version 1.14.0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [AVHWDeviceContext @ 0x56389f486b80] libva: User environment variable requested driver 'i965'
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [AVHWDeviceContext @ 0x56389f486b80] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [AVHWDeviceContext @ 0x56389f486b80] libva: Found init function __vaDriverInit_1_6
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : DRM_IOCTL_I915_GEM_APERTURE failed: No such file or directory
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Assuming 131072kB available aperture size.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : May lead to reduced performance or incorrect rendering.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : get chip id failed: -1 [13]
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : param: 4, val: 0
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [AVHWDeviceContext @ 0x56389f486b80] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [AVHWDeviceContext @ 0x56389f486b80] libva: va_openDriver() returns -1
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [AVHWDeviceContext @ 0x56389f486b80] Failed to initialise VAAPI connection: -1 (unknown libva error).
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Device creation failed: -5.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x56389f40f280] No device available for decoder: device type vaapi needed for codec h264.
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Stream mapping:
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :   Stream #0:2 -> #0:0 (copy)
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   :   Stream #0:2 -> #1:0 (h264 (native) -> rawvideo (native))
frigate  | [2022-07-26 01:36:42] ffmpeg.Doorbell.detect         ERROR   : Device setup failed for decoder on input stream #0:2 : Input/output error

Frigate stats

Without hardware accel
{"Backyard_Upper_Deck":{"camera_fps":7.0,"capture_pid":258,"detection_fps":0.0,"pid":232,"process_fps":7.0,"skipped_fps":0.0},"Doorbell":{"camera_fps":7.1,"capture_pid":233,"detection_fps":0.0,"pid":226,"process_fps":7.1,"skipped_fps":0.0},"Driveway":{"camera_fps":7.1,"capture_pid":249,"detection_fps":0.0,"pid":230,"process_fps":7.1,"skipped_fps":0.0},"Living_Room":{"camera_fps":7.1,"capture_pid":241,"detection_fps":0.0,"pid":227,"process_fps":7.1,"skipped_fps":0.0},"Office":{"camera_fps":7.0,"capture_pid":245,"detection_fps":0.0,"pid":229,"process_fps":7.0,"skipped_fps":0.0},"detection_fps":0.0,"detectors":{"coral":{"detection_start":0.0,"inference_speed":12.39,"pid":217}},"service":{"storage":{"/dev/shm":{"free":1053.0,"mount_type":"tmpfs","total":1073.7,"used":20.7},"/media/frigate/clips":{"free":25698110.4,"mount_type":"cifs","total":29807073.0,"used":4108962.7},"/media/frigate/recordings":{"free":25698110.4,"mount_type":"cifs","total":29807073.0,"used":4108962.7},"/tmp/cache":{"free":1993.3,"mount_type":"tmpfs","total":2000.0,"used":6.7}},"temperatures":{},"uptime":94552,"version":"0.10.1-83481af"}}

With hardware accel
{"Backyard_Upper_Deck":{"camera_fps":0.0,"capture_pid":258,"detection_fps":0.0,"pid":242,"process_fps":0.0,"skipped_fps":0.0},"Doorbell":{"camera_fps":0.0,"capture_pid":243,"detection_fps":0.0,"pid":229,"process_fps":0.0,"skipped_fps":0.0},"Driveway":{"camera_fps":0.0,"capture_pid":255,"detection_fps":0.0,"pid":241,"process_fps":0.0,"skipped_fps":0.0},"Living_Room":{"camera_fps":0.0,"capture_pid":246,"detection_fps":0.0,"pid":231,"process_fps":0.0,"skipped_fps":0.0},"Office":{"camera_fps":0.0,"capture_pid":250,"detection_fps":0.0,"pid":233,"process_fps":0.0,"skipped_fps":0.0},"detection_fps":0.0,"detectors":{"coral":{"detection_start":0.0,"inference_speed":10.0,"pid":216}},"service":{"storage":{"/dev/shm":{"free":1073.0,"mount_type":"tmpfs","total":1073.7,"used":0.7},"/media/frigate/clips":{"free":25697743.2,"mount_type":"cifs","total":29807073.0,"used":4109329.9},"/media/frigate/recordings":{"free":25697743.2,"mount_type":"cifs","total":29807073.0,"used":4109329.9},"/tmp/cache":{"free":2000.0,"mount_type":"tmpfs","total":2000.0,"used":0.0}},"temperatures":{},"uptime":99,"version":"0.10.1-83481af"}}

Operating system

Debian

Install method

Docker Compose

Coral version

USB

Any other information that may be helpful

No response

@NickM-27
Copy link
Collaborator

Please share your docker compose file

@Perkinje
Copy link
Author

version: "3.9"
services:
  frigate:
    container_name: frigate
    privileged: true
    restart: unless-stopped
    image: blakeblackshear/frigate:stable-amd64
    environment:
      - LIBVA_DRIVER_NAME="radeonsi"
    shm_size: 1024M
    devices:
      - /dev/bus/usb:/dev/bus/usb
      - /dev/dri/renderD128:/dev/dri/renderD128
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /media/docker/frigate/config.yml:/config/config.yml:ro
      - /media/nvr:/media/frigate
      - /media/docker/frigate/db:/db
      - type: tmpfs
        target: /tmp/cache
        tmpfs:
          size: 2000000000
    ports:
      - "5000:5000"
      - "1935:1935"
    environment:
      FRIGATE_RTSP_PASSWORD: "*******"

@NickM-27
Copy link
Collaborator

Nevermind I figured it out, you define environment twice and also the first one is not formatted correctly. Please move the DRIVER_NAME to the bottom and format it like the RTSP password

@Perkinje
Copy link
Author

I didn't see that, thanks but it doesn't seem to matter. I get the same errors and ffmpeg crashing.

@NickM-27
Copy link
Collaborator

NickM-27 commented Jul 28, 2022

It won't be the same logs so please paste the new ones. The original logs above complained that the i965 (intel) driver couldn't be found which won't happen when the radeonsi driver name is set correctly. Also please update your docker compose as well

@Perkinje
Copy link
Author

Perkinje commented Jul 28, 2022

My apologies, here is the update docker-compose.yml

version: "3.9"
services:
  frigate:
    container_name: frigate
    privileged: true
    restart: unless-stopped
    image: blakeblackshear/frigate:stable-amd64
    shm_size: 1024M
    devices:
      - /dev/bus/usb:/dev/bus/usb
      - /dev/dri/renderD128:/dev/dri/renderD128
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /media/docker/frigate/config.yml:/config/config.yml:ro
      - /media/nvr:/media/frigate
      - /media/docker/frigate/db:/db
      - type: tmpfs
        target: /tmp/cache
        tmpfs:
          size: 2000000000
    ports:
      - "5000:5000"
      - "1935:1935"
    environment:
      FRIGATE_RTSP_PASSWORD: "****"
      LIBVA_DRIVER_NAME: "radeonsi"

and logs show

frigate  | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate  | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate  | [fix-attrs.d] applying ownership & permissions fixes...
frigate  | [fix-attrs.d] done.
frigate  | [cont-init.d] executing container initialization scripts...
frigate  | [cont-init.d] done.
frigate  | [services.d] starting services
frigate  | [services.d] done.
frigate  | [2022-07-27 20:39:06] frigate.app                    INFO    : Starting Frigate (0.10.1-83481af)
frigate  | Starting migrations
frigate  | [2022-07-27 20:39:06] peewee_migrate                 INFO    : Starting migrations
frigate  | [2022-07-27 20:39:06] peewee                         DEBUG   : ('CREATE TABLE IF NOT EXISTS "migratehistory" ("id" INTEGER NOT NULL PRIMARY KEY, "name" VARCHAR(255) NOT NULL, "migrated_at" DATETIME NOT NULL)', [])
frigate  | [2022-07-27 20:39:06] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."name", "t1"."migrated_at" FROM "migratehistory" AS "t1" ORDER BY "t1"."id"', [])
frigate  | There is nothing to migrate
frigate  | [2022-07-27 20:39:06] peewee_migrate                 INFO    : There is nothing to migrate
frigate  | [2022-07-27 20:39:06] detector.coral                 INFO    : Starting detection process: 216
frigate  | [2022-07-27 20:39:06] frigate.app                    INFO    : Output process started: 218
frigate  | [2022-07-27 20:39:06] frigate.edgetpu                INFO    : Attempting to load TPU as usb
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Driveway: Unable to read frames from ffmpeg process.
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Doorbell: Unable to read frames from ffmpeg process.
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Backyard_Upper_Deck: Unable to read frames from ffmpeg process.
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Doorbell: ffmpeg process is not running. exiting capture thread...
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Living_Room: Unable to read frames from ffmpeg process.
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Backyard_Upper_Deck: ffmpeg process is not running. exiting capture thread...
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Living_Room: ffmpeg process is not running. exiting capture thread...
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Driveway: ffmpeg process is not running. exiting capture thread...
frigate  | [2022-07-27 20:39:07] frigate.video                  ERROR   : Office: Unable to read frames from ffmpeg process.

and (this repeats for each camera)

frigate  | [2022-07-27 20:39:26] watchdog.Doorbell              ERROR   : Ffmpeg process crashed unexpectedly for Doorbell.
frigate  | [2022-07-27 20:39:26] watchdog.Doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Successfully parsed a group of options.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Parsing a group of options: input url rtsp://ubnt.******@192.168.1.1:7447/******.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Applying option hwaccel_output_format (select output format used with HW accelerated decoding) with argument yuv420p.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Successfully parsed a group of options.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Opening an input file: rtsp://ubnt.******@192.168.1.1:7447/*****.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x55a419dc5740] No default whitelist set
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x55a419dc5740] Original list of addresses:
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x55a419dc5740] Address 192.168.1.1 port 7447
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x55a419dc5740] Interleaved list of addresses:
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x55a419dc5740] Address 192.168.1.1 port 7447
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x55a419dc5740] Starting connection attempt to 192.168.1.1 port 7447
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [tcp @ 0x55a419dc5740] Successfully connected to 192.168.1.1 port 7447
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] SDP:
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : v=0
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : o=- 10583 0 IN IP4 192.168.1.1
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : s=E063DA017E63_0
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : u=www.evostream.com
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [email protected]
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : c=IN IP4 192.168.1.1
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : t=0 0
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=control:*
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=range:npt=now-
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : m=audio 0 RTP/AVP 96
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=rtpmap:96 mpeg4-generic/48000/1
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=control:trackID=0
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : m=audio 0 RTP/AVP 96
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=rtpmap:96 opus/48000/2
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=control:trackID=1
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=fmtp:96
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : m=video 0 RTP/AVP 97
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=recvonly
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=control:trackID=2
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=rtpmap:97 H264/90000
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : a=fmtp:97 profile-level-id=4d402a; packetization-mode=1; sprop-parameter-sets=Z01AKo2NQDIBL/4C3AQEBQAAAwPoAAFfkJ2giEag,aO44gA==
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : 
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] audio codec set to: aac
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] audio samplerate set to: 48000
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] audio channels set to: 1
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] audio codec set to: opus
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] audio samplerate set to: 48000
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] audio channels set to: 2
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] video codec set to: h264
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] RTP Profile IDC: 4d Profile IOP: 40 Level: 2a
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] RTP Packetization Mode: 1
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Extradata set to 0x55a419dc6540 (size: 42)
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] setting jitter buffer size to 0
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 2 times
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] hello state=0
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 7(SPS), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 8(PPS), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 7(SPS), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 8(PPS), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] Format yuvj420p chosen by get_format().
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] Reinit context to 1600x1200, pix_fmt: yuvj420p
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] Frame num gap 10 8
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 1: packet 2 with DTS 79631018241974, packet 3 with DTS 79631018241974
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 3 times
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 1: packet 5 with DTS 79631018245787, packet 6 with DTS 79631018245787
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 3 times
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] DTS discontinuity in stream 1: packet 8 with DTS 79631018245790, packet 9 with DTS 79631018249599
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 1: packet 10 with DTS 79631018249601, packet 11 with DTS 79631018249601
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 0: packet 9 with DTS 79631018250676, packet 10 with DTS 79631018250676
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 2 times
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] DTS discontinuity in stream 1: packet 12 with DTS 79631018249604, packet 13 with DTS 79631018253901
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 1: packet 14 with DTS 79631018253903, packet 15 with DTS 79631018253903
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] DTS discontinuity in stream 0: packet 11 with DTS 79631018250678, packet 12 with DTS 79631018253905
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 2 times
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] DTS discontinuity in stream 1: packet 16 with DTS 79631018253904, packet 17 with DTS 79631018258100
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 1 times
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 0: packet 18 with DTS 79631018259450, packet 19 with DTS 79631018259450
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 2 times
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 1: packet 22 with DTS 79631018262758, packet 23 with DTS 79631018262758
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 1: packet 24 with DTS 79631018262760, packet 25 with DTS 79631018262760
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] Non-increasing DTS in stream 0: packet 21 with DTS 79631018262762, packet 22 with DTS 79631018262762
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55a419dcb700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55a419dc2e40] All info found
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Input #0, rtsp, from 'rtsp://ubnt.******@192.168.1.1:7447/******':
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :   Metadata:
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     title           : E063DA017E63_0
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :   Duration: N/A, start: 1658979546.677567, bitrate: N/A
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Stream #0:0, 24, 1/48000: Audio: aac, 48000 Hz, mono, fltp
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Stream #0:1, 26, 1/48000: Audio: opus, 48000 Hz, stereo, fltp
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   :     Stream #0:2, 22, 1/90000: Video: h264, 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1600x1200 [SAR 1:1 DAR 4:3], 0/1, 45 fps, 45 tbr, 90k tbn, 90 tbc
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Successfully opened the file.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Parsing a group of options: output url /dev/dri/renderD128.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Option hwaccel (use HW accelerated decoding) cannot be applied to output url /dev/dri/renderD128 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Error parsing options for output file /dev/dri/renderD128.
frigate  | [2022-07-27 20:39:26] ffmpeg.Doorbell.detect         ERROR   : Error opening output files: Invalid argument

@NickM-27
Copy link
Collaborator

Option hwaccel (use HW accelerated decoding) cannot be applied to output url /dev/dri/renderD128 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.

Is interesting

Please runvainfo and paste the output here.

@Perkinje
Copy link
Author

libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 20.3.5 for AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.0-16-amd64, LLVM 11.0.1)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

@Perkinje
Copy link
Author

I scrapped my docker containers/volumes and rebuilt the compose and config files from scratch and now hardware accel works. I think the duplicated env variable was likely the problem and I may have messed up somewhere else when I altered the file. I'm just glad it's working. Thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants