Safari 12 crashes with powerPreference set to high-performance
See original GitHub issueUnfortunately I’ve just found out that safari 12 crashes when the powerPreference
attribute is set to 'high-performance'
in the canvas.getContext('webgl', attributes)
method.
I’m not sure how long this has been the case.
Previously I made the pull request to include this attribute as it provides more accurate results for devices with multiple GPUs.
I guess a solution is to remove that attribute, or add a check for safari?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Safari 12 crashes with powerPreference set to high-performance
Unfortunately I've just found out that safari 12 crashes when the powerPreference attribute is set to 'high-performance' in the canvas.
Read more >Safari crashes while trying to open in 12.1 M1 Mini
I have an Apple Silicon (M1) Mini. Since updating to Monterrey 12.1 Safari crashes while loading (will not open).
Read more >1283929 - Specifying WebGL powerPreference as "high ...
This issue goes away when the "powerPreference" option for the getContext call is removed, or set to "low-power" System is a MacBook Pro...
Read more >iOS safari crashing (a problem repeatedly occured)
I saw this same error message in Safari when I tried to access a webgl context in "high-performance" mode (using the powerPreference ......
Read more >How to stop Safari crashing and freezing - Setapp
Here's how to find if any of your extensions are causing Safari crashing: Go to Safari's Preferences (⌘ + ,) Navigate to Extensions....
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
Yeah good call, my MBP does indeed have two GPUs.
That branch fixes the issue though! Nice one!
Published the workaround in
detect-gpu@1.1.3
😃