You are not logged in.

#1 2019-03-29 13:05:30

rxl_980
Member
Registered: 2016-12-09
Posts: 16

Steam - cannot launch games (e.g. Civ 5)

I have steam installed (and the multilib library enabled in pacman.conf) and can open the steam client and install software (i.e. games) with it. But whatever I try to launch from steam crashes. At the moment I am trying to run Civ 5 which is a native linux game so does not rely on proton or some other compatibility layer.  Not sure if it is relevant but I am running KDE Plasma as my desktop environment.

The graphics card I am running is a GTX 1060 6GB. Packages I installed [and version numbers as shown in pacman]:
nvidia (using the libglvnd version) [nvidia 418.56-2]
lib32-nvidia-utils [lib32-nvidia-utils 418.56-1]
steam [steam 1.0.0.59-1]

edit: noticed as I was writing this that those two nvidia packages end with a different suffix, i.e. 2 and 1 respectively. Does that matter? I should have added I ran pacman -Syu this morning to update everything and restarted after.

Initially I found steam was unable to launch. /tmp/dumps/user_sdout.txt suggested missing libraries. I ran the following commands as specified from the troubleshooting page on the wiki:

cd ~/.steam/root/ubuntu12_32
file * | grep ELF | cut -d: -f1 | LD_LIBRARY_PATH=. xargs ldd | grep 'not found' | sort | uniq

Which showed lots of missing libraries:

        libdbus-glib-1.so.2 => not found
        libfontconfig.so.1 => not found
        libfreetype.so.6 => not found
        libgdk_pixbuf-2.0.so.0 => not found
        libgio-2.0.so.0 => not found
        libglib-2.0.so.0 => not found
        libgobject-2.0.so.0 => not found
        libgtk-x11-2.0.so.0 => not found
        libICE.so.6 => not found
        libnm-glib.so.4 => not found
        libnm-util.so.2 => not found
        libopenal.so.1 => not found
        libpulse.so.0 => not found
        libSM.so.6 => not found
        libudev.so.0 => not found
        libusb-1.0.so.0 => not found
        libva.so.1 => not found
        libva-x11.so.1 => not found
        libvdpau.so.1 => not found
        libXinerama.so.1 => not found
        libXi.so.6 => not found
        libXrandr.so.2 => not found
        libXtst.so.6 => not found

I found the package names and installed the relevant files:

pacman -S lib32-dbus-glib lib32-fontconfig lib32-freetype2 lib32-gdk-pixbuf2 lib32-glib2 lib32-glib2 lib32-glib2 lib32-gtk2 lib32-libice lib32-libnm-glib lib32-libnm-glib lib32-openal lib32-libpulse lib32-libsm lib32-libudev0-shim lib32-libusb lib32-libva1 lib32-libva1 lib32-libvdpau lib32-libxinerama lib32-libxi lib32-libxrandr lib32-libxtst

Restarted and steam now launches without issues. There are no more missing libraries reported if I re-run the ldd command shown above. But games do not run. I thought I'd try getting something programmed native for linux to run first as that seems like the most straightforward situation to me. Civilization 5 is what I am currently trying to run. When I try to launch it crashes within a second of opening. I have disabled the steam overlay. The wiki suggests this could also be to do with missing libraries so I thought I would check for the application executable. After cd'ing to the relevant directory (i.e. the one with the game executable in the steam library) I get the following output from ldd (noting that Civ5XP is the executable file that launches the game):

 ldd Civ5XP
        linux-gate.so.1 (0xf7fbf000)
        libcrypto.so.1.0.0 => ./libcrypto.so.1.0.0 (0xf7e0f000)
        libMiles.so => ./libMiles.so (0xf7d87000)
        libtbb.so.2 => ./libtbb.so.2 (0xf7d56000)
        libssl.so.1.0.0 => ./libssl.so.1.0.0 (0xf7d00000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7b7f000)
        libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7b5e000)
        librt.so.1 => /usr/lib32/librt.so.1 (0xf7b53000)
        libc++.so.1 => ./libc++.so.1 (0xf7aa9000)
        libcxxrt.so => ./libcxxrt.so (0xf7a8a000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf78ad000)
        /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7fc0000)
        libsteam_api.so => ./libsteam_api.so (0xf789b000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7837000)
        libopenal.so.1 => ./libopenal.so.1 (0xf77ed000)
        libdl.so.2 => /usr/lib32/libdl.so.2 (0xf77e7000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf771a000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf76fd000)
        libuuid.so.1 => ./libuuid.so.1 (0xf76f7000)
        libiconv.so.2 => ./libiconv.so.2 (0xf7613000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf75f9000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7475000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7447000)
        libGLX.so.0 => /usr/lib32/libGLX.so.0 (0xf7424000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf740f000)
        libGLdispatch.so.0 => /usr/lib32/libGLdispatch.so.0 (0xf73ad000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf73a8000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf73a1000) 

That looks ok to me, i.e. nothing says 'not found'. So I thought I would take a look at the error files next. Here is where I am getting stuck:

/tmp/dumps/rxk_sdout.txt

/home/rxk/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/rxk/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on arch  64-bit
/home/rxk/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Pins up-to-date!

That output seems to be generated by opening the steam client rather than launching the game judging from the timestamp on the file. Given the steam client seems to work I am unsure if the unbound variable is an issue or not. Could that be the problem? Nothing else appears in the tmp/dumps folder after the game crashes. So then I looked at journalctl to see if there was a relevant error noted

journalctl -p 3 -xb

Within the output there I have the following entry relating to the game crashing:

Mar 29 12:10:04 arch001 systemd-coredump[5939]: Process 5934 (Civ5XP) of user 1000 dumped core.
                                                
                                                Stack trace of thread 5936:
                                                #0  0x00000000ee4e157b n/a (n/a)
-- Subject: Process 5934 (Civ5XP) dumped core
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 5934 (Civ5XP) crashed and dumped core.
-- 
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.

And looking at logs for the process I get:

journalctl _PID=5934
-- Logs begin at Sun 2019-03-17 17:48:24 GMT, end at Fri 2019-03-29 12:56:28 GMT. --
Mar 29 12:10:03 arch001 audit[5934]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=5934 comm="Civ5XP" exe=2F67616D65732F537465616D2F737465616D617070732F636F6D6D6F6E2F536964204D65696572277320436976696C697A6174696F6E20562F436976355850 sig=11 res=1

That seems to be it. I think I must be missing some other error log. Grateful for any help or pointers on next steps.

Last edited by rxl_980 (2019-03-29 13:08:08)

Offline

#2 2019-03-29 13:08:40

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,975
Website

Re: Steam - cannot launch games (e.g. Civ 5)

Do you use the steam integrated or native runtime?


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2019-03-29 13:20:43

rxl_980
Member
Registered: 2016-12-09
Posts: 16

Re: Steam - cannot launch games (e.g. Civ 5)

schard wrote:

Do you use the steam integrated or native runtime?

I have two options in my application launcher menu steam (native) and steam (runtime). I tried both and they seem to give the same result. From the wiki I thought steam native would be the one to go with which is what I am currently trying.

Based on this page https://wiki.archlinux.org/index.php/St … am_runtime I thought steam-runtime was the one to focus on so that is what I've principally been trying to use, to clarify.

Last edited by rxl_980 (2019-03-29 13:27:29)

Offline

#4 2019-03-31 12:54:54

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Steam - cannot launch games (e.g. Civ 5)

Do you have lib32-openal installed ?
Check https://wiki.archlinux.org/index.php/St … lization_V


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB