Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Cody
New Contributor I
54,479 Views

BUG: dwm.exe uses memory leakage with Intel HD Graphics 630

Hi,

dwm.exe (Desktop-Window Manager) uses high memory with Intel Intel HD Graphics 630. This problem has been reported before:

https://answers.microsoft.com/en-us/windows/forum/all/desktop-windows-manager-dwm-memory-leakage-in/...

 

https://www.reddit.com/r/windows/comments/iqttw5/windows_10_dwmexe_high_ram_usage/g4umzyn/?utm_sourc...

 

Here's a screenshot of my dwm ram usage after 2 hours (1.6 GB):
Image1.jpg

 

Please, this bug is already known for 3-4 months, and I do not want to reinstall a 2019 driver...

231 Replies
amgara
Novice
954 Views

Just wanted to post an update for the records.

Since I disabled fast startup on 3/30 I have only seen one occurrence of the issue, and it happened after my computer came out of hibernate. My experience is mirroring what @/HKlum has been saying.

Rzymianin
Novice
2,468 Views

Hello
New laptop bought on 18.03. 2021 Lenovo Legion 5-17IMH05 Intel (R) Core (TM) i5-10300H CPU 8 GB RAM
Intel UHD Graphics  - driver (27.20.100.8729)  and
NVIDIA GeForceGTX1650 - driver (27.21.14.5256).
All drivers installed from Lenovo support site.
The laptop was without a system.
Installed system clean version
Windows 10 Home
20H2 19042.906 Windows Feature Experience Pack 120.2212.551.0
The laptop randomly consumes the available memory (up to more than 5 GB) by the dwm.exe process.
The memory increases by 1 MB every second.
In order to limit it, I turned off fast startup and disabled hibernation completely.
It helped, but not entirely.
Currently, the memory usage varies from 50 MB to 100 MB which is normal.
However, sometimes the consumption from 700 MB to 1-2 GB occurs.
But this is sporadic now.
If the consumption is high, the process is often referred to as DWM-2 and beyond.
DWM-1 has the smallest wear.
So the problem continues unfortunately.

HKlum
New Contributor II
2,339 Views

Sadly... another set back 😞

Yesterday, after nearly 1 week of not rebooting my Laptop, used modern standby in between, no hibernate and no hw accelerated gpu scheduling enabled, I had again another memory leak of over 1.2GB the and rising 1-2mb/s watching a video in Chrome.

It took way longer without using hibernate and/or with gpu scheduling enabled, no idea why this is the case, but it seems to play a role somehow in this.

HKlum
New Contributor II
2,317 Views

Why is no one from Intel answering anymore on here!? Countless people report this issue and Intel doesnt care. Not just on here, Reddit and MS forums too.

@RonaldM_Intel @Monique_Intel @Bryce_Intel @David_G_Intel @Bryce__Intel @DeividA_Intel 

RonaldM_Intel
Moderator
2,284 Views

Hello @HKlum and everyone,

Intel is tracking this issue under our internal bug database with ID 22012524606, however to date we haven't been able to reproduce the issue in any of our test systems and configurations. Currently our recommendation still stands as before i.e. report this directly to Microsoft.

I would like to remind everyone that on 03-03-2021 we asked all of you to help us by providing us with memory dumps from affected systems (while using driver 100.8587 which is the one identified as the potential driver from the moment the issue started) so our debugging team can look into and analyze, however to date only 1 user has provided us with the files but we definitely need more (thanks by the way @Chris_online 😉

Reminder on the instructions to pull the reports can be as follows:

  1. Roll back driver to 100.8587.
  2. Turn PC completely off, then boot.
  3. Open Task Mgr > Details tab.
  4. Right click dwm.exe
  5. Select "Create dump"
  6. Use PC normally and wait until dwm grows about mid range.
  7. Repeat steps 3 & 4
  8. Use PC normally and wait until dwm grows very high in the GB range.
  9. Repeat steps 3 & 4.
  10. Send Intel the dmp files.

The dump will be easy to find, this message pops up after completing. Per example:

RonaldM_Intel_0-1617979374185.png

Thank you for any help you can provide us with this one.

Best Regards,

Ronald M.

Rzymianin
Novice
2,263 Views

Maybe Intel should just install the latest Windows 10 on the new Lenovo Legion 5-17IMH05 Intel (R) Core (TM) i5-10300H CPU 8GB RAM laptop
Intel UHD Graphics - Driver (27.20.100.8729) i
NVIDIA GeForceGTX1650 - driver (27.21.14.5256).
All drivers from Lenovo support site including BIOS / UEFI.
Two graphics cards are working.
Because I have memory leaks up to over 5 GB on such new hardware.
The exact model of the laptop is given, the exact versions of the drivers ... so there is a high probability that the problem will occur on such a unit.
An important detail that as a colleague mentioned earlier, there seems to be a memory leak when the dwm.exe process occurs on DWM-2 user and beyond.
While operating as the DWM-1, it appears to have stopped leaking.
I believe these are important tips that you should pay attention to when trying to simulate this problem.
Sorry, the text was translated by google.

 
 

poza

 

MrX1980
New Contributor I
2,014 Views

@RonaldM_Intel 

Hello Ronald,
today I have installed version 100.8587 and created the requested 3 dump files.
dwm_1.DMP ~ 230MB
dwm_2.DMP ~ 627MB
dwm_3.DMP ~ 3.04GB

https://www.file-upload.net/download-14548906/dwm_dumps.zip.html (~477MB)

Lenovo Yoga 710-14IKB Type 80V4 / Bios: 2XCN38WW(V2.12)
Intel Core i5-7200U / Intel HD Graphics 620 / 27.20.100.8587
No other graphic chip
Windows 10 Home x64 Build 21354 (Dev-Channel)

HKlum
New Contributor II
1,984 Views

@MrX1980 wait a second, so youre on latest insider build (21354) and the issue still happens? That is totally amazing... NOT. I had high hopes that MS maybe fixed the issue in dwm how the said they had a few weeks ago on insider builds. So they were totally lying about that or the issue actually is totally Intel's fault. I dont see any reports with other GPU drivers, AMD nor Nvidia, just Intel iGPU laptops btw.

MrX1980
New Contributor I
1,796 Views

@HKlum 
Yes with Build 21354 and driver 100.8587 it is still there. I will also try to create dumps with the current driver 30.0.100.9507 if the memory leak still exist.

As far as I know with build 21337 was another DWM bug fixed, that exist since build 21327.

Sadly In Feedback-Hub the most feedbacks don't have information's about the graphic chip(s). But as I read so far in forums, the most devices have (U)HD 6nn graphic chips.

My Feedback-Hub entries are:
https://aka.ms/AAbmrlt
https://aka.ms/AA9ibru

Feedbacks not from me:
https://aka.ms/AAbx4ay
https://aka.ms/AAbx4b1
https://aka.ms/AAbx093
https://aka.ms/AAbx095
https://aka.ms/AAbx097
https://aka.ms/AAbx098
https://aka.ms/AAbx09e
https://aka.ms/AAbx4bf
https://aka.ms/AAbx09f
https://aka.ms/AAbx09h
https://aka.ms/AAbx4bl
https://aka.ms/AAbx09o = Zac Bowden ? / WindowsCentral)
https://aka.ms/AAbx4bv
https://aka.ms/AAbx4by
...

Also via Twitter I see some users:
dwm.exe - Twitter Suche / Twitter
dwm ram - Twitter Suche / Twitter
dwm memory - Twitter Suche / Twitter

MrX1980
New Contributor I
1,622 Views

With driver 30.0.100.9507 I also have memory growing/leaks.

Five dump files:
https://www.file-upload.net/download-14551213/dwm_100.9507_dumps.zip.html
~738MB

jhonny323
Beginner
1,433 Views

Legion 5, Intel UHD Graphics version  27.20.100.8729

New laptop, memory leaks persist for two months now since day 1. Have dark moments when it rises up to 7 gigabytes (out of 16)


So far it seems everyone knows this is caused by intel graphics, and this problem is happening for a whole lot of people. Doesn't seem like the higher ups at this high and mighty corporation value their customers that much if it takes THAT long to solve a problem, and you resort to asking others to be "beta testers". When I buy, I will keep that in mind in the future, and I hope others will too.

Rzymianin
Novice
1,410 Views

@jhonny323 

Disable fast startup and hibernation.

It helps, the leakage is then sporadic and not so great.

HKlum
New Contributor II
1,374 Views

@jhonny323 Naaaah... look. Intel cant reproduce this issue ^_^ They really tried hard, but they cant reproduce it 🙂 We all can on here. With countless different laptops. Hundreds of reports on the internet. But Intel cant reproduce it. They really tried, you know. They even have an intern """bug ticker""" about this now, see, they tried hard. But they need our help, because they cant reproduce it and dont see a problem so far.

I wouldnt be surprised if the issue still exists until mid 2022 or even longer.

I had reported countless others bugs to Intel in the past and they never cared about it.

Rzymianin
Novice
1,312 Views

So hard to check on the new Lenovo Legion 5 laptop with Intel - no system, install the latest version of Windows 10 and all drivers from the Lenovo support site?

They're gonna have a memory leak as hell..

Install the latest version of Google Chrome and use the system normally, turn it off and on a couple of times and there will be a memory leak. Especially when the higher dwm.exe user appears than DWM-1

HKlum
New Contributor II
1,145 Views

aSH8xyb

Just after 2 days of using the laptop again. It also ruins the SSD over time Windows writing to page file all the time because of this.

MrX1980
New Contributor I
1,053 Views

I got now "Intel Corporation - Display - 30.0.100.9559" (12.04.2021) via Windows Update so I will test it over the weekend.

@HKlum Don't worry about your SSD lifetime. Just double the TBW value of your vendor/device. Modern SSD's reach about 1-2 Petabyte until they are dead.

HKlum
New Contributor II
1,512 Views

I'm back to driver version 7985 for now, lets see if that helps anything...

MrX1980
New Contributor I
786 Views

I have a little hope. So far, the 30.0.100.9559 driver seems to be better. I still sometimes see peaks up to 500MB, but they also automatically return to normal (<100MB).

My dump files was not yet downloaded by Intel.

Stefan3D
Honored Contributor II
1,861 Views

NVIDIA is fooling around with a registry patch related to DWM

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm]
"OverlayTestMode"=dword:00000005

Might be worth to try if that has an impact on Intel GPUs as well.

Also: what's up with that blacklist (Intel = 8086)?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm]
"ShaderLinkingGPUBlacklist"="8086:08C* 8086:0BE* 8086:258* 8086:259* 8086:277* 8086:278* 8086:279* 8086:27A* 8086:29B* 8086:29C* 8086:29D* 8086:2E5* 8086:410* 8086:810* 8086:A00* 8086:A01*"

 

HKlum
New Contributor II
1,751 Views

@Stefan3D Well that's interesting. I said in a previous post on here, that I also have the issue since a few months, that when I play a video in Chrome, and then click around the mouse to change focus of Chrome windows and/or resize Chrome windows, there is a little chance of all windows go "black" or actually vanish for a small time around 100ms or so, that would be what you call "flicker" I guess. So that might be the issue Nvidia is also describing there.

I googled about OverlayTestMode and found this post in a guru3d forum related to Nvidia:

"However, I enabled the OverlayTestMode 5 fix people are talking about in this thread and the crashes after sleep are gone with the 460.61 drivers now."

So maybe it also might crash internally on Intel when triggering sleep or hibernate and causing a memory leak?

@MrX1980 what is driver 30.0.100.9507 you were talking about? Is that a special driver for 21H1 I guess not compatible with 20H2? Because it seems to be WDDM 3.0.

https://downloadcenter.intel.com/product/126790/Intel-UHD-Graphics-630

says latest is 27.20.100.9316 and I also dont see a beta driver there.

MrX1980
New Contributor I
1,701 Views

@HKlum Yes, these are WDDM 3.0 drivers and are coming (only) via Windows Update if you are using the Windows Insider Developer Channel.
NVIDIA has also a download location for those upcoming drivers here: CUDA on WSL | NVIDIA Developer
(registered users only, but its free to register)

Hint:
The first two numbers of the driver version indicates the WDDM version. (valid only for new drivers around 2021)
v27.... = WDDM 2.7
v30... = WDDM 3.0

As far as I know WDDM 3.0 has (only) some improvements for WSL2. I currently don't use WSL2.

Currently dwm.exe stays under 100MB, but I don't want to be happy too soon.

Reply