itch icon indicating copy to clipboard operation
itch copied to clipboard

App crashes on launch

Open mxaddict opened this issue 1 year ago • 5 comments

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:

  1. Install app using the setup binary (Downloaded from official website)
  2. Run it
  3. Launch the app
  4. 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)

mxaddict avatar May 28 '23 20:05 mxaddict

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

mxaddict avatar May 28 '23 20:05 mxaddict

Happens to me as well on Manjaro with Xorg and Nvidia GPU.

limbonaut avatar Jun 26 '23 08:06 limbonaut

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).

eobet avatar Jul 12 '23 19:07 eobet

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: BIOS: American Megatrends v: 2603 date: 06/26/2015 CPU: Info: 6-core model: AMD FX-6300 bits: 64 type: MT MCP arch: Piledriver rev: 0 cache: L1: 288 KiB L2: 6 MiB L3: 8 MiB Speed (MHz): avg: 3510 high: 3861 min/max: 1400/3500 boost: enabled cores: 1: 3861 2: 3685 3: 3101 4: 3683 5: 3532 6: 3199 bogomips: 42139 Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Graphics: Device-1: NVIDIA GK104 [GeForce GTX 760] vendor: Micro-Star MSI driver: nvidia v: 470.199.02 pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1187 Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1 Screen-1: 0 s-res: 3360x1080 s-dpi: 92 Monitor-1: DVI-D-0 pos: right res: 1440x900 dpi: 89 diag: 483mm (19") Monitor-2: DVI-I-1 pos: primary,left res: 1920x1080 dpi: 92 diag: 609mm (24") OpenGL: renderer: NVIDIA GeForce GTX 760/PCIe/SSE2 v: 4.6.0 NVIDIA 470.199.02 direct render: Yes

Matz05 avatar Jul 22 '23 08:07 Matz05

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

oddstr13 avatar Oct 07 '23 21:10 oddstr13