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

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?