Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
47 Views

H264 Encoding Memory leak with latest HD Graphics 510 driver

 

System Info:

Processor: Intel Celeron 3955U @2.00 GHZ

Graphics Driver: Intel HD Graphics 510 (15.40.25.4463)

Operating System: Windows 7 - 64 bit

Intel Media SDK Version: 2016 - R2

Problem:  A memory leak has been observed while using encoding (h264) frames with the the latest driver (15.40.25.4463) driver.   The current beta driver also has the memory leak (15.40.26.4474)

I tried previously released drivers and can confirm that the 15.40.10.4300 driver does not have the memory leak.  The memory leak seems be introduced in 15.40.22.4424 and still exist in newer drivers.

Steps to reproduce:

Encode a relatively input large file (> 30 GB) with the sample_encode.exe utility and observer memory usage in task manager:

sample_encode.exe h264 -i input.yuv -o output.264 -w 1920 -h 1080

Note: A large input file is used to prevent the sample_encode utility from ending quickly.

With 15.40.25.4463, the memory usage steadily increases.  On the other hand, with 15.40.10.4300 memory usage is stable.

 

0 Kudos
25 Replies
Highlighted
Employee
42 Views

Hi Ralph, 

Thanks for reporting the issue. I will try to reproduce the issue on our systems and raise the concern to driver team. 
Will keep you posted. 

Thanks,
Surbhi

0 Kudos
Highlighted
Beginner
42 Views

Hello,

we can also confirm a memory leak on Skylake CPU (i5-6500) with driver version 15.40.14.4352. While we noticed the leak in our own software, we just tried the reproducer given by Ralph and can also observe a leak.

For our own software (encoding a live 1080p60 stream) the leak is around 20 kbyte/s. We observe the leak for H264 as well as for MPEG2 encoding (Ralph's reproducer can be used to confirm the issue for MPEG2 encoding).

As our system is expected to be running for several days, the leak unfortunately will reach a couple of GB...

Any updates on this would greatly be appreciated.

Thanks,

Peter

 

0 Kudos
Highlighted
Employee
42 Views

Hi Ralph & Peter, 

Sorry for delayed response. I have tried on an i5 6300K, graphics adapter HDgraphics 530(same as Ralph's system should have), windows 8.1. Couldn't get my hands on the same configuration as yours but I couldn't replicate the issue. I am assuming this issue should be reproducible on this system as well. 
cmd - \Intel Media SDK Samples 2016 6.0.0.142\_bin\x64>sample_encode.exe h264 -i C:\Users\Administrator\Documents\Videos\ducks_32k
frames.yuv -o out.264 -w 1920 -h 1080 
Concatenated the ducks 1080p yuv for 32000 frames(size >90GB), memory consumption remain same throughout the session. 

Ralph - Can you confirm if you see the issue on windows 7 or a different OS version? 

Can please one of you provide snapshot of the issue like memory consumption at start of the session, middle of the session and towards the end?

Thanks,
Surbhi

 

0 Kudos
Highlighted
Beginner
42 Views

Hi Surbhi,

I can see this issue on Windows 7 64-bit (Embedded Standard).  

This is a memory snapshot (using Task Manager) during the test (15.40.25.4463)

Frame 1000: 59,600K, 

Frame 10000: 60,900K

Frame 19000: 62,220K

Note: When I run the same test with an older driver (15.40.10.4300), memory usage is stable

Frame 1000: 63,640K 

Frame 10000: 64,016K

Frame 19000: 63,972K

Let me know if you need anything else.

0 Kudos
Highlighted
Employee
42 Views

Hi Ralph, 

I was able to reproduce the issue and discussing this with the driver team. We are seeing better result with coming up driver on few systems but not on all. We are internally debugging this issue. Some of the folks are out of office next week which might can cause delays but I will keep you posted with progress. 

Have a good weekend.
-Surbhi

0 Kudos
Highlighted
Beginner
42 Views

Has there been any progress on a fix for this memory leak?

0 Kudos
Highlighted
Beginner
42 Views

Also have the same issue.

I am using video surveillance  software. Blueiris. And with these drivers, it consume 16GB of ram within 1 hour. Had to roll back to very old driver. I tried the beta drivers as well. But that still has the memory leak. Intel, please fix

0 Kudos
Highlighted
Employee
42 Views

Hi All, 

Sorry for late response. I have tested the internal build today and issue is fixed in the latest driver which isn't public yet. Will update the public version of the driver details as soon as I have it. 

Thank you for your patience. 

Thanks,
Surbhi 

0 Kudos
Highlighted
Employee
42 Views

 

I also have the same issue,could you please tell me the kit number of the driver which you have tested it?

Manny thanks!

0 Kudos
Highlighted
New Contributor I
42 Views

Latest driver still has same problem - also a Blue Iris user.

0 Kudos
Highlighted
Employee
42 Views

Hi Wayne,

What driver do you mean?

I can't reproduce memory leak with 20.19.15.4530 driver.

Best wishes,

Anna

0 Kudos
Highlighted
Beginner
42 Views

I am also having this issue. My system configuration is

Intel NUC 6I5SYH
Intel Core i5-6260U CPU
Intel Iris Graphics 540
Driver 20.19.15.4501

The leak is roughly 1 MB/s for encoding a 4K raw YUV video using hardware encoding with system memory

0 Kudos
Highlighted
Employee
42 Views

Hi Jordan,

Try to install 20.19.15.4530 driver.

Best wishes,

Anna

0 Kudos
Highlighted
Employee
42 Views

Update : Driver version 4531 with the fix will be available next week which will support windows 7 and 8
Current 4530 only support windows 10 operating system 

 

0 Kudos
Highlighted
New Contributor I
42 Views

Anna B. (Intel) wrote:

Hi Wayne,

What driver do you mean?

I can't reproduce memory leak with 20.19.15.4530 driver.

Best wishes,

Anna

Hi Anna, the install filename I used is: win64_154028.4501

 

0 Kudos
Highlighted
Beginner
42 Views

Version 4530 still seems to be leaking memory with BlueIris for me too.

Steve
 

0 Kudos
Highlighted
Beginner
42 Views

I can confirmed that same issue on i3-6100 HD530 with driver 20.19.15.4501 on Win10 x64 1511.

But, this issue not happened on i7-4790k HD4600 with driver 20.19.15.4501 on win10 x64 1511.

Until after update i3-6100 HD530 driver to 20.19.15.4531, the issue seem not happen again.

0 Kudos
Highlighted
Beginner
42 Views

Beta Version 4539 still seems to be leaking memory with Blue Iris. So I just turn off the h264 acceleration in Blue Iris. This is HD530 on latest Windows 10 x64 build.

 

Thx

0 Kudos
Highlighted
Beginner
42 Views

This still happens. Intel 530. Driver 4542

0 Kudos