Intel® Media SDK 2013 decoder return MFX_WRN_PARTIAL_ACCELERATION

Intel® Media SDK 2013 decoder return MFX_WRN_PARTIAL_ACCELERATION

Hi,

I did download Intel Media SDK 2013 and install (Success!)
H.264 stream cannot use HW decoder, return MFX_WRN_PARTIAL_ACCELERATION.
"sample_decode.exe" occur MFX_WRN_PARTIAL_ACCELERATION too.

But, Everthing is OK at Media SDK 2012 R3.

Main/High/Baseline profile (4CIF, HD,...) used to sample stream.

My PC installed Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz; Intel(R) HD Graphics 4000.
GPU Device Driver date is 2012-12-12, version is 9.17.10.2932
OS is Windows 7 Home Premium K.

below is sample_decode.exe console

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

WARNING: partial acceleration
WARNING: partial acceleration
WARNING: partial acceleration
Intel(R) Media SDK Decoding Sample Version 4.0.553.52283

Input video AVC
Output format YUV420
Resolution 704x480
Crop X,Y,W,H 0,0,0,0
Frame rate 15.00
Memory type system
MediaSDK impl sw
MediaSDK version 1.4

Decoding started
Frame number: 77
Decoding finished

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

Thank you. Regards,...
From. "Henry Kim"

publicaciones de 14 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Hi Henry,

From your description the results you are getting are certainly strange.

Installing new verison of Media SDK does not affect the HW acceleration access component, which is delivered as part of the graphics driver, not the SDK.

Could you please share with us the log you get by executing the SDK tool : mediasdk_sys_analyzer ?

Also, if you can, please share the content your are trying to decode, for which you see different behavior using Media SDK 2012 vs. 2013.

Regards,
Petter 

I have attached the results of system anlyzer.
Is problem in a routine for identify adaper of Dec/Enc on multiple monitor? (just my guess)

For creating session use MFX_IMPL_HARDWARE_ANY,
MFXQueryIMPL() function return MFX_IMPL_HARDWARE3 value.
However, all videos I have occur display MFX_WRN_PARTIAL_ACCELERATION on media sdk 2013 only.

This is Intel Media SDK 2012 R3
-------------------------------------------------------------------------------------------------
C:\Program Files (x86)\Intel\Media SDK 2012 R3\tools\mediasdk_sys_analyzer\win32>sys_analyzer.exe
Intel Media SDK System Analyzer (32 bit)

The following versions of Media SDK API are supported by platform/driver:

Version Target Supported Dec Enc
1.0 HW Yes X X [Adapter 3]
1.0 SW Yes X X
1.1 HW Yes X X [Adapter 3]
1.1 SW Yes X X
1.3 HW Yes X X [Adapter 3]
1.3 SW Yes X X
1.4 HW Yes X X [Adapter 3]
1.4 SW Yes X X

Graphics Devices:
Name Version State
AMD Radeon HD 7700 Series 9.2.0.0 Active
Intel(R) HD Graphics 4000 9.17.10.2932 Active

System info:
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
OS: Microsoft Windows 7 Home Premium K
Arch: 64-bit

Installed Media SDK packages (be patient...processing takes some time):
Intel?Media SDK 2013 (x86)
Intel(R) Media SDK 2012 R2 (x86)
Intel(R) Media SDK 2012 R3 (x86)

Installed Media SDK DirectShow filters:
Intel?Media SDK MP3 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mpa_dec_ds.dll
Intel?Media SDK JPEG Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\jpeg_dec_filter.dll
Intel?Media SDK MPEG-2 Splitter :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp2_spl_ds.dll
Intel?Media SDK H.264 Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\h264_enc_filter.dll
Intel?Media SDK MVC Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\mvc_dec_filter.dll
Intel?Media SDK AAC Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_aac_dec_ds.dll
Intel?Media SDK MPEG-2 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\mpeg2_dec_filter.dll
Intel?Media SDK MP4 Splitter :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp4_spl_ds.dll
Intel?Media SDK MPEG-2 Muxer :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp2_mux_ds.dll
Intel?Media SDK MP4 Muxer :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp4_mux_ds.dll
Intel?Media SDK H.264 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\h264_dec_filter.dll
Intel?Media SDK MP3 Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mpa_enc_ds.dll
Intel?Media SDK AAC Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_aac_enc_ds.dll
Intel?Media SDK MPEG-2 Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\mpeg2_enc_filter.dll
Intel?Media SDK VC-1 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\vc1_dec_filter.dll

Analysis complete... [press ENTER]

This is Intel Media SDK 2013
-------------------------------------------------------------------------------------------------

C:\Program Files (x86)\Intel\Media SDK 2013\tools\mediasdk_sys_analyzer\win32>sys_analyzer.exe
Intel Media SDK System Analyzer (32 bit)

The following versions of Media SDK API are supported by platform/driver:

Version Target Supported Dec Enc
1.0 HW No
1.0 SW Yes X X
1.1 HW No
1.1 SW Yes X X
1.3 HW No
1.3 SW Yes X X
1.4 HW No
1.4 SW Yes X X
1.5 HW No
1.5 SW Yes X X
1.6 HW No
1.6 SW Yes X X

Graphics Devices:
Name Version State
AMD Radeon HD 7700 Series 9.2.0.0 Active
Intel(R) HD Graphics 4000 9.17.10.2932 Active

System info:
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
OS: Microsoft Windows 7 Home Premium K
Arch: 64-bit

Installed Media SDK packages (be patient...processing takes some time):
Intel?Media SDK 2013 (x86)
Intel(R) Media SDK 2012 R2 (x86)
Intel(R) Media SDK 2012 R3 (x86)

Installed Media SDK DirectShow filters:
Intel?Media SDK MP3 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mpa_dec_ds.dll
Intel?Media SDK JPEG Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\jpeg_dec_filter.dll
Intel?Media SDK MPEG-2 Splitter :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp2_spl_ds.dll
Intel?Media SDK H.264 Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\h264_enc_filter.dll
Intel?Media SDK MVC Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\mvc_dec_filter.dll
Intel?Media SDK AAC Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_aac_dec_ds.dll
Intel?Media SDK MPEG-2 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\mpeg2_dec_filter.dll
Intel?Media SDK MP4 Splitter :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp4_spl_ds.dll
Intel?Media SDK MPEG-2 Muxer :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp2_mux_ds.dll
Intel?Media SDK MP4 Muxer :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mp4_mux_ds.dll
Intel?Media SDK H.264 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\h264_dec_filter.dll
Intel?Media SDK MP3 Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_mpa_enc_ds.dll
Intel?Media SDK AAC Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\imc_aac_enc_ds.dll
Intel?Media SDK MPEG-2 Encoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\mpeg2_enc_filter.dll
Intel?Media SDK VC-1 Decoder :
C:\Program Files (x86)\Intel\Media SDK 2013\samples\_bin\win32\vc1_dec_filter.dll

Installed Intel Media Foundation Transforms:
Intel?Hardware VC-1 Decoder MFT : {059A5BAE-5D7A-4C5E-8F7A-BFD57D1D6AAA}
Intel?Hardware H.264 Decoder MFT : {45E5CE07-5AC7-4509-94E9-62DB27CF8F96}
Intel?Hardware MPEG-2 Decoder MFT : {CD5BA7FF-9071-40E9-A462-8DC5152B1776}
Intel?Quick Sync Video H.264 Encoder MFT : {4BE8D3C0-0515-4A37-AD55-E4BAE19AF471}
Intel?Hardware Preprocessing MFT : {EE69B504-1CBF-4EA6-8137-BB10F806B014}

Analysis complete... [press ENTER]

Hi Henry,

thanks for providing further details.

This is quite strange. There should be no reason Media SDK 2013 would not detect HW acceleration regardless of what adapter Intel graphics is instantiated on.

Can you check to make sure that the Media SDK HW DLL is located in your "Program Files" folder. Such as "C:\Program Files\Intel\Media SDK\libmfxhw64.dll (or ...32.dll)?   For 64 bit OS installs you should also find 32 bit Media SDK HW DLL in "Program Files (x86)" folder.

Regards,
Petter 

Hi Petter,

libmfxhw32(64).dll file exist in C:\Program Files (x86)\Intel\Media SDK.
I found different one thing between 2012 R3 and 2013 version.
QueryIMPL return value is different.

On 2012 R3
mfxIMPL impl = MFX_IMPL_HARDWARE_ANY;
sts = m_mfxSession.Init(impl, &version); ... is OK
m_mfxSession.QueryIMPL(&impl); ... impl is 6 (MFX_IMPL_HARDWARE3)

On 2013
mfxIMPL impl = MFX_IMPL_HARDWARE_ANY;
sts = m_mfxSession.Init(impl, &version); ... is OK
m_mfxSession.QueryIMPL(&impl); ... impl is 5 (MFX_IMPL_HARDWARE2)
then,
sts = m_pmfxDEC->DecodeHeader(&m_mfxBS, &m_mfxVideoParams);
sts is MFX_WRN_PARTIAL_ACCELERATION.
But, on 2012 R3 sts is MFX_ERR_NONE.

Regards,
Henry

In addition, I did test for MFXInit.

On 2012 R3
mfxIMPL impl = MFX_IMPL_HARDWARE (MFX_ERR_UNSUPPORTED)
mfxIMPL impl = MFX_IMPL_HARDWARE2 (MFX_ERR_UNSUPPORTED)
mfxIMPL impl = MFX_IMPL_HARDWARE3 (MFX_ERR_NONE)
mfxIMPL impl = MFX_IMPL_HARDWARE4 (MFX_ERR_NONE)

On 2013
mfxIMPL impl = MFX_IMPL_HARDWARE (MFX_ERR_UNSUPPORTED)
mfxIMPL impl = MFX_IMPL_HARDWARE2 (MFX_ERR_NONE)
mfxIMPL impl = MFX_IMPL_HARDWARE3 (MFX_ERR_UNSUPPORTED)
mfxIMPL impl = MFX_IMPL_HARDWARE4 (MFX_ERR_UNSUPPORTED)

Hi Henry,

I suspect the issue you have encountered is possibly related to graphics driver installation issues.

Can you please share the following info with us:
- When running mediasdk_sysanalyzer can you please fetch Media SDK trace log using mediasdk_tracer. Please capture log for both Media SDK 2013 and 2012 sys_anayzer
- Can you check to see if you have a folder named "C:\Program Files\Common\Intel\Media SDK\" or  "C:\Program Files (x86)\Common\Intel\Media SDK\".   If so, what is in the folder?
- What version of Intel Graphics driver did you have installed before the 2932 driver?
- Is your machine a desktop machine with two monitors hooked up to each graphics device? Or is it a "switchable graphics" type laptop for which you can affinitize an application to specific graphics device? 

Regards,
Petter

Hi Petter,

1. attatched tracer log file on sys_analyzer (file name trace_log.zip)
2. in C:\Program Files <x86>\Intel\Media SDK foler exist below files.
cpa_w7_32.vp
cpa_w7_64.vp
c_w7_32.cpa
c_w7_64.cpa
dev_w7_32.vp
dev_w7_64.vp
he_w7_32.vp
he_w7_64.vp
h_w7_32.vp
h_w7_64.vp
libmfxhw32.dll
libmfxhw64.dll
mfx_mft_h264vd_w7_32.dll
mfx_mft_h264vd_w7_64.dll
mfx_mft_h264ve_w7_32.dll
mfx_mft_h264ve_w7_64.dll
mfx_mft_mp2vd_w7_32.dll
mfx_mft_mp2vd_w7_64.dll
mfx_mft_vc1vd_w7_32.dll
mfx_mft_vc1vd_w7_64.dll
mfx_mft_vpp_w7_32.dll
mfx_mft_vpp_w7_64.dll
m_w7_32.vp
m_w7_64.vp
v1_w7_32.vp
v1_w7_64.vp
vp_w7_32.vp
vp_w7_64.vp

3. installed version before the 2932 driver is 2012-10-13 15.28.8.64.2875.
<I cannot use HW decodeing before updating driver>
4. Yes, desktop machine with two monitors hooked up to each graphics device. (use 4 monitors)

Regards,
Henry

Adjuntos: 

AdjuntoTamaño
Descargar trace-log.zip423.19 KB

Hi Henry,

we have explored this this use case further by replicating your setup. We do encounter the same problem as you reported for the case when two monitors are hooked up to a discrete graphics card and then trying to initialize and use decode or encode applicaiton built with Media SDK 2013 package via Intel GPU adapter.

The issue cannot be reproduced if having just one monitor attached to the discrete graphics card. Do you observe the same?

Regardless, the issue is likely due to a bug in the Media SDK 2013 dispatcher library. We are currently investigating how to resolve the issue. We will keep up updated as soon as we know more.

Thanks for bringing this to our attention.

Regards,
Petter

Hi again,

the issue has been clearly identified as a bug in the Intel Media SDK 2013 dispatcher. We will resolve the issue in the next Media SDK 2013 release. The exact timing for next release has not yet been set, so please keep checking back on the Media SDK webpage or forum for more info when available.

In the meantime I suggest you set the Intel graphics device as primary device. By doing that you should not encounter the issue. Alternatively, if feasible for your needs, you can limit the number of displays connected to the discrete card to ONE.

Regards,
Petter

Hi Petter,

I look forward checking out the next release version.
Once the release is out, I'll start testing right away on my system.
Though, my personal developing environment can be modified by changing VGA,
my target environment at which the solution will be installed has various combinations of graphic cards or monitors,
so i can't specify any limitations.

In current situation, using 2012 R3 vesion doesn't cause problems.
2013 version is a good library, but 2012 R3 is still a very good one to use.

Thank you for your considerings.

Regards,
Henry

Hi Petter,

Same issues reproduced on { 2014 R2 for Clients } version.
H.264 stream cannot use HW decoder, return MFX_WRN_PARTIAL_ACCELERATION.
"sample_decode.exe" occur MFX_WRN_PARTIAL_ACCELERATION too.

On 2013 R2 (is OK)
-------------------------------------------------------------------------
The following versions of Media SDK API are supported by platform/driver:

        Version Target  Supported       Dec     Enc
        1.0     HW      Yes             X       X       [Adapter 1]
        1.0     SW      Yes             X       X
        1.1     HW      Yes             X       X       [Adapter 1]
        1.1     SW      Yes             X       X
        1.3     HW      Yes             X       X       [Adapter 1]
        1.3     SW      Yes             X       X
        1.4     HW      Yes             X       X       [Adapter 1]
        1.4     SW      Yes             X       X
        1.5     HW      Yes             X       X       [Adapter 1]
        1.5     SW      Yes             X       X
        1.6     HW      Yes             X       X       [Adapter 1]
        1.6     SW      Yes             X       X
        1.7     HW      Yes             X       X       [Adapter 1]
        1.7     SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        AMD Radeon HD 7700 Series                    12.104.0.0          Active
        Intel(R) HD Graphics 4000                    10.18.10.3496       Active

System info:
        CPU:    Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
        OS:     Microsoft Windows 7 Home Premium K
        Arch:   64-bit

On 2014 R2 for Clients
-------------------------------------------------------------------------
The following versions of Media SDK API are supported by platform/driver:

        Version Target  Supported       Dec     Enc
        1.0     HW      No
        1.0     SW      Yes             X       X
        1.1     HW      No
        1.1     SW      Yes             X       X
        1.3     HW      No
        1.3     SW      Yes             X       X
        1.4     HW      No
        1.4     SW      Yes             X       X
        1.5     HW      No
        1.5     SW      Yes             X       X
        1.6     HW      No
        1.6     SW      Yes             X       X
        1.7     HW      No
        1.7     SW      Yes             X       X
        1.8     HW      No
        1.8     SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        AMD Radeon HD 7700 Series                    12.104.0.0          Active
        Intel(R) HD Graphics 4000                    10.18.10.3496       Active

System info:
        CPU:    Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
        OS:     Microsoft Windows 7 Home Premium K
        Arch:   64-bit

Regards,
Henry

There is an issue in the current “Media SDK 2014 R2” static library (dispatcher) that applications links with.  Please see the current fix in this thread https://software.intel.com/en-us/forums/topic/519877.  and in future releases.

 

-Tony

A newer version of the Intel MediaSDK is now available as part of the Intel® Integrated Native Developer Experience (Intel® INDE).

 

-Tony

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya