[Linux] Shadwen does not run (segfault)

Shadwen is a stealth game, where sneaking is not optional. It was released in May 2016 for Windows, Linux, Mac and PlayStation 4.
daxel3
Posts: 6
Joined: Mon Apr 18, 2011 9:06 pm

[Linux] Shadwen does not run (segfault)

Postby daxel3 » Fri May 20, 2016 7:57 pm

I'm running Ubuntu 16.04 64bit with nvidia drivers (340.96).

When I run the Steam-Version I get to the launcher. Clicking "Start Shadwen" does not launch the game. In the DRM-free version from Humble Bundle I get

Code: Select all

nohup: redirecting stderr to stdout


When I manually set the LD_LIBRARY_PATH and run the game binary directly, I get

Code: Select all

[1]    4991 segmentation fault  ./bin/shadwen_linux_64bit


ldd outputs these libraries:

Code: Select all

linux-vdso.so.1 =>  (0x00007ffffa5c0000)
libPhysX3_x64.so => /home/me/games/Shadwen/lib/lib64/libPhysX3_x64.so (0x00007fb6a96ec000)
libPhysX3Common_x64.so => /home/me/games/Shadwen/lib/lib64/libPhysX3Common_x64.so (0x00007fb6a9393000)
libPhysX3Cooking_x64.so => /home/me/games/Shadwen/lib/lib64/libPhysX3Cooking_x64.so (0x00007fb6a9166000)
libPhysX3CharacterKinematic_x64.so => /home/me/games/Shadwen/lib/lib64/libPhysX3CharacterKinematic_x64.so (0x00007fb6a8f38000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fb6a8d08000)
libGLEW.so.1.6 => /home/me/games/Shadwen/lib/lib64/libGLEW.so.1.6 (0x00007fb6a8a9c000)
libGL.so.1 => /usr/lib/nvidia-340/libGL.so.1 (0x00007fb6a8750000)
libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fb6a84e1000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fb6a8236000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb6a8032000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb6a7e15000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb6a7bfa000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb6a79f2000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb6a7670000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb6a7366000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb6a7150000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb6a6d87000)
libnvidia-tls.so.340.96 => /usr/lib/nvidia-340/tls/libnvidia-tls.so.340.96 (0x00007fb6a6b83000)
libnvidia-glcore.so.340.96 => /usr/lib/nvidia-340/libnvidia-glcore.so.340.96 (0x00007fb6a3f6f000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fb6a3c35000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fb6a3a22000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fb6a37fd000)
/lib64/ld-linux-x86-64.so.2 (0x0000556d004f4000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fb6a35da000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fb6a33d6000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fb6a31d0000)


When I ran the game binary through gdb I got these messages:

Code: Select all

Reading symbols from ./bin/shadwen_linux_64bit...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/me/games/Shadwen/bin/shadwen_linux_64bit
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd8ef9700 (LWP 5444)]
[New Thread 0x7fffd86f8700 (LWP 5445)]
[New Thread 0x7fffd7ef7700 (LWP 5446)]
[New Thread 0x7fffd76f6700 (LWP 5447)]
[New Thread 0x7fffd6ef5700 (LWP 5448)]
[New Thread 0x7fffd66f4700 (LWP 5449)]
[New Thread 0x7fffd5ef3700 (LWP 5450)]
[New Thread 0x7fffd535d700 (LWP 5451)]

Thread 1 "shadwen_linux_6" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x0000000000fe63cb in ?? ()
No symbol table info available.
#2  0x000000000103cbe0 in ?? ()
No symbol table info available.
#3  0x0000000000fabf8b in ?? ()
No symbol table info available.
#4  0x0000000000fa5ddd in ?? ()
No symbol table info available.
#5  0x0000000000658b43 in ?? ()
No symbol table info available.
#6  0x00000000006fde8b in ?? ()
No symbol table info available.
#7  0x0000000000438fc5 in ?? ()
No symbol table info available.
#8  0x00007ffff5010830 in __libc_start_main (main=0x438d10, argc=1, argv=0x7fffffffe118, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffe108) at ../csu/libc-start.c:291
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 5549246050065798487, 4565808, 140737488347408, 0, 0, -5549246684822153897, -5549269857121774249}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x1, 0x438d10}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}}
        not_first_call = <optimized out>
#9  0x000000000045ab59 in ?? ()
No symbol table info available.
#10 0x00007fffffffe108 in ?? ()
No symbol table info available.
#11 0x000000000000001c in ?? ()
No symbol table info available.
#12 0x0000000000000001 in ?? ()
No symbol table info available.
#13 0x00007fffffffe529 in ?? ()
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.


I also ran strace on the binary. The result is here:

http://pastebin.com/raw/cxPHG0vD

I hope this helps in finding the problem.

shmerl
Posts: 36
Joined: Sun Aug 09, 2015 9:25 pm

Re: [Linux] Shadwen does not run (segfault)

Postby shmerl » Fri May 20, 2016 10:36 pm

What GPU do you have, and did you test it with the latest Nvidia driver? Yours looks outdated.

daxel3
Posts: 6
Joined: Mon Apr 18, 2011 9:06 pm

Re: [Linux] Shadwen does not run (segfault)

Postby daxel3 » Sat May 21, 2016 7:26 pm

I've got an Nvidia 9500GT that comes with the MacPro. That limits me the the 340 series of drivers. That card is a bit dated but should be enough to run Shadwen.

shmerl
Posts: 36
Joined: Sun Aug 09, 2015 9:25 pm

Re: [Linux] Shadwen does not run (segfault)

Postby shmerl » Sun May 22, 2016 6:19 am

daxel3 wrote:I've got an Nvidia 9500GT that comes with the MacPro. That limits me the the 340 series of drivers. That card is a bit dated but should be enough to run Shadwen.


I see. Then better wait for developers' input.

User avatar
MarjutFB
Posts: 258
Joined: Tue Dec 03, 2013 3:48 pm
Contact:

Re: [Linux] Shadwen does not run (segfault)

Postby MarjutFB » Thu May 26, 2016 11:08 am

Sorry for the delay!

Unfortunately it seems like your graphics card might not support OpenGL 4.1 which the game would need. To confirm this you can check your system's supported OpenGL version by running the following commands:

Code: Select all

sudo apt-get install mesa-utils

and then

Code: Select all

glxinfo | grep "version"


You can also just in case add the longer version which you can get by running:

Code: Select all

glxinfo

Let me know if you have any questions. Cheers!

daxel3
Posts: 6
Joined: Mon Apr 18, 2011 9:06 pm

Re: [Linux] Shadwen does not run (segfault)

Postby daxel3 » Fri May 27, 2016 8:43 pm

OpenGL version string: 3.3.0 NVIDIA 340.96

Yep, looks like it's too old. I guess I'll finally have to figure our how to upgrade the graphics card in this MacPro. If it doesn't work in Linux it won't work in Windows, either, right?

User avatar
MarjutFB
Posts: 258
Joined: Tue Dec 03, 2013 3:48 pm
Contact:

Re: [Linux] Shadwen does not run (segfault)

Postby MarjutFB » Mon May 30, 2016 12:20 pm

daxel3 wrote:OpenGL version string: 3.3.0 NVIDIA 340.96

Yep, looks like it's too old. I guess I'll finally have to figure our how to upgrade the graphics card in this MacPro. If it doesn't work in Linux it won't work in Windows, either, right?


Unfortunately yes, your graphics card most likely won't run Shadwen. 9500 GT is quite much below our minimum requirements even for Windows. You can try it if your other specs are fine, but sadly I can't promise any good results even on the lowest settings.

Let me know if you have any other questions. Cheers!

Patsche
Posts: 5
Joined: Thu Aug 11, 2016 2:15 pm

Re: [Linux] Shadwen does not run (segfault)

Postby Patsche » Fri Aug 12, 2016 9:17 am

The problem is not only that the card is too "old" or to "slow". The game needs a higher OpenGLversion. I can not understand why the coders do that. Many people can not play the game, because the free open source drivers have only OpenGL 3.3.
All people who use Ubuntu 16.04 or Debian testing or a newer distro can not even play the game with a R9280X or R390 for example, because amd build no fglrx driver for the new xorg 1.18 any more. So you see, the cards are not always to "old" or to "weak".

shmerl
Posts: 36
Joined: Sun Aug 09, 2015 9:25 pm

Re: [Linux] Shadwen does not run (segfault)

Postby shmerl » Mon Aug 15, 2016 2:21 am

Requiring high OpenGL version is OK. If you use open drivers, stick to recent AMD (Polaris cards like RX 480). amdgpu + radeonsi are progressing nicely.

Patsche
Posts: 5
Joined: Thu Aug 11, 2016 2:15 pm

Re: [Linux] Shadwen does not run (segfault)

Postby Patsche » Mon Aug 15, 2016 10:54 pm

shmerl wrote:Requiring high OpenGL version is OK. If you use open drivers, stick to recent AMD (Polaris cards like RX 480). amdgpu + radeonsi are progressing nicely.

That's right. But I do not buy a new graphic card because of amdgpu driver. For me the R9280X and R9390 have enough power. The R9280X have only GCN1.0 and I do not doubt that amd buil the amdgpu driver or this card. GCN1.1 has experimental support....


Return to “Shadwen”

Who is online

Users browsing this forum: No registered users and 5 guests