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.

About response time of MFXInit()

watanabe__kazuya
Beginner
1,893 Views

I use IntelMSDK 2018R1 and software decode.

 

I have problem with Intel Core Processor i7-8700 when I do MFXInit().

i7-8700 is later than i5-3xxx in response time.

i5-3xxx is later than Pentium E5700 in response time.

i7-8700:220mS、E5700:20mS.

 

I need to frequent init and close, and create many session.

but, i7-8700 is later than old cpu in init response time.

Why?

I expected  i7-8700 is faster than old cpu in init response time.

Is there any workaround?

 

Thanks,

 

 

 

0 Kudos
11 Replies
Mark_L_Intel1
Moderator
1,893 Views

Thanks Watanabe San:

I am assuming you are using Windows 10 platform.

In case of software mode, I am thinking all MFXInit() doing is to load the library which you might try to see the bottleneck by vTune.

I think there might be also a problem of the dispatcher, did you try the hardware mode and see if the latency has any difference?

Since you are using software mode, I don't think it is related to the driver but you might check the following post to see if it is helpful:

https://software.intel.com/en-us/forums/intel-media-sdk/topic/800921

Mark

0 Kudos
watanabe__kazuya
Beginner
1,893 Views

Thank you your advice.

 

I tried hardware mode and software mode.

Hardware mode has no problems.

According to vtune, mfx_dll_load method use many time.

Do you have a any idea?

---

KERNEL32.DLL ! LoadLibraryExW - [unknown source file] 
testdecode.dll ! MFX::mfx_dll_load + 0x3b - mfx_load_dll.cpp:178 
testdecode.dll ! MFX_DISP_HANDLE::LoadSelectedDLL + 0xea - mfx_dispatcher.cpp:150 
testdecode.dll ! MFXInitEx + 0x366 - main.cpp:308 
testdecode.dll ! MFXInit + 0x7c - main.cpp:970 

---

0 Kudos
watanabe__kazuya
Beginner
1,893 Views

Hi.

I found a solution to this problem.

I registered the registry as follows

Is this right?

[HKEY_CURRENT_USER\SOFTWARE\Intel\MediaSDK\Dispatch\SoftWare]

"DeviceID"=dword:00000000

"VendorID"=dword:00000000

"APIVersion"=dword:00000108

"Merit"=dword:7ffffffe

"Path"="C:\\Program Files\\test\\libmfxsw64.dll"

 

Regards

0 Kudos
Mark_L_Intel1
Moderator
1,893 Views

Hi Watanabe San,

It looks interesting and looks like you find a work around at least.

Let me double check with the dev team to confirm. Also let me know if there is a side effect for this solution.

Mark

0 Kudos
watanabe__kazuya
Beginner
1,893 Views

Hi Mark San,

Did you get any information from the dev team?

Thanks,

0 Kudos
Mark_L_Intel1
Moderator
1,893 Views

Not yet, but they are interested and doing some investigation now, I will keep you updated.

Mark

0 Kudos
Nikita_P_Intel1
Employee
1,893 Views

Hi,

About the solution that you suggested. It works as workaround but we can't guarantee that there won't any issue with it so we don't recommend it.

Do you use Windows 10? What driver version do you have installed? Installing DCH driver (versions starting from 25.20.100.6444) must help you.

https://downloadcenter.intel.com/download/28731/Intel-Graphics-Windows-10-DCH-Drivers

Is such solution suitable for you?

Nikita

0 Kudos
watanabe__kazuya
Beginner
1,893 Views

Hi

I use Windows8.1 and Windows10(driver v23.xx).

In Windows 10, I installed DCH driver and solved it.

Than you for your support.

 

Regard,

0 Kudos
watanabe__kazuya
Beginner
1,893 Views

Hi,

In Windows 10, I installed DCH driver and solved it with Dell driver(Intel UHD Graphics 610 and 630 Series DCH Driver  25.20.100.6471 ,A02).

but, it don't solved it with HP(hewlett packard) driver (25.20.100.6472 Rev.C)

 

In Dell case,
When updating to DCH driver,  registry key [HKEUY_LOCAL_MACHINE\SOFTWARE\Intel\MediaSDK\Dispatch ] was deleted.

but, in HP case,

Registry key [HKEUY_LOCAL_MACHINE\SOFTWARE\Intel\MediaSDK\Dispatch ] was not deleted.


Will this affect it?

0 Kudos
watanabe__kazuya
Beginner
1,893 Views

Hi,

Can anyone help me?

I use IntelMSDK 2018R1 and software decode.

it is too late at MFXInit() response time with HP(hewlett packard) driver (25.20.100.6472 Rev.C).

With Dell driver(Intel UHD Graphics 610 and 630 Series DCH Driver 25.20.100.6471 ,A02),  no problem.

0 Kudos
Mark_L_Intel1
Moderator
1,893 Views

Hi Watanabe San,

Apologized for late response, do you still have the problem?

In general, our driver update should be highest priority in the vendor first, then goes to Intel download center, the last one is Windows update. In your case, this is HP. 

I am assuming both HP and Dell has the same processor, so if HP doesn't give you the correct driver version, you might check in the download center.

Mark

0 Kudos
Reply