Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20839 ディスカッション

DirectX11 memory leak on Win10 with Intel HD530

OMeye1
ビギナー
3,172件の閲覧回数

Created Vertex- and Pixelshader are leaking memory:

The calls to:

hr = g_pd3dDevice->CreatePixelShader( pPSBlob->GetBufferPointer(), pPSBlob->GetBufferSize(), nullptr, &g_pPixelShader );

and

hr = g_pd3dDevice->CreateVertexShader( pVSBlob->GetBufferPointer(), pVSBlob->GetBufferSize(), nullptr, &g_pVertexShader );

are leaking memory in the following scenario (see attached test application and screenshots):

Loop:

- Create DirectX device

- Create Pixel and Vertex Shader

- Render 0.5s

- Release Pixel and Vertex Shader

- Release DirectX device

- Wait 0.5s

Each Vertex Shader leaks with multiple 4KB and 560B blocks.

Each Pixel Shader leaks with multiple 151B blocks.

Application: 64bit, using DirectX11

OS: Windows 10 Pro (1703)

CPU: Intel Core i7-6700 3.40GHz

Adapter: Intel HD Graphics 530

Driver: 22.20.16.4771 (08/13/2017) 154605.4771

Same scenario on the same computer with a Nvidia K620 (HD 530 turned off in BIOS) doesn't leak.

Installing an older driver (20.19.15.4352 12/15/2015) also leaks, but very different:

Each Vertex Shader leaks with multiple 31B, 72B, 36B and one 2KB blocks.

Pixel Shader doens't seam to leak.

The total leaking is much lesser then with the newest driver.

Our professional Video application creates and destroys DirectX devices very dynamic at runtime. The current behaviour lets the application use very much memory in short time,

so we need a solution for our customers using this Intel HD graphics. Currently the only and not always possible option for our customers is to use AMD or Nvidia graphics adapter.

Is it possible to get this fixed?

0 件の賞賛
3 返答(返信)
Stefan3D
名誉コントリビューター II
1,803件の閲覧回数

You might get better help in the forum https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel Developing Games & Graphics on Intel

idata
従業員
1,803件の閲覧回数

Hello OliverMeyer,

 

 

Thank you for contacting Intel® technical support.

 

 

I have moved your ticket to the department in charge of your request so you can get assistance as soon as possible.

 

 

Regards,

 

 

Xavier A.
OMeye1
ビギナー
1,803件の閲覧回数

Ok, thank you.

Best regards,

Oliver

返信