[HW Accel Support]: preset-intel-qsv-h264 no longer working on latest dev #13733
-
Describe the problem you are havingafter updating to latest dev, the qsv h264 preset now errors. i have i7-7700T. vaapi presets still works normally. Versioncustom fork but synced with latest dev 4f10f82 In which browser(s) are you experiencing the issue with?No response Frigate config filedetectors:
ov:
type: openvino
device: CPU
go2rtc:
ffmpeg:
cam: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport
udp -buffer_size 4194304 -use_wallclock_as_timestamps 1 -i {input}
streams:
cam1:
- ffmpeg:rtsp://192.168.20.21/stream1#input=cam#audio=aac#video=copy
cam2:
- ffmpeg:rtsp://192.168.20.22/stream1#input=cam#audio=aac#video=copy
cam3:
- ffmpeg:rtsp://192.168.20.23/stream1#input=cam#audio=aac#video=copy
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
output_args:
record: preset-record-generic-audio-copy
input_args: preset-rtsp-restream docker-compose file or Docker CLI commandhome-assistant-frigate:
image: ghcr.io/ivanjx/frigate:testing
restart: "always"
mem_limit: "4g"
shm_size: "1024m"
devices:
- /dev/dri/renderD128
environment:
PLUS_API_KEY: "xxxx"
cap_add:
- CAP_PERFMON Relevant Frigate log output2024-09-14 12:20:23.384052778 [2024-09-14 12:20:23] watchdog.cam1 ERROR : Ffmpeg process crashed unexpectedly for cam1.
2024-09-14 12:20:23.384491619 [2024-09-14 12:20:23] watchdog.cam1 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-09-14 12:20:23.384751983 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : libva info: VA-API version 1.17.0
2024-09-14 12:20:23.385060231 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2024-09-14 12:20:23.385418521 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : libva info: Found init function __vaDriverInit_1_17
2024-09-14 12:20:23.385713870 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : libva info: va_openDriver() returns 0
2024-09-14 12:20:23.385993251 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : [AVHWDeviceContext @ 0x55b3fd20f2c0] Error creating a MFX session: -9.
2024-09-14 12:20:23.386284804 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : Device creation failed: -1313558101.
2024-09-14 12:20:23.386574459 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Unknown error occurred
2024-09-14 12:20:23.386900364 [2024-09-14 12:20:23] ffmpeg.cam1.detect ERROR : Error parsing global options: Unknown error occurred
2024-09-14 12:20:23.426757976 [2024-09-14 12:20:23] watchdog.cam2 ERROR : Ffmpeg process crashed unexpectedly for cam2.
2024-09-14 12:20:23.426922825 [2024-09-14 12:20:23] watchdog.cam2 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-09-14 12:20:23.427073904 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : libva info: VA-API version 1.17.0
2024-09-14 12:20:23.427205355 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2024-09-14 12:20:23.427341502 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : libva info: Found init function __vaDriverInit_1_17
2024-09-14 12:20:23.427485754 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : libva info: va_openDriver() returns 0
2024-09-14 12:20:23.427623264 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : [AVHWDeviceContext @ 0x55a0ffa9f2c0] Error creating a MFX session: -9.
2024-09-14 12:20:23.428183734 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : Device creation failed: -1313558101.
2024-09-14 12:20:23.428190443 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Unknown error occurred
2024-09-14 12:20:23.428197615 [2024-09-14 12:20:23] ffmpeg.cam2.detect ERROR : Error parsing global options: Unknown error occurred
2024-09-14 12:20:23.446406397 [2024-09-14 12:20:23] watchdog.cam3 ERROR : Ffmpeg process crashed unexpectedly for cam3.
2024-09-14 12:20:23.446564787 [2024-09-14 12:20:23] watchdog.cam3 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-09-14 12:20:23.446683455 [2024-09-14 12:20:23] ffmpeg.cam3.detect ERROR : libva info: VA-API version 1.17.0
2024-09-14 12:20:23.447080193 [2024-09-14 12:20:23] ffmpeg.cam3.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2024-09-14 12:20:23.447084670 [2024-09-14 12:20:23] ffmpeg.cam3.detect ERROR : libva info: Found init function __vaDriverInit_1_17
2024-09-14 12:20:23.447086982 [2024-09-14 12:20:23] ffmpeg.cam3.detect ERROR : libva info: va_openDriver() returns 0
2024-09-14 12:20:23.447126243 [2024-09-14 12:20:23] ffmpeg.cam3.detect ERROR : [AVHWDeviceContext @ 0x5621aff3c2c0] Error creating a MFX session: -9.
2024-09-14 12:20:23.447359749 [2024-09-14 12:20:23] ffmpeg.cam3.detect ERROR : Device creation failed: -1313558101.
2024-09-14 12:20:23.447606588 [2024-09-14 12:20:23] ffmpeg.cam3.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Unknown error occurred Relevant go2rtc log outputno errors FFprobe output from your cameraMetadata:
title : Session streamed by "TP-LINK RTSP Server"
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 2688x1520, 20 fps, 20 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Operating systemOther Linux Install methodDocker Compose Network connectionMixed Camera make and modeltapo c200, tapo c325wb Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
ivanjx
Sep 14, 2024
Replies: 1 comment 6 replies
-
This might be fixed with #13737 otherwise this likely just means the qsv args need to be reworked which was expected now that libvpl is used |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
still working with both libmfx1 and gen1.2
not sure if it breaks the newer processors as i only have kaby lake.