5 ms·
I love Godot for games but it's clearly not designed for utilities. The editor constantly uses a percentage of my CPU doing absolutely nothing. I don't think Go
by throwawee 2y ago
I love Godot for games but it's clearly not designed for utilities. The editor constantly uses a percentage of my CPU doing absolutely nothing. I don't think Godot executables can stop redrawing the window, only lower the FPS. I don't want my applications to be like that.
- nvlled 2y agoYou can enable low-processor mode to reduce CPU & GPU usage. See related FAQ https://docs.godotengine.org/en/stable/about/faq.html#is-it-possible-to-use-godot-to-create-non-game-applications https://docs.godotengine.org/en/stable/about/faq.html#is-it-...
- throwawee 2y agoThis is with low processor mode enabled. Hell, it's still true when I multiply Low Processor Mode Sleep by 100. This is a blank default project that has a single empty node--and the window is minimized.
- nvlled 2y agoYeah, even disabling a bunch of things and pausing the scene tree, Godot still uses 5% of my CPU (i3-6100T): func _ready() -> void: set_physics_process(false) PhysicsServer2D.set_active(false) PhysicsServer3D.set_active(false) Engine.max_fps = 1 RenderingServer.render_loop_enabled = false get_tree().paused = true I wonder what's using that CPU?
- Fire-Dragon-DoL 2y agoSome post on HN discovered that app rendering would be more efficient if we did that (somebody made that the research of their life). Unfortunately i can't find the link anymore
- glimshe 2y agoYou don't need to keep redrawing the window. If the content isn't changing, Process will be called but you don't need to queue a redraw.