[Bug?] Moderately High GPU Usage when viewing thumbnails
Ok, im not sure if this is a bug, but why does it use 38-40% of my 4090 GPU Core to just have it Maximized? If i minimize it it goes back to core load on my system of 1-3% the sec i maximizes it it goes up.
With Maximized:
Minimized:
Litterally the only difference is that i maximize your program.
My Computer Spec:
So I use WPF and WindowChrome to achieve the "borderless" effect.
WPF will use hardware accelleration whenever possible to offload stuff from the CPU. WPF is a graphicial framework for .NET.
I don't explicitly do any GPU stuff, .NET does all the heavy lifting.
I can confirm it uses around 10%-20% when active, fullscreen on my 1650, at least according to windows Task Manager.
It looks I can force it to use software rendering, and this makes it drop to 4%-7%, without any noticeable performance difference or significant spike in CPU, so I wonder why WPF has to offload so much to the GPU.
(Interestingly, even if it is on Software rendering, if you fullscreen, AND hover over the taskbar icon to see the active thumbnail, it will climb to 23%. for me at least).
I'll add an option to turn on/off Software Rendering.
Please try this build:
https://github.com/RupertAvery/DiffusionToolkit/actions/runs/14713952094/artifacts/3023901450
You can change to Software rendering in Settings > General
Hi, and thanks! Sorry for the delay—I've been tied up with other things.
I've been testing DiffusionToolkit, and overall it's working well! I wanted to share a few observations based on how the app behaves in terms of system resource usage.
🧪 Test Setup & Launch Behavior When I launch the app by clicking its icon in the taskbar, it starts up as expected and looks great in terms of resource usage.
Initial launch (CPU, Memory, Disk, Network, GPU):
📉 Inconsistent Resource Usage Reporting
I noticed that system resource usage (especially GPU) seems to "lock in" at certain values after startup. For example:
If I maximize the window, GPU usage increases. But when I minimize it again, the GPU usage shown in Task Manager stays the same, which seems inaccurate:
🎛️ Actual Load vs. Reported Load
Using OCCT, I can confirm that the actual GPU usage from DiffusionToolkit is pretty steady at ~14–18%. However, I did notice that when the app is in focus (maximized or foreground), Desktop Window Manager (DWM) usage increases significantly. Once minimized, DWM usage drops again:
🔍 Minimized vs Maximized Behavior
Minimized:
Maximized again:
There doesn’t seem to be any change in memory or disk usage, only GPU-related metrics (especially involving DWM).
🤔 Final Note
As shown here, minimizing the app causes a noticeable GPU drop (likely from DWM):
This isn't a major issue—just something I found curious. I'm wondering if this is expected behavior or if there's something going on with how rendering is handled when the app is in focus vs minimized.
And Thx again for the hard work you put in!!