getting gpu errors in some of my flatpaks
Discord and BitWarden refuse to start. Only started happening in the last month or so.
I rolled back BitWarden to a release in early April and it still did not work.
I am on a dell laptop with a Nvidia gpu. I am on Bazzite latest and using flathub for my flatpaks.
Here is the relevant error from Discord
Discord latest System
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching', current: 1, total: 1 } ]
blackbox: 2024-06-01T18:40:30.217Z 4 ✅ webContents.created web2 ""
blackbox: 2024-06-01T18:40:30.229Z 5 ✅ window.created win2 "Discord"
[5:0601/114054.634927:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=512
(electron) 'gpu-process-crashed event' is deprecated and will be removed. Please use 'child-process-gone event' instead.
child-process-gone! child: GPU (undefined) exitCode: 512
blackbox: 2024-06-01T18:40:54.661Z 6 ❌ child-process-gone {
type: 'GPU',
reason: 'abnormal-exit',
exitCode: 512,
serviceName: 'GPU'
}
notificationScreen.webContentsSend: win is invalid undefined.
blackbox: 2024-06-01T18:40:54.778Z 7 before-quit
2024/06/01 11:40:56 socat[3] W exiting on signal 15
6 Replies
BitWarden
11:33:51.670 › Migrator MoveDdgToStateProviderMigrator (to version 48) should migrate: false - up
LaunchProcess: failed to execvp:
xdg-settings
11:33:54.188 › State version: 60
(node:2) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of null (reading 'null')
at new Menubar (/app/Bitwarden/resources/app.asar/main.js:87606:131)
at MenuMain.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:87662:56)
at Generator.next (<anonymous>)
at fulfilled (/app/Bitwarden/resources/app.asar/main.js:87630:58)
at emitUnhandledRejectionWarning (node:internal/process/promises:200:15)
at processPromiseRejections (node:internal/process/promises:296:13)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(node:2) TypeError: Cannot read properties of null (reading 'null')
at new Menubar (/app/Bitwarden/resources/app.asar/main.js:87606:131)
at MenuMain.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:87662:56)
at Generator.next (<anonymous>)
at fulfilled (/app/Bitwarden/resources/app.asar/main.js:87630:58)
[2:0601/113424.831904:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=512
[2:0601/113456.435622:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=512
11:34:56.504 › TypeError: Object has been destroyed
at WindowMain.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:88849:36)
at Generator.next (<anonymous>)
at /app/Bitwarden/resources/app.asar/main.js:88610:71
at new Promise (<anonymous>)
at window_main_awaiter (/app/Bitwarden/resources/app.asar/main.js:88606:12)
at WindowMain.updateWindowState (/app/Bitwarden/resources/app.asar/main.js:88844:16)
at WindowMain.<anonymous> (/app/Bitwarden/resources/app.asar/main.js:88779:28)
at Generator.next (<anonymous>)
at /app/Bitwarden/resources/app.asar/main.js:88610:71
at new Promise (<anonymous>)
Are you on Wayland or X11? If I use the Wayland session at login (bottom left for KDE and bottom right for Gnome in the login screen) I cannot open discord either.
Wayland.
Try X11 and see if the issue persists
flatpak update usually fix this issue
@yukidream everything is up to date on my computer (at least that is what the discovery center says)
Can confirm it's a wayland issue. Bitwarden and Discord came up no problem when I logged in using Plasma(X11)
Any hints on where to report? A workaround that let's me still use wayland?