[FFmpeg-user] Initialising hardware device fails with error -17
Martin Stenzel
m.stenzel at mail.xy-space.de
Tue Apr 23 17:40:15 EEST 2024
Dear all,
well, I tried different versions, compiled, tried everything.
Still the error is there, no progress, unfortunately.
If, at any time, I will be more lucky than right now, I will let you know.
Martin.
On Monday, 22 April, 2024 17:46 CEST, "Xiang, Haihao" <haihao.xiang-at-intel.com at ffmpeg.org> wrote:
>
> Hi,
>
> yes, I did so, but it did not help, see here
>
> vainfo
> Trying display: wayland
> Trying display: x11
> libva info: VA-API version 1.20.0
> libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_20
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 1.20 (libva 2.20.1)
> vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.3 ()
> vainfo: Supported profile and entrypoints
> ...
>
> I again receive this error.
>
> [AVHWDeviceContext @ 0x55be64a65600] libva: VA-API version 1.20.0
> [AVHWDeviceContext @ 0x55be64a65600] libva: User requested driver 'iHD'
> [AVHWDeviceContext @ 0x55be64a65600] libva: Trying to open
> /usr/lib64/dri/iHD_drv_video.so
> [AVHWDeviceContext @ 0x55be64a65600] libva: Found init function
> __vaDriverInit_1_20
> [AVHWDeviceContext @ 0x55be64a65600] libva: va_openDriver() returns 0
> [AVHWDeviceContext @ 0x55be64a65600] Initialised VAAPI connection: version
> 1.20
> [AVHWDeviceContext @ 0x55be64a65600] VAAPI driver: Intel iHD driver for
> Intel(R) Gen Graphics - 24.1.3 ().
> [AVHWDeviceContext @ 0x55be64a65600] Driver not found in known nonstandard
> list, using standard behaviour.
> [AVHWDeviceContext @ 0x55be64a65140] Use Intel(R) oneVPL to create MFX
> session, API version is 2.10, the required implementation version is 1.3
> [AVHWDeviceContext @ 0x55be64a65140] Initialize MFX session: implementation
> version is 1.35
Seems you didn't install the right vpl runtime. You may install libmfx-gen1.2
through yum/apt etc or build it from source code
(https://github.com/intel/vpl-gpu-rt )
Thanks
Haihao
> [AVHWDeviceContext @ 0x55be64a65140] Error setting child device handle: -17
> Device creation failed: -1313558101.
> Failed to set value 'qsv:hw,child_device=/dev/dri/renderD128' for option
> 'init_hw_device': Unknown error occurred
> Error parsing global options: Unknown error occurred
>
>
> Martin.
>
>
>
>
>
> On Monday, 22 April, 2024 14:51 CEST, "Xiang, Haihao"
> <haihao.xiang-at-intel.com at ffmpeg.org> wrote:
>
> [...]
> [AVHWDeviceContext @ 0x560662049440] libva: VA-API version 1.20.0
> [AVHWDeviceContext @ 0x560662049440] libva: User requested driver 'iHD'
> [AVHWDeviceContext @ 0x560662049440] libva: Trying to open
> /usr/lib64/dri/iHD_drv_video.so
> [AVHWDeviceContext @ 0x560662049440] libva: Found init function
> __vaDriverInit_1_15
> [AVHWDeviceContext @ 0x560662049440] libva: va_openDriver() returns 0
> [AVHWDeviceContext @ 0x560662049440] Initialised VAAPI connection: version
> 1.20
> [AVHWDeviceContext @ 0x560662049440] VAAPI driver: Intel iHD driver for
> Intel(R) Gen Graphics - 24.1.3 ().
>
> VA-API version is 1.20 however your driver was built against 1.15, could you
> rebuild your driver against vaapi 1.20 ?
>
> BRs
> Haihao
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
--
Martin Stenzel · er/ihm · he/him
m.stenzel at mail.xy-space.de
An der Drehscheibe 9
D-50733 Köln · Cologne
Deutschland · Germany
This message was checked by ESET Endpoint Antivirus for Linux.
Detection Engine Version: 29111 (20240423).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5674 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20240423/4d50e7aa/attachment.bin>
More information about the ffmpeg-user
mailing list