Excellent @ernst!
Takeaway
- Limit yourself to 1920x1080 or lower, because your GPU lacks the bandwidth to run QPrompt smoothly at greater resolutions.
- Disable all of Zoom’s video filters.
- Enable “High Performance” modes for Windows and the graphics (if available).
- Go to: Control Panel > System > Advanced system settings > Performance Settings and select “Adjust for best performance” to turn off all fancy display options, leaving more GPU time to other programs.
- Perform a virus scan with an up to date anti-virus, just to be sure no virus is pretending to be or has taken control over dwm.exe, which is an essential Windows component.
Full answer
Thank you for the thorough answers and benchmarks. There is something a little odd about these numbers. A couple questions: What is dwm.exe’s GPU usage when QPrompt isn’t running, and what about when QPrompt is idling in edit mode? Please test this at 1920x1080 resolution.
dwm.exe is Windows’ compositor, it takes care of drawing windows onto the screen since Windows Vista. It makes sense that whenever a window updates its graphics, dwm use will increase as well. What doesn’t make much sense is that use of dwm remains consistent across resolutions. Disabling dwm and using the old method of drawing windows on screen is not supported since Windows 8, and is also not recommended because it may introduce screen tear, and may fail to work with Zoom.
I developed QPrompt using a slightly more modern integrated graphics chip than the one in your computer. At 4K display resolution, QPrompt was very much usable with an HD YouTube video playing in the background, but I could see frames drop nonetheless. This test was done on Linux, running Firefox in the background, using the X11 compositor.
QPrompt’s overall performance is slightly lower on Windows and macOS because it uses OpenGL for rendering instead of their native counterparts DirectX and Metal. I’m waiting for QPrompt’s underlying libraries to upgrade their support before I can add finish adding support as well. I’m expecting to be able to complete this transition during Q1 2023.
Your CPU benchmarks are not too far off from what I would expect. I think the real issue here is the graphics processor does not have enough bandwidth to run QPrompt smoothly at resolutions beyond 1920x1080. Combine that with the use of Zoom’s filters, which are very taxing on the GPU, and QPrompt starts to become unusable.
If your computer provides a way to set the GPU’s clock to its maximum recommended clock speed, such as enabling a “High Performance” mode for your graphics driver, and on Windows, enable them. This will result in a slight increase in energy consumption, and smoother execution. Your computer will run at a constant full speed, for as long as it has proper ventilation.
There also may be something else going on that’s keeping GPU usage high. I’ve seen viruses in the past infect dwm.exe or pretend to be dwm.exe. If you find two copies of dwm.exe in Task manager, your computer is undoubtedly infected. If not, it may simply be some other program is drawing contents off-screen, a virus is still possible but it’s much less likely. Crypto miners, which are sometimes embedded onto viruses, are particularly taxing on the GPU. Please run an up to date anti-virus scan just to be sure no unauthorized programs are making use of your GPU.
Last but not least, you should also make the following change to have Windows consume less GPU resources. Go to: Control Panel > System > Advanced system settings > Performance Settings and select “Adjust for best performance”. This will turn off all fancy display options, leaving more GPU time to other programs.