You are not logged in.

#1 2017-09-10 03:28:10

salsadoom
Member
Registered: 2011-02-03
Posts: 32

XCOM2 not launching after update today? [SOLVED]

Hi,

Anyone else had this? Yesterday XCOM2 (WOTC, but the base game also fails now) was working fine, I did some updates and the game doesn't launch anymore.  The games log files just contain nothing at all, they aren't even created so they are of no use. I thought maybe the update to Mesa 17.2 did it, but I rolled back to 17.1.8 and it had no change. Something else I guess? Nothing problematic seems to stand out to me and I haven't seen anyone else post about this anywhere.

It seems to complain about missing libraries, so I look closer and its not loading the supplied libraries that come with the game (ie, libssl.so.37 and libCoreFoundation.so.476 etc). If I specify in the launch options an LD_LIBRARY_PATH, I can load the base game, but not WOTC -- it literally just loads up the base game instead, weird! I cannot find the syntax to load multiple directories on LD_LIBRARY_PATH (its not : as a delimiter, although that seems like it would be it, its not). So that's not useful.

I'm just now sure why this started happening today...

Anyone else having these issues...?

EDIT:

So this is an AMD RX480 gpu running on all open source drivers, (hence mesa). This line "LD_LIBRARY_PATH=./lib/x86_64/:../lib/x86_64/ %command% -allowconsole" to the launch options makes the BASE game run, but WOTC still crashes. Mesa 17.2 crashes WOTC right at the very beginning of the loading bar, Mesa 17.1.8 crashes at the very end of the loading bar. This is all worked just yesterday! sad

Last edited by salsadoom (2017-09-11 14:12:52)

Offline

#2 2017-09-10 03:35:09

salsadoom
Member
Registered: 2011-02-03
Posts: 32

Re: XCOM2 not launching after update today? [SOLVED]

Solved lol.. -- nope! sad

I put this in the launch options

LD_LIBRARY_PATH=./lib/x86_64/:../lib/x86_64/ %command% -allowconsole

and it loads up fine. Good for me! smile

EDIT: Spoke way too soon, the launcher loads, and the game begins to load but crashes shortly after the company logos play and it shows the Reaper looking at the commander in the pod. SIGSEGV(11). ;( I removed all mods to make sure that wasn't an issue, still remains.

Last edited by salsadoom (2017-09-10 04:08:55)

Offline

#3 2017-09-10 04:26:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: XCOM2 not launching after update today? [SOLVED]

Nvidia? There are a heap of threads about this...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-09-10 06:35:27

salsadoom
Member
Registered: 2011-02-03
Posts: 32

Re: XCOM2 not launching after update today? [SOLVED]

jasonwryan wrote:

Nvidia? There are a heap of threads about this...

No, as I said in the post I'm using Mesa. AMD RX 480 /w Mesa stable. I searched the forums here and there is literally nothing even remotely close to what I'm describing, unless its not in Multimedia and Games. My issue isn't garbled or bad graphics, the game doesn't launch.

Last edited by salsadoom (2017-09-10 06:37:10)

Offline

#5 2017-09-10 12:02:56

kaane
Member
Registered: 2017-09-10
Posts: 2

Re: XCOM2 not launching after update today? [SOLVED]

The same scenario happened to me after today's update. Only that I am using the nvidia proprietary driver.

The workaround salsadoom posted above works for me (so far), but only with steam-runtime, not with steam-native.

edit: I just recognized the op's postscriptum: Yes, I can only speak for the base game, without the expansion.

Last edited by kaane (2017-09-10 12:09:08)

Offline

#6 2017-09-10 12:46:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: XCOM2 not launching after update today? [SOLVED]

Look at the terminal output, chances are that this is completely irrelevant to the graphics driver, there was a lib update with a soname bump, so a few libraries that used to be compatible aren't anymore. Case in point, the game I played that broke was Shadow of Mordor due to

pacman -Ql icu | grep libicui18n
icu /usr/lib/libicui18n.so
icu /usr/lib/libicui18n.so.59
icu /usr/lib/libicui18n.so.59.1

And it looking for libicui18n.so.51 instead.

Also what LD_LIBRARY_PATH are you guys trying? literally LD_LIBRARY_PATH=./lib/x86_64/:../lib/x86_64/ as has been mentioned earlier, which will only work if the executable is in the same directory as the lib folder?  In the Shadow of Mordor case I explicitly passed a fully qualified path to point it to the libraries it ships with via

LD_LIBRARY_PATH="/home/videl/.local/share/Steam/SteamApps/common/ShadowOfMordor/lib/x86_64" %command%

Last edited by V1del (2017-09-10 12:54:33)

Offline

#7 2017-09-10 13:30:53

kaane
Member
Registered: 2017-09-10
Posts: 2

Re: XCOM2 not launching after update today? [SOLVED]

I don't think LD_LIBRARY_PATH=./lib/x86_64/:../lib/x86_64/ is a bad attempt for debug purposes. It should work universally with many steamgames and minimizes typing errors that easily happen with fully qualified paths (for instance: "steamapps" is usually lower case).
In this case there is indeed a libCoreFoundation.so.476 in ~/.local/share/Steam/steamapps/common/XCOM 2/lib/x86_64/  -- which the games now for a sudden demands. At first I overlooked that, because I only searched with locate.
I did not find that library anywhere else and even google is relatively quiet about it. But a few days ago somebody reported a similar error for a Warhammer game in this forum: https://bbs.archlinux.org/viewtopic.php?id=229717

Last edited by kaane (2017-09-10 13:31:44)

Offline

#8 2017-09-10 13:40:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: XCOM2 not launching after update today? [SOLVED]

CoreFoundation is afaik a chromium/cef library, and will likely in this case be mostly relevant for the ingame steam overlay integration. I doubt that it's as critical as the others.

Offline

#9 2017-09-10 19:06:10

salsadoom
Member
Registered: 2011-02-03
Posts: 32

Re: XCOM2 not launching after update today? [SOLVED]

Thanks for the reply guys!

I pulled the LD_LIBRARY_PATH statement by looking for where the libraries it wanted actually are, it wasn't really meant to be a universal solution.. but I'm still at a loss why I didn't need to do any of that just a few days ago... ? XCOM2 and probably most games just add to the library path at launch from a script, its just it stopped working for some reason. Even if LD_LIBRARY_PATH did fix it, its a bit of a poor solution since it misses the underlying issue. The crappy part is now that even though the game finds all the libraries it wants, it still crashes at the loading screen. Thats why I initially thought It might be related to the mesa update, but I tried rolling back the mesa packages and it crashes anyway so that rules that out. If nVidia people are having similiar issues then something weird happened. I've rolled back a few other packages that absolutely shouldn't cause these problems but I'm desperate at this point. Just a missing library is pretty easy to fix, this is something weird, because it crashes if it finds its libraries anyway.

My guess is whatever made the games launch scripts no longer pick up the library paths themselves is responsible for all the issues, its just nothing obvious was upgraded..

Offline

#10 2017-09-11 14:10:17

salsadoom
Member
Registered: 2011-02-03
Posts: 32

Re: XCOM2 not launching after update today? [SOLVED]

Still no love or luck with this issue. Am I really the only person to have this?

I've been searching for days now, I found this post here, which described my issue EXACTLY, yet their solution didn't fix it ;( It DOES get past 75% now, but it crashes at 99%. Pulling out my hair here.

EDIT: I ran the game again after the last crash, and.. it seems to work now! OK, so I think that IS the fix, and I just had bad luck that first time. I'll mark this solved and hopefully any other rare souls who have this as a solution. The devs seems to be aware of it and will fix it in the future anyway.

Last edited by salsadoom (2017-09-11 14:12:35)

Offline

#11 2017-09-11 20:34:00

protake
Member
Registered: 2014-09-09
Posts: 9

Re: XCOM2 not launching after update today? [SOLVED]

Thanks. I was having the same issue with HITMAN and this

LD_LIBRARY_PATH=./lib/x86_64/:../lib/x86_64/ %command%

fixed it for me.

Offline

#12 2017-09-11 20:42:14

kgtuning
Member
From: New Hampshire
Registered: 2015-09-30
Posts: 44

Re: XCOM2 not launching after update today? [SOLVED]

All the Feral Interactive games are suffering from this issue as mentioned on gamingonlinux.

Offline

#13 2017-09-14 19:10:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: XCOM2 not launching after update today? [SOLVED]

Should be properly fixed with glibc 2.26-4 now

Offline

Board footer

Powered by FluxBB