question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WSL | Electron 5.0 is producing gpu_data_manager_impl_private display compositor crashing

See original GitHub issue

Current 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)

  1. Upgrade to Cypress 3.5
  2. After upgrade run the same working command that worked for me before: DEBUG=cypress* ./node_modules/.bin/cypress openconfigFile=dev
  3. I get the following error 2019-10-29_1530_001

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:closed
  • Created 4 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
flotwigcommented, Oct 29, 2019

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:

const child = cp.spawn(executable, electronArgs, stdioOptions)

Add this line:

electronArgs.push('--disable-features=VizDisplayCompositor')
2reactions
adomyaty55foundrycommented, Nov 20, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found