Media (Intel® 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 Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_pmfxDEC when use MediaServerStudioEssentials2017R3 @ CentOS Linux release 7.3.1611

SLee117
Beginner
1,108 Views

Hi Experts,

Good day.

I am facing the issue when try to use MediaServerStudioEssentials2017R3 @ CentOS Linux release 7.3.1611

The installation is correct but when i tried to use -hw decode, it says MFX_ERR_UNSUPPORTED; but -sw works well.

Do you have any suggestions/comments?

Thanks in advance.

Please check the error log below.

========================= -hw error =============================

[root@localhost x64]# ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -hw

Multi Transcoding Sample Version 8.0.24.698

 

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

Pipeline surfaces number (DecPool): 20

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_pmfxDEC->Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/pipeline_transcode.cpp:3336

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, pThreadPipeline->pPipeline->Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/sample_multi_transcode.cpp:348

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), main, transcode.Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/sample_multi_transcode.cpp:750

[root@localhost x64]#

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

======================== -sw good ===================================

[root@localhost x64]# ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -sw

Multi Transcoding Sample Version 8.0.24.698

 

Pipeline surfaces number (DecPool): 19

MFX SOFTWARE Session 0 API ver 1.23 parameters:

Input  video: AVC

Output video: AVC

 

Session 0 was NOT joined with other sessions

 

Transcoding started

..

Transcoding finished

 

Common transcoding time is 0.132543 sec

-------------------------------------------------------------------------------

*** session 0 PASSED (MFX_ERR_NONE) 0.132462 sec, 101 frames

-i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -sw

 

-------------------------------------------------------------------------------

 

The test PASSED

======================= ENV ================================

[root@localhost x64]# uname -a
Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


[root@localhost x64]# cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core) 


[root@localhost x64]# ls /mnt/MediaServerStudioEssentials2017R3/
Intel(R)_Media_Server_Studio_EULA.pdf             redist.txt
intel_sdk_for_opencl_2016_6.3.0.1914_x64.tgz      SDK2017Production16.5.2
MediaSamples_Linux_2017R3_b698                    site_license_materials.txt
media_server_studio_essentials_release_notes.pdf  third_party_programs.txt
[root@localhost x64]# 

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 6000 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:16.3 Serial controller: Intel Corporation Wildcat Point-LP KT Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
01:00.0 Ethernet controller: Intel Corporation 82599 10 Gigabit Network Connection (rev 01)


[root@localhost ~]# lspci -s 00:03.0 -vv
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
        Subsystem: Intel Corporation Broadwell-U Audio Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 52
        Region 0: Memory at c1330000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee00378  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag- RBE-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

[root@localhost ~]# lspci -s 00:03.0 -nn
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
[root@localhost ~]# 

[root@localhost ~]# lspci -s 00:02.0 -nn                                                                             
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 6000 [8086:1626] (rev 09)


[root@localhost ~]# lspci -s 00:02.0 -vv
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 6000 (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation HD Graphics 6000
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 50
        Region 0: Memory at c0000000 (64-bit, non-prefetchable) [size=16M]
        Region 2: Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 4000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee00018  Data: 0000
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a4] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: i915
        Kernel modules: i915

[root@localhost ~]# 

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

0 Kudos
3 Replies
Anna_B_Intel
Employee
1,108 Views

Hi Sam, 

Could you please send me content list of /opt/intel/mediasdk/lib64/ and the output of "ls -lh /dev/dri" command?

Best wishes, 

Anna

0 Kudos
SLee117
Beginner
1,108 Views

Hi Anna,

Good day.

Thanks for help.

Please check the update below.

---------------------------------------------------------

# ls /opt/intel/mediasdk/lib64/
iHD_drv_video.so  libmfxhw64-p.so.1.23  libmfxhw64.so  libmfxsw64-p.so.1.23  libmfxsw64.so

# ls -lh /dev/dri
total 0
crw-rw---- 1 root video 226,   0 Jan 16 12:42 card0
crw------- 1 root video 226,  64 Jan 16 12:42 controlD64
crw-rw---- 1 root video 226, 128 Jan 16 12:42 renderD128
-----------------------------------------------------
 

Regards,

Sam

0 Kudos
Anna_B_Intel
Employee
1,108 Views

Hi Sam, 

At the first glance everything is good. Make sure that you installed libva and librdm from the MSS package.

Also, you can build Open Source Media SDK and debug it. 

Best wishes, 

Anna

 

0 Kudos
Reply