GPGPU examples do not work on iPadOS Safari
See original GitHub issueDescription of the problem
These Three.js examples do not run on Safari iPadOS 13.5.1. This could possibly be the case on other iOS environments like iPhones, but I don’t have one to test it out on. It looks like the GPGPU examples don’t run the compute shader and the only warning are these:
THREE.WebGLRenderer: EXT_frag_depth extension not supported.
THREE.WebGLRenderer: WEBGL_draw_buffers extension not supported.
The examples run fine on desktop Safari. At one point, this was due to OES_texture_float
as described in this issue. But, it looks like GPUComputeRenderer.js
handles this check and doesn’t trigger an error message.
Three.js version
- Dev
- r118
- …
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
- Mobile Safari
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Hardware Requirements (graphics card, VR Device, …)
This was found on iPad Pro Gen 2 (~2018 model). Running iPad OS 13.5.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:35 (31 by maintainers)
Top Results From Across the Web
iOS 15: Safari crashes with GPU Process: Canvas Rendering
iOS 15 Safari crashes when GPU Process: Canvas Rendering is turned on. ... Turn on "GPU Process: Canvas Rendering";; Open the example file...
Read more >AlteredQualia on Twitter: "@jonofyi @lossless @grorgwork ...
I'm debugging an issue with GPGPU rendering in #threejs on iPads. ... GPGPU examples do not work on iPadOS Safari · Issue #19837...
Read more >How To Fix Safari Videos Black Screen Bug (iOS 15 & iPadOS ...
Go for Experimental Features. Disable GPU Process: Media! Fact: Does this fix work for you too? If not, try the other workarounds described ......
Read more >The most common Apple iPad problems, and how to fix them
The Apple iPad is powerful, but it can still run into glitches or issues. Here's our troubleshooting guide on the most common problems...
Read more >Disappearing Safari Tabs on iPhone or iPad? How to Find Them
The phenomenon of disappearing tabs in Safari is one such problem -– reports ... On iPadOS, for example, if you press and hold...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this would be mostly @greggman code. Gregg, do you have any plan regarding detection, or do you mind if we package most o those functions in a single lib?
Further reference, this WebGL Fluid Simulation (not based on Three.js) works: https://paveldogreat.github.io/WebGL-Fluid-Simulation/
I’m going to dig into what might be different on how he’s doing GPGPU style computation to work on iPads.