5 ms·
After briefly testing on Mac OS: - Chrome ~60fps - Firefox ~25fps + fans spinning up - Safari (hangs on loading screen) Many of the WebGL demos I try in Saf
by kevinb7 9y ago
After briefly testing on Mac OS:
- Chrome ~60fps
- Firefox ~25fps + fans spinning up
- Safari (hangs on loading screen)
Many of the WebGL demos I try in Safari just don't work, but the demo doesn't provide any kind of error message other than in the console. I have two wishes:
- Apple would get their act together with WebGL support
- demos would handle WebGL errors more gracefully
- graedus 9y agoI'll add my experience with the "PBR Glossy" demo: Windows 8.1 Chrome: 144fps Firefox: 144fps IE11: 72fps Not sure why IE11 is getting exactly half the framerate of the other two, which are maxing at my monitor's refresh rate. At least none of them hanged or crashed.
- moron4hire 9y agorequestAnimationFrame is designed to animate on whole frame boundaries for the monitor on which it is running, to avoid screen tearing. So if IE can't do 144hz, the next option is 72hz. You'll similar see 60hz displays running at 60, 30, or 15 FPS.
- DiThi 9y agoThe next one after 30 is 20 (one frame every 3 syncs).
- moron4hire 9y agoIf we want to be picky about it, the next one after 30 is "shut the app down, tear it apart, and rewrite from scratch. Anything less than 30 is completely unacceptable."
- DiThi 9y agoIt depends on the application. In one of my jobs for an educative platform I automatically maintained it over 15 but under or at 30 (if it was over 30, it improved quality).
- pfranz 9y agoI'm using a 6yo macbook pro and have a different experience. My daily-driver, Chrome, doesn't support WebGL. Safari generally does.
- gcp 9y agoI guess SwiftShader fallbacks are Windows only huh.
- seehafer 9y agoInteresting, I get ~28fps on Safari w/o measurable increase in CPU utilization On a brand new MBP, though. Maybe that has an effect.
- jacobolus 9y agoSafari on a new 13" MBP gets ~50 fps here on the Sponza demo and maxes out at 60 fps on the PBR demo, without any trouble, and with plenty of other stuff running on my laptop simultaneously. Both seem to hang at load if I turn on Safari’s experimental support for WebGL 2.0 though, so that might be what was happening to kevinb7.
- micael_dias 9y ago60fps on Chrome for Android
- chuckdries 9y agoI'm getting buttery smooth 60fps on chrome, safari, and firefox. I'm on MacOS 10.12.6 and the most up-to-date mainstream release of each browser Which version of MacOS are you on?
- phatbyte 9y agoMac OS here and I'm getting 60fps in FF, Chrome and Safari
- p0ppe 9y agoGot it running in Safari with no problems. Impressive considering I tried it on a mid 2011 MBA.
- abritinthebay 9y agoFor the PBR Glossy demo: Safari - 60fps, no fans. Chrome - 59fps, no fans but notably hotter and more CPU usage. Seems like Apple has their act together and the errors are somehow on your end?
- kevinb7 9y agoI had experimental WebGL 2 support turned on. Turning it off, fixed the problem.