Installer icon indicating copy to clipboard operation
Installer copied to clipboard

[Bug] can't launch betterdiscord installer [LINUX]

Open Merulox opened this issue 3 years ago • 5 comments

Describe the Bug The .AppImage crashes upon launch

To Reproduce

  1. cd into the .AppImage's directory
  2. apply sudo chmod u+x
  3. Run it (./)

Expected Behavior It launches and I get to repair betterdiscord (though I hear discord recently broke it)

Screenshots image

Discord Version Stable

> ./BetterDiscord-Linux\ \(1\).AppImage
Better Discord Installer 1.1.1
[9660:0216/184725.240723:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
[1]    9660 trace trap (core dumped)  ./BetterDiscord-Linux\ \(1\).AppImage`

Merulox avatar Feb 16 '22 23:02 Merulox

Try using betterdiscordctl

SmolAlli avatar Feb 16 '22 23:02 SmolAlli

After some quick research this appears to be an electron bug which becomes apparent with recent versions of glibc present on the system and is fixed in the latest patch releases of electron version 13+ (we are still on 9). For an immediate workaround give running the installer with either --no-sandbox or --disable-gpu-sandbox a try.

Inve1951 avatar Feb 17 '22 00:02 Inve1951

Thanks for the replies! betterdiscordctl works just fine so I'll be using that from now on

Merulox avatar Feb 17 '22 01:02 Merulox

The --no-sandbox flag also works

ceceba223 avatar Feb 18 '22 14:02 ceceba223

--disable-seccomp-filter-sandbox might be a more narrowly targeted exception than --no-sandbox (unsure if more or less secure than --disable-gpu-sandbox).

I found independently that the issue is seccomp blocking glibc 2.35's rseq syscalls (__NR_rseq). Out of curiosity, can you link the issue/PR/commits which fixed the bug on Electron 13+? (Is it https://www.electronjs.org/releases/stable?version=13&page=3#13.5.0 mentioning https://github.com/electron/electron/pull/31091 and glibc 2.34?)

nyanpasu64 avatar Feb 28 '22 23:02 nyanpasu64

We have upgrade past this version of electron so it should be merged.

zerebos avatar Mar 03 '23 23:03 zerebos