LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2015, 01:00 PM   #1
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
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).
 
Old 11-29-2015, 01:19 PM   #2
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
Another game that crashes (that ran fine with Xorg 1.17.x), is 'Metro: Last Light'.
 
Old 11-29-2015, 10:24 PM   #3
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-29-2015, 10:39 PM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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.
 
Old 11-29-2015, 10:46 PM   #5
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
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.
 
Old 11-29-2015, 10:47 PM   #6
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
From what I'm googling, this is happening on other distros with Xorg 1.18.
 
Old 11-29-2015, 11:31 PM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Using LD_PRELOAD as described at the arch wiki also might help.

https://wiki.archlinux.org/index.php...runtime_issues
 
Old 11-29-2015, 11:54 PM   #8
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by orbea View Post
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 ...
 
Old 11-30-2015, 12:39 AM   #9
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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.
 
Old 11-30-2015, 08:11 AM   #10
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
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.
 
Old 11-30-2015, 10:03 AM   #11
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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.
 
Old 11-30-2015, 10:21 AM   #12
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
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?
 
Old 11-30-2015, 10:24 AM   #13
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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...

Last edited by orbea; 11-30-2015 at 10:28 AM.
 
1 members found this post helpful.
Old 12-01-2015, 09:25 AM   #14
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-06-2015, 03:42 PM   #15
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Original Poster
Rep: Reputation: Disabled
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?
 
  


Reply

Tags
steam, xorg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Steam client (32bit games lacking sound) due to -current updates coralfang Slackware 22 01-13-2016 06:52 AM
Slackware Current - Hovering over games menu on XFCE causes whole DE to crash Altiris Slackware 1 08-23-2015 11:37 AM
Some steam games run awful on Slack64+multilib Clementine Jam Slackware 5 07-13-2014 02:03 PM
LXer: iBomber games coming to Steam for Linux! Steam also expands their Beta! LXer Syndicated Linux News 0 12-06-2012 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration