Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
2999 Discussions

Issue with Media SDK - Errors while running linux samples

Srikershar_G_Intel
650 Views

Hi,

We are working on media SDK for first time to realize encode/decode/transcode usecases on linux Ubuntu. But we see issues while running linux samples after SDK install . We are attaching details below.  Please let us know if any thing missing here.

==============================================================================

Device : GB-BXi7-4770R (Intel Haswell Desktop)

OS installed : Ubuntu 16.04
 
Procedure Followed:
===========================
tar -xvzf intel-linux-media_generic_16.5-55964_64bit.tar.gz
tar -xvJf intel-opencl-16.5-55964.x86_64.xz
tar -xvJf intel-opencl-devel-16.5-55964.x86_64.xz
 
Kernel 4.4 
 
Applied the patch to kernel 4.4
/opt/intel/mediasdk/opensource/patches/kmd/4.4/intel-kernel-patches.tar.bz2
 
Ubunti 16.04 + booted with custom build kernel 4.4 where the kernel patches are applied and built
 
After Media SDK installation 
lspci -vnnn
===============
   00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:0d22] (rev 08) (prog-if 00 [VGA controller])
   DeviceName:  Onboard IGD 
 So this means its Integrated Graphics Device
 
vainfo:
===========
vainfo | grep -v 'unknown'
libva info: VA-API version 0.99.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.99 (libva 1.67.0.pre1)
vainfo: Driver version: 16.5.55964-ubit
vainfo: Supported profile and entrypoints
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
 
 
When we ran the transcode example application, it gives the following error
./sample_multi_transcode -i::h265 ../content/test_stream.265 -o::h265 test_out.265 -hw -la
Multi Transcoding Sample Version 7.0.16053611
 
libva info: VA-API version 0.99.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
plugin_loader.h :170 [INFO] Plugin was loaded from GUID: { 0x33, 0xa6, 0x1c, 0x0b, 0x4c, 0x27, 0x45, 0x4c, 0xa8, 0xd8, 0x5d, 0xde, 0x75, 0x7c, 0x6f, 0x8e } (Intel (R) Media SDK HW plugin for HEVC DECODE)
plugin_loader.h :170 [INFO] Plugin was loaded from GUID: { 0x6f, 0xad, 0xc7, 0x91, 0xa0, 0xc2, 0xeb, 0x47, 0x9a, 0xb6, 0xdc, 0xd5, 0xea, 0x9d, 0xa3, 0x47 } (Intel (R) Media SDK HW plugin for HEVC ENCODE)
Encoder parameters query failed.
 
Return on error: error code -3, /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK4/git/mdp_msdk-samples/samples/sample_multi_transcode/src/pipeline_transcode.cpp 418
 
 
Return on error: error code -3, /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK4/git/mdp_msdk-samples/samples/sample_multi_transcode/src/pipeline_transcode.cpp 2927
 
 
Return on error: error code -3, /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK4/git/mdp_msdk-samples/samples/sample_multi_transcode/src/sample_multi_transcode.cpp 307
 
plugin_loader.h :196 [INFO] MFXBaseUSER_UnLoad(session=0x0x560105701160), sts=0
plugin_loader.h :196 [INFO] MFXBaseUSER_UnLoad(session=0x0x560105701160), sts=0
=============================================================================
 
Thanks
 
 
 
 

 

0 Kudos
4 Replies
Dmitry_E_Intel
Employee
650 Views

Hi,

HW HEVC decoder and HW HEVC encoder are supported since Skylake.

Regards,

Dmitry

Srikershar_G_Intel
650 Views

Hi

Even, we are facing same issue for H264 transcode and other codecs as well. Any suggestion? 

Srikershar_G_Intel
650 Views

Hi Dmitry,

Thanks for your reply,

We are debugging this issue. But we couldn't find any fix so far. I need your help for some inputs. Is it possible to ping you online?

May I get you are email ID?

Best Regards,

Sriker.G

Dmitry_E_Intel
Employee
650 Views

Hi Sriker.G,

Please email to dmitry.ermilov@intel.com.

Regards,

Dmitry

Reply