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

Dennis Mungai dmngaie at gmail.com
Mon Apr 22 18:37:44 EEST 2024


On Mon, 22 Apr 2024, 18:25 Martin Stenzel via ffmpeg-user, <
ffmpeg-user 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
> [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
>


Install the runtime components and retest:


sudo zypper install -y \
  intel-level-zero-gpu level-zero  \
  intel-media-driver libigfxcmrt7 libvpl2 libvpl-tools libmfxgen1 libmfx1

>


More information about the ffmpeg-user mailing list