Electron apps fail to launch: FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable.

  • OpenSUSE Tumbleweed
  • Kernel 5.14.5-1-default (5.14.5-1.3 | x86_64 | Main Repository (OSS))
  • x11-video-nvidiaG05 470.74-44.1
  • nvidia-gfxG05-kmp-default 470.74_k5.14.2_1-44.1
  • nodejs-electron 13.4.0-56.1 (network:im:signal)
  • signal-desktop 5.17.2-1.2 (network:im:signal)
  • Ledger Live 2.33.1 (https://github.com/LedgerHQ/ledger-live-desktop/issues/4253)

The issue happening just about today (I installed a huge tumbleweed update of several gigabytes, so I have no clue what might have caused it):

If I start an electron app, like signal-desktop or ledger live, they crash with the same message: FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn’t usable.

Ledger Live:


❯./ledger-live-desktop-latest-linux-x86_64.AppImage
Ledger Live 2.33.1 
[7465:0923/232305.167516:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye. 
[1]    7465 trace trap (core dumped)  ./ledger-live-desktop-latest-linux-x86_64.AppImage 

Signal Desktop:


❯signal-desktop
NODE_ENV production 
NODE_CONFIG_DIR /usr/lib64/signal-desktop/resources/app.asar/config 
NODE_CONFIG {} 
ALLOW_CONFIG_MUTATIONS undefined 
HOSTNAME felicity 
NODE_APP_INSTANCE undefined 
SUPPRESS_NO_CONFIG_WARNING undefined 
SIGNAL_ENABLE_HTTP undefined 
userData: /home/leonie/.config/Signal 
config/get: Successfully read user config file 
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' } 
x-attr dependency did not load successfully 
config/get: Successfully read ephemeral config file 
making app single instance 
updateSchema: 
  Current user_version: 40; 
  Most recent db schema: 40; 
  SQLite version: 3.34.1; 
  SQLCipher version: 4.4.3 community; 
  (deprecated) schema_version: 199; 

{"level":30,"time":"2021-09-23T21:49:12.663Z","pid":8516,"hostname":"felicity","msg":"app ready"} 
{"level":30,"time":"2021-09-23T21:49:12.663Z","pid":8516,"hostname":"felicity","msg":"starting version 5.17.2"} 
{"level":30,"time":"2021-09-23T21:49:12.663Z","pid":8516,"hostname":"felicity","msg":"media access status"} 
{"level":30,"time":"2021-09-23T21:49:12.685Z","pid":8516,"hostname":"felicity","msg":"got fast spellcheck setting true"} 
{"level":30,"time":"2021-09-23T21:49:12.686Z","pid":8516,"hostname":"felicity","msg":"getSystemTraySetting had no flags and did no DB lookups. Returning
 DoNotUseSystemTray"} 
{"level":30,"time":"2021-09-23T21:49:12.686Z","pid":8516,"hostname":"felicity","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":1698,
\"height\":903,\"minWidth\":680,\"minHeight\":550,\"autoHideMenuBar\":false,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#3a76f0\",\"webPreferenc
es\":{\"devTools\":false,\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"enableRemoteModule\":true,\"preload\":
\"/usr/lib64/signal-desktop/resources/app.asar/preload.bundle.js\",\"nativeWindowOpen\":true,\"spellcheck\":true,\"backgroundThrottling\":false,\"enable
PreferredSizeMode\":true},\"icon\":\"/usr/lib64/signal-desktop/resources/app.asar/images/signal-logo-desktop-linux.png\",\"x\":340,\"y\":382}"} 
{"level":30,"time":"2021-09-23T21:49:12.723Z","pid":8516,"hostname":"felicity","msg":"spellcheck: user locale: de-DE"} 
{"level":30,"time":"2021-09-23T21:49:12.723Z","pid":8516,"hostname":"felicity","msg":"spellcheck: available spellchecker languages:  \"af\",\"bg\",\"ca
\",\"cs\",\"cy\",\"da\",\"de\",\"de-DE\",\"el\",\"en-AU\",\"en-CA\",\"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es-MX
\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"fr-FR\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\"id\",\"it\",\"it-IT\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",
\"pt\",\"pt-BR\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\"vi\"]"} 
{"level":30,"time":"2021-09-23T21:49:12.723Z","pid":8516,"hostname":"felicity","msg":"spellcheck: setting languages to:  \"de-DE\",\"de\"]"} 
{"level":30,"time":"2021-09-23T21:49:12.776Z","pid":8516,"hostname":"felicity","msg":"got fast spellcheck setting true"} 
{"level":30,"time":"2021-09-23T21:49:12.780Z","pid":8516,"hostname":"felicity","msg":"System tray service: created"} 
{"level":30,"time":"2021-09-23T21:49:12.780Z","pid":8516,"hostname":"felicity","msg":"System tray service: updating main window. Previously, there was n
ot a window, and now there is"} 
{"level":30,"time":"2021-09-23T21:49:12.780Z","pid":8516,"hostname":"felicity","msg":"System tray service: rendering no tray"} 
{"level":30,"time":"2021-09-23T21:49:12.780Z","pid":8516,"hostname":"felicity","msg":"Begin ensuring permissions"} 
{"level":30,"time":"2021-09-23T21:49:12.781Z","pid":8516,"hostname":"felicity","msg":"Ensuring file permissions for 4 files"} 
{"level":30,"time":"2021-09-23T21:49:12.782Z","pid":8516,"hostname":"felicity","msg":"Finish ensuring permissions in 2ms"} 
[8516:0923/234912.995830:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye. 
[1]    8516 trace trap (core dumped)  signal-desktop 

My impression is that this might be an electron bug.

  • glxgears works well
  • glxinfo: https://paste.opensuse.org/87740377
  • KWin compositing works well (with transparency and wobbly windows and all that.
  • I can run games from Steam just fine. These definitely use GPU.

Does anyone have a clue what I can do to figure this out and report a bug at the right software project?

I noticed I was using nodejs-electron from a special Signal repo.

❯ zypper se -s electron
Repository-Daten werden geladen…
Installierte Pakete werden gelesen…

S | Name | Type | Version | Arch | Repository
—±----------------±-----------±------------±-------±---------------------
i+ | nodejs-electron | Paket | 13.4.0-56.1 | x86_64 | network:im:signal
v | nodejs-electron | Paket | 13.1.8-1.1 | x86_64 | Main Repository (OSS)
v | nodejs-electron | Paket | 13.1.8-1.1 | x86_64 | openSUSE:Tumbleweed
| nodejs-electron | Quellpaket | 13.4.0-56.1 | noarch | network:im:signal

However, after installing the Main Repo’s nodejs-electron (zypper in --oldpackage nodejs-electron=13.1.8) the issue is still exactly the same (both with signal-desktop and Ledger Live).

The crash happens inside chromium code: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/content/browser/gpu/gpu_data_manager_impl_private.cc#415 - so it must have to do with electron.

Some more tracing / debug output:

(Thanks https://www.reddit.com/r/electronjs/comments/p9wnpl/help_with_error_gpu_process_isnt_usable_goodbye/)

❯ ELECTRON_ENABLE_STACK_DUMPING=true ELECTRON_DEBUG_NOTIFICATIONS=true ELECTRON_ENABLE_LOGGING=true ./ledger-live-desktop-latest-linux-x86_64.AppImage
Ledger Live 2.33.1
[16701:0924/002622.986967:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002622.986994:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 1 time(s)
[16701:0924/002623.130764:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.130777:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 2 time(s)
[16701:0924/002623.228051:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.228063:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 3 time(s)
[16782:0924/002623.249893:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for swiftshader
[16782:0924/002623.250010:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[16701:0924/002623.257485:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.257510:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 4 time(s)
[16786:0924/002623.265308:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for swiftshader
[16786:0924/002623.265413:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[16701:0924/002623.272693:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.272704:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 5 time(s)
[16790:0924/002623.280597:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for swiftshader
[16790:0924/002623.280697:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[16701:0924/002623.287989:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.288001:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 6 time(s)
[16794:0924/002623.291476:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for disabled
[16794:0924/002623.291559:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[16701:0924/002623.294526:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.294538:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 7 time(s)
[16798:0924/002623.297698:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for disabled
[16798:0924/002623.297765:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[16701:0924/002623.300603:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.300612:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 8 time(s)
[16802:0924/002623.303729:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for disabled
[16802:0924/002623.303793:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[16701:0924/002623.306489:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[16701:0924/002623.306501:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 9 time(s)
[16701:0924/002623.306507:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn’t usable. Goodbye.
[1] 16701 trace trap (core dumped) ELECTRON_ENABLE_STACK_DUMPING=true ELECTRON_DEBUG_NOTIFICATIONS=true =true

Note:
I can run chromium and webgl demos. The issue seems to be absolutely electron-specific. I doubt the debug output “speaks the truth”; rather maybe it does not have permission to use the GPU or something? I have little experience with electron.

Edit:
Yes, the apps do run with “–no-sandbox”!
Is the sandbox configurable?

Ubuntu says, this is due to the new glibc:

https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1944468
https://github.com/microsoft/vscode/issues/132609
https://github.com/microsoft/vscode/issues/133593

Electron PR:
https://github.com/electron/electron/pull/31091
Merged 2h ago.

  • Fixed on electron 14
  • To be backported to electron 13 and 12

Merged for electron 13: https://github.com/electron/electron/commit/993ecb5bdd5c57024c8718ca6203a8f924d6d574

Okay, thanks Labyrinth. I assume we will be getting this in an update soon. I assume discord is an electron app, because I am getting this error with it.

I ran into what I guess is another bug as I could not get the browser version get the correct audio output in firefox, but it worked fine in vivaldi. But, I guess it doesn’t matter.

I lost both Mattermost and Slack when I updated to the 20210921 snapshot on 22 Sep. :frowning: I’m glad it wasn’t just me and that it’s a known issue!

Same here, I lost Slack, Polkadot wallet (Appimage). Some gnome extensions broke with the update as well.
I might just restore the previous snapshot and try to update again in a month or so.

Hi
There was an update to Slack, all good here, else add the --disable-gpu-sandbox option. Hmmm all my extensions are working…

Thanks, that is a great tip! The Polkadot JS AppImage can run with --disable-gpu-sandbox or if I switch to the intel drivers (it doesn’t work with the nvidia ones).
Also Slack now works but I had to update it to 4.20.0 (I was on 4.8.0).
The Gnome extensions now seem to work but most of them now just show as OUTDATED (e.g. Dash To Dock, OpenWeather…). I guess I’ll have to wait for a few updates there as well.

Thanks for the help.

Hi
Have you checked the extensions updated? Mine all working fine here, run gnome-extensions-app to see if updates available and/or enabled. You might also need to logout/login after updating.

Yep I did that. I got upgrades for most of them now anyway, thanks!

i think o got hit by something similar to this, all electron apps showing rendering issues, using tumbleweed with kde wayland.

2 year old thread. You need to start you own!!!

1 Like