-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Godot editor using ~70% cpu. (macOS) Latest build as of 10-23-2017 #12366
Comments
I can confirm that at least on Windows x64, the current master@ |
I tested it with OS X Yosemite and for me it idles at 1-2%. |
@ismyhc is there any message in the system console? |
@Zylann no messages in the console. I think its related to the project I attached. I Just opened a new project and the editor hovers around 6-8 %. Could you try loading the project I attached? Its very possible I may have changed some setting that may be causing the issue. Im going to recreate the project from scratch. Its very small. |
macOS 10.13 (17A405): 2-3% idle with attached project opened. |
@bruvzg Unfortunately Im not in a position to upgrade to High Sierra quite yet. :( Im trying to figure out what it is about the project that is causing the issue. |
This is for master, right? there are other reports of apparently the same issue on 2.1 #8766 |
@eon-s yes, this is for master as of 2 days ago. Im going to try and do more testing today. |
Is this output correct? OpenGL ES 3.0 Renderer: Intel Iris OpenGL Engine Should my mac laptop be using OpenGL ES 3.0? I wouldn't expect be using OpenGL ES. |
I think Godot 3.0 always uses OpenGL ES 3.0, yes. |
@ismyhc It is correct, same renderer use OpenGL 3.0+ on desktop platforms and GL ES 3.0 on mobile/web. |
@mhilbrunner @bruvzg ah, okay. Well I just started a brand new project. One main scene with nothing in it, one scene which is just a node with script attached that draws rect and boom, back up to ~70% cpu. Deleted all the scenes, and still stays at ~70%. Im baffled as to what is causing this. |
@ismyhc Try using profiler: |
@bruvzg Okay, I did upgrade to High Sierra, but still same issue. I opened up Time Profiler and heres a screenshot. This seems like the start of it: RasterizerCanvasGLES3::_canvas_item_render_commands(RasterizerCanvas::Item*, RasterizerCanvas::Item*, bool&) |
Just an FYI. Alpha 1 doesn't have this problem. Im going to start backtracking master to see if I can determine when the problem starts. |
Before attempting a bisect, make sure to build alpha 1 (f55211a) locally to confirm that it's not affected by this issue, as it's possible that official binaries work fine but that you self-compiled ones are problematic. |
Is the spinning wheel in Godot top right corner spinning when you see this
cpu usage, even if you do nothing?
…On Thu, Oct 26, 2017 at 10:08 AM, bruvzg ***@***.***> wrote:
This seems like the start of it:
RasterizerCanvasGLES3::_canvas_item_render_commands
Maybe v-sync is not working (it is enabled
<https://github.com/godotengine/godot/blob/master/main/main.cpp#L115> by
default). Related to #12355
<#12355>?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12366 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z206X-iGO0e68LcCNOIp9EurVvqRuks5swIRBgaJpZM4QDvQO>
.
|
@reduz yes, spinning wheel is always spinning. Im building alpha-1 as @akien-mga suggested right now to see if the issue is happening from my local build. |
So I just noticed something. When clicking the spinner, the option "Update Always" is checked. If i set this to "Update Changes", the cpu usage hovers around 8% - 12%. Im not sure if this is the fix, but it does help. |
That is not a bug, it's a feature...
…On Oct 26, 2017 11:40 AM, "Jacob Davis" ***@***.***> wrote:
So I just noticed something. When clicking the spinner, the option "Update
Always" is checked. If i set this to "Update Changes", the cpu usage hovers
around 8% - 12%. Im not sure if this is the fix, but it does help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12366 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z20Ij4SMGle2ULhxMd74GhWdzR-7iks5swJm8gaJpZM4QDvQO>
.
|
@reduz im satisfied with that answer :) |
It's supposed to be enabled by default.. (update changes)
…On Thu, Oct 26, 2017 at 4:27 PM, Jacob Davis ***@***.***> wrote:
@reduz <https://github.com/reduz> im satisfied with that answer :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12366 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z29LOmbD4kL1nWSFPlO_CN6WZPgzVks5swN0_gaJpZM4QDvQO>
.
|
@reduz I think what happened was that I not knowing what it meant, clicked on it and it popped up a alert that said it was a deprecated setting. I must have assumed since the alert popped up that the change didn't occur so I never thought twice about it, but in fact it was changed to (update always). Anyways, mostly just confusion on my part. Feel free to close this ticket. :) |
Well no, the 70% CPU usage is not a feature :) What @reduz was referring to is the Update Always / Update Changes and its impact on CPU usage, which is expected. But 8%-12% CPU usage in Update Changes and 70% in Update Always is a bug. |
Wait, the popup that talks about the deprecated function actually turns on the deprecated function? Why not disable it at all if should not be used anymore? |
Because it's still needed in some cases due to bugs, so we need to be able to enable it to debug and fix bugs. |
@akien-mga ah, ok, but the popup message is kind of confusing, like meaning the option is not working, maybe a "deprecated" or "for testing only" text on the menu may be better. |
Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz now spinner keeps rotating and editor uses 50% cpu usage on my machine on idle in Update changes setting. 😕 |
Same on macOS. |
with c846e49 |
Is the spinning wheel spinning while this happens?
…On Sat, Nov 25, 2017 at 7:50 PM, Razah ***@***.***> wrote:
Macbook Pro 15 (2016) intel core i7 - Sierra 10.12.6
Editor uses %17 cpu on idle. and cpu temp too high.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12366 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z2w_CV7_30a_lfEm5Jr60me8h_zN_ks5s6Jm3gaJpZM4QDvQO>
.
|
Can you enable the update spinner and set to update changes?
…On Sun, Nov 26, 2017 at 1:38 PM, Razah ***@***.***> wrote:
this is happens random, between %5 and % 20, empy project on idle. (sorry
for my english)
[image: ekran resmi 2017-11-26 19 30 04]
<https://user-images.githubusercontent.com/33985414/33242116-d9874b70-d2e0-11e7-88b0-7636a24fdc90.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12366 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z27dWlBOkM3QqR0XrjYlQDqhwh6uEks5s6ZQJgaJpZM4QDvQO>
.
|
alright, but unless you update the spinner and set it to update changes,
then tell me what's going on (if it's spinning or not), it's difficult to
help.
Also you have VSync enabled?
…On Sun, Nov 26, 2017 at 1:47 PM, Razah ***@***.***> wrote:
spinner is not affecting cpu. This is like a Editor gui problem or driver,
When mouse scroll zoom out in viewport cpu is %17 when minimize to dock cpu
%5
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12366 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z229PuIMkb_sbHaeb0GHVdKuG1zzUks5s6ZYcgaJpZM4QDvQO>
.
|
Do you see high CPU usage when it's not spinning? Also again, do you have
VSync off?
…On Sun, Nov 26, 2017 at 1:55 PM, Razah ***@***.***> wrote:
it's spinning but not always,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12366 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z2xdzOH-WXWgB54XkG0w7G5R7o3grks5s6ZgEgaJpZM4QDvQO>
.
|
Closing as there were no updates since reduz's questions a year ago. |
I'm testing Godot 3.2.3.stable.official on Mac Book Pro with macOS Catalina 10.15.7 and on some projects the Spinner wheel spins all the time in all in all scenes/viewports even on Script editor. (it is set to Update when Changed) (it gets the CPU/GPU so hot that restarts the Mac) Specs |
@L3V147H4N This is already being tracked in #39758. See this page for a workaround. |
macOS Sierra
10.12.6 (16G29)
MacBook Pro (Retina, 13-inch, Late 2013)
2.4 GHz Intel Core i5
8 GB 1600 MHz DDR3
Intel Iris 1536 MB
I've compiled for OSX as the docs list.
Editor uses around 70% cpu.
zuexeuz.zip
The text was updated successfully, but these errors were encountered: