PSI: Issues with WebGL
See original GitHub issueHi, my website can never be tested I always receive an error. I think I could track it down to one of my packages which uses WebGL + shaders.
There’s a tiny example static website as a showcase for the metaballs-js package.
Reproduction:
- Run a test for
https://mrtoph.github.io/metaballs-js/
- See it fail with
Error: Backend Error
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:14 (5 by maintainers)
Top Results From Across the Web
WebGL Troubleshooting - Markforged Support
To troubleshoot WebGL issues: Go to get.webgl.org to check if you have WebGL enabled in your browser. If it is enabled, you should...
Read more >WebGL not found in latest version of chrome? - Super User
I'm running the latest version of Chrome (96.0.4664.45 (Official Build) (64-bit)). A number of tutorials suggest going to chrome://flags.
Read more >Optimizing WebGL — Emscripten 3.1.26-git (dev) documentation
Transferring memory between the CPU and the GPU is a common source of GL performance issues. This is because creating new GL resources...
Read more >WebGL Unavailable after chrome updated - Stack Overflow
I had the same problem and solved it. I Just went to settings, advanced settings and enabled hardware acceleration(at the bottom of the ......
Read more >Three.js auf Twitter: „@Tschoartschi This is the real problem: https://t ...
PSA: Google Pagespeed currently runs WebGL in software mode. Tweet zitieren ... PSI: Issues with WebGL · Issue #8557 · GoogleChrome/lighthouse.
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
I am working on a project which is showing the same issue. Pagespeed is showing either ‘Backend error’ or metrics ‘First CPU Idle’ and ‘Main thread work’ are going crazy. It is using THREE.js. If <canvas> webgl renderer element is not appended into the DOM, these metrics are around 10-30s (here and after “normal scores” 😜 )
I have tested random sites from awwwards claiming to use three.js (https://www.awwwards.com/websites/three-js/)
Here are the scores as of July 2019: https://docs.google.com/spreadsheets/d/1Z9g0pLB3Y-2xdfZXXNtpcUrcjI-NMl8JrJKnK2mXhCU/edit?usp=sharing
2 of 22 got ‘k.o.’ in their desktop score - these are ‘Backend error’ Another 5 of 22 have oddly repeating have 133-137 seconds of first CPU idle / main thread, which looks like a bare timeout value.
It is possible to postpone embedding of <canvas> into the DOM for 1-2 seconds after window.load and get a “normal” score.
Lighthouse is crashing with similar frequency as pagespeed insights.
unfortunately PSI has to run WebGL in software.
should we dedupe this to https://github.com/GoogleChrome/lighthouse/issues/10334#issuecomment-591127593