hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.15k stars 474 forks source link

`GPU process isn't usable. Goodbye.` Linux AppImage #535

Open evdcush opened 2 years ago

evdcush commented 2 years ago

Environment info

Description of the problem / feature request / question:

Executing the AppImage file as-is, downloaded from GH and made executable.

It crashes immediately with the following output:

./Lepton-1.10.0.AppImage 
info: [conf] Looking for .leptonrc at /home/foo/.leptonrc
info: 

----- Lepton v1.10.0 linux-----

info: [conf] Looking for .leptonrc at /home/foo/.leptonrc
info: [conf] The resolved configuration is ...
info: "theme": "light"
info: "autoUpdate": false
info: "userPanel": {"hideProfilePhoto":false}
info: "logger": {"level":"debug"}
info: "proxy": {"enable":false,"address":"socks://localhost:1080"}
info: "snippet": {"sorting":"updated_at","sortingReverse":true,"expanded":true,"newSnippetPrivate":false}
info: "editor": {"tabSize":4,"validateFilename":true}
info: "enterprise": {"enable":false,"host":"","token":"","avatarUrl":""}
info: "notifications": {"success":true,"failure":true}
info: "shortcuts": {"keyShortcutForSearch":"Shift+Space","keyNewGist":"CommandOrControl+N","keyEditGist":"CommandOrControl+E","keyDeleteGist":"CommandOrControl+Delete","keySubmitGist":"CommandOrControl+S","keyImmersiveMode":"CommandOrControl+I","keyAboutPage":"CommandOrControl+,","keyDashboard":"CommandOrControl+D","keyEditorExit":"CommandOrControl+Escape","keySyncGists":"CommandOrControl+R"}
info: "type": "literal"
(node:8550) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `lepton --trace-warnings ...` to show where the warning was created)
info: Checking for update
debug: -----> registering login-page-ready listener
[8550:0925/165947.989313:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
[1]    8550 trace trap (core dumped)  ./Lepton-1.10.0.AppImage
hackjutsu commented 2 years ago

https://github.com/ebkr/r2modmanPlus/issues/735

It seems to add --no-sandbox flag can temporarily workaround the issue.

colematt commented 9 months ago

I too am getting this exact same output on console when launching the AppImage. It appears to be related to a problem similar to this Launchpad bug report indicating conflict between Electron 14 and a Canonical-provided libc ... Their build is contemporaneous to your Lepton 1.10.0 build (circa summer of 2021).

Linux 6.6.6-76060606-generic #202312111032~1702306143~22.04~d28ffec SMP PREEMPT_DYNAMIC Mon D x86_64 x86_64 x86_64 GNU/Linux, PopOS 22.04 LTS, and ldd (Ubuntu GLIBC 2.35-0ubuntu3.5) 2.35, for what it's worth.