-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Parallel coordinates not working when Chrome hardware acceleration disabled #3295
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 turns out the minified version of regl does different error handling than the development version. Here's the code in the dev version that we relied on to throw an error: And here's the equivalent in "regl.unchecked.js" that seems to be what gets compressed to the minified one (which is used even in the un-minified built files Both of these end up here: plotly.js/src/lib/prepare_regl.js Lines 38 to 50 in ed9ad69
@etpinard do you see any issue with simply adding |
We ran into this same problem running plotly in chromium. Here are a few more data-points: The problem reliably happens in Chrome 75.0.3770.100 (Official Build) (64-bit) windows or mac - when hardware acceleration is off. Chrome appears to not have a software renderer:
Here is a quick way to test if WebGL is available. If you turn on hardware acceleration in chrome it works, if you turn it off, it says WebGL is not available:
You can toggle hardware acceleration in chrome by navigating to this url in chrome:
Here is a quick code-pen that makes reproducing the bug easy: |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
Uh oh!
There was an error while loading. Please reload this page.
Parallel coordinates not rendering with exception:
System details:
How to reproduce?
chrome://settings/?search=Use+hardware+acceleration+when+available
and switch it off.might be related to issue: #2582 (dont know if you prefer to reopen it or open a new one)
The text was updated successfully, but these errors were encountered: