#Crashing on Linux Mint [logs attached]

1 messages · Page 1 of 1 (latest)

rose briar
#

First time using Forge, and am currently running the game with forge-adventure.sh in the .tar.bz2 from the latest release.

Possibly relevant side note: I first tried just running the .jar installer (the one that's NOT in the .tar.bz2), but it immediately printed this message before terminating: SEVERE: java.lang.ArrayIndexOutOfBoundsException: Index 70131 out of bounds for length 22674
When I use forge-adventure.sh, it doesn't crash immediately but it does prompt me to upgrade from 2.0.01 to 2.0.02. If I choose "update now", it will crash as soon as the download bar fills up. If I choose "update later", I can create a character and get in game but it crashes when I try to enter a battle or edit my deck. It will also crash if I go to Classic Mode and try to create a deck.

I'm on OpenJDK 21.0.5. Screenshot of my Neofetch and logs attached. Thanks in advance!

rose briar
#

Crashing on Linux Mint [logs attached]

primal junco
#

@rose jewel can you look into this? It looks like it failed to draw a Card Symbol?

solemn idol
#

Could it be the same problem as we are facing on Steam deck and Steam OS? At least the steps to reproduce it are the same

halcyon holly
halcyon holly
#

@rose briar Could you try putting __GL_THREADED_OPTIMIZATIONS=0 in your environment variables before running the game? LibGDX has run into a handful of issues with Wayland environments lately, and a few people have claimed that works as a workaround.

rose briar
# halcyon holly <@182034079816876042> Could you try putting `__GL_THREADED_OPTIMIZATIONS=0` in ...

I'm not exactly a wiz at stuff like environment variables, but I tried both appending and prepending that to the script launch command:./forge-adventure.sh __GL_THREADED_OPTIMIZATIONS=0``````__GL_THREADED_OPTIMIZATIONS=0 ./forge-adventure.sh
If that's not right, just let me know and I'll follow whatever instructions to do it right.

Regardless, it didn't affect the crash at all. It continues to crash as soon as I go to edit the main board of my deck.

Also, here's a little more detail/clarification since this issue ended up being not-straightforward: I should mention that I can accept the Challenge Coins from the wizard without issue. And I mentioned that the game freezes when I go into a battle, but I should have said more specifically that it happens right when I go to draw my initial hand. I can see the results of the coin toss and choose "Play" or "Draw", and that's the moment it crashes.

halcyon holly
#

Right. Seems to consistently be times when card images would be shown, though the logs seem to indicate other symbols as the culprit.

Maybe try adding the variable as a line in the /etc/environment file?

rose briar
halcyon holly
#

Drat. Seemed like such a promising explanation. Now I'm not sure if this is still the issue but the workaround doesn't work here for some reason, or if I've been barking up the wrong tree from the start...

rose briar
# halcyon holly Drat. Seemed like such a promising explanation. Now I'm not sure if this is stil...

Dang, well if you think of some other way I can help just let me know.

Just for fun, I tried booting up the non-adventure client with ./forge.sh, and this seems to work ok. "Classic Mode" in ./forge-adventure.sh still crashes as soon as I click the "New Deck" button, but the regular ./forge.sh loads fine and I was able to play a couple of turns in that client with no issues.

Don't know if that rules anything out, but figured I'd try hitting every button so to speak!

halcyon holly
#

Yeah the desktop client has a totally different graphics pipeline so you can at least play it that way.