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

Xiang, Haihao haihao.xiang at intel.com
Wed Apr 24 05:26:47 EEST 2024


Hi Martin, 

/usr/lib64/libmfxhw64.so.1.35 is for legacy HWs, you should install the vpl
runtime for your i9-13900. libmfx-gen.so is a link to the vpl runtime. For
example, below is the runtime in my system:

$ ls -l /usr/lib/x86_64-linux-gnu/libmfx-gen.so*
lrwxrwxrwx 1 root root        17 Apr 24 10:09 /usr/lib/x86_64-linux-gnu/libmfx-gen.so -> libmfx-gen.so.1.2
lrwxrwxrwx 1 root root        20 Apr 24 10:09 /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2 -> libmfx-gen.so.1.2.10
-rw-r--r-- 1 root root 114212224 Apr 24 10:09 /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2.10

Please install the runtime component via apt/yum etc or install the library to
/usr/lib64 when building the runtime from source code, then retest. 

BRs
Haihao

> 
> Hi Haihao,
> 
> when running
> 
> "vpl-inspect", I get this, and only this
> Implementation #0: mfxhw64
>   Library path: /usr/lib64/libmfxhw64.so.1.35
>   AccelerationMode: MFX_ACCEL_MODE_VIA_VAAPI
>   ApiVersion: 1.35
>   Impl: MFX_IMPL_TYPE_HARDWARE
>   VendorImplID: 0x0000
>   ImplName: mfxhw64
>   License: 
>   Version: 1.2
>   Keywords: MSDK,x64
>   VendorID: 0x8086
>   mfxAccelerationModeDescription:
>     Version: 1.0
>     Mode: MFX_ACCEL_MODE_VIA_VAAPI
>   mfxPoolPolicyDescription:
>     Version: 1.0
>   mfxDeviceDescription:
>     MediaAdapterType: MFX_MEDIA_UNKNOWN
>     DeviceID: a780/0
>     Version: 1.1
>   mfxDecoderDescription:
>     Version: 0.0
>   mfxEncoderDescription:
>     Version: 0.0
>   mfxVPPDescription:
>     Version: 0.0
>   NumExtParam: 0
>   Warning - MFX_IMPLCAPS_SURFACE_TYPES not supported
> 
> Total number of implementations found = 1
> I do NOT have the library "libmfx-gen.so" in my system...
> 
> Best w​​​​ishes, Martin.
> 
> 
> 
> On Tuesday, 23 April, 2024 17:57 CEST, "Xiang, Haihao"
> <haihao.xiang-at-intel.com at ffmpeg.org> wrote:
>  
> Hi Martin,
> 
> I may reproduce your issue in my side if there is only msdk runtime
> (libmfxhw.so) in my system. Could you run vpl-inspect to check whether vpl gpu
> runtime (libmfx-gen.so) is available in your side ?
> 
> $ vpl-inspect | grep libmfx-gen.so
> 
> 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".



More information about the ffmpeg-user mailing list