Upgrading to v4.1.0-alpha.17 kills Mac FPS

I’m upgrading from (Unity toolkit) 4.0 to v4.1.0-alpha.17.

I don’t know 100% what the issue is but I started getting below 1fps on chrome for mac, Firefox is a little better, but not the same performance before the upgrade.

After browsing the fourms I couldn’t find any issues like mine and I have a sneaking suspicion it’s because of the 5k monitor, any ideas or advice? On a iPhone 5 and 8 everything runs smoothly so I think that’s the case.

can you make sure that you are limiting the pixel ratio when you instantiate the engine?

Make sure to call something like that:

var engine = new BABYLON.Engine(canvas, false, {}, false);

Unfortunately that was not the solution

:frowning: Babylon.js v4.1.0-alpha.17 - WebGL2 - Parallel shader compilation

can you profile to see where the perf is going?

Also please check the engine.getRenderWidth() value on both versions

It’s so weird the profile says in chrome the CPU is being used up 100% but Firefox is fine.
I’ll also get the render width by tomrrow for you, thanks Deltakosh!

1 Like