itch
itch copied to clipboard
App crashes on launch
The itch app crashes on launch,
I manually launched the app from the terminal and got this error message:
[258196:0529/043322.012961:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
fish: Job 1, '~/.itch/app-25.6.2/itch' terminated by signal SIGTRAP (Trace or breakpoint trap)
Let me know if you need any additional information
Steps to reproduce:
- Install app using the setup binary (Downloaded from official website)
- Run it
- Launch the app
- It crashes
System details:
uname -a
: Linux mxaddict-pc 6.3.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 24 May 2023 17:44:00 +0000 x86_64 GNU/Linux
itch app
: 25.6.2
NOTES: Am running the app in wayland with nvidia gpu (In case this info is relevant)
I seem to be able to run the app when running it with the --disable-gpu-sandbox
flag
~/.itch/app-25.6.2/itch --disable-gpu-sandbox #works
~/.itch/app-25.6.2/itch #fails with the above error about GPU not being available
Happens to me as well on Manjaro with Xorg and Nvidia GPU.
I installed it from the Software App in Fedora 38, and the app there also crashes on launch.
It's very confusing that the description says it's unaffiliated, yet all of the links lead to the official sites (including this github page).
Similar issue (grey window and/or crash instead of usable launcher, some inconsistency) Using an older NVIDIA graphics card under Linux, which I've heard is probably a factor here. Tested with installer version downloaded directly from itch.io website. Terminal output unhelpful when running main launcher, but when running directly from the specific version familiar symptoms show:
matias@Fox:~/.itch/app-25.6.2$ ./itch 08:46:55.600 INFO [email protected] on [email protected] in production 08:46:55.602 DEBUG (m/reac/preb/load-preferences) imported preferences: {"downloadSelfUpdates":true,"offlineMode":false,"installLocations":{},"defaultInstallLocation":"c8647994-a58e-4cc2-b26f-7fcdb7361b24","isolateApps":true,"closeToTray":false,"readyNotification":true,"showAdvanced":false,"openAtLogin":false,"openAsHidden":false,"manualGameUpdates":true,"preventDisplaySleep":true,"preferOptimizedPatches":false,"disableBrowser":false,"enableTabs":false,"lastSuccessfulSetupVersion":"25.6.2","importedOldInstallLocations":true,"gotMinimizeNotification":true,"disableHardwareAcceleration":false} 08:46:55.794 DEBUG (m/reac/preb/load-preferences) imported preferences: {"downloadSelfUpdates":true,"offlineMode":false,"installLocations":{},"defaultInstallLocation":"c8647994-a58e-4cc2-b26f-7fcdb7361b24","isolateApps":true,"closeToTray":false,"readyNotification":true,"showAdvanced":false,"openAtLogin":false,"openAsHidden":false,"manualGameUpdates":true,"preventDisplaySleep":true,"preferOptimizedPatches":false,"disableBrowser":false,"enableTabs":false,"lastSuccessfulSetupVersion":"25.6.2","importedOldInstallLocations":true,"gotMinimizeNotification":true,"disableHardwareAcceleration":false} 08:46:55.806 DEBUG (m/net/register-itch-protocol) Registering itch: protocol for session with user agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) itch/25.6.2 Chrome/87.0.4280.141 Electron/11.5.0 Safari/537.36 (node:50512) 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 08:46:55.861 INFO (m/reac/preboot) preboot ran in 68.00ms 08:46:55.863 DEBUG (m/reac/open-at-login) Updating login item settings, open=false, hidden=false 08:46:55.863 DEBUG (m/reac/open-at-login) Copying /usr/share/applications/io.itch.itch.desktop => /home/matias/.config/autostart/io.itch.itch.desktop 08:46:55.866 DEBUG (m/reac/winds) Waiting on root window to dispatch boot 08:46:56.807 INFO (m/reac/i18n) Language settings: preference undefined, sniffed en-GB, fallback en 08:46:56.811 DEBUG (m/reac/locales) Reading local locale file /home/matias/.itch/app-25.6.2/resources/app/src/static/locales/en.json 08:46:56.817 DEBUG (m/reac/locales) Reading remote locale file /home/matias/.itch/app-25.6.2/resources/app/src/static/locales/en.json 08:46:58.824 DEBUG (m/reac/locales) Downloading fresh locale file from https://locales.itch.ovh/itch/en.json 08:46:58.824 DEBUG (r) HTTP get https://locales.itch.ovh/itch/en.json 08:46:59.286 DEBUG (r) Got HTTP 200, content-length: 0 B 08:46:59.367 DEBUG (m/reac/locales) HTTP GET https://locales.itch.ovh/itch/en.json: 200 08:46:59.368 DEBUG (m/reac/locales) Saving fresh en locale to /home/matias/.config/itch/locales/en.json [50512:0722/024701.698288:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye. Trace/breakpoint trap (core dumped)
--disable-gpu-sandbox appears to work as a workaround.
Changing the hardware acceleration or sandboxing settings in the application settings dialogue do not appear to help.
Relevant sections from the Linux Mint 21.2 Cinnamon System Info program follow:
System:
Kernel: 5.15.0-76-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Cinnamon 5.8.4
tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Desktop Mobo: ASUSTeK model: M5A97 R2.0 v: Rev 1.xx serial:
Also happens on Linux Mint Cinnamon 21.1 with NVIDIA GTX 1070
Confirming launch parameter --disable-gpu-sandbox
as an usable workaround.
Adding the parameter to ~/.local/share/applications/io.itch.itch.desktop
like this works for launching via the menu;
Exec=[...]/.itch/itch --disable-gpu-sandbox %U