Luban icon indicating copy to clipboard operation
Luban copied to clipboard

Bug: luban stopped working when I upgraded to Ubuntu/Pop OS 22.04 LTS

Open arunbatchu opened this issue 3 years ago • 8 comments

Hi, none of the latest ( I tried through January 2022 ) .deb distros seem to work on the latest 22.04 LTS PopOS ( Ubuntu ) OS. Installs OK, but does not run. What can I do to provide more info?

arunbatchu avatar Apr 26 '22 21:04 arunbatchu

2022-04-26T23:59:56.509Z - info init Starting the server at http://127.0.1.1:42795 [6290:0426/185956.593748:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye. Trace/breakpoint trap (core dumped)

Could this be related to the Wayland vs. x.org choices when launching 22.04 ?

arunbatchu avatar Apr 27 '22 00:04 arunbatchu

Happens to me too in Fedora 36 with X11 and Wayland and the proprietary Nvidia driver. Installed the 4.3.0 RPM.

HorstBaerbel avatar Jun 03 '22 22:06 HorstBaerbel

This seems to be an electron-related issue. A workaround is starting snapmaker-luban with --in-process-gpu and/or --no-sandbox.

HorstBaerbel avatar Jun 04 '22 19:06 HorstBaerbel

--in-process-gpu made it work for me, waiting for a more permanent fix. Thanks!

guillaumedavidphd avatar Jun 04 '22 20:06 guillaumedavidphd

I am having the same issue when I upgraded to Mint 21

sniper614 avatar Aug 19 '22 21:08 sniper614

For me, --disable-gpu-sandbox worked too.

Each of those three work around the issue:

  • --disable-gpu-sandbox
  • --no-sandbox
  • --in-process-gpu

particleflux avatar Sep 06 '22 21:09 particleflux

This is still an issue with 4.3.2. Please fix this, it is very inconvenient! There are multiple solutions and the core reason mentioned here. If not currently fixable in app, make electron fix it. EDIT: Apparently some applications are fixed by updating the Electron version to >= 13.5 or even 14.

HorstBaerbel avatar Sep 16 '22 16:09 HorstBaerbel

A workaround is adding the --disable-gpu-sandbox option to /opt/Snapmaker Luban/resources/app/main.js after var _electron = require("electron");

var _electron = require("electron");
_electron.app.commandLine.appendSwitch("--disable-gpu-sandbox");

HorstBaerbel avatar Sep 18 '22 15:09 HorstBaerbel

Still not fixed in 4.4.0

HorstBaerbel avatar Nov 30 '22 09:11 HorstBaerbel