Code Monkey home page Code Monkey logo

Comments (5)

mxaddict avatar mxaddict commented on August 29, 2024 2

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

from itch.

limbonaut avatar limbonaut commented on August 29, 2024

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

from itch.

eobet avatar eobet commented on August 29, 2024

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

from itch.

Matz05 avatar Matz05 commented on August 29, 2024

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 electron/electron#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

from itch.

oddstr13 avatar oddstr13 commented on August 29, 2024

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

from itch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.