altair icon indicating copy to clipboard operation
altair copied to clipboard

GPU process launch failed: error_code=18

Open Log234 opened this issue 3 years ago • 3 comments

Describe the bug Altair worked fine in version 4.0.9, but after updating to (or installing directly) 4.0.10 or 4.0.11 I see these errors when launching the program from a console, and the program fails to launch. If I would not start the program from the terminal, I would not see any errors, the program would just fail to launch.

PS C:\Users\<some path>
undefined
[4424:0924/101307.032:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.072:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
10:13:07.091 > Checking for update
(node:4424) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
(Use `Altair GraphQL Client --trace-warnings ...` to show where the warning was created)
[4424:0924/101307.126:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.184:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.225:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.258:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
file.. C:\Users\cn4645\AppData\Local\Programs\altair\resources\app.asar\node_modules\altair-static\build\dist\
file.. C:\Users\cn4645\AppData\Local\Programs\altair\resources\app.asar\node_modules\altair-static\build\dist\index.html
[4424:0924/101307.309:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.339:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.362:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.363:FATAL:gpu_data_manager_impl_private.cc(414)] GPU process isn't usable. Goodbye.

To Reproduce Steps to reproduce the behavior:

  1. Update from 4.0.9 to 4.0.10 or 4.0.11, or install either of these versions directly.
  2. Launch the program in Admin mode from the terminal.
  3. See error.

Expected behavior I expected the program to open as usual.

Desktop (please complete the following information):

  • OS: Windows
  • Platform: Desktop app
  • Version: 4.0.10 and 4.0.11

Log234 avatar Sep 24 '21 08:09 Log234

In v4.0.10 the electron version was upgraded to v14. Perhaps there is something related to that affecting your windows application.

imolorhe avatar Oct 14 '21 00:10 imolorhe

This might be related to this electron bug? https://github.com/electron/electron/issues/32074

hal2100 avatar Jan 06 '22 09:01 hal2100

Thanks @hal2100 Looks like that issue is still open so can't action on this issue either.

imolorhe avatar Jan 30 '22 12:01 imolorhe

Is this still an issue? The linked issue is closed as not reproducible?

imolorhe avatar Oct 25 '23 01:10 imolorhe