project-slippi / slippi-launcher

The way to play Slippi Online and watch replays.
GNU General Public License v3.0
244 stars 125 forks source link

Slippi AppImage needs --no-sandbox to run on Fedora 35 #257

Closed RaghavRao closed 2 years ago

RaghavRao commented 2 years ago

It seems to be a problem with chrome-sandbox.

If I run the AppImage without --no-sandbox I see this:


./Slippi-Launcher-2.1.7-x86_64\.AppImage 
21:35:15.722 (broadcast/workerInterface) › broadcast: Spawning worker
21:35:15.762 (broadcast/workerInterface) › spectate: Spawning worker
21:35:15.765 (replays/workerInterface)   › replayBrowser: Spawning worker
21:35:15.781 (console/workerInterface)   › mirror: Spawning worker
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
(node:7172) V8: /tmp/.mount_Slippijq1Cn5/resources/app.asar.unpacked/0.1c8c698a3dc7bc72e662.worker.js:2 Invalid asm.js: Invalid member of stdlib
21:35:15.930 (replays/workerInterface)   › replayBrowser: Spawning worker: Done
(node:7172) V8: /tmp/.mount_Slippijq1Cn5/resources/app.asar.unpacked/0.9e8900e90dca496f8d22.worker.js:2 Invalid asm.js: Invalid member of stdlib
21:35:16.003 (broadcast/workerInterface) › broadcast: Spawning worker: Done
(node:7172) V8: /tmp/.mount_Slippijq1Cn5/resources/app.asar.unpacked/0.de7e9d09dec9bc17dd27.worker.js:2 Invalid asm.js: Invalid member of stdlib
21:35:16.005 (broadcast/workerInterface) › spectate: Spawning worker: Done
(node:7172) V8: /tmp/.mount_Slippijq1Cn5/resources/app.asar.unpacked/0.26425661e76a296101c2.worker.js:2 Invalid asm.js: Invalid member of stdlib
21:35:16.006 (console/workerInterface)   › mirror: Spawning worker: Done
[7172:1210/213518.476397:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.

If I unpack (with --appimage-extract) and run chrome-sandbox I see:

The setuid sandbox provides API version 1, but you need 0

Some preliminary research shows an up-to-date chromium would help but I'm not sure where chrome-sandbox comes from

WMcKibbin commented 2 years ago

OS: Arch Linux x86_64 Kernel: 5.16.15-arch1-1 Shell: bash 5.1.16 Resolution: 1080x1920, 2560x1440 DE: Plasma WM: KWin Terminal: tmux CPU: Intel i7-7700K (8) @ 4.500GHz GPU: NVIDIA GeForce RTX 2080 Rev. A Memory: 4628MiB / 15959MiB

Same here

SSBMTonberry commented 2 years ago

Me too:

OS: Manjaro 21.2.6 Qonos
Kernel: x86_64 Linux 5.16.18-1-MANJARO
Shell: bash 5.1.16
Resolution: 6400x2160
WM: i3
GTK Theme: Adapta-Nokto-Eta-Maia [GTK2/3]
Icon Theme: Papirus-Adapta-Nokto-Maia
Font: Noto Sans 10
Disk: 448G / 730G (65%)
CPU: AMD Ryzen 9 5900X 12-Core @ 24x 3.7GHz
GPU: NVIDIA GeForce RTX 3070
RAM: 16792MiB / 64281MiB
vinceau commented 2 years ago

Fixed in #260