Skip to content
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

Higher than expected CPU usage when drawing on the canvas #255

Open
Gleek opened this issue Nov 26, 2023 · 2 comments
Open

Higher than expected CPU usage when drawing on the canvas #255

Gleek opened this issue Nov 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Gleek
Copy link

Gleek commented Nov 26, 2023

Lorien version:

v0.6.0

OS/device including version:

MacBook Pro 13 inch 2020
2 GHz Quad-Core Intel Core i5
Intel Iris Plus Graphics 1536 MB
macOS - Ventura 13.3.1

Issue description:

I've found medium high levels of CPU (40-50%) when drawing on canvas.
I'm not sure if it is expected, but it turns into the fans whirring at full speed with CPU temperatures getting high in sometime.
This might also be related to the size of the canvas I'm editing as I don't feel the problem as much with the blank canvas as compared to, say, 30-40 minutes post slow writing. I'm not very sure of it though. In a very unscientific experiment, drawing on a blank canvas pushed the CPU to ~30% when drawing while editing a larger file made it shoot to ~50%.

This might be a macOS specific issue and I am unfortunately not very much aware of the workings of godot and not sure if I can profile the application and share the report with you. Let me know if it's easily possible somehow if the behavior is unexpected

Regards

@Gleek Gleek added the bug Something isn't working label Nov 26, 2023
@Gleek
Copy link
Author

Gleek commented Dec 8, 2023

On further investigation it's not the CPU, but the GPU which is choking up causing the temperatures to rise dramatically. The GPU usage is at 100% when drawing on the canvas.

@123789g
Copy link

123789g commented Aug 30, 2024

Seems like an OpenGL hint issue (at least on my end.)
CPU Usage, especially on large canvases spikes through the roof when you use that AA method.
Lightest Canvas I have that ended up showing this issue has 954 Strokes & 18979 Points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants