WSL | Electron 5.0 is producing gpu_data_manager_impl_private display compositor crashing
See original GitHub issueCurrent behavior:
WSL | Electron 5.0 is producing gpu_data_manager_impl_private
display compositor crashing. Not able to do a cypress run
or open
due to this blocking issue. This was never a problem till I just upgraded to Cypress 3.5
Desired behavior:
Works okay and normal like how it did before the upgrade to 3.4
Steps to reproduce: (app code and test code)
Setup: WSL (Ubuntu 18.04, Win10, Cypress 3.4)
- Upgrade to Cypress 3.5
- After upgrade run the same working command that worked for me before:
DEBUG=cypress* ./node_modules/.bin/cypress openconfigFile=dev
- I get the following error
I’m guessing this is related to Electron 5.0 upgrade that is part of 3.5 upgrade
Versions
Setup: WSL (Ubuntu 18.04, Win10, Cypress 3.4)
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Bug #1944468 “Electron applications all crash upon launch”
907198:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye. Unexpected crash report id length. Failed to get crash ...
Read more >Sdkm crash fatal error - Drivers - NVIDIA Developer Forums
i get this error: FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye. tried: sudo apt update
Read more >Building an Electron App in Windows with WSL 2 and Ubuntu
I'll show you how to use that environment to build cross-platform apps with Ubuntu 20.04, Electron, and Vue. Building an Electron App in...
Read more >IronPortable_49.0.2600.0.paf.exe - Hybrid Analysis
Attention: this analysis ran with the legacy Usermode Monitor. It is highly recommended to use the Kernelmode Monitor.
Read more >Question - Linux Unity Hub AppImage fails on startup
[13727:0227/220119.343559:FATAL:gpu_data_manager_impl_private.cc(892)] The display compositor is frequently crashing. Goodbye.
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 Free
Top 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
Looks like some users have fixed it by passing a flag to Electron: https://github.com/GoogleChrome/puppeteer/issues/3774#issuecomment-480210268
@adomyaty55foundry You can try patching your
cypress
to see if this fixes it. Open./node_modules/cypress/lib/exec/spawn.js
, and right above this line:Add this line:
@flotwig I’m happy to say WSL2 works PERFECTLY with hardware accel. Go microsoft! I took the risk and updated my system to use WSL2 instead
This issue is solved by using WSL2 and by the way it is fast and amazingly less buggy.