StartUp-Error on Ubuntu: "GPU process isn't usable. Goodbye."

Q: Date/Time this occurred (Provide your time zone also)
A: Just now, 11 AM UTC

Q: DevKinsta Version
A: 2.3.0

Q: OS Version
A: Ubuntu 18.04.6 LTS

Q: Docker Desktop Version
A: Docker version 20.10.9, build c2ea9bc

Q: Were any error codes or messages observed? If so, what were they?
A: Last error message from log (see full log below):

[...:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap

Q: Detailed Description of the Problem
A: I used to start dev-kinsta as sudo with sudo dev-kinsta --no-sandbox. With the latest update, I’m not longer able to do so. Starting without sudo and the --no-sandbox also does not work, but it freezes with:

[...:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.

This is the full error log from trying to run sudo dev-kinsta --no-sandbox --enable-logging (timestamps are in UTC+01:00, if that should be relevant?):

[bugsnag] Loaded!
[7972:1111/122008.601317:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7972:1111/122008.601394:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
No protocol specified
[7972:1111/122008.625932:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.625955:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 1 time(s)
No protocol specified
[7972:1111/122008.631076:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.631097:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 2 time(s)
No protocol specified
[7972:1111/122008.637638:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.637672:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 3 time(s)
No protocol specified
[7972:1111/122008.644145:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.644179:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 4 time(s)
No protocol specified
[7972:1111/122008.651617:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.651635:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 5 time(s)
No protocol specified
[7972:1111/122008.657950:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.657971:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 6 time(s)
No protocol specified
[7972:1111/122008.662279:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.662309:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 7 time(s)
[7972:1111/122008.695564:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
No protocol specified
[7972:1111/122008.746933:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.746969:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 8 time(s)
No protocol specified
[7972:1111/122008.796652:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[7972:1111/122008.796709:WARNING:gpu_process_host.cc(1270)] The GPU process has crashed 9 time(s)
[7972:1111/122008.796736:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap

While no solution is available, could you provide a download link for an older dev-kinsta version? I’m not quite sure, what version I had installed, but I think it was 2.2.0 or 2.1.0.

Thanks!

Welcome back @rafu ! I’m sorry for the trouble there. My team and I haven’t been able to reproduce this yet. Do you have the project folder inside root or under home? Depending on where it’s located, you may or may not want to be using sudo here. Our recommendation here is running the application as a regular application and not root. If you’re able to, try killing all processes and re-installing it as a regular application under your own home directory.

Hi Michael!
My projects are under the home dir in a custom location. I configured the path inside the DevKinsta gui, that has never been a problem.
When I first started using DevKinsta, I quickly switched to run it as sudo, because otherwise it was not able to execute docker (if i recall correctly).
But as I said, the new version now also doesn’t run without sudo. I suspect a graphics-card or drivers problem. Is there a way, I can produce a more complete log or so, that could point you into the right direction? Maybe the error is electron-related? If you could provide me some source-code or the dependency-versions you are using, I could try compiling it on my maschine and see, if that provides additional info?

Thanks @rafu . We’ll take a look at this further and update you shortly. You shouldn’t need to run DevKinsta in sudo though for Docker to run.