electron: v3.0.0 fails to create a working renderer on Linux

  • Output of node_modules/.bin/electron --version: v3.0.0
  • Operating System (Platform and Version): Debian GNU/Linux 9.5 x86_64
  • Output of node_modules/.bin/electron --version on last known working Electron version (if applicable): v2.0.10

Expected Behavior My previously working application, not concerned by any of the breaking changes, still works fine after upgrading Electron to v3.

Actual behavior The renderer window shows a frozen view of what was underneath it when it opened. Hitting the usual keyboard shortcut to open the devtools doesn’t work. Rolling back to the latest v2.x and everything works fine again.

To Reproduce Simply launch electron v3.0 without any arguments (or -d), even the default bundled app doesn’t work.

Screenshots electron_bug On the left is the working default app on v2. On the right is v3. I blurred the window for privacy reasons, the point is it’s showing a frozen view of my desktop.


Additional Information Debian 9.5 x86_64. Kernel is 4.9.0-8-amd64.

Integrated GPU is Intel HD Graphics 4600 on an i5-4200H Haswell chip. 2nd GPU is Nvidia GeForce 850M.

Intel driver: xserver-xorg-video-intel 2:2.99.917+git20161206-1 amd64 (latest in stretch) aka default xorg handler for integrated GPUs Nvidia driver: nvidia-driver 384.130-1 amd64 (also latest in stretch) aka latest closed source driver from nvidia

Side note: I’m using bumblebee to handle the Optimus logic and switching between GPUs.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Try running the app without any connection to the tty (./electron (args) < /dev/null >/dev/null 2>/dev/null). If this helps, then see the above PR.