Sid Meier's Civilization V

Sid Meier's Civilization V

View Stats:
Crashing in Linux Mint
I have tried in both Linux Mint 21.3 and Ubuntu 24. Both versions crash randomly. I have tried the CPU core setting in the config.ini. Is there something I am missing?

Specs:
i7-12700H
16GB DDR5
RTX 3060
Originally posted by Buggy Boy:
At what point does it usually crash? After a certain amount of tech has been discovered / map revealed, around or after a certain date, etc?

I have a similar problem, I'm trying out the Legacy runtime 1.0 in the Compatibility Steam setting, so far so good but I'm just at the point where mine has been randomly crashing on previous playthroughs (around or after 1960) so fingers crossed.

Also, in my Launch config is this, not sure where it came from now (maybe there by default?):
taskset --cpu-list 0-7 %command%

It limits the game to 8 CPU cores as apparently it doesn't like using anything above that.
< >
Showing 1-15 of 17 comments
The author of this thread has indicated that this post answers the original topic.
Buggy Boy Feb 6 @ 12:31am 
At what point does it usually crash? After a certain amount of tech has been discovered / map revealed, around or after a certain date, etc?

I have a similar problem, I'm trying out the Legacy runtime 1.0 in the Compatibility Steam setting, so far so good but I'm just at the point where mine has been randomly crashing on previous playthroughs (around or after 1960) so fingers crossed.

Also, in my Launch config is this, not sure where it came from now (maybe there by default?):
taskset --cpu-list 0-7 %command%

It limits the game to 8 CPU cores as apparently it doesn't like using anything above that.
Last edited by Buggy Boy; Feb 6 @ 12:34am
Dilly Feb 6 @ 12:58pm 
Gotcha. Thanks for the suggestions. My game crashes randomly. 2 turns, 60 turns, totally at random.

I will try those later and see if they work
So far so good. I've played a fresh game using the Legacy 1.0 Runtime and no problems or crashes at all, currently at 2039 and up to modern tech (Destroyers etc). This is on Linux Mint Debbie Edition.

UPDATE: Played through to win the game a few years later.
Last edited by Buggy Boy; Feb 8 @ 12:19pm
Dilly Feb 10 @ 4:50pm 
Thank you for your suggestions! I was able to play for 2+ hours without a crash!
Originally posted by Buggy Boy:
At what point does it usually crash? After a certain amount of tech has been discovered / map revealed, around or after a certain date, etc?

I have a similar problem, I'm trying out the Legacy runtime 1.0 in the Compatibility Steam setting, so far so good but I'm just at the point where mine has been randomly crashing on previous playthroughs (around or after 1960) so fingers crossed.

Also, in my Launch config is this, not sure where it came from now (maybe there by default?):
taskset --cpu-list 0-7 %command%

It limits the game to 8 CPU cores as apparently it doesn't like using anything above that.

Can confirm this fixed the issue for me too. I was having the game crash after just 3 or 4 turns, but changing to legacy runtime and adding that to the launch settings fixed the issue.
Dilly Feb 26 @ 5:42am 
Originally posted by Ms.Bunny0²:
Originally posted by Buggy Boy:
At what point does it usually crash? After a certain amount of tech has been discovered / map revealed, around or after a certain date, etc?

I have a similar problem, I'm trying out the Legacy runtime 1.0 in the Compatibility Steam setting, so far so good but I'm just at the point where mine has been randomly crashing on previous playthroughs (around or after 1960) so fingers crossed.

Also, in my Launch config is this, not sure where it came from now (maybe there by default?):
taskset --cpu-list 0-7 %command%

It limits the game to 8 CPU cores as apparently it doesn't like using anything above that.

Can confirm this fixed the issue for me too. I was having the game crash after just 3 or 4 turns, but changing to legacy runtime and adding that to the launch settings fixed the issue.
Glad this worked for you as well. I wish we could get these instructions pinned to the top of the forum. At least for us linux users...
Iconian Feb 27 @ 7:37pm 
My game has just recently crashed too.

I've been playing Civ 5 since 2013, and it has generally worked OK, but in September I switched from Windows 10 to Linux Cinnamon Mint 22. Civ 5 initially didn't work, but someone gave a suggestion that helped me get it working a couple months back, though at the time I was just testing to make sure it worked. Here's what got it working at that time:

Originally posted by author:
evilny0 has Sid Meier's Civilization V Jan 3 @ 6:52am
If you have the 8840U version, this could be due to the number of cores/threads. If it's higher than 8, the game will crash after a while. You can limit the cores used by the game by using taskset in the launch parameters. For example, use only the first 8 threads :

taskset -c 0-7 %command%



Now, a few days ago I tried starting games with mods, and it crashed. Tonight I looked into this further, and this is what I learned.

I tested using 3 different mods: Artificial Unintelligence (lite), and two of my own mods, Iconian's Really Huge Map Size Mod and Fantastic Ancients. I discovered that it didn't seem to have a problem with the first two mods, but with Fantastic Ancients the game crashed after the end of my first turn--specifically, after all the other civs had taken their turns, and just as the city states were starting to take their turns.

Anyway, that's my experience so far. I'm hoping I can figure out what would make it crash when using Fantastic Ancients. I can say it didn't have this problem with Windows.


Does anyone know how to enable logging for Civilization 5 for Linux? I did this for Windows years ago--the necessary files were in My Documents. But what about Linux?
Dilly Mar 2 @ 8:27am 
Originally posted by Iconian:
My game has just recently crashed too.

I've been playing Civ 5 since 2013, and it has generally worked OK, but in September I switched from Windows 10 to Linux Cinnamon Mint 22. Civ 5 initially didn't work, but someone gave a suggestion that helped me get it working a couple months back, though at the time I was just testing to make sure it worked. Here's what got it working at that time:

Originally posted by author:
evilny0 has Sid Meier's Civilization V Jan 3 @ 6:52am
If you have the 8840U version, this could be due to the number of cores/threads. If it's higher than 8, the game will crash after a while. You can limit the cores used by the game by using taskset in the launch parameters. For example, use only the first 8 threads :

taskset -c 0-7 %command%



Now, a few days ago I tried starting games with mods, and it crashed. Tonight I looked into this further, and this is what I learned.

I tested using 3 different mods: Artificial Unintelligence (lite), and two of my own mods, Iconian's Really Huge Map Size Mod and Fantastic Ancients. I discovered that it didn't seem to have a problem with the first two mods, but with Fantastic Ancients the game crashed after the end of my first turn--specifically, after all the other civs had taken their turns, and just as the city states were starting to take their turns.

Anyway, that's my experience so far. I'm hoping I can figure out what would make it crash when using Fantastic Ancients. I can say it didn't have this problem with Windows.


Does anyone know how to enable logging for Civilization 5 for Linux? I did this for Windows years ago--the necessary files were in My Documents. But what about Linux?

I can't even get mods to load in my linux install. I don't know how to enable logging either.

It might be worth starting a new post for your issue so more people can see it. Hope you can get your issue fixed.
What worked for me is Proton 6.3-8. Play for hours and it doesn't crash.
Iconian Mar 10 @ 6:13pm 
Preliminary testing suggests Proton 6.3-8 works for me as well. I managed to get to turn 2 anyway with those 3 mods, which I hadn't done before.
Draco Mar 12 @ 8:42am 
Originally posted by Buggy Boy:
At what point does it usually crash? After a certain amount of tech has been discovered / map revealed, around or after a certain date, etc?

I have a similar problem, I'm trying out the Legacy runtime 1.0 in the Compatibility Steam setting, so far so good but I'm just at the point where mine has been randomly crashing on previous playthroughs (around or after 1960) so fingers crossed.

Also, in my Launch config is this, not sure where it came from now (maybe there by default?):
taskset --cpu-list 0-7 %command%

It limits the game to 8 CPU cores as apparently it doesn't like using anything above that.
Gonna try this and report back, getting instant crashes now on Linux Mint. Switched to Proton Experimental and that's when it decided not to even launch at all, before that it was crashing on the Native Linux version randomly with/without mods.
Edit: Using the command you posted for the launch options, well it's working on Linux Mint now! Not using anything but the Native version now because any Proton version I tried still failed to launch but I didn't try 6.3-8 either yet. Suuper appreciate you assisting us! Edit2: The latest version of EUI 1.30c is working with my game now, yay.
Last Edit: Thanks to BuggyBoy for the solution & I came with evidence that it now works!
https://youtu.be/Zm0LpbR6QG8
I also have more archives of the game CTD before the fix that you provided that I haven't bothered uploading.
Last edited by Draco; Mar 12 @ 10:41am
You don't need any launch parameters like limiting cpu cores. I run mine without any and it plays for hours without crashing with Proton 6.3-8.
null Mar 13 @ 9:17pm 
Originally posted by Dilly:
I have tried in both Linux Mint 21.3 and Ubuntu 24. Both versions crash randomly. I have tried the CPU core setting in the config.ini. Is there something I am missing?

Specs:
i7-12700H
16GB DDR5
RTX 3060


use the windows version with proton experimental. That's what I do. I suspect they never updated the Linux version
Last edited by null; Mar 13 @ 9:18pm
Draco Mar 13 @ 11:59pm 
Originally posted by Cøʀʁuptiøи:
You don't need any launch parameters like limiting cpu cores. I run mine without any and it plays for hours without crashing with Proton 6.3-8.
I think you're spot on with that, IDK why it worked when I just looked into my Processor & system info & it looks like this:

Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble
Machine:
Type: Desktop Mobo: Micro-Star model: PRO B650M-P
CPU:
Info: 6-core model: AMD Ryzen 5 7600 bits: 64 type: arch: Zen 4 rev: 2 cache:
L1: 384 KiB L2: 6 MiB L3: 32 MiB
Speed (MHz): avg: 3076 high: 4245 min/max: 545/5170 cores: 1: 3605 2: 4210 3: 4053 4: 545
Graphics:
Device-1: AMD Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600] vendor: ASUSTeK
Device-2: AMD Raphael vendor: Micro-Star MSI driver: amdgpu

Next time I play Civilization V, I'll absolutely try out Proton 6.3-8!

Edit: Like a doofus I ran Proton 6.3-8 with EUI & I had to restart my PC, it crashed pretty bad. I fdidn't know ALL versions of Proton for Civ 5 runs the Windows version instead of the Linux version. Since I'm playing with mods, I'll be going back to BuggyBoy's solution. And now I know lol.
Last edited by Draco; Mar 14 @ 2:27am
Weird it crashed your whole system, sorry to hear that. I am on CachyOS, KDE Plasma, and have a 5950X, 16 core 32 thread, CPU and it runs ok. Glad you got it fixed through.
< >
Showing 1-15 of 17 comments
Per page: 1530 50