-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor CPU usage ramps up when unfocused or minimized #72401
Comments
Can you reproduce this on 3.5.1? Also, can you reproduce this after switching to the Mobile or Compatibility rendering methods in the top-right corner of the editor? |
It doesn't occur on 3.5.1 under my hardware config
I can confirm that all three rendering methods produce this issue. |
It's also interesting to see that average idle CPU usage of the editor is much higher in Godot 4 |
I can confirm that even when the editor window size is slightly reduced, Godot 4 beta 17 is experiencing much higher CPU usage when MacOS goes into screen saver mode. |
If you can compile from source, try using a C++ profiler on a debug build to see what's taking the most time. |
I'm not seeing this on my M2 Pro Mac mini. CPU is 2.2% when minimized, no noticeable difference in CPU usage in any state. |
I can confirm that the issue still persists in v4.1.1.stable.official [bd6af8e] |
Godot version
v4.0.beta16.mono.official [518b9e5]
System information
macOS Ventura 13.1 (22C65), Apple M1 Max 32 GB
Issue description
Godot Editor seems to ramp up CPU usage when unfocused or minimized. However this only happens if the editor fills the entire view of your monitor. The behavior doesn't seem to occur if the editor isn't fully expanded. I've noticed that the CPU usage is even greater when the editor is minimized.
I've attached a screen recording of the minimizing and unfocusing behavior.
Screen.Recording.2023-01-30.at.13.20.10.mov
Steps to reproduce
In order to reproduce, create a fresh project and open the editor. Begin monitoring CPU usage during editor's focused and unfocused states as well as minimized states.
Minimal reproduction project
Reproduction of issue just requires a new project with no changes.
The text was updated successfully, but these errors were encountered: