- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are experiencing a leak when H265 is attempted decoded and the decoder is subsequently closed - it leaks memory.
Preconditions:
Media SDK version: 2016.0.1
CPU: Any CPU pre Skylake that is supported by SDK
Steps to reproduce:
From individual threads, create several decoders and start decoding h.265 streams in 4K resolution.
Repeatedly close decoders and create new ones and continue decoding 4K h.265 streams.
Expected result:
You can keep decoding new streams without performance degradation.
Actual result:
After a while calls to SyncOperation() starts returning status code MFX_ERR_ABORTED. If you continue to destroy and create decoders, eventually the call to Init() on the SDK never returns, and you have effectively lost the thread the code is running in.
The CPU tested on: i7 4770K
thank you,
Artur.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for this report. Are you running in Linux, Windows, or both?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, forgot to mention :)
OS: Windows 10.
Also please note that the same code/application does not have this issue on 6-th gen CPU (Skylake). Seems to me that when the hybrid decoding is used on non-6th gen CPU there is a leak.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeffery,
Is there anything new?
br.
Artur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeffery,
Just wanted to ask if you are looking into this issue or?
BR.
Artur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the delay. I was able to reproduce the leak for HEVC SW decode plugin decode to video memory, but decode to system memory seems to work in my tests. A bug is filed for HEVC plugin SW decode to video memory. Do you see the leak for decode to system memory too?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeffery,
Yes, we see this also when using system memory :
MFX_IOPATTERN_OUT_SYSTEM_MEMORY / (request type)MFX_MEMTYPE_SYSTEM_MEMORY
B.R.
Artur,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeffery,
Do you have any news?.. and is there a fix on the way? maybe new mediaSDK version?
Best regards,
Artur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Artur,
Jeff was moved to other project, this is why he didn't have response.
I have check his report on last Oct. and I am checking the status of it.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mark.
are there any news?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Artur,
Sorry this issue was taking so long and I didn't give you update.
I actually check the issue with dev team after my previous post at 2017 but they could not reproduce it. I actively worked on it for 2 weeks and then move to other projects.
I want to check with them again but do you have any updates on the latest release with the latest driver?
Mark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Artur,
Dev team told me that they can not reproduce it with the following setup:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mark,
Yes this does not happen on Skylake++ CPUs, the issue was seen on Haswell and Broadwell.
In the mean time i will try to retest with new 2018 R2 SDK on Broadwell as well.
Artur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Artur,
I also ask dev team to try on Broadwell, we also can't reproduce it.
Here are the test condition:
Processor: Intel(R) Core(TM) i5-5350U
OS: Windows 10
Driver: 15.40.38.4963 (latest product driver for 5th Gen from Intel.com)
Mark
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page