Skip to content

Very high (90+%) GPU usage when window is not visible #16

Open
@foophoof

Description

@foophoof

I noticed the fan on my GPU spinning up on my computer when I was seemingly doing nothing, and I was able to narrow it down to regenny.

When the window is hidden (e.g. if I alt-tab to a Firefox window that entirely covers the regenny window), regenny's GPU usage as reported by Task Manager jumps to 90-100%. When the window is visible, it drops down to ~9% (which still seems quite high).

My guess would be that there's some optimisation happening when the window isn't active where it's not fully rendering and the framerate is uncapped or something, but at first glance there does seem to be an FPS cap in the code so I'm not sure.

I'm running Windows 11, with commit 1012cc2, compiled with Visual Studio 2022.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions