Lag on Chrome with disabled hardware acceleration

Unfortunately incognito mode did not help. The Chromee version is up to date: Version 120.0.6099.200 (Official Build) (64-bit)

by user 216692838757433347

I resolved the lag by turning on Chrome’s hardware acceleration, but that’s not something I can control on the user’s side. Is it expected to lag this much without it?

by user 216692838757433347

No of course not :wink: - running your website on my end is between 55 and 60 FPS

This is the Needle Tools home page running at < 10 fps without hardware acceleration. The lag is reproducable on two other machines

by user 216692838757433347

you’ll see the same result on any threejs 3d website: three.js examples

Hardware acceleration will ensure your 3d website runs on a dedicated GPU if available - if you turn it off it will be computed on CPU thus result in poor performance

In that case, did I misunderstand you here because I thought you meant it’s not expected to lag this much without hardware acceleration?

by user 216692838757433347

Ah sorry I misread this before

No problem. Well, I assume a significant amount of users will be using chrome without hardware acceleration turn on. Is the best course of action to suggest to the the user to turn on hardware acceleration if they experience lag? I’m assuming I can’t control it on my end

by user 216692838757433347

What makes you assume it’s disabled by default?

And yep you can show a warning/info to check if it’s enabled or not if the FPS is way low. You can use this.context.time.smoothedFps to check that

I don’t think its necessarily disabled by default. I downloaded chrome to test this and its enabled by default. However the owners of the other 3 (laggy) machines I tested aren’t the type to mess around in their browser’s settings

by user 216692838757433347

Thanks, I’ll implement a solution using this

by user 216692838757433347

It should be enabled by default tho - it’s possible that the energy settings have something to do with this (e.g. if on a laptop) but we havent encountered this in a long time anymore

Changed the channel name: Lag on Chrome with disabled hardware acceleration