Ck2 steam mods not downloading - magnificent idea
Steam/Game-specific troubleshooting
Introduction
See Steam/Troubleshooting first.
This page assumes familiarity with the Steam#Directory structure, Steam#Launch options, environment variables, the Steam runtime and shared libraries. The pseudo-variable is used to refer to a game's directory. When the text reads "run the game with " it is implied that you either update your launch options or run the game from the command-line with the environment variable.
Contributing
- Use "game directory" or the pseudo-variable to refer to a game's directory.
- Link bug reports and sources of workarounds.
Other sources
The following links offer even more fixes and tweaks for various games which would otherwise exceed this article's purpose:
Common steps
OpenSSL 1.0 setup
Some Steam games are built against OpenSSL 1.0. (FS#53618)
Install lib32-openssl-1.0 and run the game with .
Adobe Air setup
The package adobe-air-sdkAUR installs Adobe Air not in the place where the game expects it to be, fix this by creating the following symlink:
# ln -s "/opt/adobe-air-sdk/runtimes/air/linux/Adobe AIR" "/opt/Adobe AIR"Adobe AIR requires you to accept its EULA by creating the file containing .
Steam Link
Currently Steam Link does not work with Wayland. You will only see a blank screen or even flickering when connecting to a Steam host running on Wayland. So you have to disable Wayland in /etc/gdm/custom.conf:
WaylandEnable=falseAnd reboot before trying again.
Squares or invisible symbols, special characters and cyrillic letters in Source-based games
Any special character may produce a square or an empty space mark in the game, main menu and game console. In practice, any characters other than latin ones are not working. The problem is that is configured as the system primary default font for latin sans-serif fonts.
First, make sure that per-user font customization files are enabled, i.e. the following file exist:
/etc/fonts/conf.d/50-user.confNext, create file in your fontconfig directory with the following content or if the file already exist, append only the alias section to the file:
~/.config/fontconfig/fonts.conf<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <alias> <family>sans-serif</family> <prefer> <family>DejaVu Sans</family> <family>Verdana</family> <family>Arial</family> <family>Albany AMT</family> <family>Luxi Sans</family> <family>Nimbus Sans L</family> <family>Nimbus Sans</family> <family>Helvetica</family> <family>Lucida Sans Unicode</family> <family>BPG Glaho International</family> <family>Tahoma</family> </prefer> </alias> </fontconfig>Games
7 Days To Die
If the game crashes on start, add the following to Steam launch options:
LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 %command% -force-glcoreIf the game does not recognize your screen's resolution, launch the game with Game Launcher and check the Unity screen selector option to correct the resolution. This will give you a GUI in which you can select the correct screen when the game is started.
If that does not help try running the game in 32-bit mode by checking the respective option in the Game-engine in the launcher options.
It will help the game performance if the GLCore option is checked in launcher options.
Alien Isolation
Missing libpcre.so.3 and libidn.so.11
$ ln -s /usr/lib/libpcre.so 'GAME/lib/x86_64/libpcre.so.3' $ ln -s /usr/lib/libidn.so 'GAME/lib/x86_64/libidn.so.11'Append to your .[1]
Amnesia: The Dark Descent
Dependencies: [2]
And Yet It Moves
Dependencies:
Game does not start
When the game refuses to launch and prints one of the following error messages:
readlink: extra operand ‘Yet’Try 'readlink --help' for more information. This script must be run as a user with write priviledges to game directory
Open and surround in the following line with double quotes.
ayim_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"Anodyne
Dependencies:
Play with a controller: joy2key configuration
Configuration example to play Anodyne with an XBox 360 Wireless Controller
COMMON -dev /dev/input/js0 -X -thresh -18000 18000 -18000 18000 -18000 18000 -18000 18000 -18000 18000 -18000 18000 -18000 18000 -18000 18000 -axis Left Right Up Down blank blank blank blank blank blank blank blank Left Right Up Down -buttons c x ReturnSave this to and start joy2key after you start Anodyne
joy2key -rcfile ~/.joy2keyrcAnomaly Warzone Earth
Leave fullsrceen
There are no ingame settings for this, but fullscreen can be toggled with Alt-Enter
Infinite loading
Create file next to the game executable: src
#define _GNU_SOURCE #include <dlfcn.h> #include <semaphore.h> #include <stdio.h> #include <time.h> #include <unistd.h> static int (*_realSemTimedWait)(sem_t *, const struct timespec *) = NULL; int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout) { if (abs_timeout->tv_nsec >= 1000000000) { //fprintf(stderr, "to: %lu:%lu\n", abs_timeout->tv_sec, abs_timeout->tv_nsec); ((struct timespec *)abs_timeout)->tv_nsec -= 1000000000; ((struct timespec *)abs_timeout)->tv_sec++; } return _realSemTimedWait(sem, abs_timeout); } __attribute__((constructor)) void init(void) { _realSemTimedWait = dlsym(RTLD_NEXT, "sem_timedwait"); }Compile with
Launch with
Gamepad not working
You have to enable keyboard control and map gamepad to keys.
Config for Steam:
Aquaria
Mouse pointer gets stuck in one direction
If the mouse pointer gets stuck in one direction, make sure contains .
If that does not fix the issue, try unplugging any joysticks or joystick adapter devices you have plugged in.
ARK: Survival Evolved
Game does not start, displays text window with unreadable text
Run the game with .
Gray water
Download the TheCenter map and copy from that map into TheIsland as described here.
Ragnarok uses TheIsland's texture, so the same procedure fixes the issue on Ragnarok as well.
Segmentation fault on startup
Caused by the games packaged libopenal. Use system libopenal to solve the segfault by running the game with with
Crash on joining a game
Set steam to 'offline mode' and try again
Audiosurf 2
error. unable to load song <filename> ,came back with zero duration
If you get this in your log, install pulseaudio-alsa.
BADLAND: Game of the Year Edition
Refer to #Missing libcurl.so.4 or version CURL_OPENSSL_3 not found.
Beat Cop
"BeatCop.x86_64" is not responding
Run instead of .
Binding of Isaac: Rebirth
No sound
Prepend to .
Adjust the audio levels in the game options.
BioShock Infinite
Game launching on wrong monitor in fullscreen mode
Add the following launch option:
--eon_force_display=1Various more fixes and tweaks can be found here
BLACKHOLE
Refer to #Missing libcurl.so.4 or version CURL_OPENSSL_3 not found.
Black Mesa
Install lib32-gperftoolsAUR for 32bit version of libtcmalloc_minimal.so.4 which is needed Source.
Block'hood
White screen on startup
When launched the game may only display a white screen with no interface and no way to play the game. Add "-screen-fullscreen 0" to launch options.
The Book of Unwritten Tales
Dependencies:
If the game does not start, uncheck: Properties > Enable Steam Community In-Game.
The game is known to segfault when opening the settings and possibly during or before playing. A workaround from the Steam discussions is to replace the game's with one from Debian's repositories. To do that download this deb file, and extract it with dpkg:
$ dpkg -x libogre-*.deb outdirNow replace with the one extracted from the package.
BRAIN/OUT
If the game does not start with error message saying "invalid app configuration". Change directory to game folder:
$ cd ~/.steam/steam/steamapps/common/BrainOut/Run game directly:
$ java -jar brainout-steam.jarYou need to have steam running in the background.
The Book of Unwritten Tales: The Critter Chronicles
See #The Book of Unwritten Tales.
To prevent the game from crashing at the end credits, change the size of the credits image as described here.
Borderlands 2
Migrating saves from other platforms
Borderlands 2 does not support cross-platform Steam Cloud syncing, you have to manually copy the files between platforms. Save locations can be found here. Make sure your user can access the files.
Using Ctrl Key
Borderlands 2 does not allow the key to be used by default. The game seems to be accessing keycodes and not keysyms, therefore xmodmap has no affect. A workaround is using setkeycodes to map the Ctrl-scancode to some other key, as described in Map scancodes to keycodes#Using setkeycodes. I use (as root) to map Ctrl to Alt before starting the game and to restore the default.
Logging into SHiFT
Out of the box you will not be able to log into SHiFT since the game expects certificates to be in , which is where Ubuntu stores them. Arch however uses . To resolve the problem, run the game with .
Game crashes nearly instantly
The game crashes in libopenal directly after launch.
Possible solution 0: Run the game with the flag. It no longer crashes in libopenal with a general protection error.
Possible solution 1: As of lib32-openal version 1.18.0-1, the game crashes instantly. The possible solutions are to downgrade lib32-openal to 1.17.2-1, or to start the game with .
In case there are messages like this in the terminal:
[ 671.617205] Borderlands2[2772]: segfault at 0 ip (null) sp 00000000ff9a462c error 14 in Borderlands2[8048000+235a000]The following change may help (source):
LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6' %command%Possible solution 2: Launch steam as as described in #Steam native runtime. If the game still fails to launch even after installing the steam-native-runtime meta package, then you might be missing some libraries. You can find those missing libraries as described in #Debugging shared libraries.
Borderlands: The Pre-Sequel
See #Borderlands 2.
Keyboard not working
This can occur with certain window managers e.g. dwm. Try a different window manager, or install wmname and run:
$ wmname LG3Dsee Java#Impersonate another window manager for more information.
Not starting via Steam
If the game appears as Running, then syncs and closes when you launch it from Steam, try creating a in the game directory containing . This should resolve the issue and let you start the game directly from the game directory. If that does not work, try using the steam-native-runtime.
Chaos Engine
Set your launch options to:
LD_PRELOAD="/usr/lib32/libpng16.so.16" %command%If such error is seen in terminal output of steam-native:
/home/$USER/.local/share/Steam/steamapps/common/Chaos engine/TheChaosEngineSteam: /home/$USER/.local/share/Steam/steamapps/common/Chaos engine/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib32/libpng16.so.16) /home/$USER/.local/share/Steam/steamapps/common/Chaos engine/TheChaosEngineSteam: /home/$USER/.local/share/Steam/steamapps/common/Chaos engine/lib/libz.so.1: version `ZLIB_1.2.3.4' not found (required by /usr/lib32/libpng16.so.16)Then link the system libz.so:
cd ~/.local/share/Steam/steamapps/common/Chaos\ engine/lib mv libz.so.1 libz.so.1.old ln -s /lib/libz.so.1Cities in Motion 2
Dialog boxes fail to display properly
You will not be able to read or see anything, and you will have this in your logs:
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: wrong number of matrix elementsWorkaround for the bug FS#35039 is available here[dead link 2020-04-03 ⓘ] (replace ).
Cities Skylines
Game not starting
If you set to something other than , Cities Skylines will put some files in and some hard-coded in . Unset the Variable to fix this issue.
Textures not rendering properly
Run the game with .
Civilization V
Run the game with .[3] For old versions of PulseAudio (<12.0), use .[4] If libopenal.so.1 is not in /usr/lib32, you may need to install lib32-openal after making sure multilib is enabled.Official repositories#multilib
If you are experiencing heavy lag (less than 1fps) or the game crashes on startup, try adding the following paths to LD_PRELOAD: .[5]
Stuttering sound with PulseAudio
See PulseAudio/Troubleshooting#Laggy sound.
Game crashes seconds after loading a map
If you have a CPU with more than 8 threads (such as AMD Ryzen), set to in in game directory.[6]
Alternatively, you can limit the number of threads the game uses by adding to the launch options: [7]
Game crashes after intro video with "Unable to load texture (LoadingBaseGame.dds)" / configuration reset at startup
The issue is a result of the game calling some file in a case-insensitive manner.
The solution is either to install the game on a case-insensitive file system like VFAT, or on a mount point for ciopfsAUR.
It is not enough the game is in a case-insensitive filesystem, but also the configuration/data directory at "~/.local/share/Aspyr/Sid Meier's Civilization 5" needs to be in a case-insensitive filesystem or mount point. If the data directory is in a case-sensitive filesystem, the game will not work correctly and symptoms such as configuration getting constantly reset can be observed.
Game crashes on startup with an error in libpulsecommon-12.0.so"
Run the game with
Steam Overlay not working
If the Steam Overlay does not show up simply add
LD_PRELOAD='/home/USERNAME/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' %command%to the launch options in the properties of the game in Steam.
Civilization: Beyond earth
If you are getting an instant crash/close upon launch, make sure you have the following packages installed:
Segfault after a few minutes
Backtrace:
() from /usr/lib32/libtbb.so.2 #7 0xf7497551 in ?? () from /usr/lib32/libtbb.so.2 #8 0xf7495fc3 in ?? () from /usr/lib32/libtbb.so.2 #9 0xf7491b7e in ?? () from /usr/lib32/libtbb.so.2 #10 0xf7491db7 in ?? () from /usr/lib32/libtbb.so.2 #11 0xf78f4346 in start_thread () from /usr/lib32/libpthread.so.0 #12 0xf7716026 in clone () from /usr/lib32/libc.so.6Segfault is caused by lib32-intel-tbbAUR. To fix the issue:
- Download the libtbb2 deb-package from the Ubuntu archive.
- Unpack from into the game directory.
- Run the game with .
Civilization VI
Either run with steam-native, launch option , or . The latter will disable the Steam overlay.
If you're using Wayland, you might need to also set , as the game's launcher uses a version of Qt which only supports Xorg (see Wayland#Qt 5)
Follow #OpenSSL 1.0 setup.
Ensure that Steam Workshop mods are disabled as certain ones may cause issues following loading.
If Segfault Immediately on Start
This is a strange corner case which happens infrequently at best (and the prerequisites for reproducing it are unknown), but the crash would look like this:
- Immediate segfault on start, before any windows get created
- The game creates
- The string appears in the backtrace output when running the game under gdb
- To run under gdb, first launch a shell and change into the game directory.
- Then (otherwise the game will not launch outside of Steam itself)
- Then run something like
- The relevant info towards the end of the output should look like this:
If all of that is the case for you, the fix is pretty simple. Edit and change the line reading to .
Presumably this fix will prevent any automated bug reports from reaching Aspyr, should you encounter crashes/bugs in the future, but it will at least let the game launch properly.
If Crash with Error "undefined symbol FT_Done_MM_Var"
If the game crashed with error
./GameGuide/Civ6: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_VarThe solution is to set launch option to be
LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%
-