LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Some Steam games crash X (64-current w/ multilib | 2015.11.25) (https://www.linuxquestions.org/questions/slackware-14/some-steam-games-crash-x-64-current-w-multilib-%7C-2015-11-25-a-4175560157/)

ryanpcmcquen 11-29-2015 01:00 PM

Some Steam games crash X (64-current w/ multilib | 2015.11.25)
 
I know 'Spec Ops: The Line' ran before Xorg 1.18.0. Here is the relevant crash that brings down X when I launch 'Spec Ops' from Steam:

Code:

[  2328.713] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 /dev/dri/card1
[  2328.713] (II) config/udev: Adding drm device (/dev/dri/card1)
[  2328.713] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2328.713] (II) LoadModule: "modesetting"
[  2328.714] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  2328.714] (II) Module modesetting: vendor="X.Org Foundation"
[  2328.714]        compiled for 1.18.0, module version = 1.18.0
[  2328.714]        Module class: X.Org Video Driver
[  2328.714]        ABI class: X.Org Video Driver, version 20.0
[  2328.714] xf86: found device 1
[  2331.706] (II) intel(0): EDID vendor "CMN", prod id 4931
[  2331.706] (II) intel(0): Printing DDC gathered Modelines:
[  2331.706] (II) intel(0): Modeline "1920x1080"x0.0  138.78  1920 1966 1996 2080  1080 1082 1086 1112 -hsync -vsync (66.7 kHz eP)
[  2331.706] (II) intel(0): Modeline "1920x1080"x0.0  92.52  1920 1966 1996 2080  1080 1082 1086 1112 -hsync -vsync (44.5 kHz e)
[  2331.792] (II) intel(0): EDID vendor "CMN", prod id 4931
[  2331.792] (II) intel(0): Printing DDC gathered Modelines:
[  2331.792] (II) intel(0): Modeline "1920x1080"x0.0  138.78  1920 1966 1996 2080  1080 1082 1086 1112 -hsync -vsync (66.7 kHz eP)
[  2331.792] (II) intel(0): Modeline "1920x1080"x0.0  92.52  1920 1966 1996 2080  1080 1082 1086 1112 -hsync -vsync (44.5 kHz e)
[  2340.554] (EE)
[  2340.554] (EE) Backtrace:
[  2340.554] (EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x41) [0x5841f1]
[  2340.554] (EE) 1: /usr/libexec/Xorg (0x400000+0x1880e9) [0x5880e9]
[  2340.554] (EE) 2: /lib64/libpthread.so.0 (0x7fa08ae55000+0x11340) [0x7fa08ae66340]
[  2340.554] (EE) 3: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fa08640d000+0x11efec) [0x7fa08652bfec]
[  2340.554] (EE) 4: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fa08640d000+0x11f2af) [0x7fa08652c2af]
[  2340.554] (EE) 5: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fa08640d000+0x13cd64) [0x7fa086549d64]
[  2340.554] (EE) 6: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fa08640d000+0x13ce80) [0x7fa086549e80]
[  2340.554] (EE) 7: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fa08640d000+0x119784) [0x7fa086526784]
[  2340.554] (EE) 8: /usr/lib64/libdrm.so.2 (drmHandleEvent+0x66) [0x7fa08baf6136]
[  2340.554] (EE) 9: /usr/libexec/Xorg (WakeupHandler+0x6d) [0x43978d]
[  2340.554] (EE) 10: /usr/libexec/Xorg (WaitForSomething+0x1d7) [0x581297]
[  2340.554] (EE) 11: /usr/libexec/Xorg (0x400000+0x34bde) [0x434bde]
[  2340.554] (EE) 12: /usr/libexec/Xorg (0x400000+0x38c93) [0x438c93]
[  2340.554] (EE) 13: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7fa0894a1870]
[  2340.554] (EE) 14: /usr/libexec/Xorg (_start+0x29) [0x4242d9]
[  2340.554] (EE)
[  2340.554] (EE) Segmentation fault at address 0x302800080
[  2340.554] (EE)
Fatal server error:
[  2340.554] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  2340.554] (EE)
[  2340.554] (EE)


Here are the full logs in case I missed something:

Xorg.0.log: http://sprunge.us/dJSL
Xorg.8.log: http://sprunge.us/RBdg

Other games still run fine (Axiom Verge, Middle-earth: Shadow of Mordor).

ryanpcmcquen 11-29-2015 01:19 PM

Another game that crashes (that ran fine with Xorg 1.17.x), is 'Metro: Last Light'.

ryanpcmcquen 11-29-2015 10:24 PM

Doesn't seem to be driver related because games work with the xf86-video-intel driver and the proprietary NVIDIA driver (using `primusrun`).

I have tried the 358.16 and 352.63 driver, same issue.

orbea 11-29-2015 10:39 PM

Does it crash if you start the games manually from their installation directory? Some games don't even require steam to be running to play. You could try complaining at the steam github page.

ryanpcmcquen 11-29-2015 10:46 PM

Quote:

Originally Posted by orbea (Post 5457158)
Does it crash if you start the games manually from their installation directory? Some games don't even require steam to be running to play. You could try complaining at the steam github page.

They all worked before the Xorg update. The only one that I can launch without Steam is 'Metro: Last Light'. It isn't working that way either, no error message on the console, just tries to launch then fails.

ryanpcmcquen 11-29-2015 10:47 PM

From what I'm googling, this is happening on other distros with Xorg 1.18.

orbea 11-29-2015 11:31 PM

Using LD_PRELOAD as described at the arch wiki also might help.

https://wiki.archlinux.org/index.php...runtime_issues

ryanpcmcquen 11-29-2015 11:54 PM

Quote:

Originally Posted by orbea (Post 5457174)
Using LD_PRELOAD as described at the arch wiki also might help.

https://wiki.archlinux.org/index.php...runtime_issues

Here's my current steam launch script `/usr/local/bin/steam`:

Code:

#!/bin/sh
export LD_PRELOAD="/usr/lib/libasound.so.2:/usr/lib64/libasound.so.2:/usr/lib/libstdc++.so.6:/usr/lib64/libstdc++.so.6:/usr/lib/libgcc_s.so.1:/usr/lib64/libgcc_s.so.1:/usr/lib/libxcb.so.1:/usr/lib64/libxcb.so.1"
/usr/bin/steam

Still not helping ...

orbea 11-30-2015 12:39 AM

Steam has been giving me a lot of issues lately too. Before you try 'steam --reset', beware its been deleting entire game libraries lately...

Btw, I think you should probably change all those LD_PRELOAD to $LIB instead of lib or lib64, it will look cleaner and won't try to load wrong libs.

ryanpcmcquen 11-30-2015 08:11 AM

Quote:

Originally Posted by orbea (Post 5457193)
Steam has been giving me a lot of issues lately too. Before you try 'steam --reset', beware its been deleting entire game libraries lately...

Btw, I think you should probably change all those LD_PRELOAD to $LIB instead of lib or lib64, it will look cleaner and won't try to load wrong libs.

Will that load the 32 & 64 bit versions? Steam itself is 32 bit but some games are 64 bit.

orbea 11-30-2015 10:03 AM

As I understand it, it loads the version of the lib the game wants. If I try to use both lib and lib64 I get a lot of warnings about the wrong elfclass being loaded.

ryanpcmcquen 11-30-2015 10:21 AM

Quote:

Originally Posted by orbea (Post 5457378)
As I understand it, it loads the version of the lib the game wants. If I try to use both lib and lib64 I get a lot of warnings about the wrong elfclass being loaded.

Did you test to see if it works with a 64-bit game like XCOM: Enemy Unknown?

orbea 11-30-2015 10:24 AM

I tested now, it does, but I guess I still get these errors.

Code:

ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 27605 != 27604, skipping destruction (fork without exec?)
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 27608 != 27604, skipping destruction (fork without exec?)
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 27607 != 27604, skipping destruction (fork without exec?)
ATTENTION: default value of option force_s3tc_enable overridden by environment.
XCOM - XCOMLauncher returned Enemy Within
XCOM - Launching
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 27614 != 27613, skipping destruction (fork without exec?)
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

So it probably doesn't make much difference other than looking cleaner...

ryanpcmcquen 12-01-2015 09:25 AM

Here is the diff I sent to Eric for the steamclient build, the quoting got a little crazy, haha.

https://www.irccloud.com/pastebin/gX...eamclient.diff

ryanpcmcquen 12-06-2015 03:42 PM

Interestingly, Borderlands 2 will crash X in Fluxbox, but not dwm ... I wonder if the DE's and WM's have to be recompiled against the new Xorg?


All times are GMT -5. The time now is 03:11 AM.