login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
not sure, went back to arch. just tried it there without any launch commands [linux4.16.5-1 & mesa 18.0.1] works fine now it seeems.
Thank you; this fixes it for me. Combined with the fix for Arch Linux, my full command is
https://www.reddit.com/r/civ5/comments/5z77jr/game_crashes_randomly_on_linux_amd_ryzen/
There is a line with "MaxSimultaneousThreads = 8" in ~/.local/share/Aspyr/Sid Meier's Civilization 5/config.ini. The fix is to change the number to your number of logical processors, i.e. I use 16 there for Ryzen 2700X. Tested a few hours tonight and seems to work allright. This way you can also launch the game normally from the steam app instead of using terminal.
dmesg | grep segfault
[55003.336739] Civ5XP[7454]: segfault at 14 ip 000000000885bca7 sp 0000000088124090 error 4 in Civ5XP[8048000+22a7000]
[55003.336813] Civ5XP[7455]: segfault at 14 ip 000000000885bca7 sp 0000000068d10090 error 4 in Civ5XP[8048000+22a7000]
[56218.800771] Civ5XP[8278]: segfault at 0 ip 0000000008cd8534 sp 0000000088923fe0 error 4 in Civ5XP[8048000+22a7000]
[56403.439321] Civ5XP[8537]: segfault at 14 ip 000000000885bd5f sp 0000000066b0c080 error 4 in Civ5XP[8048000+22a7000]
[57605.903711] Civ5XP[9090]: segfault at 0 ip 0000000008cd8534 sp 00000000679fefe0 error 4 in Civ5XP[8048000+22a7000]
[57742.749981] Civ5XP[9600]: segfault at 14 ip 000000000885bd5f sp 000000006a9ff080 error 4 in Civ5XP[8048000+22a7000]
[58233.950605] Civ5XP[19487]: segfault at 0 ip 0000000008cd8534 sp 00000000684bdfe0 error 4 in Civ5XP[8048000+22a7000]
[58573.839441] Civ5XP[19871]: segfault at 0 ip 0000000008cd8534 sp 000000006aed1fe0 error 4 in Civ5XP[8048000+22a7000]
I took a bit of break from the game on Linux. With my current work schedule and family commitments I won't have the time to test for a bit. However, as soon as I do have the opportunity I'll test and report back. You might also include the distro., distro. version, and some info. about your hardware.
without the taskset, as it wouldn't work if I put it. I also modified the ~/.local/share/Aspyr/Sid Meier's Civilization 5/config.ini file with
I was using these system settings
This was done without installing the package steam-native.
Here is the System Information dump:
The issue it self is caused by the BinkPlayer. You just have to disable the loading of the .mov files. This can be done by the following two solutions (no root needed):
0. (changing to the Civ5 directory):
1. (safe - not manipulating the binary):
2. (critical, use at own risk - patching the binary):
The second issue is the "threading" one, that can be fixed by starting it using 'numactl'
If you're interested in a full solution for patching this you can have a look on https://gist.github.com/aspann/f57a4725d70d8554fa8e3ce266f03585
cheers.
1) I also did have the problem with the seg faults when playing Civ 5 on a Reyzen 5 CPU running Linux Mint 19
2) The solotuion suggested by many peaple here using taskset -c 1-8 steam steam://rungameid/8930 or taskset -c 0-7 steam steam://rungameid/8930 did NOT work for me. The seg faults were exactly the same
3) What did help in my case was setting MaxSimultaneousThreads = 12 in the file .local/share/Aspyr/Sid\ Meier\'s\ Civilization\ 5/config.ini
This was also suggeted already by some in this thread I just wanted to make that it can help even if the other method does not work
I tried setting MaxSimultaneousThreads to different values, such as 8, 16, 32, and 64. I also tried the taskset 0-7 approach.
Unfortunately, the game keeps segfaulting very soon after the start. Just for the record, the same happens to Civilization: Beyond Earth.
I use Fedora 30, and my video adapter is NVIDIA GeForce GTX 1050 Ti.
2990WX is multi-NUMA, yes? Maybe it works if you disable all but one node?
Since I have an AMD 2700X, I set my thread limit to 16 in the ini file.
https://wiki.gentoo.org/wiki/Steam/Games_troubleshooting