[Bug] Dedicated memory not clearing itself properly (cache related?)
Dajova opened this issue · comments
Brief description of your issue
So i've noticed that some apps really like to "mess" with SI to display ludicrous amounts of dedicated video memory usage (even tho it's false). For example:
I'm guessing is that dedicated memory doesn't clear itself properly to display the accurate amount of used video memory.
The app in the screenshot is called Lossless Scaling, having it run for maybe a hour and it reports to be using 10TB+ already. it's not the sole occurrence tho.
Steps to reproduce (optional)
- Have SI installed
- Use a app that use any form of dedicated video memory
- At first it displays fine, but grows increasingly inaccurate with time
- See image above
Expected behavior (optional)
Should've figured it would clear itself normally, but it doesn't seem to reflect the accurate numbers after a while.
Actual behavior (optional)
It never stops increasing the video memory, some apps seems to blow out of proportions with this bug.
Environment (optional)
No response
So i've noticed that some apps really like to "mess" with SI to display ludicrous amount
This is a known Windows kernel bug caused by dxgmms2.sys when the machine resumes from sleep, not something caused by applications and not specific to SI but also Task Manager, Process Explorer, Firefox, Google Chrome and anything using the same data for reporting browser GPU usage.
It was reported to Microsoft back in 2017-2018 but they don't care enough to fix the issue 🤷♂️
Hmm alright. Thank you for the info anyway.
Changing ProcessHacker.ExtendedTools.EnableGpuPerformanceCounters
to 0 disablers the dxgmms2 counters and avoids the issue with those statistics but unfortunately the kernel doesn't always report statistics via the legacy API