[FFmpeg-user] Initialising hardware device fails with error -17

Martin Stenzel m.stenzel at mail.xy-space.de
Mon Apr 22 18:25:34 EEST 2024


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
[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".

-- 
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: 29104 (20240422).
-------------- 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/20240422/9d96a9d1/attachment.bin>


More information about the ffmpeg-user mailing list