-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
WebGL visualisations not rendering on iOS #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It might be that we are passing incompatible parameters to the webgl context creation. This is hard to test without access to an iOS device. I'll see if I can scrounge one up or borrow something to test. |
This is the error I'm able to trigger from Safari's developer console (iPhone 6 Plus, iOS 9.2.1):
Though raven.js is for Sentry, no? |
I have the same issue in both Chrome and Safari on iPhone 6 iOS 9.3. Funny thing is visiting http://get.webgl.org in the error message shows a spinning cube just fine. |
Has there been any progress on this issue? I'd love to have a working 3D scatter plot on iOS but currently get the same message as above. |
I second the request for progress on this issue. This issue is a blocker for me using 3D charts. |
Same issue for Firefox running on Android (Samsung Galaxy S6) |
Ok, part of the issue, at least for scatter3d, appears to be in gl-fbo ↑ |
Seems that iOS just does not allow rendering to floating point textures. It should be fixed here. |
It also is a big drawback for me as I use an Ipad often for data visualisation presentations. Any updates on this? |
This should fix 3d-related issues. |
Surface Plot under iOS 10 still prints "Webgl is not supported by your browser" using plotly.js version 1.24.0. |
@bg23 can you share an example? |
@etpinard I'm also getting this error, e.g. on the plotly example 3d surface plots: https://plot.ly/python/3d-surface-plots/ Screenshot below from an iPad Mini 4 running iOS 10.2.1, taken just now. |
@etpinard I fixed that only for mesh3d, so complaints are valid. Can look at other cases. |
The javascript example at "https://plot.ly/javascript/3d-surface-plots/" |
I still experience this bug in both iOS Chrome (58.0.3029.83) and Safari on 13" iPad Pro. |
I wonder why this bug is closed? I definitely see the same error messages in Safari under iOS (i.e. here). |
@ischurov @man-bear-pig #1411 (released in Looking at the reports in detail, the problems appear to only concern |
Another argument for 🔪 the current unicode to texture algo cc @dfcreative |
Even in the iOS simulator using iOS 10.3 + iPhone 5, it shows ? on the first load and proper glyphs on the second. Is it conceivably possible that it's a font loading issue? Maybe solvable by this sort of thing? Not sure why question marks would be the missing font fallback though. |
On iPad with iOS and Safari 10.3: Scatter and Mesh fail with Webgl not supported.
Hue value is OK, but characters are shown as question marks.
Von meinem iPad gesendet
… Am 17.07.2017 um 15:56 schrieb Étienne Tétreault-Pinard ***@***.***>:
@ischurov @man-bear-pig #1411 (released in 1.24.0) did fix the problem for some iOS distro, but looks like not all. I'll gladly reopen this issue.
Looking at the reports in detail, the problems appear to only concern surface traces. Could anyone here be interested in testing our other WebGL trace types to help us narrow down the problem? For example,
https://plot.ly/javascript/3d-scatter-plots/
https://plot.ly/javascript/3d-mesh/
https://plot.ly/~chris/17389.embed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@bg23 can you go to http://webglreport.com/ to see if your iPad's browser does support WebGL? |
It supports Webgl 1, but not Webgl 2. All Webgl apps I tried were working,except for plotly.js surface plot.
Von meinem iPad gesendet
… Am 17.07.2017 um 22:46 schrieb Étienne Tétreault-Pinard ***@***.***>:
@bg23 can you go to http://webglreport.com/ to see if your iPad's browser does support WebGL?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Fixed for myself locally, see my comment to #1411. |
The reason for this bug on iPad is the incomplete iPad detection for mobiles: |
surface plots still do not work on ipads. Even a partial solution with limited touch handling would be very helphul. |
I've also got an issue with surface plots not working on ipad. |
It would be helpful if people reporting issues could report the specific device and trace type where the issues are observed. From what I can tell, the subject of this issue (i.e. "WebGL on iOS") is far too broad. As of today, my testing shows that:
Are there any instances of iPhones where certain trace types do not work, or iPads where trace types other than the ones listed above do not work? |
For me the issue is surface (and heatmapgl iirc) on iPad 2018
…On Sat, 15 Sep 2018, 8:18 pm Nicolas Kruchten, ***@***.***> wrote:
It would be helpful if people reporting issues could report the specific
*device* and *trace type* where the issues are observed.
From what I can tell, the subject of this issue (i.e. "iOS") is far too
broad. As of today, my testing shows that:
- on an iPhone 7 (model number A1778): all trace types work
- on an iPad Air 2 (model number A1566): all trace types work except
scatter3d, mesh3d, surface, cone, and streamtube
Are there any instances of iPhones where certain trace types do not work,
or iPads where trace types other than the ones listed above do not work?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAduXcv61OizFRw208yfhV-aDLeLpeI7ks5ubVJzgaJpZM4Hh1cQ>
.
|
Thanks @ShaneHudson! Are you able to use scatter3d or any of the others I listed as broken on my iPad? |
Connecting my iPad up to my Mac with developer tools enabled and trying to load a The error seems to come from in here somewhere: https://github.com/stackgl/gl-fbo |
@dy I see you got something merged in some upstream repo... what are the next steps here? any estimate of when I could see a PR into plotly.js that I could test? I'm ready whenever! |
I've tried opening a few WebGL-powered visualisations (e.g. wavenumbers) on iOS devices in Safari but am greeted with "Webgl is not supported by your browser - visit http://get.webgl.org for more info". However, WebGL is well-supported in Safari and is able to render graphics from other libraries (e.g. three.js).
I'm not terribly familiar with the project, but I'm poking around how GL context is determined and when
showNoWebGlMsg()
is fired in /src/plots/gl3d/scene.js. Am I barking up the right tree, or totally off-base?The text was updated successfully, but these errors were encountered: