electron: [Bug]: GPU process launch failed when running from network share

Preflight Checklist

Electron Version

29.1.5

What operating system are you using?

Windows

Operating System Version

Windows 10 22H2

What arch are you using?

x64

Last Known Working Electron version

13.6.9

Expected Behavior

The GPU process launch error should not appear and the electron gui should open.

Actual Behavior

When I run an electron program after version 13.6.9 from a mapped network share my electron app doesn’t open and I get this error:

> electronversiontest@1.0.0 start
> electron .

[9796:1218/171920.286:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.442:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.489:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.520:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.552:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.567:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.657:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.677:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.677:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=18
[9796:1218/171920.677:FATAL:gpu_data_manager_impl_private.cc(440)] GPU process isn't usable. Goodbye.

The error does not appear if I run the exact same project from my local system drive (C:).

Testcase Gist URL

No response

Additional Information

The error does not appear when running electron with the --no-sandbox flag and the electron app opens.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 12
  • Comments: 15 (1 by maintainers)

Most upvoted comments

This affects us, too. --no-sandbox is not an option for production environments.

Currently we cannot build a portable client with an electron version above 13.6.9 but on the other hand some corporate firewalls start blocking clients with old versions of chromium (like in electron 13.6.9 which includes chromium 91.0.4472.164, released July 2021).

So any improvement on this issue would be highly appreceated.

It’s failed launch for me please get it fixed i have tried multiple times to get it to work.