Sid Meier's Civilization V

Sid Meier's Civilization V

View Stats:
Game crashes randomly on Linux
I just tried to play Civ 5 again for the first time in a couple of years. When I left, it was stable on Linux, but now I get random crashes during gameplay. These crashes don't seem to be caused by anything in particular. I tried:
  • Reducing graphics settings to minimum
  • Switching to legacy beta
  • Reinstalling game
  • Verifying local game file integrity

The crashes happen during gameplay (i.e. not triggered by a cutscene) seemingly at random. I've had the game crash when adopting a social policy, running AI turns, and clicking through game setup menus. I'm running Fedora 31. Dmesg reports a segfault in "Civ5XP." Does anyone know of a fix?

I looked into downgrading games on Steam and only found https://steamcommunity.com/sharedfiles/filedetails/?id=1086279994 which looks like a pretty involved process, but downgrading to a working version may be the only solution.
Last edited by M0rtiferrimus; Dec 25, 2019 @ 9:26pm
< >
Showing 1-15 of 25 comments
M0rtiferrimus Dec 27, 2019 @ 12:10pm 
I added this to my startup options after finding it online as a solution for a seemingly unrelated bug:

taskset --cpu-list 0-7 %command%

and the crashes stopped.
VagabondMkII Jan 31, 2021 @ 2:52pm 
Thanks for posting your solution M0rtiferrimus, seems to have sorted the same issue I was having on Ubuntu 20.04LTS!
Appreciate it!
knighttemplar1960 Jan 31, 2021 @ 3:59pm 
The recent "update" to the steam launcher has caused havoc with both macOS and Linux. I've read that switching to the legacy launcher may solve some of the problems for these platforms.
renzobarbieri Apr 1, 2021 @ 3:58am 
Originally posted by M0rtiferrimus:
I added this to my startup options after finding it online as a solution for a seemingly unrelated bug:

taskset --cpu-list 0-7 %command%

and the crashes stopped.

Thanks a lot, this method works for me. I started having the random crash issue with a new computer, not sure why because both the new and the old one run Ubuntu 20.04 so it may have something to do with the different hardware...
ovidius80 Oct 25, 2021 @ 3:09am 
Originally posted by M0rtiferrimus:
I added this to my startup options after finding it online as a solution for a seemingly unrelated bug:

taskset --cpu-list 0-7 %command%

and the crashes stopped.

How did you do that? I am new in linux and I cannot understand what you mean with startup options. My Distro is pop os is 20.04
CalhounMKZ Oct 25, 2021 @ 9:08am 
Originally posted by ovidius80:
Originally posted by M0rtiferrimus:
I added this to my startup options after finding it online as a solution for a seemingly unrelated bug:

taskset --cpu-list 0-7 %command%

and the crashes stopped.

How did you do that? I am new in linux and I cannot understand what you mean with startup options. My Distro is pop os is 20.04
Right click on the game in the steam library window, open properties. In the bottom third of the window should be a field that is headed as Launch Options. Put the command instruction there.
RegorA Jul 19, 2022 @ 9:21pm 
Glad I discovered this thread. I just started playing Civ V for the first time in ages and this solved my crashing problem too.
kiltedcutter Jun 18, 2023 @ 12:07am 
Okay I am not finding this options value so I can add taskset --cpu-list 0-7 %command% as noted. Fresh install of Kubuntu on a new RAD game system. I normally use Linux Mint but Kubuntu was the only distro out of 13 I tried that everything works.

Anyhow I am getting the random crashes as well. And can't find where to put the recommended fix.
F. Noogui Apr 22, 2024 @ 12:37am 
Originally posted by M0rtiferrimus:
I added this to my startup options after finding it online as a solution for a seemingly unrelated bug:

taskset --cpu-list 0-7 %command%

and the crashes stopped.

^ This WORKS! Debian 6.7, 16 core Ryzen 9. THANKS!
glitchdx Aug 12, 2024 @ 3:07pm 
taskset --cpu-list 0-7 %command%

This fix seems to work for me too. I don't know what it does, but i haven't crashed since!
Bingocrash Sep 18, 2024 @ 4:07pm 
This fix does work good. LinuxMint 22, with NO Proton! :steamthumbsup:
Start Options: taskset --cpu-list 0-7 %command%
Last edited by Bingocrash; Sep 18, 2024 @ 4:09pm
ParabolaWaVe Sep 18, 2024 @ 7:58pm 
Originally posted by Bingocrash:
This fix does work good. LinuxMint 22, with NO Proton! :steamthumbsup:
Start Options: taskset --cpu-list 0-7 %command%

Yes, but its also possible to have trouble with openal, 32 bit. To solve sound problems, if any, install the openal 32 bit library and add the following before taskset above:

LD_PRELOAD="/usr/lib32/libopenal.so.1"

... with both in the options, the game works flawless.
FoggySwe Oct 13, 2024 @ 10:54am 
Originally posted by M0rtiferrimus:
I added this to my startup options after finding it online as a solution for a seemingly unrelated bug:

taskset --cpu-list 0-7 %command%

and the crashes stopped.
This works in 2024, I'm on POP!_OS 22.04 on my way to ditch Windows for good.
minimax Nov 30, 2024 @ 8:26am 
Thanks @ M0rtiferrimus.
I just switched to Linux and encountered these crashes.
Your fix did solve it!
2024-11-30, Kubuntu 24.04, KDE 5.27.11 on X11, Ryzen 7600, GTX 1080
schwaima Jan 13 @ 12:15am 
This works also for me.

taskset --cpu-list 0-7 %command%

LMDE 6 4070Ti, 3950x
< >
Showing 1-15 of 25 comments
Per page: 1530 50