blockbench icon indicating copy to clipboard operation
blockbench copied to clipboard

FPS Limit Setting

Open tavurth opened this issue 1 year ago • 4 comments

What are you trying to do, and what do you expect to happen?

While using on mac I would expect the Blockbench app to use little CPU especially if I'm not currently looking at the window.

What happens instead?

A very high CPU usage:

Screenshot 2023-05-15 at 18 00 59

Perhaps adding some way to limit the FPS in preferences?

Then this could be then used when the window loses focus (lower FPS to 5 or some low number)

Model format in which the issue occurs

Render

Blockbench variant

Program

Operating System

OSX

Installed Blockbench plugins

None

tavurth avatar May 15 '23 11:05 tavurth

There is actually a setting called "Background Rendering" that can be disabled to prevent rendering when the window is not in focus. How many elements do you have in your project while the CPU performance is at 26%?

JannisX11 avatar May 15 '23 21:05 JannisX11

How many elements do you have in your project while the CPU performance is at 26%?

Just a single untextured cube

tavurth avatar May 16 '23 03:05 tavurth

There is actually a setting called "Background Rendering" that can be disabled to prevent rendering when the window is not in focus.

Thank you this setting seems to help in general!

Foreground:

Screenshot 2023-05-16 at 10 18 07

Background:

Screenshot 2023-05-16 at 10 18 29

Would be cool to see a limited FPS option, I would much rather run at 40 fps and have my mac run cooler and save battery.

tavurth avatar May 16 '23 03:05 tavurth

I'm experiencing a similar issue on a 2017 MBP with an Intel Iris 640 GPU but in my case Blockbench is heavily taxing GPU (even up to 80%) and sometimes can't keep up rendering at 60 FPS. My model has 1400 vertices and 700 triangles – I'm not sure if that's a high polygon count for Blockbench standards.

But the point is, I'd also love to see some kind of an FPS limiter because I'm mostly working with geometry/textures.

goshki avatar Jun 05 '23 18:06 goshki