Ubuntu 22.04 Issues

Hi. I was foolish and upgraded both my OS and Snapmaker Luban without a checkpoint in between.

I was running Ubuntu 21.10 with Luban 4.2.3 without issues. I’ve upgraded to Ubuntu 22.04 with Luban 4.3.1 and now Luban won’t start. On the console I see:

err ERR_INVALID_URL (-300) loading ''
[2072:0618/173828.418973:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)
2022-06-19T00:38:28.904Z - info init Loading configuration from "/home/ddoole/.snapmaker-luban.json"
2022-06-19T00:38:28.910Z - info server:DataStorage Clearing folder /home/ddoole/.config/snapmaker-luban/Tmp
2022-06-19T00:38:28.911Z - info server:DataStorage Removing files: 
2022-06-19T00:38:28.911Z - info server:DataStorage Clearing folder /home/ddoole/.config/snapmaker-luban/Sessions
2022-06-19T00:38:28.911Z - info server:DataStorage Removing files: cQw_tipgTCZwwLVg4XYjAczN3_RUszK_.json

I dropped back to Luban 4.2.3 and it won’t start either, but I get a slightly different report:

err ERR_INVALID_URL (-300) loading ''
2022-06-19T00:49:04.584Z - info init Loading configuration from "/home/ddoole/.snapmaker-luban.json"
2022-06-19T00:49:04.586Z - info server:DataStorage Clearing folder /home/ddoole/.config/snapmaker-luban/Tmp
2022-06-19T00:49:04.587Z - info server:DataStorage Removing files: 
2022-06-19T00:49:04.587Z - info server:DataStorage Clearing folder /home/ddoole/.config/snapmaker-luban/Sessions
2022-06-19T00:49:04.587Z - info server:DataStorage Removing files: 
2022-06-19T00:49:04.665Z - info init Starting the server at http://127.0.0.1:37293
Clearing folder /home/ddoole/.config/snapmaker-luban/Tmp
Removing files: 
Clearing folder /home/ddoole/.config/snapmaker-luban/Sessions
Removing files: 
(node:3586) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
2022-06-19T00:49:04.722Z - info init Starting the server at http://127.0.1.1:37293
[3586:0618/174904.927395:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

Any suggestions? What can I do or provide to help resolve this?

The “GPU process isn’t usable” error can be thrown up by a permissions/sandboxing issue with electron on Linux (electron’s security model in general seems to have been created by a committee of drunken orangutans). Try passing flag(s) like “–disable-gpu-sandbox”, “–no-sandbox” and/or “–in-process-gpu” and see if that fixes things.

References: Bug 1191012 – Electron apps crashes when using NVIDIA GPU, [Arch Linux] GPU process isn't usable · Issue #23608 · atom/atom · GitHub, "GPU process isn't usable. Goodbye." When running the appimage · Issue #2675 · marktext/marktext · GitHub

(I haven’t personally seen any issues yet, but I’ve also been sticking with Luban 3.7.0 because it doesn’t insist on being run SUID because it doesn’t like my non-Google-approved™ custom kernel config.)

1 Like

Thanks @ElloryJaye. Using any one of those flags got it up and running again.

1 Like

Fantastic the “-disable-gpu-sandbox” flag worked great. Thank you so much. I was stuck for months.