You are not logged in.

#1 2016-03-31 13:11:25

PwnagePineapple
Member
Registered: 2015-01-10
Posts: 10

XCOM Enemy Unknown crashes on startup

When I try to start up XCOM Enemy Unknown, the process simply dies before the select screen is visible, with no apparent error message. However, running xcom,sh directly gets me as far as the select screen, before it also crashes. My system specs are as follows:

Intel® Core™ i7 Quad-Core 6500U Processor
8GB RAM
Nvidia Optimus dual graphics cards:
     NVIDIA® GeForce® GTX 950M with 2GB/4GB DDR3 VRAM
     Intel integrated Graphics
Proprietary Nvidia drivers (patched for Grsec) and Bumblebee
Grsecurity kernel (RBAC still in learning mode)


Game Options:

Launch options: optirun %command%
DLC: XCOM Enemy Within
Game cache integrity: verified

Command outputs:

pacman -Q | grep nvidia

lib32-nvidia-utils 361.28-4
nvidia-grsec 361.28-7
nvidia-settings 361.28-1
nvidia-utils 361.28-5

Steps I have already taken:
https://wiki.archlinux.org/index.php/St … leshooting Section regarding Nvidia drivers
https://wiki.archlinux.org/index.php/St … oting#XCOM Section regarding XCOM

Please let me know if further information is needed

EDIT: Managed to grab an error message:

/home/pwnagepineapple/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/xew/binaries/linux/../../binaries/linux/game.x86_64: error while loading shared libraries: libCoreFoundation.so.476: cannot enable executable stack as shared object requires: Permission denied

EDIT 2: When using primusrun, I am able to get as far as the XCOM select screen, when a new error message pops up:

/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/xcom.sh: line 166: 11223 Segmentation fault      (core dumped) LD_PRELOAD=$LD_PRELOAD_NOOVERLAY "$LAUNCHERBINARY"

EDIT 3: Did some tinkering, fixed both previous errors, now a core dump:

           PID: 18249 (game.x86_64)
           UID: 1000 (pwnagepineapple)
           GID: 1000 (pwnagepineapple)
        Signal: 11 (SEGV)
     Timestamp: Thu 2016-03-31 21:13:21 CDT (5min ago)
  Command Line: /home/pwnagepineapple/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/xew/binaries/linux/../../binaries/linux/game.x86_64 -arch=x86_64
    Executable: /home/pwnagepineapple/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/xew/binaries/linux/game.x86_64
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (pwnagepineapple)
       Boot ID: 079e9ae0c4de4f909b2420754c74696c
    Machine ID: ec99e6781eb94cf8a5ff6086ec7e6fcf
      Hostname: K501UX
      Coredump: /var/lib/systemd/coredump/core.game\x2ex86_64.1000.079e9ae0c4de4f909b2420754c74696c.18249.1459476801000000000000.lz4
       Message: Process 18249 (game.x86_64) of user 1000 dumped core.
                
                Stack trace of thread 18249:
                #0  0x00000397e7819050 glXCreatePbuffer (libvglfaker.so)
                #1  0x00000397e7811f67 n/a (libvglfaker.so)
                #2  0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #3  0x00000397e7811f67 n/a (libvglfaker.so)
                #4  0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #5  0x00000397e7811f67 n/a (libvglfaker.so)
                #6  0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #7  0x00000397e7811f67 n/a (libvglfaker.so)
                #8  0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #9  0x00000397e7811f67 n/a (libvglfaker.so)
                #10 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #11 0x00000397e7811f67 n/a (libvglfaker.so)
                #12 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #13 0x00000397e7811f67 n/a (libvglfaker.so)
                #14 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #15 0x00000397e7811f67 n/a (libvglfaker.so)
                #16 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #17 0x00000397e7811f67 n/a (libvglfaker.so)
                #18 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #19 0x00000397e7811f67 n/a (libvglfaker.so)
                #20 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #21 0x00000397e7811f67 n/a (libvglfaker.so)
                #22 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #23 0x00000397e7811f67 n/a (libvglfaker.so)
                #24 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #25 0x00000397e7811f67 n/a (libvglfaker.so)
                #26 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #27 0x00000397e7811f67 n/a (libvglfaker.so)
                #28 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #29 0x00000397e7811f67 n/a (libvglfaker.so)
                #30 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #31 0x00000397e7811f67 n/a (libvglfaker.so)
                #32 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #33 0x00000397e7811f67 n/a (libvglfaker.so)
                #34 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #35 0x00000397e7811f67 n/a (libvglfaker.so)
                #36 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #37 0x00000397e7811f67 n/a (libvglfaker.so)
                #38 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #39 0x00000397e7811f67 n/a (libvglfaker.so)
                #40 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #41 0x00000397e7811f67 n/a (libvglfaker.so)
                #42 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #43 0x00000397e7811f67 n/a (libvglfaker.so)
                #44 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #45 0x00000397e7811f67 n/a (libvglfaker.so)
                #46 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #47 0x00000397e7811f67 n/a (libvglfaker.so)
                #48 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #49 0x00000397e7811f67 n/a (libvglfaker.so)
                #50 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #51 0x00000397e7811f67 n/a (libvglfaker.so)
                #52 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #53 0x00000397e7811f67 n/a (libvglfaker.so)
                #54 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #55 0x00000397e7811f67 n/a (libvglfaker.so)
                #56 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #57 0x00000397e7811f67 n/a (libvglfaker.so)
                #58 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #59 0x00000397e7811f67 n/a (libvglfaker.so)
                #60 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #61 0x00000397e7811f67 n/a (libvglfaker.so)
                #62 0x00000397e78190d9 glXCreatePbuffer (libvglfaker.so)
                #63 0x00000397e7811f67 n/a (libvglfaker.so)
                
                Stack trace of thread 18253:
                #0  0x00000397e71a4427 do_futex_wait.constprop.1 (libpthread.so.0)
                #1  0x00000397e71a44d4 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                #2  0x00000397e3da876e n/a (libSDL2-2.0.so.0)
                #3  0x00000397e3da88c5 n/a (libSDL2-2.0.so.0)
                #4  0x00000397e3d5bc93 n/a (libSDL2-2.0.so.0)
                #5  0x00000397e3d5b82c n/a (libSDL2-2.0.so.0)
                #6  0x00000397e3da8439 n/a (libSDL2-2.0.so.0)
                #7  0x00000397e719c424 start_thread (libpthread.so.0)
                #8  0x00000397e2a65cbd __clone (libc.so.6)

Aditional note: Other games run using Primus (tested using FTL Faster than Light) are not impacted by any errors

Last edited by PwnagePineapple (2016-04-01 02:34:47)

Offline

#2 2016-04-04 18:27:29

0x29a
Member
Registered: 2012-09-28
Posts: 101

Re: XCOM Enemy Unknown crashes on startup

Hi!
Have you tried instructions as provided on WineHQ?

Also, you may try running the game with specific version of wine that has been proven to launch it (for example, as far as I know, only Wine 1.7.49 can launch FEAR without translucent models glitch. Also, some games require very specific Wine version to run at all, like Wolfenstein New Order).
I use PlayOnLinux to manage wine versions, and launch them via

 export WINEPREFIX=~/.PlayOnLinux/wineprefix/ && ~/.PlayOnLinux/wine/linux-x86/VERSION_GOES_HERE/bin/wine executable.exe 

Installing the game in clean wineprefix and managing only required dependencies (vc libraries, .net, and so on) via winetricks can help too.

Offline

#3 2016-04-07 07:49:33

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: XCOM Enemy Unknown crashes on startup

Hello!

I had simmilair problems with XCOM Enemy Unknown/Within. I resolved it by starting "Steam" with the below:

LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam

PwnagePineapple - Try the above if you have not done so allready and see if it solves the problem.

Regards
Martin

Last edited by onslow77 (2016-04-07 07:53:33)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

Board footer

Powered by FluxBB