High CPU usage when game is unfocused or on a different monitor #1105
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Performance
A change motivated by improving speed, memory usage or compile times
Bevy version
3b2c6ce
Operating system & version
Windows 10
What you did
What you expected to happen
I should expect the game to run at a consistent low CPU usage when unfocused or on a secondary monitor.
What actually happened
The game will run at 8% CPU usage when focused but as soon as it is unfocused, i.e you clicked on a different app window, it'll start running at a 25% CPU usage. This will also happen when moving the game window to a different monitor other than your primary one.
Additional information
I have a 240hz gsync 1080p (primary) and a 60hz 1080p (secondary) monitor. Maybe the game's frame limiter/vsync gets uncapped/turned off during the above conditions.
i7 7700K
1070 GTX
The text was updated successfully, but these errors were encountered: