Media (Intel® oneAPI 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 sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

HW decoding memory leak

SDeut
Beginner
171 Views

My program uses a pool of switchable video decoders. So I do a lot of these calls:

  MFXVideoDECODE_Init (..)
  MFXVideoDECODE_DecodeFrameAsync (..)
  MFXVideoDECODE_Close (..)

Running in software mode, everything is fine. Running with MFX_IMPL_HARDWARE_ANY init flag will result in a lost of about 30 MB per Init/Close call. This occurs only when decoding frame data. Just initializing and closing decoder seems to produce no leak.

I work with driver 15.36.18.64.4156 on HD4600 and decode AVC streams (problem does not depend on specific AVC material).

0 Kudos
3 Replies
Sravanthi_K_Intel
171 Views

Hi Stephan,

Are you able to reproduce the issue using out of the box sample_decode? For example, if you run the sample_decode application for a long time, do you see the leak using HW implementation?

Can you please provide the system details - version of Media Server Studio, (I assume you are working on Windows), and a reproducer for us to debug the issue?

Thanks.

Sravanthi

SDeut
Beginner
171 Views

Thank you for feedback. It's not easily reproducible with standard samples, since it would require a number of open/close cycles.

However I already got a hint, that this is probably an issue in hardware driver, a fix will be developed.

Sravanthi_K_Intel
171 Views

Hi Stephan,

Thanks for the response. Once you do find the issue/fix, it would be good if you could update us on what worked and what was the wrokaround (feel free to use the "Send Author a Message" feature on the thread).

Reply