You are not logged in.

#1 2018-06-24 10:36:43

piedro
Member
Registered: 2013-04-11
Posts: 218

[Solved] Could Arch build settings break Civ 5 on steam?

Hello!

Civ5 on steam worked fine for the last years on my arch box.

It worked more or less perfect with "steam" from the arch repostory and also with "steam-native" from the AUR.
Some performance issues here and there, some crashes due to mod use, some random crashes along the way but there has been nothing game breaking or unrecoverable...

Now within the last few weeks something must have changed with Arch or Steam updates. When I try to launch it from within the steam client GUI I get a black screen for second then the game seems to crash and doesn't launch.

When launching manually it I get the following error:

~/.local/share/Steam/steamapps/common/Sid\ Meier\'s\ Civilization\ V/Civ5XP

/home/piedro/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/Civ5XP: error while loading shared libraries: libMiles.so: cannot open shared object file: No such file or directory 

I checked and the file "libMiles.so" is present in the games folder
"/home/piedro/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/"

Since there is also the file
~/.local/share/Steam/ubuntu12_32/libmiles.so
I created a symlink to
~/.local/share/Steam/ubuntu12_32/libMiles.so

But I still get the same message about the missing library...

I tried different launch options within the steam client but none resolved it.

How can this be solved?
I don't know how to proceed...

Thx for help,
p.

p.s.: I found that thread here which seems to describe the exact same symptoms:

https://steamcommunity.com/app/8930/dis … 563095310/

But sadly I do not understand what the last post there suggests, I tried to reinstall libxcb but this seems to be somerthing different....

I get from dmesg:

[ 2131.498936] traps: Civ5XP[10838] general protection ip:eb8bf4e1 sp:f42c9174 error:0 in libpulsecommon-12.0.so[eb871000+8c000]
[ 2500.409008] Civ5XP[11271]: segfault at 88000000 ip 00000000ebe859eb sp 00000000f2e46738 error 6
[ 3088.723094] Civ5XP[11567]: segfault at 88000000 ip 00000000ebe859eb sp 00000000f2ee0738 error 6
[ 3637.902109] Civ5XP[12637]: segfault at 88000000 ip 00000000ebf859eb sp 00000000f2f02738 error 6
[ 4658.932462] Civ5XP[32091]: segfault at 88000000 ip 00000000ebe859eb sp 00000000f2eeb738 error 6
[ 4980.400408] gnome-shell[960]: segfault at 5584000002ac ip 00007fb83829b272 sp 00007ffff00dad00 error 4 in libgobject-2.0.so.0.5600.1[7fb838265000+52000]
[ 5024.561186] Civ5XP[32696]: segfault at 88000000 ip 00000000ebe859eb sp 00000000f2e41738 error 6
[ 5715.615356] CLocalLibraryCr[31996]: segfault at 0 ip 0000000000000000 sp 00000000c42fd10c error 14 in steam[5661f000+3f7000]
[ 6796.367119] traps: Civ5XP[2099] general protection ip:ea4bf4e1 sp:f2efc134 error:0 in libpulsecommon-12.0.so[ea471000+8c000]
[ 7081.655998] traps: Civ5XP[2719] general protection ip:eb8bf4e1 sp:f42b4174 error:0 in libpulsecommon-12.0.so[eb871000+8c000]
[ 8787.104007] traps: Civ5XP[3407] general protection ip:ecdbf4e1 sp:f41ed174 error:0 in libpulsecommon-12.0.so[ecd71000+8c000]
[ 9129.230184] Civ5XP[3652]: segfault at 88000000 ip 00000000ebe859eb sp 00000000f2edf738 error 6

Last edited by piedro (2018-06-27 07:35:58)

Offline

#2 2018-06-24 17:01:21

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [Solved] Could Arch build settings break Civ 5 on steam?

The gentoo bug report mentioned in that post indicates the problem may be caused by the build flags used on archlinux .

Some questions :

Does civ5 run in 64-bit or 32-bit steam mode ?

Try to narrow down when this occured first and what was updated just before that. Post the pacman log of that period.
Look especially for gcc & pacman updates.

I also suggest changing the title of the thread to something like "Could Arch build settings break Civ 5 on steam ?"


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

#3 2018-06-24 17:19:51

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [Solved] Could Arch build settings break Civ 5 on steam?

[ 2131.498936] traps: Civ5XP[10838] general protection ip:eb8bf4e1 sp:f42c9174 error:0 in libpulsecommon-12.0.so[eb871000+8c000]

libpulsecommon-12.0.so is not libxcb.so.1.1.0 from the linked bug report.  Arch already has lib32-libxcb rebuilt with -O1 to address the linked issue https://bugs.archlinux.org/task/49560
Edit:
Debugging_Steam

Last edited by loqs (2018-06-24 17:22:51)

Offline

#4 2018-06-24 17:25:26

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [Solved] Could Arch build settings break Civ 5 on steam?

I can reproduce with both 'steam-native' and 'steam'.

I'm not sure whether this could be about libxcb build flags, since lib32-libxcb is apparently still built with -O1, while libxcb always used the default $CFLAGS. Also, I don't see any errors regarding libxcb in my system logs.

EDIT. Apparently downgrading all pulseaudio packages to 11.1 solves the issue. So this is caused by something with pulseaudio-12.0 update.

Last edited by ooo (2018-06-24 17:32:06)

Offline

#5 2018-06-24 18:55:29

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Lone_Wolf wrote:

Does civ5 run in 64-bit or 32-bit steam mode ?

Try to narrow down when this occured first and what was updated just before that. Post the pacman log of that period.
Look especially for gcc & pacman updates.

thanks for your hints, I changed the title already...

Now I do not know how to see which mode steam uses for the games, I was under the expression that it uses 32bit ubuntu libraries from 2012 but I do not know how this works exactly. Neither do I find that information...

Also I really can't break down when this happened since I don't play games on a daily basis. The last time I played was around 6 weeks ago... I update Arch everyday so this is not much help either... 

The only thing I can see is that the library is present in my home folder as described and that the segfault seems to have something to do with pulseaudio, well this libpulsecommon library...

...

Thanks @loqs also: I will check the debugging steam tipps...

Last edited by piedro (2018-06-24 18:56:03)

Offline

#6 2018-06-24 19:06:43

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Is there a coredump that could provide a backtrace?
The pulse packages may need to be rebuilt with debug symbols to make it useful but lets see if there is one to start with.

Offline

#7 2018-06-24 19:58:56

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

This is the only backtrace I get from "coredumpctl gdb 2097":

#0  0xea4bf4e1 in pa_smoother_new () from /usr/lib32/pulseaudio/libpulsecommon-12.0.so
#1  0xec9339d4 in ?? () from /usr/lib32/libpulse.so.0
#2  0xf778409b in ?? ()
#3  0xe8457860 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

This seems to relate to the package "lib32-libpulse" from the "multilib" repository.
I reinstalled this package without any improvement.

p.

Last edited by piedro (2018-06-24 20:03:28)

Offline

#8 2018-06-24 21:44:11

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Debug_-_Getting_Traces#PKGBUILD apart from change to version 12 of pulse could be a toolchain update.

Offline

#9 2018-06-24 22:43:25

IngeniousDox
Member
Registered: 2018-06-24
Posts: 25

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Right. Ran into the same issue. I have just bought Civ5, and have played it at the start of the week for a couple of hours. Today it fails to start.

I'm new to using Steam (and Arch for that matter). So I first thought it was a steam issue. I reinstalled Civ5 and Steam, tried resetting and such, and no joy. Then I moved on to looking at debugging. It never showed a segfault in the steam log, but starting the game from the command line did. I quickly did "gdb Civ5XP", then "bt full", here is the output:

Reading symbols from Civ5XP...(no debugging symbols found)...done.
(gdb) run
Starting program: /data2/Games/SteamLibrary/steamapps/common/Sid Meier's Civilization V/Civ5XP 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
warning: the debug information found in "./libopenal.so.1.13.0" does not match "./libopenal.so.1" (CRC mismatch).

warning: the debug information found in "./libuuid.so.1.3.0" does not match "./libuuid.so.1" (CRC mismatch).

[New Thread 0xf7272b40 (LWP 17939)]
[New Thread 0xf46d9b40 (LWP 17940)]
GUID Assets\dlc\dlc_01\mongol.civ5pkg 7a036b7fb9a80e8dea7b73fb58c5a288
GUID Assets\dlc\dlc_02\spaininca.civ5pkg 4f75e72761f4c6019b55a0a7b90444a2
GUID Assets\dlc\dlc_03\polynesia.civ5pkg 99ac9d5f6ca4b5bed0ab89c0fd3b9e6d
GUID Assets\dlc\dlc_04\denmark.civ5pkg 0efb155307bd6d14c9290b49b5364a3e
GUID Assets\dlc\dlc_05\korea.civ5pkg 9f4df81cf712ae9480737f816bf6f4c8
GUID Assets\dlc\dlc_06\ancientwonders.civ5pkg 92b102db9a3c7dc068030c3ce33bbb48
GUID Assets\dlc\dlc_07\civcomplete.civ5pkg eb01a0be4d8e5312f53b042c8a7c30b5
GUID Assets\dlc\dlc_deluxe\babylon.civ5pkg 712495341921f2b288746c6d44fd6867
GUID Assets\dlc\dlc_sp_maps\dlc_sp_maps.civ5pkg 52b285c37939913e0a5b72933bb06067
GUID Assets\dlc\dlc_sp_maps_2\dlc_sp_maps_2.civ5pkg 16a61e7a2a7bb4bc2d1f677b5bb58ff4
GUID Assets\dlc\dlc_sp_maps_3\dlc_sp_maps_3.civ5pkg 1954db58e0a60b018969c49440fa01ef
GUID Assets\dlc\expansion\expansion1.civ5pkg 8bc30c58378345cb0911c5848926f1ff
GUID Assets\dlc\expansion2\expansion2.civ5pkg 31dfaa9838c5b051d4c2112ddd9e7eb3
GUID Assets\dlc\shared\upgrade1.civ5pkg e818fa28902977b42ee5e3426f5112e6
Setting breakpad minidump AppID = 8930
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198422379180 [API loaded no]
[New Thread 0xeaeffb40 (LWP 17942)]
[New Thread 0xeacfeb40 (LWP 17943)]
[New Thread 0xeaafdb40 (LWP 17944)]
[New Thread 0xe8ea0b40 (LWP 17945)]
[Thread 0xe8ea0b40 (LWP 17945) exited]
[New Thread 0xe8ea0b40 (LWP 17946)]

Thread 3 "Civ5XP" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf46d9b40 (LWP 17940)]
0xee4634e1 in pa_smoother_new () from /usr/lib32/pulseaudio/libpulsecommon-12.0.so
(gdb) bt full
#0  0xee4634e1 in pa_smoother_new () from /usr/lib32/pulseaudio/libpulsecommon-12.0.so
No symbol table info available.
#1  0xee4cd9d4 in ?? () from /usr/lib32/libpulse.so.0
No symbol table info available.
#2  0xf782f09b in ?? () from ./libopenal.so.1
No symbol table info available.
#3  0xf782f32c in ?? () from ./libopenal.so.1
No symbol table info available.
#4  0xf78069a3 in alcCreateContext () from ./libopenal.so.1
No symbol table info available.
#5  0x09126f4a in YUV12 ()
No symbol table info available.
#6  0x091264a2 in YUV12 ()
No symbol table info available.
#7  0x09113bee in check_for_pending_io ()
No symbol table info available.
#8  0x09114188 in BinkOpen ()
No symbol table info available.
#9  0x085f7553 in ASL::PlayBinkMovieGL(char const*, float, unsigned int, unsigned int, bool*) ()
No symbol table info available.
#10 0x0884c26c in PlayMovieState::Begin() ()
No symbol table info available.
#11 0x086e0fc3 in Civ5App::PlayOpeningMovie() ()
No symbol table info available.
#12 0x086e1c46 in Civ5App::Init(char const*) ()
No symbol table info available.
#13 0x0865b3ed in WinMain ()
No symbol table info available.
#14 0x085f5487 in ?? ()
No symbol table info available.
#15 0x085d8e3e in ThreadHANDLE::ThreadProc(void*) ()
No symbol table info available.
#16 0xf7b6538f in start_thread () from /usr/lib32/libpthread.so.0
No symbol table info available.
#17 0xf79aa8b6 in clone () from /usr/lib32/libc.so.6
No symbol table info available.

I checked pacman log and saw that lib32-libpulse was updated 3/4 days ago. I downgraded to lib32-libpulse-11.1-1 and was able to start Civ5 again.

I figured I would post in Arch forum about it first. Found this thread, so adding my info here. I'm sure there is more debugging to do, but like I said, I'm new to Arch, and still reading up on your bug reporting procedures. Also its is now way past midnight here and I have to get up early again tomorrow, so I'm out of time for now. Hope my bit helps,

Dox

Offline

#10 2018-06-26 19:04:46

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Ok - so downgrading it is!

Sadly I do not have the previous version of all the pulseaudio 11.1 packages in my cache anymore.
Probably tried too many reinstalls, I guess...

Where can I find these packages? The ARch package search seems to only give me the latest...

Thanks for any help here...

Cheers, p.

Offline

#11 2018-06-26 19:16:01

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Arch_Linux_Archive although that would be a work around rather than a fix.

Offline

#12 2018-06-26 19:25:23

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

True but I feel like playing a game on the weekend while everyone is watching football anyway is a good way to go!

And to be honest I looked into the debugging link you send me...
I feel a bit overwhelmed by rebuilding all pulseaudio packages.

So I am hoping the next update will fix it.
But I might dive into eventually...

thanks a lot anyway, p.

Offline

#13 2018-06-26 21:59:55

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

@IngeniousDox

Downgrading did not work for me at all. I downgraded pulseaudio, pulseaudo-bluetooth, libpulse und lib32-libpulse...

But still the same error occurs.

hmmm.
p.

Offline

#14 2018-06-26 22:28:54

IngeniousDox
Member
Registered: 2018-06-24
Posts: 25

Re: [Solved] Could Arch build settings break Civ 5 on steam?

I only downgraded lib32-libpulse-11.1-1, nothing else, that solved my issue. I still had the package in my cache, so I didn't have to rebuild it. I'll prolly keep a copy of it, and just LD_PRELOAD the lib on game start. Civ: BE needs it aswell.

Since I have limited time, and this problem is too low priority for me, I probably won't debug it for a while (if at all).

Dox

Offline

#15 2018-06-26 22:44:18

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Sorry to waste your time but I'd like to test that as well:

I reinstalled the pulseaudio version 12 again and downgraded only lib32-libpulse to 11.1 from the Arch archive. 
I reinstalled Steam and Civ5.

What exactly do I have to preload here? (...or more precise what is your preload setting?)
Which libraries do you preload, the libmime ones or the lib32-libpulse one?

Would you mind just giving me your LD_PRELOAD line?

thx for your effort, p.

Offline

#16 2018-06-27 04:51:16

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: [Solved] Could Arch build settings break Civ 5 on steam?

I assume you already tried this?
https://wiki.archlinux.org/index.php/St … 12.0.so.22

Last edited by kokoko3k (2018-06-27 04:51:29)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#17 2018-06-27 07:34:23

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

No, I haven't!

Game crashes on startup with an error in libpulsecommon-12.0.so:

Run the game with LD_PRELOAD=/usr/lib32/libopenal.so.1 %command%

Using this LD-PRELOAD line solves the problem.
Even after upgrading to the package version "lib32-libpulse-12.0" again.

So thanks a lot, I mark this as SOLVED! :-)

Cheers, p.

Offline

#18 2018-06-27 08:18:49

IngeniousDox
Member
Registered: 2018-06-24
Posts: 25

Re: [Solved] Could Arch build settings break Civ 5 on steam?

That crash fix actually wasn't on the game specific fixes on sunday. It works aswell, and without keeping an old package. Perfect.

Now just to find a solution to the diplomacy screen being garbled. But thats for another time and thread since this one is about the sound and solved. (And you can workaround it by setting Leader Scene Quality to minimum).

Dox

Offline

#19 2018-06-27 09:20:11

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] Could Arch build settings break Civ 5 on steam?

Yes, it's great that there has been a solution so quickly.

I never saw any problem with the diplomacy screen but it could be that I have set the quality to minimum anyway.   

But I will check that the next time when I desperately want the highest quality to show how very much indeed I would be interested in a trade agreement with England...  :-)


Have a nice week everyone!
 
Cheers, piedro

Last edited by piedro (2018-06-27 09:20:32)

Offline

Board footer

Powered by FluxBB