-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-PerformanceA change motivated by improving speed, memory usage or compile timesA change motivated by improving speed, memory usage or compile times
Description
Bevy version
Operating system & version
Windows 10
What you did
- Ran the breakout example.
- Put the game window on your primary monitor and focused on a different window app.
- Put the game window on a secondary monitor.
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
cart, 4-rodrigo-salazar, alice-i-cecile, ayyess, lucaspoffo and 3 more
Metadata
Metadata
Assignees
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-PerformanceA change motivated by improving speed, memory usage or compile timesA change motivated by improving speed, memory usage or compile times