ebkr / r2modmanPlus

A simple and easy to use mod manager for several games using Thunderstore
MIT License
1.08k stars 178 forks source link

[BUG] - Not working on Ubuntu 22.04 - GPU process isn't usable #735

Open pkkid opened 2 years ago

pkkid commented 2 years ago

App is not working on Ubuntu 22.04. We get the error message displayed below. I get the same error trying the AppImage or the deb install. After searching around to see what this means, it sounds like the app needs to be rebuilt with an updated version of Electron.

> r2modman 
(node:5095) electron: The default of contextIsolation is deprecated and will be changing from false to true
in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
starting server on  /tmp/app.r2mm 
starting TLS server false
starting server as Unix || Windows Socket
[5095:0301/193628.615200:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap

UPDATE: In Discord it was mentioned that using the --no-sandbox option on the AppImage gets the app up and running if you are OK running it that way.

Alfenstein8 commented 2 years ago

I have exactly the same error message on fedora 35. The --no-sandbox flag also works with the .rpm version.

MagmaiKH commented 2 years ago

Same on Gentoo and running with --no-sandbox also works around the issue.

wdw781 commented 1 year ago

where to use --no-sandbox??

Alfenstein8 commented 1 year ago

where to use --no-sandbox??

In the terminal after the filepath/filename.

Oman395 commented 1 year ago

Same issue on arch 5.19.13 and plasma 5.25.5, installed through AUR. Fixed by running r2modman --no-sandbox. To make the app work without terminal, find the .desktop file (usually in /usr/share/applications, usually named r2modman.desktop) and change Exec=env DESKTOPINTEGRATION=false /usr/bin/r2modman to Exec=env DESKTOPINTEGRATION=false /usr/bin/r2modman --no-sandbox.

jpw1991 commented 7 months ago

I use r2modman --in-process-gpu rather than --no-sandbox.

IsaiahBjornlie commented 4 months ago

how do i use the terminal to launch r2modman? when i try it says command not found