Wasteland 2: Director's Cut

Wasteland 2: Director's Cut

View Stats:
Solution Edit: Wasteland 2 Directors Cut on Linux Ubuntu 17.10 (Crashes on Startup)
My computer crash on Wasteland 2 DC startup repeatedly. This file edit so far seems to work pretty nice! I did the edits way below and made them permanent! READ ON
https://forums.inxile-entertainment.com/viewtopic.php?t=14400

----8><----
https://forums.inxile-entertainment.com/viewtopic.php?t=14400

Linux: Can't advance game, stuck on load screen
Post by DrHappyAngry » October 24th, 2015, 10:09 am

The DC of WL2, has had a lot more tendencies to crash than the original release version for me on Linux. This could be random, but was generally while areas were loading. Now I've gotten completely stuck when returning to the citadel, the load screen comes up, the bar scrolls all the way across, and never finishes loading. A bit different from the crashing I'd been having earlier, since the game keeps running, but it's consistent, and I can't return to base, so I can continue playing. I can provide a save file if it would help.

Also, does anybody know if an upstream bug report has been filed with Unity over the resolution detection issues with multiple monitors on Linux? Every single unity game misdetects the resolution, and I have to find the config file, and manually set it. It's pretty repeatable on WL2, the 3 Shadowrun games and Higurashi. I know it's a Unity issue and not inXile's fault, but would love to see it get fixed.

Re: Linux: Can't advance game, stuck on load screen
Post by DrHappyAngry » October 25th, 2015, 11:06 am

I did the upgrade to ubuntu 15.10 this weekend, and still have the hang. Running it from the cli doesn't seem to give any useful info, but here it is anyway

It doesn't seem like the game has actually crashed, but stuck on something.

Post by kilobug » October 26th, 2015, 2:07 am
I did have some crash with the DC on Linux (the game still running but being stuck, maybe linked to the filedescriptor or memory leak), but restarting the game and reloading always fixed it for me.

If you've a "persistent" crash that happens on a given savegame, but not if you try to load a previous savegame, you should send the content of the savegame to inXile technical support.

Re: Linux: Can't advance game, stuck on load screen
Post by superpirson » November 7th, 2015, 11:35 am

I have the solution to this problem I believe. I was having a repeatable crash at the ranger HQ and found that the cause was having too many open files. my system process limit defaulted to 2248, but when I increased that I found that the game needed 2260-ish descriptors open at a time to load the ranger HQ.

-------> Workaround: <---------
In a shell, type #ulimit -n 4096
Then, just run the game from that shell by either navigating to it and running it, or if you can just drag the executable to the terminal window and hit enter. The number does not need to be 4096, I just chose that because I wanted a large margin for error when testing if too many open files was the cause.

When you call the game from that shell, it spawns the game as a child process, and it inherits its parent's rules for the soft limits on max open FDs.

Solution:
The devs will either have to reduce the number of open files and be sure to close them, or just increase the soft max FD count in the game. There is probably a way to do it in mono, but the alternative is to just have a shell script that launches the game.


Re: Linux: Can't advance game, stuck on load screen
Post by DrHappyAngry » November 7th, 2015, 1:57 pm

Holy crap, that was a good catch. I've only ever had to up the file limit on huge mysql, file servers and a handful of poorly made java apps that I've gotten stuck managing. Support wasn't able to figure it out either, they even suggested I install the nouveau drivers on a system with a GTX 980. Even with a bleeding edge kernel, they barely even support that card.

-----------> Works<------------
If you want to permanently up your file limits on ubuntu add the following to /etc/security/limits.conf (to restrict it to one user replace the * with the username)

sudo nano /etc/security/limits.conf
(to restrict it to one user replace the * with the username)

Code: Select all
* soft nofile 4096
* hard nofile 4096

and this to both /etc/pam.d/common-session and /etc/pam.d/common-session-noninteractive

sudo nano /etc/pam.d/common-session
sudo nano /etc/pam.d/common-session-noninteractive

Code: Select all
session required pam_limits.so




https://forums.inxile-entertainment.com/viewtopic.php?t=14400

superpirson
Initiate
Posts: 2
Joined: November 7th, 2015, 11:17 am

Re: Linux: Can't advance game, stuck on load screen

Post by superpirson » November 7th, 2015, 4:03 pm

DrHappyAngry wrote:

Holy crap, that was a good catch. I've only ever had to up the file limit on huge mysql, file servers and a handful of poorly made java apps that I've gotten stuck managing. Support wasn't able to figure it out either, they even suggested I install the nouveau drivers on a system with a GTX 980.

YAY! And thanks! I am just glad right now that I have enough Linux skill to be the one solving problems rather than the one causing them. I guess all that drudging around in OS code in school is paying off!

You and I have the same card too! Mine actually has a bit of a coil whine issue right now, but other than that I love it!

Suppose I should notify support about this, or file a bug report? Do the devs watch these posts?


Edit: Crap, now the game is crashing whenever I load the AG center complex. I don't think it is related.
Top
6 posts • Page 1 of 1
< >
Showing 1-1 of 1 comments
notapigeon26 Dec 5, 2018 @ 5:41pm 
ok, ran into same problem. editing the config files gave zero response (perhaps syntax error with using tabs instead of spaces or something like that, used tabs this time), but the temp solution ulimit -n 4096 worked, however no save games! went into steam files for game from properties browse files and copied all save game folder stuff into ~/.config/Wasteland2DC/ and then it worked and was able to enter ranger hq. however first run crashed with some error:
### Importing game controller configs
Segmentation fault (core dumped) ###
not really for scanning logs as it worked on second go.
does this stuff send bug reports automatically?
if run from console?
wanted to help dev until they got bought out by microsoft. sadly suspect game quality and linux compatibility will tank #NOTANOTHERNOVELL

-----------
checking changing the syntax to spaces instead of tabs
Last edited by notapigeon26; Dec 5, 2018 @ 5:49pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50