Community
cancel
Showing results for 
Search instead for 
Did you mean: 
CBill2
Beginner
97 Views

HEVC HW decode on haswell

 

Hi I have a problem when i use HEVC HW decode with plugin was "33a61c0b4c27454ca8d85dde757c6f8e"

The follows is my code.

 MFXFrameAllocator*      m_pMFXAllocator;

.....

sts = m_pMFXAllocator->Lock(m_pMFXAllocator->pthis, m_OutputSurface->Data.MemId, &(m_OutputSurface->Data)); 

......

sts = m_pMFXAllocator->Unlock(m_pMFXAllocator->pthis, m_OutputSurface->Data.MemId, &(m_OutputSurface->Data));


 MSDK_BREAK_ON_ERROR(sts);

The first frame was OK, but the next frame it was locked on  " m_pMFXAllocator->Lock" function, it can not keep on next code. It was like dead locked on " m_pMFXAllocator->Lock" function.

PS: I use HEVC HW Plugin = "33a61c0b4c27454ca8d85dde757c6f8e", it was OK on init HEVC HW decode. 

In addition it was running normal when using SW decode with plugin was "15dd936825ad475ea34e35f3f54217a6".

 

The follows picture is my computer.

Thank you for your help.

0 Kudos
1 Reply
97 Views

Hi Chen, 

Thank you for detailed description on this issue. Let take it step by step to resolve this issue. 

1) Please check and confirm if you have latest drivers installed on the machine for here: https://downloadcenter.intel.com/

2) Update to latest MediaSDK 2016 package: https://software.intel.com/en-us/media-sdk

2) After above updates, please download sample package: (https://software.intel.com/sites/default/files/MediaSamples_Windows_6.0.0.68.msi) and run sample_decode with following command line:

sample_decode h265 -i <inputfile> -o <outputfile> -hw -p 33a61c0b4c27454ca8d85dde757c6f8e. 

Let us know your results after completing above steps. If same issue is observed, please share the input clip and a log from system analyzer tool

Thanks, 

Reply