YO @Deltakosh , @sebavan and @Evgeni_Popov
So, a bit of background. There seems to be an issue with BabylonJS on newer Iphone 16 versions where after about 15-20 secounds the framerate drops. There was a posting about it here
There was a playground link you could try on iphone you can see it drop the frame rate like discussed in forum post above:
WebGL Test Playground
In the following video you can see the framerate drop after about 15 seconds running BabylonJS 7.50.0
I made a WEBGPU version of the same playground:
WebGPU Test Playground
In this following video which was using BabylonJS 7.50.0 … WAS WORKING FINE
Stays rock solid at 60 fps long after 15-20 seconds. I had several folks at my job who work with BabylonJS and each ran on their Iphone 16 devices and it ran perfect for them as well.
I even recorded myself running WebGPU - BabylonJS Playground 7.50.0
This video show WORKING GREAT on BabylonJS Version 7.50.0
UNTIL AN UPDATE… Now as of version 7.51.3 even the WebGPU version has the same framerate drop after about 15-20 seconds…
Try it on you devices:
There has gotta be something that changed since version 7.50.0 that is causing some kind of threshold settings for new devices, now even with the WebGPU version
I don’t have an iPhone 16, I could only test with my SE, but I don’t reproduce the problem with this one.
Are you able to test with versions 7.51.0, 7.51.1 and 7.51.2 so that we can narrow down the list of changes to review? You can pass the version to the PG url:
Also @MackeyK24 can you attach a safari debug session to the device to see if memory is stable. No leak, etc…
I do not repro with my 16 pro max either:(
The thing that changed can also be new iOS version as 18.3.1 dropped last week
Well it seems @Deltakosh is right as always.
It seems I had an update to 18.3.1 which also RESET the Feature Flag to enable WebGPU on my phone. So I was falling back to WebGL for the test. Cant wait til WebGPU on IOS does not require the Feature Flags options
While fps drop issue is still present for WebGL, all versions of BabylonJS.
The WebGPU version does not seem to drop the fps. Things are rock solid at 60 fps. I been running for about 30 minutes now. Excellent !
Some of my users have the IPHONE12 which ran the WebGL version at about 40FPS, but rock solid, no drop in FPS after 15-20 seconds. Those same users ran the WebGPU on that same device and now have rock solid 60 fps also with no drops.
So hopefully, Apple dose not do anything to screw up WebGPU… Which is awesome on mobile when running my Babylon Toolkit projects as well
Thank you @Deltakosh and @Evgeni_Popov … You guys rock 
2 Likes