Lorien icon indicating copy to clipboard operation
Lorien copied to clipboard

Higher than expected CPU usage when drawing on the canvas

Open Gleek opened this issue 9 months ago • 1 comments

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 avatar Nov 26 '23 20:11 Gleek

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.

Gleek avatar Dec 08 '23 16:12 Gleek