Closed rourke750 closed 11 months ago
libva info: VA-API version 1.10.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_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 KABINI (DRM 2.50.0, 5.10.0-22-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 VAProfileNone : VAEntrypointVideoProc
This doesn't look like it has anything to do with preset-vaapi, please include a full set of logs after frigate has run for longer
2023-09-27 19:32:07.513946479 [INFO] Preparing Frigate...
2023-09-27 19:32:07.559749235 [INFO] Starting Frigate...
2023-09-27 19:32:12.245264010 [2023-09-27 19:32:12] frigate.app INFO : Starting Frigate (0.13.0-0858859)
2023-09-27 19:32:12.507945849 [2023-09-27 19:32:12] peewee_migrate.logs INFO : Starting migrations
2023-09-27 19:32:12.529716052 [2023-09-27 19:32:12] peewee_migrate.logs INFO : There is nothing to migrate
2023-09-27 19:32:12.549671470 [2023-09-27 19:32:12] frigate.app INFO : Recording process started: 294
2023-09-27 19:32:12.558782918 [2023-09-27 19:32:12] frigate.app INFO : go2rtc process pid: 89
2023-09-27 19:32:12.626036940 [2023-09-27 19:32:12] detector.coral INFO : Starting detection process: 304
2023-09-27 19:32:12.633009872 [2023-09-27 19:32:12] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2023-09-27 19:32:15.367763201 [2023-09-27 19:32:12] frigate.app INFO : Output process started: 306
2023-09-27 19:32:15.367784626 [2023-09-27 19:32:12] frigate.app INFO : Camera processor started for basement_camera: 310
2023-09-27 19:32:15.367806448 [2023-09-27 19:32:12] frigate.app INFO : Camera processor started for front_door: 312
2023-09-27 19:32:15.367818091 [2023-09-27 19:32:12] frigate.app INFO : Camera processor started for garage: 316
2023-09-27 19:32:15.368592332 [2023-09-27 19:32:12] frigate.app INFO : Camera processor started for backyard: 319
2023-09-27 19:32:15.368660106 [2023-09-27 19:32:12] frigate.app INFO : Capture process started for basement_camera: 322
2023-09-27 19:32:15.371210074 [2023-09-27 19:32:12] frigate.app INFO : Capture process started for front_door: 326
2023-09-27 19:32:15.372734010 [2023-09-27 19:32:12] frigate.app INFO : Capture process started for garage: 330
2023-09-27 19:32:15.373603726 [2023-09-27 19:32:12] frigate.app INFO : Capture process started for backyard: 336
2023-09-27 19:32:15.380535243 [2023-09-27 19:32:15] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2023-09-27 19:32:18.875444338 [2023-09-27 19:32:18] frigate.video ERROR : garage: Unable to read frames from ffmpeg process.
2023-09-27 19:32:18.875991740 [2023-09-27 19:32:18] frigate.video ERROR : garage: ffmpeg process is not running. exiting capture thread...
2023-09-27 19:32:18.885618370 [2023-09-27 19:32:18] frigate.video ERROR : front_door: Unable to read frames from ffmpeg process.
2023-09-27 19:32:18.885905131 [2023-09-27 19:32:18] frigate.video ERROR : front_door: ffmpeg process is not running. exiting capture thread...
2023-09-27 19:32:19.114393454 [2023-09-27 19:32:19] frigate.video ERROR : backyard: Unable to read frames from ffmpeg process.
2023-09-27 19:32:19.114929381 [2023-09-27 19:32:19] frigate.video ERROR : backyard: ffmpeg process is not running. exiting capture thread...
2023-09-27 19:32:21.783258880 [2023-09-27 19:32:21] frigate.video ERROR : basement_camera: Unable to read frames from ffmpeg process.
2023-09-27 19:32:21.783517925 [2023-09-27 19:32:21] frigate.video ERROR : basement_camera: ffmpeg process is not running. exiting capture thread...
2023-09-27 19:32:22.597042457 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f962c007780] moov atom not found
2023-09-27 19:32:22.599961121 [ERROR:0@12.397] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2023-09-27 19:32:22.599974340
2023-09-27 19:32:22.599985132 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2023-09-27 19:32:22.599990491
2023-09-27 19:32:22.599995359
2023-09-27 19:32:22.641104062 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f962c015d00] moov atom not found
2023-09-27 19:32:22.641560983 [ERROR:0@12.439] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2023-09-27 19:32:22.641570558
2023-09-27 19:32:22.641580909 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2023-09-27 19:32:22.641586190
2023-09-27 19:32:22.641591058
2023-09-27 19:32:22.682222188 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f962c017900] moov atom not found
2023-09-27 19:32:22.682587631 [ERROR:0@12.480] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2023-09-27 19:32:22.682595586
2023-09-27 19:32:22.682604248 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2023-09-27 19:32:22.682608791
2023-09-27 19:32:22.682612893
2023-09-27 19:32:22.721971275 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f962c019000] moov atom not found
2023-09-27 19:32:22.722370090 [ERROR:0@12.519] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2023-09-27 19:32:22.722423347
2023-09-27 19:32:22.722431623 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2023-09-27 19:32:22.722436164
2023-09-27 19:32:22.722440310
2023-09-27 19:32:22.767457654 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/backyard-20230927193219.mp4
2023-09-27 19:32:22.768478749 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/backyard-20230927193219.mp4
2023-09-27 19:32:22.770157188 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/basement_camera-20230927193221.mp4
2023-09-27 19:32:22.771494338 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/basement_camera-20230927193221.mp4
2023-09-27 19:32:22.772644293 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/front_door-20230927193218.mp4
2023-09-27 19:32:22.773602489 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/front_door-20230927193218.mp4
2023-09-27 19:32:22.779300433 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/garage-20230927193218.mp4
2023-09-27 19:32:22.780423589 [2023-09-27 19:32:22] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/garage-20230927193218.mp4
2023-09-27 19:32:32.847740491 [2023-09-27 19:32:32] watchdog.basement_camera ERROR : Ffmpeg process crashed unexpectedly for basement_camera.
2023-09-27 19:32:32.848205909 [2023-09-27 19:32:32] watchdog.basement_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-27 19:32:32.848648141 [2023-09-27 19:32:32] ffmpeg.basement_camera.detect ERROR : [h264 @ 0x5648d6905b00] No support for codec h264 profile 77.
2023-09-27 19:32:32.849113511 [2023-09-27 19:32:32] ffmpeg.basement_camera.detect ERROR : [h264 @ 0x5648d6905b00] Failed setup for format vaapi: hwaccel initialisation returned error.
2023-09-27 19:32:32.849501430 [2023-09-27 19:32:32] ffmpeg.basement_camera.detect ERROR : Impossible to convert between the formats supported by the filter 'Parsed_fps_0' and the filter 'auto_scale_0'
2023-09-27 19:32:32.849975222 [2023-09-27 19:32:32] ffmpeg.basement_camera.detect ERROR : Error reinitializing filters!
2023-09-27 19:32:32.850283085 [2023-09-27 19:32:32] ffmpeg.basement_camera.detect ERROR : Failed to inject frame into filter network: Function not implemented
2023-09-27 19:32:32.850839278 [2023-09-27 19:32:32] ffmpeg.basement_camera.detect ERROR : Error while processing the decoded data for stream #0:0
2023-09-27 19:32:32.875519531 [2023-09-27 19:32:32] watchdog.front_door ERROR : Ffmpeg process crashed unexpectedly for front_door.
2023-09-27 19:32:32.876375614 [2023-09-27 19:32:32] watchdog.front_door ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-27 19:32:32.877089179 [2023-09-27 19:32:32] ffmpeg.front_door.detect ERROR : [h264 @ 0x556d28a0ffc0] No support for codec h264 profile 100.
2023-09-27 19:32:32.877740384 [2023-09-27 19:32:32] ffmpeg.front_door.detect ERROR : [h264 @ 0x556d28a0ffc0] Failed setup for format vaapi: hwaccel initialisation returned error.
2023-09-27 19:32:32.878382799 [2023-09-27 19:32:32] ffmpeg.front_door.detect ERROR : Impossible to convert between the formats supported by the filter 'Parsed_fps_0' and the filter 'auto_scale_0'
2023-09-27 19:32:32.879002973 [2023-09-27 19:32:32] ffmpeg.front_door.detect ERROR : Error reinitializing filters!
2023-09-27 19:32:32.879657696 [2023-09-27 19:32:32] ffmpeg.front_door.detect ERROR : Failed to inject frame into filter network: Function not implemented
2023-09-27 19:32:32.880326393 [2023-09-27 19:32:32] ffmpeg.front_door.detect ERROR : Error while processing the decoded data for stream #0:0
2023-09-27 19:32:32.888432214 [2023-09-27 19:32:32] watchdog.garage ERROR : Ffmpeg process crashed unexpectedly for garage.
2023-09-27 19:32:32.912907270 [2023-09-27 19:32:32] watchdog.garage ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-27 19:32:32.912934101 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : [segment @ 0x5651cadd5100] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-09-27 19:32:32.912940436 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : [h264 @ 0x5651cb18de40] No support for codec h264 profile 77.
2023-09-27 19:32:32.912946531 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : [h264 @ 0x5651cb18de40] Failed setup for format vaapi: hwaccel initialisation returned error.
2023-09-27 19:32:32.912955685 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : Impossible to convert between the formats supported by the filter 'Parsed_fps_0' and the filter 'auto_scale_0'
2023-09-27 19:32:32.913029558 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : Error reinitializing filters!
2023-09-27 19:32:32.913037025 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : Failed to inject frame into filter network: Function not implemented
2023-09-27 19:32:32.913076400 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : Error while processing the decoded data for stream #0:0
2023-09-27 19:32:32.937702693 [2023-09-27 19:32:32] watchdog.backyard ERROR : Ffmpeg process crashed unexpectedly for backyard.
2023-09-27 19:32:32.937722854 [2023-09-27 19:32:32] watchdog.backyard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-27 19:32:32.937729425 [2023-09-27 19:32:32] ffmpeg.backyard.detect ERROR : [segment @ 0x5583954e8600] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-09-27 19:32:32.937734874 [2023-09-27 19:32:32] ffmpeg.backyard.detect ERROR : [h264 @ 0x5583958a2c00] No support for codec h264 profile 77.
2023-09-27 19:32:32.937739980 [2023-09-27 19:32:32] ffmpeg.backyard.detect ERROR : [h264 @ 0x5583958a2c00] Failed setup for format vaapi: hwaccel initialisation returned error.
2023-09-27 19:32:32.937745410 [2023-09-27 19:32:32] ffmpeg.backyard.detect ERROR : Impossible to convert between the formats supported by the filter 'Parsed_fps_0' and the filter 'auto_scale_0'
2023-09-27 19:32:32.937749759 [2023-09-27 19:32:32] ffmpeg.backyard.detect ERROR : Error reinitializing filters!
2023-09-27 19:32:32.937754263 [2023-09-27 19:32:32] ffmpeg.backyard.detect ERROR : Failed to inject frame into filter network: Function not implemented
2023-09-27 19:32:32.937758468 [2023-09-27 19:32:32] ffmpeg.backyard.detect ERROR : Error while processing the decoded data for stream #0:0
2023-09-27 19:32:38.861411677 [2023-09-27 19:32:38] frigate.video ERROR : garage: Unable to read frames from ffmpeg process.
2023-09-27 19:32:38.861425931 [2023-09-27 19:32:38] frigate.video ERROR : garage: ffmpeg process is not running. exiting capture thread...
2023-09-27 19:32:38.903460335 [2023-09-27 19:32:38] frigate.video ERROR : front_door: Unable to read frames from ffmpeg process.
2023-09-27 19:32:38.903780496 [2023-09-27 19:32:38] frigate.video ERROR : front_door: ffmpeg process is not running. exiting capture thread...
2023-09-27 19:32:39.033830093 [2023-09-27 19:32:39] frigate.video ERROR : backyard: Unable to read frames from ffmpeg process.
2023-09-27 19:32:39.034051035 [2023-09-27 19:32:39] frigate.video ERROR : backyard: ffmpeg process is not running. exiting capture thread...
And without it
2023-09-27 19:33:20.976221998 [INFO] Preparing Frigate... 2023-09-27 19:33:21.019687926 [INFO] Starting Frigate... 2023-09-27 19:33:25.654490410 [2023-09-27 19:33:25] frigate.app INFO : Starting Frigate (0.13.0-0858859) 2023-09-27 19:33:25.917919513 [2023-09-27 19:33:25] peewee_migrate.logs INFO : Starting migrations 2023-09-27 19:33:25.937635040 [2023-09-27 19:33:25] peewee_migrate.logs INFO : There is nothing to migrate 2023-09-27 19:33:25.952329703 [2023-09-27 19:33:25] frigate.app INFO : Recording process started: 295 2023-09-27 19:33:25.961597235 [2023-09-27 19:33:25] frigate.app INFO : go2rtc process pid: 89 2023-09-27 19:33:26.049173364 [2023-09-27 19:33:26] detector.coral INFO : Starting detection process: 305 2023-09-27 19:33:28.757870608 [2023-09-27 19:33:26] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb 2023-09-27 19:33:28.759148102 [2023-09-27 19:33:26] frigate.app INFO : Output process started: 307 2023-09-27 19:33:28.759540639 [2023-09-27 19:33:26] frigate.app INFO : Camera processor started for basement_camera: 312 2023-09-27 19:33:28.759813433 [2023-09-27 19:33:26] frigate.app INFO : Camera processor started for front_door: 316 2023-09-27 19:33:28.759937967 [2023-09-27 19:33:26] frigate.app INFO : Camera processor started for garage: 318 2023-09-27 19:33:28.760133875 [2023-09-27 19:33:26] frigate.app INFO : Camera processor started for backyard: 320 2023-09-27 19:33:28.760344104 [2023-09-27 19:33:26] frigate.app INFO : Capture process started for basement_camera: 323 2023-09-27 19:33:28.760553059 [2023-09-27 19:33:26] frigate.app INFO : Capture process started for front_door: 327 2023-09-27 19:33:28.760763012 [2023-09-27 19:33:26] frigate.app INFO : Capture process started for garage: 333 2023-09-27 19:33:28.760970958 [2023-09-27 19:33:26] frigate.app INFO : Capture process started for backyard: 338 2023-09-27 19:33:28.770378343 [2023-09-27 19:33:28] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
Here we go
2023-09-27 19:32:32.912940436 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : [h264 @ 0x5651cb18de40] No support for codec h264 profile 77.
2023-09-27 19:32:32.912946531 [2023-09-27 19:32:32] ffmpeg.garage.detect ERROR : [h264 @ 0x5651cb18de40] Failed setup for format vaapi: hwaccel initialisation returned error.
The necessary profiles are missing from the GPU. I'd suggest making sure the diver on the host is up to date and also choosing the most basic of profiles on the camera (h264 baseline)
But today before updating to .13 it worked and right after updating to 13 it stopped.
That's why I suggest updating the driver version on the host, it's possible the container has a newer AMD driver than 0.12
What driver version do you have for your host?
That's not relevant because we have different GPUs
Well I managed to upgrade to vainfo: Driver version: Mesa Gallium driver 22.3.6 for KABINI (, LLVM 15.0.6, DRM 2.50, 6.1.0-12-amd64)
and I was following this guide https://wiki.debian.org/AtiHowTo but Im still having issues.
Frigate's documentation says https://deploy-preview-6262--frigate-docs.netlify.app/configuration/hardware_acceleration/#amdati-gpus-radeon-hd-2000-and-newer-gpus-via-libva-mesa-driver that radeon-hd-2000 and newer should work and I have Radeon HD 8330E and based on another issue that I previously commented on it seems like we went from a version of frigate that worked to one that didnt.
If you could post yours it could at least help in see if Im wasting my time trying to get this to work. Ie if you have an older card and older drivers or if you have a newer card and older drivers or if you have an older card and newer drivers.
I have the 5700G and I'm use the iGPU which I believe is Vega2, unfortunately I am running unRAID and it does not have the ability to install vainfo to get that info.
What version of the driver do you see inside the container?
when running vainfo inside the container I get
libva info: VA-API version 1.19.0
libva info: User environment variable requested driver 'radeonsi'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_19
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.19 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 23.1.7-1 for AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.49-Unraid)
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
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Inside container I get
vainfo: VA-API version: 1.19 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 23.1.7-1 for KABINI (, LLVM 15.0.7, DRM 2.50, 6.1.0-12-amd64)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
which has a higher version than my host. So Let me keep trying to upgrade to a higher version and see if that helps.
I have pushed up a test image to crzynik/frigate:latest
which is 0.13 except that it uses the non testing version of the AMD driver. Please try that image and let me know if it fixes the issue
Do you pass your gpu to the docker image? I wasnt doing that before but I wonder if I should now
Do you pass your gpu to the docker image? I wasnt doing that before but I wonder if I should now
you are doing it, when you have priviliged: true
all /dev/
are passed to the container
Still is 23.1.7-1
which is the same version that was before. Latest Debian 12 drivers are 22.3.6-1.
[trixie (testing)](https://packages.debian.org/trixie/libgl1-mesa-dri) (libs): free implementation of the OpenGL API -- DRI modules
23.2.0~rc3-3: amd64 arm64 armel armhf i386 mips64el ppc64el s390x
[sid (unstable)](https://packages.debian.org/sid/libgl1-mesa-dri) (libs): free implementation of the OpenGL API -- DRI modules
23.2.0~rc4-1: alpha amd64 arm64 armel armhf hppa i386 ia64 m68k mips64el ppc64 ppc64el riscv64 s390x
23.2.0~rc3-3 [[debports](https://www.ports.debian.org/)]: x32
23.1.3-1 [[debports](https://www.ports.debian.org/)]: sh4
22.3.3-1 [[debports](https://www.ports.debian.org/)]: sparc64
23.1.7-1 seems really, really new. any way we can downgrade to at least debian latest?
it is a testing driver, we have to use the testing drivers for the intel side of things and amd was followed as well. The image that I put up is pulling from the non testing repo so it is using the normal latest
looks the same
libva info: VA-API version 1.19.0
libva info: User environment variable requested driver 'radeonsi'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.19 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 23.1.7-1 for KABINI (, LLVM 15.0.7, DRM 2.50, 6.1.0-12-amd64)
vainfo: Supported profile and entrypoints
Let me try install the testing drivers. I only use this machine for frigate so...
I just tried the frigate image and this is what I am seeing, definitely an older version
Driver version: Mesa Gallium driver 20.3.5 for AMD RENOIR (DRM 3.49.0, 6.1.49-Unraid, LLVM 11.0.1)
can you give me a more explicit tag than latest for the docker image
oh that's my bad, I think my change didn't get saved, it is supposed to be crzynik/frigate:amd-test
it works now with hardware acceleration
Okay, will need to see what version was used in 0.12 and see if we can pin to that version
Thanks for the help!
Driver version in 0.12 is vainfo: Driver version: Mesa Gallium driver 22.3.6 for AMD Radeon Graphics (renoir, LLVM 15.0.6, DRM 3.49, 6.1.49-Unraid)
And keep in mind I believe thats only debian 12, debian 11 I think is a version lower.
can you please try crzynik/frigate:latest
now and see if it works?
latest does not work
I do see
vainfo: VA-API version: 1.20 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 23.2.0~rc3-3 for KABINI (, LLVM 15.0.7, DRM 2.50, 6.1.0-12-amd64)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
from latest but on amd-test
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'radeonsi'
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.20 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 20.3.5 for AMD KABINI (DRM 2.50.0, 6.1.0-12-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
VAProfileNone : VAEntrypointVideoProc
amd-test works latest does not.
okay, unfortunately I am not sure what the right solution is, the testing versions are not archived so we can't pull from what was used in 0.12. which means we'd have to make the version inside the container go back to 20.x which is quite a bit older and likely not supporting newer AMD GPUs
I'm assuming this is some sort of bug or something with the driver, it is not clear why fewer profiles are supported on newer driver version
Can we do two things, 1. update the documentation for the new minimum amd graphics card set. 2. If its possible can we have two versions one released as old amd, one for new. Just make the old amd a new tag or something. Im sure theres a lot of people that have these hp thin clients and would benefit from this. Especially from moving from raspberry pi to these.
I don't think separate releases makes sense, that is more to maintain and will cause confusion (we already have confusion between the normal and -tensorrt tags)
will have to see what makes the most sense to do
Is it not a simple arg change in the dockerfile? Either way let me know if you need me to test changes.
Describe the problem you are having
ffmpeg: hwaccel_args: preset-vaapi
Used to work in 12 but now in 13 it no longer works.
Version
0.13.0-0858859
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
FFprobe output from your camera
Operating system
Debian
Install method
Docker Compose
Network connection
Mixed
Camera make and model
amcrest
Any other information that may be helpful
Did work in 12 no longer in 13. Removing the hw acceleration option everything works.