Open LennyPhoenix opened 2 years ago
There was a glibc update in Arch that broke a lot of electron apps. In order to fix it looks like electron needs to be upgraded to version 14 or higher. more info here https://github.com/electron/electron/pull/31091
I tried to manually update it to a newer electron version which got the renderer to run, but it wouldn't load the login page.
After installing electron14 I'm still getting the crash :/
I don't know much about electron or nodejs, so I wouldn't really know how to fix up itch to properly use a newer electron version. So for me I'm just going to keep Arch downgraded until more electron apps get fixed
I was able to get it to run on the latest glibc by running itch without a sandbox --no-sandbox so at least there's a workaround for now
Another solution is to use electron11
Just installing a different electron version won't work, though, since itch normally ships with its own compiled version, but i made an AUR package which uses this one: itch-bin
(https://aur.archlinux.org/packages/itch-bin)
You can also launch it manually like this: electron11 ~/.itch/app-25.5.1/resources/app/
(Note: it looks like an error message does appear if you have the web browser enabled, but the app works fine if you just leave it alone, don't click any of the buttons on the pop-up)
the AUR package works great! Thank you Edit: actually it crashes quite a bit
@ArisuUWU
Do you get a message with three buttons? (with the title The application has crashed
) or does it just close?
if the former, just move it aside and check if you can still use the main itch app
EDIT: Looks like using the web browser causes it to close instantly, but you can still use other parts of the app.
@m00nwtchr I was able to get it to work without crashing by setting some variables in main.bundle.js This is hacky and breaks some things. It for sure breaks games tagged as "Play In Browser", but as far as I can tell it works for everything else. patch.zip
Thanks! I added the patch to the aur package.
Thanks for the workarounds everyone, we're working on getting updated builds out in the near future.
I was able to get it to run on the latest glibc by running itch without a sandbox --no-sandbox so at least there's a workaround for now
Unfortunately, this workaround doesn't work for openSUSE tumbleweed. I tried that and I only get a black screen
Can confirm that this affects Solus too, running with --no-sandbox
got it to launch.
affects ubuntu 22 too, --no-sandbox
got it to launch
Still an issue on Arch Linux but --no-sandbox
works.
Also on Solus, hardware acceleration flag has no effect, only the --no-sandbox
option allows the app to run.
Can also confirm on Linux Mint 21.1 Cinnamon : ~/.itch/itch --no-sandbox
works as a workaround.
it's been 2 years, can it somehow be fixed in the installer?
confirmed buggy still on Ubuntu 23.04
2024 issue still here
Still an issue.
When attempting to run
~/.itch/app-25.5.1/itch
, the following error occurs:When running the application any other way, the window appears then immediately disappears with no error.
System Info