Difference between revisions of "Steam/Game-specific troubleshooting"

From ArchWiki
Jump to navigation Jump to search
m (Add some "inline code")
m (Deps)
 
(846 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
 
[[Category:Gaming]]
 
[[Category:Gaming]]
[[ja:Steam/Game-specific troubleshooting]]
+
[[ja:Steam/ゲーム別のトラブルシューティング]]
{{Poor writing|Lots of content duplication, highly dubious "solutions"}}
+
== Introduction ==
{{Note|[[Steam]] installs library dependencies of a game to a library directory, but some are missing at the moment. Report bugs involving missing libraries on Valve's bug tracker on their [https://github.com/ValveSoftware/steam-for-linux GitHub page] before adding workarounds here, and then provide a link to the bug so it can be removed as the problems are fixed.}}
+
 
{{Tip|If a game fails to start, a possible reason is that it is missing required libraries. You can find out what libraries it requests by running {{ic|ldd ''game_executable''}}. {{ic|''game_executable''}} is likely located somewhere in {{ic|~/.steam/root/SteamApps/common/}}. Please note that most of these "missing" libraries are actually already included with Steam, and do not need to be installed globally.}}
+
See [[Steam/Troubleshooting]] first.
 +
 
 +
This page assumes familiarity with the [[Steam#Directory structure]], [[Steam#Launch options]], [[environment variables]], the [[Steam runtime]] and [[Steam/Troubleshooting#Debugging shared libraries|shared libraries]]. The {{ic|''GAME''}} pseudo-variable is used to refer to a game's directory. When the text reads "''run the game with {{ic|1=FOO=bar}}''" 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 {{ic|''GAME''}} 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:
 +
 
 +
* [https://pcgamingwiki.com/wiki/Home PC Gaming Wiki]
 +
 
 +
== Common steps ==
 +
 
 +
=== OpenSSL 1.0 setup ===
 +
 
 +
Some Steam games are built against OpenSSL 1.0. ({{bug|53618}})
 +
 
 +
Install {{Pkg|lib32-openssl-1.0}} and run the game with {{ic|1=LD_LIBRARY_PATH=/usr/lib/openssl-1.0}}.
 +
 
 +
=== Adobe Air setup ===
 +
 
 +
The package {{AUR|adobe-air-sdk}} 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 {{ic|~/.appdata/Adobe/AIR/eulaAccepted}} containing {{ic|2}}.
 +
 
 +
=== 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=false
 +
 
 +
And 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 {{ic|Bitstream Vera Sans}} 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.conf
 +
 
 +
Next, create {{ic|fonts.conf}} file in your fontconfig directory with the following content or if the file already exist, append only the alias section to the file:
 +
 
 +
{{hc|~/.config/fontconfig/fonts.conf|2=
 +
<?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> <!-- lat,cyr,arab,geor -->
 +
    <family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
 +
  </prefer>
 +
</alias>
 +
</fontconfig>
 +
}}
 +
 
 +
== Games ==
 +
 
 +
=== 7 Days To Die ===
 +
 
 +
If game crash on start, add the following to Steam launch options:
 +
 
 +
LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 %command% -force-glcore
 +
 
 +
If game does not recognize the resolution launch the game with '''Game Launcher''' and check the '''Unity screen selector''' option to correct the resolution. This will give you a GUI that can select the correct screen and when the game is started.
 +
 
 +
{{Note|The game tends to crash or disfunction in windowed mode. It may be advisable to run it in full screen mode.}}
 +
 
 +
If that does not help try running the game by checking the '''32-bit''' Game-engine in the launcher options.
 +
 
 +
It will help the game performance if the '''GLCore''' option is checked in launcher options.
 +
 
 +
{{Note|The game does not accept {{ic|.dll}} mods if installing mods. Always check if the mod is of {{ic|.dll}} type}}
 +
 
 +
=== 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 {{ic|./lib/x86_64}} to your {{ic|LD_LIBRARY_PATH}}.[https://steamcommunity.com/app/214490/discussions/0/154644705028020291/]
 +
 
 +
=== Amnesia: The Dark Descent ===
 +
 
 +
Dependencies:
 +
[https://steamcommunity.com/app/221410/discussions/0/864957183198111387/]
  
==Amnesia: The Dark Descent==
 
===Dependencies===
 
 
* {{AUR|lib32-freealut}}
 
* {{AUR|lib32-freealut}}
 
* {{pkg|lib32-glu}}
 
* {{pkg|lib32-glu}}
Line 12: Line 112:
 
* {{pkg|lib32-sdl_ttf}}
 
* {{pkg|lib32-sdl_ttf}}
  
==And Yet It Moves==
+
=== And Yet It Moves ===
===Dependencies===
+
 
* {{AUR|lib32-libtheora}}
+
Dependencies:
* {{AUR|lib32-libjpeg6}}
+
 
* {{AUR|lib32-libtiff4}}
+
* {{Pkg|lib32-libjpeg6-turbo}}
* {{AUR|lib32-libpng12}}
+
* {{Pkg|lib32-libpng12}}
 +
* {{Pkg|lib32-libtheora}}
 +
* {{Pkg|lib32-libtiff4}}
 +
 
 +
==== Game does not start ====
 +
 
 +
When the game refuses to launch and prints one of the following error messages:
 +
 
 +
readlink: extra operand ‘Yet’<br>Try 'readlink --help' for more information.
 +
 
 +
This script must be run as a user with write priviledges to game directory
 +
 
 +
Open {{ic|''GAME''/AndYetItMovesSteam.sh}} and surround {{ic|${BASH_SOURCE[0]} }} in the following line with double quotes.
 +
 
 +
ayim_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
 +
 
 +
=== Anodyne ===
 +
 
 +
Dependencies:
 +
 
 +
* {{AUR|adobe-air-sdk}}, follow [[#Adobe Air setup]]
 +
* {{pkg|xterm}} (probably not required)
 +
 
 +
==== 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 Return
 +
 
 +
Save this to {{ic|~/.joy2keyrc}} and start joy2key after you start Anodyne
 +
 
 +
joy2key -rcfile ~/.joy2keyrc
 +
 
 +
=== Anomaly Warzone Earth ===
 +
 
 +
==== Leave fullsrceen ====
 +
 
 +
There are no ingame settings for this, but fullscreen can be toggled with Alt-Enter
 +
 
 +
==== Infinite loading ====
 +
 
 +
Create file {{ic|loadfix.c}} next to the game executable: [https://steamcommunity.com/app/282070/discussions/0/610573751159186268/?ctp=4#c530647080133257413 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 {{ic|gcc -m32 -o loadfix.so loadfix.c -ldl -shared -fPIC -Wall -Wextra}}
 +
 
 +
Launch with {{ic|1=LD_PRELOAD=$LD_PRELOAD:./loadfix.so %command%}}
 +
 
 +
==== Gamepad not working ====
 +
 
 +
You have to enable keyboard control and map gamepad to keys.
 +
 
 +
Config for Steam: {{ic|steam://controllerconfig/91200/1498735506}}
 +
 
 +
=== Aquaria ===
 +
 
 +
==== Mouse pointer gets stuck in one direction ====
 +
 
 +
If the mouse pointer gets stuck in one direction, make sure {{ic|''GAME''/usersettings.xml}} contains {{ic|1=<JoystickEnabled on="0" />}}.
 +
 
 +
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 {{ic|1=MESA_GL_VERSION_OVERRIDE=4.0 MESA_GLSL_VERSION_OVERRIDE=400}}.
 +
 
 +
==== Gray water ====
 +
 
 +
Download the TheCenter map and copy {{ic|Water_DepthBlur_MIC.uasset}} from that map into TheIsland as described [https://www.gamingonlinux.com/articles/heres-a-way-to-fix-the-broken-water-in-ark-survival-evolved-on-linux.10530 here].
 +
 
 +
Ragnarok uses TheIsland's texture, so the same procedure fixes the issue on Ragnarok as well.
 +
 
 +
==== Segmentation fault on startup ====
  
===Compatibility===
+
Caused by the games packaged libopenal. Use system libopenal to solve the segfault by running the game with with {{ic|1=LD_PRELOAD=/usr/lib/libopenal.so.1}}
Game refuses to launch and one of the following messages can be observed on console
+
 
  readlink: extra operand ‘Yet’
+
=== Crash on joining a game ===
  Try 'readlink --help' for more information.
+
 
OR
+
Set steam to 'offline mode' and try again
  This script must be run as a user with write priviledges to game directory
+
 
To fix this, use:
+
=== Audiosurf 2 ===
{{hc|~/.steam/root/SteamApps/common/And Yet It Moves/AndYetItMovesSteam.sh|<nowiki>
+
 
#ayim_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
+
==== error. unable to load song <filename> ,came back with zero duration ====
ayim_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
+
 
</nowiki>}}
+
If you get this in your log, install {{pkg|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 {{ic|BeatCop.x86}} instead of {{ic|BeatCop.x86_64}}.
 +
 
 +
=== Binding of Isaac: Rebirth ===
 +
 
 +
==== No sound ====
 +
 
 +
{{Note|This also helps with Never Alone (Kisima Ingitchuna) and No Time to Explain.}}
 +
 
 +
Prepend {{ic|/usr/lib}} to {{ic|LD_LIBRARY_PATH}}.
 +
 
 +
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=1
 +
 
 +
Various more fixes and tweaks can be found [https://pcgamingwiki.com/wiki/BioShock_Infinite here]
 +
 
 +
=== BLACKHOLE ===
 +
 
 +
Refer to [[#Missing libcurl.so.4 or version CURL_OPENSSL_3 not found]].
 +
 
 +
=== Black Mesa ===
 +
 
 +
Install {{AUR|lib32-gperftools}} for 32bit version of libtcmalloc_minimal.so.4 which is needed [https://steamcommunity.com/app/362890/discussions/1/340412628175324858/?ctp=7 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:
 +
 
 +
* {{AUR|lib32-jasper}}
 +
* {{AUR|lib32-libxaw}}
 +
 
 +
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 [http://steamcommunity.com/app/221410/discussions/3/846939071081758230/#p2 Steam discussions] is to replace the game's {{ic|RenderSystem_GL.so}} with one from Debian's repositories. To do that download [https://launchpad.net/ubuntu/+archive/primary/+files/libogre-1.7.4_1.7.4-3_i386.deb this deb file], and extract it with {{Pkg|dpkg}}:
 +
 
 +
$ dpkg -x libogre-*.deb outdir
 +
 
 +
Now replace {{ic|''GAME''/lib/32/RenderSystem_GL.so}} with the one extracted from the {{ic|.deb}} 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.jar
 +
 
 +
You 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 [http://steamcommunity.com/app/221830/discussions/0/828925849276110960/#c810921273836530791 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 [https://pcgamingwiki.com/wiki/Borderlands_2#Game_data here].
 +
Make sure your user can access the files.
 +
 
 +
==== Using Ctrl Key ====
 +
 
 +
Borderlands 2 does not allow the {{ic|Ctrl}} 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 {{ic|setkeycodes 0x1d 56}} (as root) to map Ctrl to Alt before starting the game and {{ic|setkeycodes 0x1d 29}} 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 {{ic|/usr/lib/ssl}}, which is where Ubuntu stores them. Arch however uses {{ic|/etc/ssl}}.
 +
To resolve the problem, run the game with {{ic|1=SSL_CERT_DIR=/etc/ssl/certs}}.
 +
 
 +
==== Game crashes nearly instantly ====
 +
 
 +
The game crashes in libopenal directly after launch.
 +
 
 +
Possible solution 0: Run the game with the {{ic|-nostartupmovies}} 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 {{ic|LD_PRELOAD<nowiki>=</nowiki>'$HOME/.steam/root/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libopenal.so.1'}}.
 +
 
 +
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 ([http://steamcommunity.com/app/49520/discussions/0/348292787746982160/ source]):
 +
LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6' %command%
 +
 
 +
Possible solution 2: Launch steam as {{ic|steam-native}} as described in [[Steam/Troubleshooting #Steam native runtime|#Steam native runtime]]. If the game still fails to launch even after installing the {{Pkg|steam-native-runtime}} meta package, then you might be missing some libraries. You can find those missing libraries as described in [[Steam/Troubleshooting #Debugging shared libraries|#Debugging shared libraries]].
 +
 
 +
=== Borderlands: The Pre-Sequel ===
 +
 
 +
See [[#Borderlands 2]].
  
==Anodyne==
+
==== Keyboard not working ====
===Dependencies===
 
* {{AUR|adobe-air-sdk}}
 
* {{pkg|xterm}} (probably not actually required)
 
  
===Compatibility===
+
This can occur with certain window managers e.g. [[dwm]]. Try a different [[window manager]], or install {{pkg|wmname}} and run:
Follow the same steps as [[#Defender.27s_Quest:_Valley_of_the_Forgotten|Defender's Quest]]
+
$ wmname LG3D
  
==Aquaria==
+
see [[Java#Impersonate another window manager]] for more information.
  
=== Mouse pointer gets stuck in one direction ===
+
==== Not starting via Steam ====
If the mouse pointer gets stuck in any one direction, the game becomes unplayable. You may try:
 
{{hc|~/.local/share/Steam/SteamApps/common/Aquaria/usersettings.xml|<nowiki>
 
#<JoystickEnabled on=”1″ />
 
<JoystickEnabled on=”0″ /></nowiki>}}
 
  
If that does not fix the issue, unplug any joystick or joystick adapter devices you may have plugged in.
+
If the game appears as ''Running'', then syncs and closes when you launch it from Steam, try creating a {{ic|steam_appid.txt}} in the game directory
 +
containing {{ic|261640}}. This should resolve the issue and let you start the game directly from the game directory. If that does not work, try using the {{Pkg|steam-native-runtime}}.
  
==Binding of Isaac: Rebirth==
+
=== Chaos Engine ===
===Troubleshooting===
 
====No sound====
 
Right click on {{ic|Binding of Isaac: Rebirth}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:
 
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%
 
  
In the game, go to the options and set all audio to the proper volume.
+
Set your [[launch option]]s to:
  
==Borderlands 2==
+
LD_PRELOAD="/usr/lib32/libpng16.so.16" %command%
Steam Cloud syncing does not (intentionally) work between platforms. With that said gave save files can be manually moved between systems. Save locations can be found here: http://pcgamingwiki.com/wiki/Borderlands_2#Game_data. Once backed up to a FAT32 or other cross-compatible file-system thumbdrive (or the cloud), move the saved files to your GNU/Linux system, locate your saved file location, and move into the 17-digit long numeric file name. If previous saves on your GNU/Linux system can be deleted you can do so now. The key fix that I found was a need to change the ownership, group, and permissions. I used {{ic|chown steam:steam *}} and then {{ic|chmod 0660 *}} to get my moved saved files to work.
 
  
 +
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)
  
==Borderlands the Pre-Sequel==
+
Then link the system libz.so:
Borderlands the Pre-Sequle (and maybe Borderlands 2) might not be able to connect to the Gearbox SHIFT-service, this is related to a wrong path to the available SSL certificates. This can be solved by creating a symbolic link from {{ic|/etc/ssl}} to {{ic|/usr/lib/ssl}}. See [http://steamcommunity.com/app/49520/discussions/0/616189742722687689/#c616189742811551908 this comment on the steam dissuscion forum].
+
cd ~/.local/share/Steam/steamapps/common/Chaos\ engine/lib
 +
mv libz.so.1 libz.so.1.old
 +
ln -s /lib/libz.so.1
  
==Cities in Motion 2==
+
=== Cities in Motion 2 ===
  
=== Dialog boxes fail to display properly ===
+
==== Dialog boxes fail to display properly ====
  
 
You will not be able to read or see anything, and you will have this in your logs:
 
You will not be able to read or see anything, and you will have this in your logs:
Line 72: Line 384:
 
  Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: wrong number of matrix elements
 
  Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: wrong number of matrix elements
  
Workaround for the bug {{Bug|35039}} is available [http://bpaste.net/show/167019/ here] (replace {{ic|/etc/fonts/conf.d/10-scale-bitmap-fonts.conf}}).
+
Workaround for the bug {{Bug|35039}} is available [http://bpaste.net/show/167019/ here] {{Dead link|2017|05|25}} (replace {{ic|/etc/fonts/conf.d/10-scale-bitmap-fonts.conf}}).
 +
 
 +
=== Cities Skylines ===
 +
 
 +
==== Textures not rendering properly ====
 +
 
 +
Run the game with {{ic|1=UNITY_DISABLE_GRAPHICS_DRIVER_WORKAROUNDS=yes}}.
 +
 
 +
=== Civilization V ===
 +
 
 +
Run the game with {{ic|1=LD_PRELOAD=/usr/lib32/libopenal.so.1 %command% }}.[https://steamcommunity.com/app/8930/discussions/0/1621726179576099775/] For old versions of PulseAudio (<12.0), use {{ic|1=LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6:/usr/lib32/libopenal.so.1' %command% }}.[https://github.com/ValveSoftware/steam-for-linux/issues/4379] If libopenal.so.1 is not in /usr/lib32, you may need to run {{ic|1=sudo pacman -S multilib/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: {{ic|1='/usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so ./libcxxrt.so /usr/lib32/libstdc++.so.6 /usr/lib32/libopenal.so.1'}}.[https://forum.manjaro.org/t/civ-v-wont-launch-after-update/10825/6]
 +
==== 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 {{ic|MaxSimultaneousThreads}} to {{ic|16}} in {{ic|config.ini}} in game directory.[https://www.reddit.com/r/civ5/comments/5z77jr/game_crashes_randomly_on_linux_amd_ryzen/]
 +
 
 +
==== Game crashes after intro video with "Unable to load texture (LoadingBaseGame.dds)" ====
 +
 
 +
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 {{AUR|ciopfs}}.
 +
 
 +
==== Game crashes on startup with an error in libpulsecommon-12.0.so" ====
 +
 
 +
Run the game with {{ic|1=LD_PRELOAD=/usr/lib32/libopenal.so.1 %command%}}
 +
 
 +
==== Steam Overlay not working ====
 +
 
 +
If the Steam Overlay doesn't 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:
 +
 
 +
* {{aur|lib32-intel-tbb}}
 +
* {{pkg|lib32-libcurl-compat}}
 +
* {{pkg|lib32-libcurl-gnutls}}
 +
* {{pkg|lib32-openal}}
 +
 
 +
==== Segfault after a few minutes ====
 +
Backtrace:
 +
    #0  0x08b71d06 in FireGrafix::DynamicsLock<Graphics::BuildingSkinnedDataDynamicConsts>::DynamicsLock(Graphics::SurfaceSet**, FireGrafix::SurfaceSetPoolAllocator*, unsigned short) ()
 +
    #1  0x08c25ffc in cvLandmarkVisSystem::cvLandmarkVisDynamicConstantUpdaterSS::HandleBuildingShaderSkinned(Graphics::FGXShaderPackageInstanceView*, FireGrafix::FGXModelNode*, FGXVector4*) ()
 +
    #2  0x08c25f34 in cvLandmarkVisSystem::cvLandmarkVisDynamicConstantUpdaterSS::UpdateNode(Graphics::FGXShaderPackageInstanceView*, FireGrafix::FGXModelNode*, FGXVector4*) ()
 +
    #3  0x08c25e2c in FireGrafix::FGXModelRenderByNodeSSExample_Shadow<cvLandmarkVisSystem::cvLandmarkVisDynamicConstantUpdaterSS, 2, FireGrafix::FGXModelRenderEndSuperclass>::RenderNode(unsigned int*, FireGrafix::FGX_SPIV_GENERIC*, FireGrafix::FGXModelNode*, FGXVector4*) ()
 +
    #4  0x08c24ff5 in cvLandmarkVisSystem::LandmarkRenderJob::Execute(unsigned int) ()
 +
    #5  0x093d26d9 in Platform::JobTask::execute() ()
 +
    #6  0xf749f3c0 in ?? () 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.6
 +
 
 +
Segfault is caused by {{aur|lib32-intel-tbb}}. To fix the issue:
 +
# Download the [http://archive.ubuntu.com/ubuntu/pool/universe/t/tbb/libtbb2_4.2~20130725-1.1ubuntu1_i386.deb libtbb2 deb-package] from the Ubuntu archive.
 +
# Unpack {{ic|libtbb.so.2}} from {{ic|libtbb2_4.2_20130725-1.1ubuntu1_i386.deb/data.tar.xz/usr/lib}} into the game directory.
 +
# Run the game with {{ic|1=LD_PRELOAD='./libtbb.so.2'}}.
 +
 
 +
=== Civilization VI ===
 +
 
 +
Either run with steam-native, launch option {{ic|1=LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%}}, or {{ic|1=env LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6'}}. The latter will disable the Steam overlay.
 +
 
 +
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 {{ic|~/.local/share/aspyr-media/Sid Meier's Civilization VI/AppOptions.txt}}
 +
# The string {{ic|AppHost::BugSubmissionPackager::BugSubmissionPackager}} appears inhttp://store.steampowered.com/app/310080/Hatoful_Boyfriend/ the backtrace output when running the game under {{pkg|gdb}}
 +
## To run under {{pkg|gdb}}, first launch a shell and change into the game directory.
 +
## Then {{ic|echo 289070 > steam_appid.txt}} ''(otherwise the game won't launch outside of Steam itself)''
 +
## Then run something like {{ic|gdb -ex run -ex bt -ex quit --args ./Civ6 ./Civ6}}
 +
## The relevant info towards the end of the output should look like this:
 +
    Thread 3 "Civ6" received signal SIGSEGV, Segmentation fault.
 +
    [Switching to Thread 0x7fffe5d06700 (LWP 12315)]
 +
    0x000000000201121e in AppHost::BugSubmissionPackager::BugSubmissionPackager(unsigned long, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)4> const&, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)0> const&, AppHost::ModuleVersionInfo const&) ()
 +
    #0  0x000000000201121e in AppHost::BugSubmissionPackager::BugSubmissionPackager(unsigned long, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)4> const&, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)0> const&, AppHost::ModuleVersionInfo const&) ()
 +
    #1  0x000000000200c796 in AppHost::_INTERNAL::SetupFXSPlatform(AppHost::AppEnvironment const*, AppHost::AppOptions*)
 +
        ()
 +
    #2  0x000000000200fea0 in AppHost::RunApp(int, char**, AppHost::Application*) ()
 +
    #3  0x000000000200f9bc in AppHost::RunApp(char*, AppHost::Application*) ()
 +
    #4  0x0000000001112d98 in WinMain ()
 +
    #5  0x00000000010bdab0 in ?? ()
 +
    #6  0x00000000010bfb31 in ThreadHANDLE::ThreadProc(void*) ()
 +
    #7  0x00007ffff473e08a in start_thread () from /usr/lib/libpthread.so.0
 +
    #8  0x00007ffff38f747f in clone () from /usr/lib/libc.so.6
 +
 
 +
If all of that is the case for you, the fix is pretty simple.  Edit {{ic|~/.local/share/aspyr-media/Sid Meier's Civilization VI/AppOptions.txt}} and change the line reading {{ic|EnableBugCollection 1}} to {{ic|EnableBugCollection 0}}.
 +
 
 +
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_Var
 +
 
 +
The solution is to set launch option to be
 +
 
 +
    LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%
 +
 
 +
==== If the game ends up being a grey-color blank screen ====
 +
 
 +
The solution is to disable mods.
 +
 
 +
=== CrossCode ===
 +
 
 +
==== If FontConfig Errors on Start ====
 +
{{bc|
 +
                                        ...
 +
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
 +
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
 +
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
 +
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
 +
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
 +
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
 +
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
 +
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
 +
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
 +
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
 +
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
 +
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
 +
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
 +
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
 +
                                        ...
 +
}}
 +
Download the latest version of nwjs from [https://nwjs.io/ here] and extract it's contents into your CrossCode directory, overwriting the files.
 +
 
 +
Be sure to rename {{ic|nw}} to {{ic|CrossCode}} after.
 +
 
 +
This solution was documented to work with CrossCode 1.2 and nwjs 0.41.2 and is based on [https://steamcommunity.com/app/368340/discussions/1/1727575977598417554/ this steam post]
 +
 
 +
=== Deus Ex: Mankind Divided ===
 +
 
 +
Follow [[#OpenSSL 1.0 setup]].
 +
 
 +
Requires {{Pkg|libidn11}} & {{Pkg|librtmp0}}.
 +
 
 +
Also if you use Bumblebee set your [[launch option]]s to:
 +
 
 +
LD_PRELOAD="$LD_PRELOAD:libpthread.so.0:libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1  optirun %command%
 +
 
 +
=== The Clockwork Man ===
 +
 
 +
Requires {{pkg|lib32-libidn}} (pulled in by {{pkg|steam-native-runtime}}).
 +
 
 +
=== Company of Heroes 2 ===
 +
 
 +
Make sure you have {{pkg|lib32-gconf}}{{Broken package link|{{aur-mirror|lib32-gconf}}}} installed.
 +
 
 +
==== Missing libpcre.so.3 ====
 +
 
 +
Like with [[#Alien Isolation]] you need to symlink {{ic|/usr/lib/libpcre.so}} to {{ic|''GAME''/lib/''arch''/libpcre.so.3}}, otherwise the game will fail to start.
 +
 
 +
=== Cossacks 3 ===
 +
 
 +
==== No sound ====
 +
 
 +
Use the steam-runtime, e.g. set the [https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947 launch options] to:
 +
 
 +
~/.steam/root/ubuntu12_32/steam-runtime/run.sh %command%
 +
 
 +
==== Flashing screen with primus ====
 +
 
 +
Set {{ic|1=PRIMUS_SYNC=2}}in the launch options.
 +
 
 +
=== Counter-Strike: Source (CS:S) ===
 +
 
 +
==== Invisible symbols, special characters and cyrillic letters ====
 +
Check [[#Squares or invisible symbols, special characters and cyrillic letters in Source-based games]]
 +
 
 +
=== Counter-Strike: Global Offensive (CS:GO) ===
 +
 
 +
==== Game starts on the wrong screen ====
 +
 
 +
[https://github.com/ValveSoftware/csgo-osx-linux/issues/60 csgo-osx-linux issue #60]
 +
 
 +
If it happens, go into fullscreen windowed or windowed mode and drag the window to the correct monitor. Then go back into fullscreen, the game should now be on the correct monitor.
 +
 
 +
==== Cannot reach bottom of the screen on menus ====
 +
 
 +
[https://github.com/ValveSoftware/csgo-osx-linux/issues/594 csgo-osx-linux issue #594]
 +
 
 +
If you have a secondary monitor you might have a part of your lower screen you cannot reach in menus.
 +
If on Gnome you can try to open the overview (Super key) and drag the game to the other monitor and back.
 +
 
 +
If you are not on Gnome or dragging the window back and forth did not work you can try to [[install]] {{pkg|wmctrl}} and run this command, where X and Y is the offset of the window and H and W is the size.
 +
wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,X,Y,H,W
 +
 
 +
'''Example''': SecondaryMonitor: on the left 2560x1600, GamingMonitor: on the right 2560x1440).
 +
wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,2560,0,1600,1200
 +
Here X and Y is 0,2560 to move the window to the monitor on the right and H and W 1600,1200 is set to match the in-game resolution.
 +
 
 +
==== Sound is played slightly delayed ====
 +
 
 +
[https://github.com/ValveSoftware/csgo-osx-linux/issues/45 csgo-osx-linux issue #45]
 +
 
 +
See [[PulseAudio/Troubleshooting#Laggy sound]] for a possible solution.
 +
 
 +
==== Mouse not working in-game ====
 +
 
 +
If your mouse works in the main menu but not in-game, run the game with {{ic|1=SDL_VIDEO_X11_DGAMOUSE=0}}.
 +
[https://bbs.archlinux.org/viewtopic.php?id=184905]
 +
 
 +
==== Brightness slider not working ====
 +
 
 +
[[Install]] {{pkg|xorg-xrandr}} and run {{ic|xrandr}} to find out the name of your connected display output.
 +
 
 +
Edit {{ic|''GAME''/csgo.sh}} and add the following lines (adapt ''output_name''):
 +
 
 +
'''# gamma correction'''
 +
'''xrandr --output ''output_name'' --gamma 1.6:1.6:1.6 # play with values if required'''
 +
STATUS=42
 +
while [$STATUS -eq 42]; do
 +
  ...
 +
done
 +
'''# restore gamma'''
 +
'''xrandr --output ''output_name'' --gamma 1:1:1'''
 +
exit $STATUS
 +
 
 +
==== Microphone not working ====
 +
 
 +
[https://github.com/ValveSoftware/csgo-osx-linux/issues/573#issuecomment-174016722 csgo-osx-linux issue #573]
 +
 
 +
CS:GO uses the default PulseAudio sound device ignoring what is configured in Steam settings.
 +
 
 +
First find out the source name of your microphone (it should start with {{ic|alsa_input.}}):
 +
$ pacmd list-sources
 +
 
 +
Then set the default device (change the name accordingly):
 +
$ pacmd set-default-source ''device_name''
 +
 
 +
Also lower the microphone level to 60% otherwise you will get some nasty background noise and you will be difficult to understand (change the name accordingly):
 +
$ pacmd set-source-volume ''device_name'' 0x6000
  
== Civilization V==
+
==== Mouse is unrensponsive or moves slowly ====
  
=== Stuttering sound with PulseAudio ===
+
Set launch options to:
 +
vblank_mode=0 %command%
  
See [[PulseAudio/Troubleshooting#Laggy_sound]].
+
Works with almost any other game.
  
== Counter-Strike: Global Offensive ==
+
==== Game crashes on startup with game controller plugged in ====
  
=== Game runs on the wrong screen ===
+
[https://github.com/ValveSoftware/csgo-osx-linux/issues/1757 csgo-osx-linux issue #1757]
  
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/60 GitHub Counter-Strike: Global Offensive issue #60]
+
The solution is to add {{ic|-nojoy}} to the launch options.
  
If it happens, you can fix it by going into fullscreen windowed or windowed mode and then dragging the game onto the correct monitor. After you go back in fullscreen, the game should be on the correct monitor.
+
=== Creeper World 3: Arc Eternal ===
  
=== Audio is not synced ===
+
==== Game does not start ====
 +
Search for Player.log
 +
(might be in ~/.config/unity3d/Knuckle Cracker LLC/Creeper World 3/ )
  
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/45 GitHub Counter-Strike: Global Offensive issue #45]
+
If it says somewhere in Player.log
 +
"FMOD failed to get number of drivers ... An error occured that wasn't supposed to.  Contact support."
 +
Unity is probably having problem with some pulse audio libraries.  
  
See [[PulseAudio/Troubleshooting#Laggy_sound]] for a possible solution.
+
Fix that worked for me:
 +
Remove or rename all instances of libpulse-simple* files.
  
==Crusader Kings II==
+
Places to look for them:
Game is installed into {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II}}.
+
/usr/lib
Game can be started directly, without need of running Steam on background, using command {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II/ck2}}.
+
/usr/lib32
 +
~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/
 +
~/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/
  
Saves are stored in {{ic|$HOME/Documents/Paradox Interactive/Crusader Kings II/save games/}}.
+
=== Crusader Kings II ===
In the newest version (2.03), save-game files seem to be stored to {{ic|$HOME/.paradoxinteractive/Crusader Kings II/}}. If your documents folder is empty, try looking there.
 
  
===Troubleshooting===
+
==== No audio ====
====No audio====
+
 
The default audio driver used by Crusader Kings 2 is for [[PulseAudio]], so an override is necessary:
+
SDL uses [[PulseAudio]] by default, so to use it with [[ALSA]] you need to set:
  
 
{{hc|~/.pam_environment|2=SDL_AUDIODRIVER=alsa}}
 
{{hc|~/.pam_environment|2=SDL_AUDIODRIVER=alsa}}
====Odd Sized Starting Window====
 
Enable full screen mode as the default. In {{ic|~/.paradoxinteractive/Crusader Kings II/settings.txt}} change fullscreen=no to fullscreen=yes.
 
  
==Defender's Quest: Valley of the Forgotten==
+
==== Oddly sized starting window ====
===Dependencies===
+
 
* {{AUR|adobe-air-sdk}}
+
You can make full screen mode the default by setting {{ic|1=fullscreen=yes}} in {{ic|~/.paradoxinteractive/Crusader Kings II/settings.txt}}.
 +
 
 +
==== DLCs not detected ====
 +
 
 +
If the DLC tab in the launcher is not selectable, rename the {{ic|DLC}} directory in the game directory to {{ic|dlc}}.
 +
 
 +
==== Game takes ages to start ====
 +
 
 +
If you are using a nvidia graphics card, make sure you have enabled the [[NVIDIA#DRM kernel mode setting|DRM kernel mode setting]].
 +
 
 +
==== Game doesn't start at all ====
 +
 
 +
If the game stopped launching after Patch 3.3 (when the game became 64-bit only), install {{Pkg|intel-tbb}}.
 +
 
 +
=== Crypt of the NecroDancer ===
 +
 
 +
==== Crashes after splash screen ====
 +
 
 +
The following error occurs if launching Steam from the terminal.
 +
 
 +
FMOD ERROR: UpdateFMOD SystemUpdate: This command failed because System::init or System::setDriver was not called.
 +
 
 +
This error is solved by installing {{pkg|pulseaudio-alsa}}.
 +
 
 +
=== The Curious Expedition ===
 +
 
 +
==== Game stuck on loading screen ====
 +
 
 +
The Electron shipped with this game is too old for Arch Linux.
 +
 
 +
Install {{pkg|electron}} and run the game with {{ic|electron resources/app.asar}}.
 +
 
 +
=== Death Road To Canada ===
 +
 
 +
==== No music ====
 +
 
 +
Prepend {{ic|/usr/lib}} to {{ic|LD_LIBRARY_PATH}}.
 +
 
 +
=== Defender's Quest: Valley of the Forgotten ===
 +
 
 +
Dependencies:
 +
 
 +
* {{AUR|adobe-air-sdk}}, follow [[#Adobe Air setup]]
 
* {{pkg|xterm}}
 
* {{pkg|xterm}}
 
* {{pkg|lib32-libcanberra}}
 
* {{pkg|lib32-libcanberra}}
  
===Troubleshooting===
+
=== Dirt ===
====Game does not start====
+
 
* Package {{AUR|adobe-air-sdk}} installs Adobe Air not in the place where the game expects it to be, fix this by creating a symlink (requires root permissions):
+
Follow [[#OpenSSL 1.0 setup]].
{{bc|$ ln -s /opt/adobe-air-sdk/runtimes/air/linux/Adobe\ AIR /opt/Adobe\ AIR}}
+
 
 +
=== Dirt Rally ===
 +
 
 +
Prepend {{ic|lib/x86_64}} to your {{ic|LD_LIBRARY_PATH}}, otherwise the game will fail to start.
 +
 
 +
{{Note|The order of the paths is important. {{ic|$LD_LIBRARY_PATH}} must be the last entry or it won't work.}}
 +
 
 +
=== Divinity: Original Sin - Enhanced Edition ===
 +
 
 +
==== Game does not start when using Bumblebee optirun or primusrun ====
 +
 
 +
Edit {{ic|''GAME''/runner.sh}} to use primusrun:
 +
LD_LIBRARY_PATH="." primusrun ./EoCApp
 +
 
 +
==== Game does not work with mesa ====
 +
 
 +
It is a known bug and they have no intention of fixing it, see [https://bugs.freedesktop.org/show_bug.cgi?id=93551 the bug].
 +
 
 +
Workaround[https://www.gamingonlinux.com/articles/divinity-original-sin-may-soon-work-with-mesa-drivers.8867/comment_id=81524] (see [https://bugs.freedesktop.org/show_bug.cgi?id=93551#c46 step by step guide])
 +
 
 +
Get the following file:
 +
https://bugs.freedesktop.org/attachment.cgi?id=125302
 +
and rename it to {{ic|divos-hack.c}}
 +
 
 +
Then execute
 +
$ gcc -s -O2 -shared -fPIC -o divos-hack.{so,c} -ldl
 +
 
 +
Copy the {{ic|divos-hack.so}} to the ''game'' folder.
 +
 
 +
For GOG version, go to the said game folder and run Divinity with the following command
 +
$ allow_glsl_extension_directive_midshader=true LD_PRELOAD="divos-hack.so" ./runner.sh
 +
 
 +
For ''steam'', open a console, change to the divinity directory with
 +
$ cd ~/.steam/steam/steamapps/common/Divinity Original Sin Enhanced Edition
 +
 
 +
Launch steam and got o the preferences of the game, and open the "Set Launch Options" dialogue. There, put the following
 +
allow_glsl_extension_directive_midshader=true LD_PRELOAD="divos-hack.so:$LD_PRELOAD" %command%
 +
 
 +
Then just start the game.
 +
 
 +
=== Don't Starve ===
 +
 
 +
Dependencies:
 +
 
 +
* {{pkg|lib32-flashplugin}}{{Broken package link|{{aur-mirror|lib32-flashplugin}}}}
 +
* {{pkg|lib32-libcurl-gnutls}}
 +
 
 +
==== No sound ====
 +
 
 +
Prepend {{ic|/usr/lib}} to {{ic|LD_LIBRARY_PATH}}.
 +
 
 +
In the game, go to the options and adjust the audio levels.
 +
 
 +
=== Doki Doki Literature Club ===
 +
 
 +
Linux version is shipped with the Windows version, but can only be installed with Steam Play.
 +
 
 +
Native version can be started with this launch option: {{ic|./DDLC.sh # %command%}}
 +
 
 +
=== Dota 2 ===
  
* Adobe AIR will want to check whether the EULA was accepeted and fail in doing so. To fix it, issue the following commands (from under your user, not under root):
+
Dependencies:
{{bc|$ mkdir -p ~/.appdata/Adobe/AIR
 
$ echo 2 > ~/.appdata/Adobe/AIR/eulaAccepted}}
 
{{Note|By issuing these commands you're accepting Adobe Air's EULA.}}
 
  
==Don't Starve==
+
* {{AUR|libudev0}}
===Dependencies (x86_64)===
+
* {{pkg|libpng12}}
* {{pkg|lib32-flashplugin}}
 
* {{pkg|lib32-alsa-plugins}} (Looks like it fixes sound in some cases. See [https://github.com/ValveSoftware/steam-for-linux/issues/2968 this github issue] for details)
 
===Troubleshooting===
 
====No sound====
 
Right click on Don't Starve on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:
 
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%
 
  
On the game, go to the option and set all audio to the proper volume.
+
==== In-game font is unreadable ====
  
==Dota 2==
+
Run the game with {{ic|1=MESA_GL_VERSION_OVERRIDE=2.1}}.
===Dependencies (x86_64)===
+
 
* {{pkg|lib32-openal}}
+
==== Error with libpangoft2 ====
* {{pkg|lib32-libpulse}} (if you use PulseAudio)
+
 
* {{pkg|lib32-fontconfig}}
+
# [[Install]] the {{pkg|pango}} package.
 +
# Remove {{ic|libpango-1.0.so}} and {{ic|libpangoft2-1.0.so}} in {{ic|''GAME''/game/bin/linuxsteamrt64}}.
 +
# If you are using Bumblebee add {{ic|1=LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 optiru}} to your [[launch option]]s.
 +
 
 +
==== The game does not start ====
 +
 
 +
If you run the game from the terminal and, although no error is shown, try disabling: ''Steam > Settings > In-Game > Enable Steam Community In-Game''.
  
===Troubleshooting===
+
Apparently the game [[#The Book of Unwritten Tales]] has the same problem. It also describes a workaround that is untested in Dota 2.
====In-game font is unreadable====
 
Start Steam (or Dota 2) with the environment variable:
 
MESA_GL_VERSION_OVERRIDE=2.1
 
  
====Everything seems OK but the game doesn't start====
+
==== Game runs on the wrong screen ====
If you run the game from the terminal and, although no error is shown, the '''disabling''': ''Steam > Settings > In-Game > Enable Steam Community In-Game''.
 
Apparently the game [[#The Book of Unwritten Tales|The Book of Unwritten Tales]] has the same problem. It also describes a workaround that is untested in Dota 2.
 
  
====Game runs on the wrong screen====
+
: [https://github.com/ValveSoftware/Dota-2/issues/11 GitHub Dota 2 issue #11]
:[https://github.com/ValveSoftware/Dota-2/issues/11 GitHub Dota 2 issue #11]
 
  
 
==== Game does not start with libxcb-dri3 error message ====
 
==== Game does not start with libxcb-dri3 error message ====
 +
 
After a recent Mesa update, Dota 2 stopped working. The error message is:
 
After a recent Mesa update, Dota 2 stopped working. The error message is:
 +
 
  SDL_GL_LoadLibrary(NULL) failed: Failed loading libGL.so.1: /usr/lib32/libxcb-dri3.so.0: undefined symbol: xcb_send_fd
 
  SDL_GL_LoadLibrary(NULL) failed: Failed loading libGL.so.1: /usr/lib32/libxcb-dri3.so.0: undefined symbol: xcb_send_fd
Simply remove the bundled libxcb to force Steam to use the system-wide version. Restart Steam to apply.
 
$ find ~/.local/share/Steam -name 'libxcb*' -type f | grep -v installed | xargs rm
 
:[https://github.com/ValveSoftware/steam-for-linux/issues/3204 GitHub Steam issue #3204]
 
  
 
==== Steam overlay ====
 
==== Steam overlay ====
Steam distributes a copy of libxcb which is incompatible with the latest xorg libxcb. If you're having issues with steam overlay and on recent xorg try removing the bundled lib.
 
  mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1 /tmp/libxcb.so.1.bak
 
See more information here:
 
:[https://github.com/ValveSoftware/steam-for-linux/issues/3199]
 
:[https://github.com/ValveSoftware/steam-for-linux/issues/3093]
 
  
==Dwarfs F2P==
+
Steam distributes a copy of libxcb which is incompatible with the latest xorg libxcb. See [https://github.com/ValveSoftware/steam-for-linux/issues/3199], [https://github.com/ValveSoftware/steam-for-linux/issues/3093].
===Dependencies===
+
 
* {{AUR|lib32-libgdiplus}}
+
==== Chinese tips and player names not shown ====
 +
 
 +
The Chinese characters in tips and player names are displayed as block characters.
 +
 
 +
The problem is caused by the font packages: {{pkg|ttf-dejavu}}, {{pkg|ttf-liberation}} and {{aur|ttf-ms-fonts}}.
 +
 
 +
: [https://github.com/ValveSoftware/Dota-2/issues/1688 GitHub Steam issue #1688] {{Dead link|2017|05|25}}
 +
 
 +
==== Chinese input method problem ====
 +
 
 +
Dota2 is compatible with [[IBus]] .
 +
 
 +
=== Devil Daggers ===
 +
 
 +
Refer to [[#Missing libcurl.so.4 or version CURL_OPENSSL_3 not found]].
 +
 
 +
=== Drox Operative ===
 +
 
 +
If the game fails to start with "Couldn't find Database/database.dbl!", manually extract the assets. assets003.zip will overwrite some files from the previous files.
 +
 
 +
$ cd "~/.steam/root/steamapps/common/Drox Operative/Assets"
 +
$ unzip assets00[123].zip
 +
 
 +
=== Dungeon Souls ===
 +
 
 +
For AMD cards this game crashes on launch, unless you start it like this:
 +
 
 +
R600_DEBUG=mono %command%
 +
 
 +
=== Dwarfs F2P ===
 +
 
 +
Dependencies:
 +
 
 +
* {{AUR|lib32-libgdiplus}}{{Broken package link|{{aur-mirror|lib32-libgdiplus}}}}
 +
 
 +
==== Game does not start ====
  
===Troubleshooting===
 
====Game does not start====
 
 
There was a bug that stopped Steam from fetching all the needed files. It should be resolved, if you still bump into this problem, try verifying integrity of game cache from game properties, local files tab.
 
There was a bug that stopped Steam from fetching all the needed files. It should be resolved, if you still bump into this problem, try verifying integrity of game cache from game properties, local files tab.
  
If the game still crashes at startup, edit {{ic|~/.local/share/Steam/SteamApps/common/Dwarfs - F2P/Run.sh}} and change
+
If the game still crashes at startup, edit {{ic|''GAME''/Run.sh}} and change
 +
 
 
  export LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH}
 
  export LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH}
 +
 
to
 
to
 +
 
  export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:.
 
  export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:.
 +
 
{{Note|This file may be overwritten by updates or by verifying integrity of game cache. You may need to modify it again.}}
 
{{Note|This file may be overwritten by updates or by verifying integrity of game cache. You may need to modify it again.}}
  
If these do not help, you may have outdated libraries in the game installation folder that are crashing the game on startup. Try moving/removing the following files out of {{ic|~/.local/share/Steam/SteamApps/common/Dwarfs - F2P/}} to fix it:
+
If these do not help, you may have outdated libraries in the game installation folder that are crashing the game on startup. Try removing the following files from the game directory:
  
  libX11.so.6, libsteam.so libtier0_s.so, libvstdlib_s.so, steamclient.so
+
  libX11.so.6 libsteam.so libtier0_s.so libvstdlib_s.so steamclient.so
 +
 
 +
==== Game crashes ====
  
====Game crashes====
 
 
In some cases, the game crashes about 2 minutes before the end of every arcade. This bug has been reported, but there's no known solution to it.
 
In some cases, the game crashes about 2 minutes before the end of every arcade. This bug has been reported, but there's no known solution to it.
  
==Dynamite Jack==
+
=== Dynamite Jack ===
===Dependencies===
+
 
* {{pkg|lib32-sdl}}
+
Requires {{Pkg|lib32-sdl}}.
 +
 
 +
==== Sound Issues ====
  
===Troubleshooting===
 
====Sound Issues====
 
 
When running on 64-bit Arch Linux, there may be "pops and hisses" when running Dynamite Jack. This could be caused by not having {{ic|1=STEAM_RUNTIME=0}} set. (However, even with {{ic|1=STEAM_RUNTIME=0}} set, the game may still sometimes start with this issue. Exiting and restarting the game seems to make the problem go away.)
 
When running on 64-bit Arch Linux, there may be "pops and hisses" when running Dynamite Jack. This could be caused by not having {{ic|1=STEAM_RUNTIME=0}} set. (However, even with {{ic|1=STEAM_RUNTIME=0}} set, the game may still sometimes start with this issue. Exiting and restarting the game seems to make the problem go away.)
  
====Game does not start====
+
==== Game does not start ====
 +
 
 
If running steam with the {{ic|1=STEAM_RUNTIME=0}}, Dynamite Jack may have a problem starting. Check the steam error messages for this message:
 
If running steam with the {{ic|1=STEAM_RUNTIME=0}}, Dynamite Jack may have a problem starting. Check the steam error messages for this message:
  /home/<USER>/.local/share/Steam/SteamApps/common/Dynamite Jack/bin/main: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
+
 
 +
  /home/$USER/.steam/root/steamapps/common/Dynamite Jack/bin/main: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
 +
 
 
Install {{pkg|lib32-sdl}} from [[multilib]] and Dynamite Jack should start up.
 
Install {{pkg|lib32-sdl}} from [[multilib]] and Dynamite Jack should start up.
  
==Football Manager 2014==
+
=== Empire Total War ===
This game will not run when installed on an XFS or reiserfs filesystem. Workaround is to install on an ext4 filesystem.
+
 
 +
==== Weird unreadable fonts ====
 +
 
 +
Open {{ic|~/.local/share/feral-interactive/Empire/preferences}}, then find {{ic|UsePBOSurfaces}} and change it from 1 to 0.
 +
 
 +
=== Euro Truck Simulator 2 ===
 +
 
 +
==== Shows only a black screen ====
 +
 
 +
Select safe mode when the game starts up.
 +
 
 +
=== Firewatch ===
 +
 
 +
If Firewatch starts but doesn't show anything try running Steam with
 +
 
 +
`STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam`
 +
 
 +
=== Football Manager 2014 ===
 +
 
 +
This game will not run when installed on an [[XFS]] or reiserfs filesystem. Workaround is to install on an ext4 filesystem.
 +
 
 +
=== FORCED ===
 +
 
 +
Requires {{pkg|lib32-glu}}.
  
==FORCED==
+
This game has 32-bit and 64-bit binaries. For some reason, Steam will launch the 32-bit binary even on 64-bit Arch Linux.
This game has 32-bit and 64-bit binaries. For unknown reason, steam will launch the 32-bit binary even on 64-bit Arch Linux.
 
 
When manually launching the 64-bit binary, the game starts, but cannot connect to Steam account, so you cannot play.
 
When manually launching the 64-bit binary, the game starts, but cannot connect to Steam account, so you cannot play.
 
So install 32-bits dependencies, and launch the game from Steam.
 
So install 32-bits dependencies, and launch the game from Steam.
  
===Dependencies===
+
=== For the King ===
* {{pkg|lib32-alsa-plugins}}
+
 
* {{pkg|lib32-glu}}
+
For steam-native --
 +
 
 +
Starts with black page. Requires to be told to use the libSDL2 shipping with Steam
 +
 
 +
Add to Steam launch options for game.
 +
 
 +
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 %command%
 +
 
 +
Note however, that this disables the Steam overlay as a side effect.
 +
 
 +
For steam-runtime --
 +
 
 +
It works out of the box.
 +
 
 +
For the full experience, run FTK via steam-runtime instead of steam-native.
 +
 
 +
=== FTL: Faster than Light ===
  
==FTL: Faster than Light==
+
==== Compatibility ====
===Dependencies===
 
Libraries are downloaded and and placed in the game's data directory for both architectures. As long as you run FTL by the launcher script (or via the shortcut in Steam) you should not need to download any further libraries.
 
  
===Compatibility===
 
 
After installation, FTL may fail to run due to a 'Text file busy' error (characterised in Steam by your portrait border going green then blue again). The easiest way to mend this is to just reboot your system. Upon logging back in FTL should run.
 
After installation, FTL may fail to run due to a 'Text file busy' error (characterised in Steam by your portrait border going green then blue again). The easiest way to mend this is to just reboot your system. Upon logging back in FTL should run.
  
The Steam overlay in FTL does not function as it is not a 3D accelerated game. Because of this the desktop notifications will be visible. If playing in fullscreen, therefore, these notifications in some systems may steal focus and revert you back to windowed mode with no way of going back to fullscreen without relaunching. The binaries for FTL on Steam have no DRM and it is possible to run the game ''without'' Steam running, so in some cases that may be optimum - just ensure that you launch FTL via the launcher script in {{ic|~/.steam/root/SteamApps/common/FTL Faster than Light/data/}} rather than the FTL binary in the $arch directory.
+
The Steam overlay in FTL does not function as it is not a 3D accelerated game. Because of this the desktop notifications will be visible. If playing in fullscreen, therefore, these notifications in some systems may steal focus and revert you back to windowed mode with no way of going back to fullscreen without relaunching. The binaries for FTL on Steam have no DRM and it is possible to run the game ''without'' Steam running, so in some cases that may be optimum - just ensure that you launch FTL via the launcher script in {{ic|''GAME''/data/}} rather than the FTL binary in the $arch directory.
 +
 
 +
==== Problems with open-source video driver ====
  
===Problems with open-source video driver===
+
FTL may fail to run if you are using an opensource driver for your video card. There are two solutions: install a proprietary video driver or delete (rename if you are unsure) the library "libstdc++.so.6" inside {{ic|''GAME''/data/amd64/lib}}. This is if you are using a 64bit system. In case you are using a 32bit system you have to remove (rename) the same library located into {{ic|''GAME''/data/x86/lib}}.
FTL may fail to run if you are using an opensource driver for your video card. There are two solutions: install a proprietary video driver or delete (rename if you are unsure) the library "libstdc++.so.6" inside {{ic|~/.steam/root/SteamApps/common/FTL\ Faster\ Than\ Light/data/amd64/lib}}. This is if you are using a 64bit system. In case you are using a 32bit system you have to remove (rename) the same library located into {{ic|~/.steam/root/SteamApps/common/FTL\ Faster\ Than\ Light/data/x86/lib}}.
 
  
==Game Dev Tycoon==
+
==== Artifacts when launching, Problems with openGL ====
===Troubleshooting===
+
 
====Game does not start====
+
Using the open source drivers, ATI for radeon cards, the game can display artifacts on screen. Run the game with  {{ic|1=MESA_GL_VERSION_OVERRIDE=3.0 %command%}}
Error about missing libudev.so.0 might appear, solution:
+
 
  # ln -s /lib/libudev.so /lib/libudev.so.0
+
=== Game Dev Tycoon ===
 +
 
 +
==== Game does not start ====
 +
 
 +
You might get an error about missing {{ic|libudev.so.0}}.
 +
 
 +
Run the game with {{ic|1=LD_PRELOAD=/usr/lib/libudev.so.1}}.
 +
 
 +
=== Garry's Mod ===
 +
 
 +
==== Game does not start ====
 +
 
 +
When an error about a missing {{ic|client.so}} appears, try the following:
 +
 
 +
$ cd ~/.steam/root/steamapps/common/GarrysMod/bin/
 +
$ ln -s libawesomium-1-7.so.0 libawesomium-1-7.so.2
 +
$ ln -s ../garrysmod/bin/client.so ./
 +
 
 +
If the error mentions a missing library for {{ic|libgcrypt.so.11}}, install {{pkg|lib32-libgcrypt15}}.
 +
 
 +
==== Opening some menus causes the game to crash ====
  
==Garry's Mod==
 
===Troubleshooting===
 
====Game does not start====
 
Error about missing client.so might appear, solution:
 
  cd SteamLibrary/SteamApps/common/GarrysMod/bin/
 
  ln -s libawesomium-1-7.so.0 libawesomium-1-7.so.2
 
  ln -s ../garrysmod/bin/client.so ./
 
====Opening some menus causes the game to crash====
 
 
Most menus work fine, but ones with checkboxes (LAN multiplayer, mounted games list) do not work at all. This is a bug in the menu code.
 
Most menus work fine, but ones with checkboxes (LAN multiplayer, mounted games list) do not work at all. This is a bug in the menu code.
  
Line 246: Line 985:
 
If you do not care for the default menu style and want a more stable but feature-incomplete solution, Facepunch developer [https://github.com/robotboy655/gmod-lua-menu robotboy655] has written a new menu.
 
If you do not care for the default menu style and want a more stable but feature-incomplete solution, Facepunch developer [https://github.com/robotboy655/gmod-lua-menu robotboy655] has written a new menu.
  
==Half-Life 2 & episodes==
+
==== Game crashes after attempting to join server ====
===Cyrillic fonts problem===
+
 
 +
While in the process of joining a server, downloading resources, etc, the game seems to hang and after a while, perhaps during the "sending client info" portion the game crashes, usually without any error messages. Error does not give much information, however, the process for Garry's mod is killed.
 +
 
 +
This issue arises more often when joining servers with many addons like DarkRP servers specifically.
 +
 
 +
The problem seems to correlate with a weak GPU and the game is timing out from the server, so if the GPU is the problem, lowering the graphics settings to the minimum should fix the problem.
 +
 
 +
The problem seems to be related to RAM usage, once you hit around 2GB of RAM used, the game will crash. Servers with many addons have much more RAM usage, and lowering graphics settings to the minimum lowers RAM usage and mitigates crashes.
 +
 
 +
Using the experimental x86-64 branch may help mitigate this issue, however keep in mind that some addons may return errors while using this branch.
 +
 
 +
=== Gods will be watching ===
 +
 
 +
Follow [[#OpenSSL 1.0 setup]].
 +
 
 +
=== GRID Autosport ===
 +
 
 +
Follow [[#OpenSSL 1.0 setup]].
 +
 
 +
==== Black screen when trying to play ====
 +
 
 +
Run the game with {{ic|1=LC_ALL=C}}.
 +
 
 +
=== Hack 'n' Slash ===
 +
 
 +
==== Crashes when trying to load a game ====
 +
 
 +
Prepend {{ic|/usr/lib}} to {{ic|LD_LIBRARY_PATH}}.
 +
 
 +
=== Hacker Evolution ===
 +
 
 +
Requires {{Pkg|lib32-sdl2_mixer}}.
 +
 
 +
=== Half-Life 2 and episodes ===
 +
 
 +
==== Cyrillic fonts problem ====
 +
 
 
This problem can be solved by deleting "Helvetica" font.
 
This problem can be solved by deleting "Helvetica" font.
  
==Hammerwatch==
+
=== Hammerwatch ===
===Troubleshooting===
+
 
====The game not starting from Steam GUI====
+
==== The game does not start via Steam ====
Right click on Hammerwatch on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:
+
 
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%
+
Prepend {{ic|/usr/lib}} to {{ic|LD_LIBRARY_PATH}}.
====No sound====
+
 
 +
==== No sound ====
 +
 
 
Hammerwatch opens with a popup: "Sound Error" -- "Could not initialize OpenAL, no sounds will be played.  Try updating your OpenAL drivers."
 
Hammerwatch opens with a popup: "Sound Error" -- "Could not initialize OpenAL, no sounds will be played.  Try updating your OpenAL drivers."
  
Line 264: Line 1,041:
 
This way, Hammerwatch will use ALSA.  This solution was found [https://stackoverflow.com/questions/9547396/what-does-al-lib-pulseaudio-c612-context-did-not-connect-access-denied-me here].
 
This way, Hammerwatch will use ALSA.  This solution was found [https://stackoverflow.com/questions/9547396/what-does-al-lib-pulseaudio-c612-context-did-not-connect-access-denied-me here].
  
==Harvest: Massive Encounter==
+
=== Harvest: Massive Encounter ===
===Dependencies===
+
 
 +
Dependencies:
 +
 
 +
* {{AUR|lib32-sfml}}
 +
* {{Pkg|lib32-libjpeg6-turbo}}
 +
* {{Pkg|lib32-nvidia-cg-toolkit}}
 
* {{pkg|lib32-gtk2}}
 
* {{pkg|lib32-gtk2}}
 
* {{pkg|lib32-libvorbis}}
 
* {{pkg|lib32-libvorbis}}
 
* {{pkg|lib32-openal}}
 
* {{pkg|lib32-openal}}
* {{Pkg|lib32-nvidia-cg-toolkit}}
 
* {{AUR|lib32-libjpeg6}}
 
* {{AUR|lib32-sfml}}
 
  
===Compatibility===
+
==== Compatibility ====
Game refuses to launch and throws you to library installer loop. Just edit {{ic| ~/.steam/root/SteamApps/common/Harvest Massive Encounter/run_harvest}} and remove everything but
+
 
  #!/bin/bash
+
If the game refuses to launch and throws you into a library installer loop, run the {{ic|Harvest}} executable instead of the {{ic|run_harvest}} script.
  exec ./Harvest
+
 
 +
=== Hatoful Boyfriend ===
 +
 
 +
==== Japanese text invisible ====
 +
 
 +
Install {{pkg|wqy-microhei}} and {{pkg|wqy-microhei-lite}}.
 +
 
 +
=== HEARTBEAT ===
 +
 
 +
==== If FontConfig Errors on Start ====
 +
 
 +
Follow the same process described in [[#CrossCode]].
 +
 
 +
=== HuniePop ===
 +
 
 +
==== Game crashes upon launch ====
 +
 
 +
Install {{pkg|lsb-release}}.
 +
 
 +
=== Hyper Light Drifter ===
 +
 
 +
==== The controller does not work ====
 +
 
 +
[[Install]] {{pkg|lib32-sdl2}} and run the game with {{ic|1=LD_PRELOAD=libSDL2.so}}.
 +
 
 +
See the following Steam Community discussions:
 +
 
 +
* [https://steamcommunity.com/app/257850/discussions/1/365163686036494421 Controller Issues]
 +
* [https://steamcommunity.com/app/257850/discussions/1/365163686045397160/ Common Bugs + Known Issues]
 +
 
 +
It is suggested to run the ''next_update'' branch to get new fixes,
 +
there however currently is a libcurl segfault keeping it from starting without special workarounds.
 +
 
 +
==== Missing libcurl.so.4 or version CURL_OPENSSL_3 not found ====
 +
 
 +
[[Install]] {{pkg|lib32-libcurl-compat}} and run the game with {{ic|1=LD_PRELOAD=libcurl.so.3}}.
 +
 
 +
=== The Impossible Game ===
 +
 
 +
Dependencies:
 +
 
 +
* {{pkg|lib32-sdl2}}
 +
* {{pkg|lib32-sdl2_image}}
 +
 
 +
=== The Inner World ===
 +
 
 +
Requires {{AUR|java-commons-codec}} for sound support.
 +
 
 +
==== Bringing up the inventory or main menu ====
 +
 
 +
Hold the tab key.
 +
 
 +
===== Cutscenes =====
 +
 
 +
The game has cutscenes. It starts directly with a cutscene before you start the actual game in the backyard. To see these cutscenes you need to use Oracle's [[Java]] instead of the OpenJDK.
 +
 
 +
Furthermore you need the package {{aur|ffmpeg-compat-55}}.
 +
 
 +
There seem to be problems with the Steam overlay. Try to run the game directly with {{ic|''GAME''/TIW_start.sh}}.
 +
 
 +
Note that cutscenes open in a new window. So pay attention to that and switch to the new window to enjoy the movies.
 +
 
 +
See the [http://steamcommunity.com/app/251430/discussions/0/611701360817206606/#c611701360827509770 Steam Forums] for details.
 +
 
 +
=== Interloper ===
 +
 
 +
Requires {{pkg|alsa-lib}}.
 +
 
 +
==== Game does not start ====
 +
 
 +
The game can sometimes segfault due to an incompatibility with the Steam Runtime's {{ic|libasound.so.2}}.
 +
 
 +
=== Invisible Apartment ===
 +
 
 +
Requires {{pkg|qt5-multimedia}}.
 +
 
 +
==== Game does not start ====
 +
 
 +
If the game does not run when you launch it via Steam, try to directly run {{ic|./ia1}} in the game directory.
 +
 
 +
=== Joe Danger 2: The Movie ===
 +
 
 +
Requires {{pkg|lib32-libpulse}}.
 +
 
 +
==== Compatibility ====
 +
 
 +
Game only worked after obtaining from the [https://www.humblebundle.com/ Humble Bundle] directly and {{pkg|lib32-libpulse}} was installed.
 +
 
 +
=== Kerbal Space Program ===
 +
 
 +
See [[Kerbal Space Program]].
 +
 
 +
=== Killing Floor ===
 +
 
 +
==== Cannot change screen resolution ====
 +
 
 +
If trying to modify the resolution in-game crashes your desktop environment, edit {{ic|~/.killingfloor/System/KillingFloor.ini}}:
 +
 +
[WinDrv.WindowsClient]
 +
WindowedViewportX=''width''
 +
WindowedViewportY=''height''
 +
FullscreenViewportX=''width''
 +
FullscreenViewportY=''height''
 +
MenuViewportX=''width''
 +
MenuViewportY=''height''
 +
 +
[SDLDrv.SDLClient]
 +
WindowedViewportX=''width''
 +
WindowedViewportY=''height''
 +
FullscreenViewportX=''width''
 +
FullscreenViewportY=''height''
 +
MenuViewportX=''width''
 +
MenuViewportY=''height''
 +
 
 +
==== Windowed mode ====
 +
 
 +
Uncheck fullscreen in the options menu, and press {{ic|Ctrl+g}} to stop mouse capturing.
 +
 
 +
==== Stuttering sound ====
 +
 
 +
KillingFloor comes with its own OpenAL library {{ic|''GAME''/System/openal.so}}.
 +
 
 +
Back it up, [[install]] {{pkg|openal}} or {{pkg|lib32-openal}} (if using a 64bit system).
 +
 
 +
Then symlink the installed system library ({{ic|/usr/lib32/libopenal.so.1}} or {{ic|/usr/lib/libopenal.so.1}}) to {{ic|openal.so}}.
 +
 
 +
=== Left for Dead 2 ===
 +
 
 +
==== Missing Chinese font ====
 +
 
 +
L4D2 Requires {{Pkg|wqy-zenhei}}. Or add the following lines to {{ic|~/.config/fontconfig/fonts.conf}}
 +
 
 +
        <match target="pattern">
 +
                <test qual="any" name="family">
 +
                        <string>WenQuanYi Zen Hei</string>
 +
                </test>
 +
                <edit name="family" mode="assign" binding="same">
 +
                        <string>Source Han Sans CN</string>
 +
                </edit>
 +
        </match>
 +
 
 +
=== Lethal League ===
 +
 
 +
Requires {{Pkg|lib32-glew1.10}}.
 +
 
 +
=== Life is Strange ===
 +
 
 +
Requires {{Pkg|sdl2_image}} {{Pkg|librtmp0}} {{Pkg|libidn11}} {{AUR|gconf}}.
 +
 
 +
=== Little Racers STREET ===
 +
 
 +
Install {{Pkg|sdl2_mixer}}.
 +
 
 +
Move/backup {{ic|''GAME''/lib64/libSDL2_mixer-2.0.so.0}}.
 +
 
 +
Symlink {{ic|/usr/lib/libSDL2_mixer-2.0.so.0}} to {{ic|''GAME''/lib64/libSDL2_mixer-2.0.so.0}}.
 +
 
 +
=== The Long Dark ===
 +
 
 +
==== Game does not start ====
 +
 
 +
The 64-bit version fails to start. Either use the 32-bit version {{ic|tld.x86}} in the game directory or start the 64-bit version like so:
 +
 
 +
LD_PRELOAD=~/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./tld.x86_64
 +
 
 +
==== Game starts, but some overlay text is missing and cutscenes shows black screen ====
 +
 
 +
In addition to the command above, add the following to the Steam launch command:
 +
 
 +
-screen-fullscreen 0 -screen-width WIDTH_PIXELS -screen-height HEIGHT_PIXELS
 +
 
 +
For example, if you have a screen resolution of 1280x720 and are launching the x64 version from the terminal (within the directory which contains the binaries), the full command would be:
 +
 
 +
LD_PRELOAD=~/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./tld.x86_64 -screen-fullscreen 0 -screen-width 1280 -screen-height 720
 +
 
 +
and from Steam, the complete game [[launch option]]s would be:
 +
 
 +
LD_PRELOAD=~/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 %command% -screen-fullscreen 0 -screen-width 1280 -screen-height 720
 +
 
 +
==== Cutscenes are still black ====
 +
 
 +
Turn off Vertical Sync in the Display options, and/or set POST FX to Low in the Quality options, and/or turn global Quality options down a notch.
 +
 
 +
==== Cursor disappears ====
 +
 
 +
Go to Options > Controls, and set mouse locking to unlocked.
 +
 
 +
The options is visible only if you're navigating using your (invisible) mouse. It will not show up when navigating with a controller.
 +
One solution is to go to Options -> Controls with a controller before switching to the mouse and trying to blindly it the setting.
 +
 
 +
=== Grand Theft Auto V ===
 +
 
 +
==== Game crashes in Online ====
 +
 
 +
If you experience crashes in GTA Online (e.g. when creating a new character), set these launch options:
 +
 
 +
PROTON_NO_ESYNC=1 WINEDLLOVERRIDES=winedbg.exe=d %command%
 +
 
 +
=== Graphical Issues using a NVIDIA GPU ===
 +
 
 +
Try launch options: -force-glcore42 -force-clamped
 +
 
 +
=== Magicka 2 ===
 +
 
 +
==== Indefinitely stuck at start ====
 +
 
 +
The game does not start if the output of the command "ip -s link" is longer than 4096 characters. That is because, in the function bitsquid::network_info(char*), where they query the networking information, they do not handle that case correctly.
 +
See [https://i.imgur.com/AOTLoTY.png this picture] for reference.
 +
It was reported to upstream (Pieces Interactive) but Magicka 2 does not seem to be maintained anymore.
 +
 
 +
A dirty fix is to wrap your ip binary, as such:
 +
 
 +
{{bc|
 +
#!/bin/bash
 +
<nowiki>if [[ $@ == "-s link" ]]; then</nowiki>
 +
    echo "<paste a smaller subset of the normal output>"
 +
else
 +
    /path/to/your/real/ip "$@"
 +
fi
 +
}}
 +
 
 +
=== Mark of the Ninja ===
 +
 
 +
==== Bad sound ====
 +
 
 +
Prepend {{ic|/usr/lib}} to {{ic|LD_LIBRARY_PATH}}.
 +
 
 +
=== Metro: Last Light ===
 +
 
 +
The game does not allow you to change its resolution on a multi-monitor setup on GNOME with the AMD Catalyst drivers. A temporary workaround is to disable the side monitors.
 +
Jason over at [http://unencumberedbyfacts.com/2013/11/20/multiple-monitor-gaming-on-linux/ unencumbered by facts] managed to get it working with his multi-monitor setup using a single display server, he however is using Nvidia.
 +
 
 +
=== Metro: 2033 Redux ===
 +
 
 +
==== No sound ====
 +
 
 +
Install {{Pkg|pulseaudio-alsa}}
 +
 
 +
==== No image ====
 +
 
 +
Try setting {{ic|r_fullscreen off}} in {{ic|~/.local/share/Steam/steamapps/common/Metro 2033 Redux/user.cfg}}.
 +
 
 +
=== Middle-earth: Shadow of Mordor ===
 +
 
 +
==== Floating heads ====
 +
 
 +
Run the game with {{ic|1=__GL_ShaderPortabilityWarnings=0}}.
 +
 
 +
=== Mount & Blade: Warband ===
 +
 
 +
==== Segmentation fault (core dumped) with wayland ====
 +
 
 +
Use [[Xorg]] instead.
 +
 
 +
==== DLC Chooser ====
 +
 
 +
Requires {{aur|lib32-nas}}.
 +
 
 +
==== Crash on startup ====
 +
 
 +
Set launch options to:
 +
LD_LIBRARY_PATH="." %command%
 +
 
 +
=== Move or Die ===
  
==Joe Danger 2: The Movie==
+
==== No Sound ====
===Dependencies===
 
* {{pkg|lib32-libpulse}}
 
* {{pkg|lib32-alsa-plugins}}
 
  
===Compatibility===
+
Install {{pkg|lib32-pulse}}{{Broken package link|package not found}}.
Game only worked after obtaining from the [https://www.humblebundle.com/‎ Humble Bundle] directly and {{pkg|lib32-libpulse}} was installed.
 
  
==[[Kerbal Space Program]]==
+
=== Multiwinia ===
===Troubleshooting===
 
=== Game never progresses past initial loading ===
 
To fix this, set:
 
LC_ALL=C
 
  
=== No text display ===
+
Requires {{pkg|lib32-openal}}.
The game requires Arial and Arial Black fonts, provided in the {{AUR|ttf-ms-fonts}} [[AUR]] package.
 
  
=== Graphics flickering when using primusrun ===
+
==== Crash on startup ====
Run with PRIMUS_SYNC=2 (but you will get reduced frame rate this way)
 
  
=== Game crashes when accessing settings or saves on 64 bit systems on Steam ===
+
If Multiwinia crashes on startup on X64 systems, force launching the 32-bit executable by replacing {{ic|''GAME''/run_steam.sh}} with the following script:
In the properties for Kerbal Space program, set a launch option of:
 
LC_ALL=C %command%_64
 
  
=== Locale settings ===
+
{{bc|
See https://bugs.kerbalspaceprogram.com/issues/504 if you have troubles with building Ships.
+
#!/bin/sh
 +
./multiwinia.bin.x86
 +
}}
  
=== No audio on 64-bit systems ===
+
See [https://steamcommunity.com/app/1530/discussions/0/864969481950542663/#c558746995160431396].
  
Run the 64-bit executable.
+
=== Natural Selection 2 ===
  
Steam launches the KSP.x86 executable vs. the KSP.x86_64 executable.
+
{{Pkg|sndio}} is required, furthermore, you must also execute
Navigate to:
+
  $ ln -s /usr/lib/libsndio.so x64/libsndio.so.6.1
  /home/$USER/.local/share/Steam/SteamApps/common/Kerbal\ Space\ Program/  
+
within the root of the NS2 directory.
Launch with:
+
This is because NS2 uses an older outdated version of sndio, but it is still compatible with the new version, thankfully.
./KSP.x86_64
 
  
Or you can simply right click on "Kerbal Space Program" in your game list, click ''Properties'', click ''SET LAUNCH OPTIONS'', then add this:
+
For a more minimal solution, one can attempt to set the audio driver used through the environment variable {{ic|SDL_AUDIODRIVER}}. For example, {{ic|1=SDL_AUDIODRIVER=sndio}} or {{ic|1=SDL_AUDIODRIVER=alsa}}.
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" LC_ALL=C %command%_64
 
  
==Killing Floor==
+
The environment variable {{ic|SDL_VIDEODRIVER}} must not be set to {{ic|wayland}}.
===Troubleshooting===
+
Try setting {{ic|SDL_VIDEODRIVER}} to {{ic|x11}} if it still does not work.
====Screen resolution====
 
Killing Floor runs pretty much from scratch, although you might have to change in-game resolution screen as the default one is '''800x600''' and a '''4:3''' screen format.
 
If you try to modify screen resolution in-game, it might crash your desktop enviroment.
 
To fix this, please set the desired resolution screen size by modifing  your {{ic|~/.killingfloor/System/KillingFloor.ini}} with your prefered editor.
 
{{hc|~/.killingfloor/System/KillingFloor.ini|<nowiki>
 
...
 
  
[WinDrv.WindowsClient]
+
=== Nuclear Throne ===
WindowedViewportX=????
 
WindowedViewportY=????
 
FullscreenViewportX=????
 
FullscreenViewportY=????
 
MenuViewportX=???
 
MenuViewportY=???
 
  
...
+
==== Missing libcurl.so.4 or version CURL_OPENSSL_3 not found ====
  
[SDLDrv.SDLClient]
+
[[Install]] {{pkg|lib32-libcurl-compat}} and run the game with {{ic|1=LD_PRELOAD=libcurl.so.3}}.
WindowedViewportX=????
 
WindowedViewportY=????
 
FullscreenViewportX=????
 
FullscreenViewportY=????
 
MenuViewportX=????
 
MenuViewportY=????
 
  
...
+
=== OneShot ===
</nowiki>}}
 
{{Note|Replace all the {{ic|????}} with the corresponding numbers according the desired resolution. If you have an 1366x768 screen and want to use it at it's fullest, change all the Viewport fields to something like {{ic|ViewportX&#61;1366}} and {{ic|ViewportY&#61;768}} in the corresponding areas.}}
 
{{Note| The dots in the middle indicate that there are more fields in that .ini file. But for screen resolution troubleshooting, you do not need to modify anything else.}}
 
  
Save the file and restart the game, it should work now.
+
==== Game fails to start ====
  
====Windowed mode====
+
This problem occurs because the game use outdated libraries. Go to the game directory and remove libdrm.so.2, libGLdispatch.so.0, and libstdc++.so.6. Those files usually have an equivalent already installed on the system.
Uncheck fullscreen in the options menu, and use {{ic|Ctrl+g}} to stop mouse capturing (that was non-obvious to discover..). This way you can easily minimize it and do other other things..and let your WM handle things.
 
  
==Metro: Last Light==
+
=== Oxygen Not Included ===
This game is not allowing to change its resolution on a multimonitor setup on GNOME with Catalyst drivers.
 
===Attempted fixes===
 
Various changes to the games config file was tried without success.
 
{{ic|wmctrl}} was not able to force the games resolution.
 
  
===Hacky solution===
+
==== World generation hangs ====
Disabled the side monitors.
 
  
===Possible solutions===
+
This problem occurs with locales that use comas instead of dots to separate decimals.
Jason over at [http://unencumberedbyfacts.com/2013/11/20/multiple-monitor-gaming-on-linux/ unencumbered by fact] is using Nvidia drivers on his multimonitor setup. However he notes he is using a single display server setup. This is being explored.
 
  
==Multiwinia==
+
Set launch options in steam to {{ic|1=LANG=C %command%}}.[http://steamcommunity.com/app/457140/discussions/3/1488866180617243731/#c1488866813753688864]
===Dependencies===
 
* {{pkg|lib32-openal}}
 
  
==Natural Selection 2==
+
=== Penumbra: Overture ===
Game mostly works out of the box.
 
===No Sound===
 
If there is no sound in-game. Try installing {{pkg|lib32-sdl}}, {{AUR|lib32-sdl2}}, and {{pkg|lib32-alsa-plugins}}
 
  
If this fails, try setting the game's launch options in Steam to:
+
Dependencies:
LD_LIBRARY_PATH="/usr/lib32:$LD_LIBRARY_PATH" %command%
 
  
==Penumbra: Overture==
 
===Dependencies===
 
(Taken from {{AUR|penumbra-collection}} and {{AUR|penumbra-overture-ep1-demo}})
 
 
* {{pkg|lib32-glu}}
 
* {{pkg|lib32-glu}}
 +
* {{pkg|lib32-libvorbis}}
 
* {{pkg|lib32-libxft}}
 
* {{pkg|lib32-libxft}}
* {{pkg|lib32-libvorbis}}
 
 
* {{pkg|lib32-openal}}
 
* {{pkg|lib32-openal}}
 +
* {{pkg|lib32-sdl_image}}
 
* {{pkg|lib32-sdl_ttf}}
 
* {{pkg|lib32-sdl_ttf}}
* {{pkg|lib32-sdl_image}}
 
  
===Troubleshooting===
+
==== Windowed mode ====
====Windowed mode====
+
 
 
There is no in-game option to change to the windowed mode, you will have to edit {{ic|~/.frictionalgames/Penumbra/Overture/settings.cfg}} to activate it.
 
There is no in-game option to change to the windowed mode, you will have to edit {{ic|~/.frictionalgames/Penumbra/Overture/settings.cfg}} to activate it.
 +
 
Find {{ic|FullScreen&#61;"true"}} and change it to {{ic|FullScreen&#61;"false"}}, after this the game should start in windowed mode.
 
Find {{ic|FullScreen&#61;"true"}} and change it to {{ic|FullScreen&#61;"false"}}, after this the game should start in windowed mode.
  
==Portal 2==
+
=== The Polynomial ===
===Troubleshooting===
 
====Game does not start====
 
If you get the error {{ic|PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0!}},
 
  
Re/move {{ic|~/.local/share/Steam/SteamApps/common/Portal\ 2/bin/libstdc++.so.6}}.
+
Dependencies:
 +
 
 +
* {{AUR|ilmbase102-libs}}{{Broken package link|{{aur-mirror|ilmbase102-libs}}}}
 +
* {{AUR|openexr170-libs}}{{Broken package link|{{aur-mirror|openexr170-libs}}}}
 +
 
 +
[https://github.com/ValveSoftware/steam-for-linux/issues/2721 Steam for Linux issue #2721]
 +
 
 +
==== Segfaults during program start on 64-bit systems ====
 +
 
 +
The game segfaults during program start because of the {{ic|LD_LIBRARY_PATH}} setting in the launcher script. Edit {{ic|''GAME''/Polynomial64}}, and comment out the {{ic|LD_LIBRARY_PATH}} variable. Make sure to put the {{ic|./bin/Polynomial64 "$@"}} command on a new line.
 +
 
 +
=== Portal 2 ===
 +
 
 +
==== Game does not start ====
 +
 
 +
Several OpenGL-related errors (such as {{ic|PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0!}} or {{ic|libGL error: driver pointer missing}}) are caused by Portal&nbsp;2 bundling an old libstdc++ file. This error is especially common with open source Radeon drivers ({{ic|radeonsi}}).
 +
 
 +
A problem with libstdc can be fixed by running the game with {{ic|1=LD_PRELOAD='/usr/$LIB/libstdc++.so.6'}}.
 +
 
 +
==== Resolution too low ====
 +
 
 +
When the game starts with a resolution so low that you cannot reach the game settings,
 +
run the game in windowed mode using the {{ic|-windowed}} flag.
 +
 
 +
==== Missing non Latin font ====
 +
 
 +
The phenomenon is no menu in Portal. Portal and Portal2 use Helvetica, add the following lines to {{ic|~/.config/fontconfig/fonts.conf}}:
 +
 
 +
<match target="pattern">
 +
    <test qual="any" name="family">
 +
        <string>Helvetica</string>
 +
    </test>
 +
    <edit name="family" mode="assign" binding="same">
 +
        <string>Source Han Sans CN</string>
 +
    </edit>
 +
</match>
 +
 
 +
You can replace "Source Han Sans CN" by your favoriate and existing font.
 +
 
 +
=== Prison Architect ===
 +
 
 +
==== ALSA error when using PulseAudio ====
  
==Prison Architect==
 
===Troubleshooting===
 
====ALSA error when using PulseAudio====
 
 
The error:
 
The error:
 +
 
{{ic|ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave}}
 
{{ic|ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave}}
 +
 
was resolved by installing:
 
was resolved by installing:
* {{pkg|pulseaudio-alsa}}
+
 
* {{pkg|lib32-alsa-plugins}}
+
* {{pkg|pulseaudio-alsa}}
 
* {{pkg|lib32-libpulse}}
 
* {{pkg|lib32-libpulse}}
per [[PulseAudio#ALSA]]
 
  
==Project Zomboid==
+
per [[PulseAudio#ALSA]].
===Dependencies===
+
 
* {{pkg|jre7-openjdk}}
+
 
 +
==== Game only starting in safe mode ====
 +
 
 +
If the  game does not start, but steam thinks it is running, probably the Paradox launcher has problems running properly.<br>
 +
If this is the case, you'll find some processes running in background:
 +
 
 +
<code> ps -ef|grep paradoxlauncher </code>
 +
 
 +
Kill them all, then modify the game startup options as follows:
 +
 
 +
<code> LD_PRELOAD=/usr/lib64/libc.so %command% </code>
 +
 
 +
Eventually, if the above option hasn't worked, an option to skip it:
 +
 
 +
<code>./PrisonArchitect %command% </code>
  
==Redshirt==
+
Note: even if we're using another executable to start the game, %command% has to be added at the end of the command to trick Steam.
===Dependencies (x86_64)===
 
* {{pkg|lib32-libpulse}} (if you use PulseAudio)
 
  
==Revenge of the Titans==
+
=== Project Zomboid ===
===Dependencies===
 
* {{pkg|libxtst}} and {{pkg|lib32-libxtst}}
 
  
==Serious Sam 3: BFE==
+
Requires {{pkg|jre7-openjdk}}.
===Dependencies===
+
 
* {{pkg|lib32-alsa-plugins}}
+
==== No sound ====
 +
 
 +
Prepend {{ic|/usr/lib}} to {{ic|LD_LIBRARY_PATH}}.
 +
 
 +
In the game, go to the options and set all audio to the proper volume.
 +
 
 +
=== Pyre ===
 +
 
 +
==== Game does not start ====
 +
 
 +
Remove {{ic|''GAME''/lib64/libSDL2-2.0.so.0}}.
 +
 
 +
If this doesn't work, downgrade sdl2.
 +
 
 +
$ pacman -U https://archive.archlinux.org/packages/s/sdl2/sdl2-2.0.6-2-x86_64.pkg.tar.xz
 +
 
 +
Then add sdl2 to IgnorePkg in {{ic|/etc/pacman.conf}}.
 +
 
 +
{{ic|1=IgnorePkg = sdl2}}
 +
 
 +
=== Redshirt ===
 +
 
 +
Requires {{pkg|lib32-libpulse}} if you use PulseAudio.
 +
 
 +
=== Revenge of the Titans ===
 +
 
 +
Requires {{pkg|libxtst}} and {{pkg|lib32-libxtst}}.
 +
 
 +
=== Rise of the Tomb Raider ===
 +
 
 +
Run in an X session.
 +
 
 +
=== Risk of Rain ===
 +
 
 +
Requires {{pkg|lib32-libcurl-compat}}.
 +
Refer to [[#Missing libcurl.so.4 or version CURL_OPENSSL_3 not found]].
 +
 
 +
=== Rock Boshers DX: Directors Cut ===
 +
 
 +
Requires {{Pkg|lib32-libcaca}}.
 +
 
 +
=== Saints Row IV ===
 +
 
 +
==== Game fails to launch after update to new Nvidia drivers ====
 +
 
 +
{{Accuracy|General settings not specific to this game}}
 +
 
 +
Run the game with {{ic|/usr/lib32/libGLX_nvidia.so}} appended to the {{ic|LD_PRELOAD}}.
 +
 
 +
==== Game causes GPU lockup with mesa drivers ====
 +
 
 +
Saints Rows IV can cause a GPU lockup when trying to play on certain AMD
 +
hardware using open source drivers: [https://bugs.freedesktop.org/show_bug.cgi?id=93475 Bug 93475].
 +
 
 +
A workaround is to run the game with {{ic|1=R600_DEBUG=nosb}}.
 +
 
 +
=== Serious Sam 3: BFE ===
 +
 
 +
==== No audio ====
  
===Troubleshooting===
 
====No audio====
 
 
Try running:
 
Try running:
 +
 
  # mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
 
  # mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
 
  # ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/
 
  # ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/
Line 445: Line 1,542:
 
</nowiki>}}
 
</nowiki>}}
  
==Sir, you are being hunted==
+
=== Slay the Spire ===
===Dependencies===
+
 
* {{pkg|lib32-alsa-plugins}}
+
If the game does not start or crashes at startup, install {{pkg|xorg-xrandr}}.
 +
 
 +
If the game does not move sink input, you can edit the following file to allow sink moves:
  
==Spacechem==
+
{{hc|~/.alsoftrc|<nowiki>
===Dependencies===
+
[pulse]
* {{pkg|lib32-sqlite}}
+
allow-moves=yes
* {{pkg|lib32-sdl_image}}
+
</nowiki>}}
* {{AUR|lib32-sdl_mixer}}
+
 
 +
=== Songbringer ===
 +
 
 +
==== Launch error with Wayland ====
 +
 
 +
Install {{pkg|glfw-x11}} and run the game with {{ic|1=LD_PRELOAD=/usr/lib/libglfw.so.3}}.
  
===Troubleshooting===
+
=== Space Pirates and Zombies ===
====Game crash====
 
The shipped x86 version of Spacechem does not work on x64 with the game's own libSDL* files, and crashes with some strange output.
 
  
To solve this just remove or move the three files {{ic|libSDL-1.2.so.0}}, {{ic|libSDL_image-1.2.so.0}}, {{ic|libSDL_mixer-1.2.so.0}} from {{ic|~/.steam/root/SteamApps/common/SpaceChem}}
+
Requires {{pkg|lib32-openal}}.
  
==Space Pirates and Zombies==
+
==== No audio ====
===Dependencies===
 
* {{pkg|lib32-alsa-plugins}}
 
* {{pkg|lib32-openal}}
 
  
===Troubleshooting===
 
====No audio====
 
 
Try running:
 
Try running:
 +
 
  # mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
 
  # mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
 
  # ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/
 
  # ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/
  
 
If that does not work, try tweaking {{ic|~/.alsoftrc}} as proposed by the Steam community (Serious Sam 3: BFE uses OpenAL to output sound). If you are not using Pulse Audio, you may want to write the following configuration:
 
If that does not work, try tweaking {{ic|~/.alsoftrc}} as proposed by the Steam community (Serious Sam 3: BFE uses OpenAL to output sound). If you are not using Pulse Audio, you may want to write the following configuration:
 +
 
{{hc|~/.alsoftrc|<nowiki>
 
{{hc|~/.alsoftrc|<nowiki>
 
[general]
 
[general]
Line 482: Line 1,581:
 
</nowiki>}}
 
</nowiki>}}
  
==Splice==
+
=== Spacechem ===
Splice comes with both x86 and x64 binaries. Steam does not have to be running to launch this game.
+
 
===Dependencies===
+
Dependencies:
* {{pkg|glu}}
+
 
 +
* {{Pkg|lib32-sdl_mixer}}
 +
* {{pkg|lib32-sdl_image}}
 +
* {{pkg|lib32-sqlite}}
 +
 
 +
==== Game crash ====
 +
 
 +
The shipped x86 version of Spacechem does not work on x64 with the game's own libSDL* files, and crashes with some strange output.
 +
 
 +
To solve this just remove the three files {{ic|libSDL-1.2.so.0}}, {{ic|libSDL_image-1.2.so.0}}, {{ic|libSDL_mixer-1.2.so.0}} from the game directory.
 +
 
 +
=== Splice ===
 +
 
 +
Requires {{pkg|glu}}.
 +
 
 +
=== The Stanley Parable ===
 +
 
 +
==== Game won't start ====
 +
 
 +
As discussed in the Steam store page, remove {{ic|bin/libstdc++.so.6}} from the game folder.
 +
 
 +
=== Shadow Tactics: Blades of the Shogun ===
 +
 
 +
Dependencies:
 +
 
 +
* {{AUR|lib32-libstdc++5}}
 +
* {{pkg|lib32-libxcursor}}
 +
* {{pkg|lib32-libxrandr}}
 +
 
 +
=== Stardew Valley ===
 +
 
 +
==== Unable to move ====
 +
 
 +
When in game, you are stuck in your bed as you cannot move your character. This is a bug with the SDL2 lib bundled with the game.
 +
 
 +
Install {{pkg|sdl2}}.
 +
 
 +
Modify this config line:
 +
{{hc|~/.steam/steam/steamapps/common/Stardew\ Valley/MonoGame.Framework.dll.config|<nowiki>
 +
<dllmap dll="SDL2.dll" os="linux" cpu="x86-64" target="./lib64/libSDL2-2.0.so.0"/>
 +
</nowiki>}}
 +
 
 +
To this (the period is removed at the beginning of target):
 +
{{hc|~/.steam/steam/steamapps/common/Stardew\ Valley/MonoGame.Framework.dll.config|<nowiki>
 +
<dllmap dll="SDL2.dll" os="linux" cpu="x86-64" target="/lib64/libSDL2-2.0.so.0"/>
 +
</nowiki>}}
 +
 
 +
=== Steel Storm: Burning Retribution ===
 +
 
 +
==== Start with black screen ====
 +
 
 +
The game by default tries to launch in fullscreen mode with a resolution of 1024x768,
 +
which doesn't work on some devices (for example the Samsung Series9 laptop with Intel hd4000 video).
 +
 
 +
Run the game in windowed mode by using the {{ic|-window}} flag. Then change the resolution in-game.
 +
 
 +
=== Stellaris ===
 +
 
 +
==== No window opening, only sound ====
  
==Steel Storm: Burning Retribution==
+
Happens with some AMD GPU and mesa combination, set multi_sampling=0 in ~/.local/share/Paradox\ Interactive/Stellaris/settings.txt.
===Troubleshooting===
 
====Start with black screen====
 
The game tries to launch in 1024x768 resolution with fullscreen mode by default. It is impossible on some devices.
 
(for example laptop Samsung Series9 with intel hd4000 video).
 
  
You can launch the game in windowed mode. To do this open game Properties in Steam, in General tab select "Set launch options..." and type "-window".
+
==== Immediate crash to desktop ====
  
Now you can change the resolution in game.
+
It seems that Stellaris requires a 32bit libnss_sss.so.2 to operate. You can confirm if this is your problem by running
 +
# strace ~/.local/share/Steam/steamapps/common/Stellaris/stellaris 2>&1 | grep sss
 +
and seeing if you get output like
 +
# openat(AT_FDCWD, "/usr/lib32/tls/i686/sse2/libnss_sss.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  
====No English fonts====
+
If this is indeed your problem, download the libnss-sss package from Ubuntu's repository [https://packages.ubuntu.com/bionic/i386/libnss-sss/download], extract the libnss_sss.so.2  from the downloaded package, and place it at ~/.local/share/Steam/steamapps/common/Stellaris. The game should now load properly.
If you use Intel video card, just disable S3TC in DriConf.
 
  
==Strike Suite Zero==
+
=== Stephen's Sausage Roll ===
===Dependencies===
+
 
* {{pkg|lib32-alsa-plugins}}
+
==== No sound ====
 +
 
 +
If using [[Steam/Troubleshooting#Native runtime|native libraries]]{{Broken section link}} and {{pkg|libpulse}} is installed, Unity may try to use that library for sound and fail.
 +
To test if this is the problem, try removing {{pkg|libpulse}} or renaming the package files that are named {{ic|libpulse-simple*}}.  To see which {{pkg|libpulse}} files are relevant, run:
 +
 
 +
{{hc|$ pacman -Qql libpulse <nowiki>|</nowiki> grep /usr/lib/libpulse-simple|
 +
/usr/lib/libpulse-simple.so
 +
/usr/lib/libpulse-simple.so.0
 +
/usr/lib/libpulse-simple.so.0.1.0}}
 +
 
 +
If renaming any of those files works for you, you can proceed with the following instructions (revert any renaming you just did).  Browse to the game's directory:
 +
 
 +
$ cd "$HOME/.steam/root/steamapps/common/Stephen's Sausage Roll"
 +
 
 +
And create a sub-directory that we can use to hold 0-byte look-alike library files:
 +
 
 +
$ mkdir noload/
 +
 
 +
Use {{ic|touch}} to create 0-byte versions of the above files that we want the dynamic linker to skip, e.g.:
 +
 
 +
$ touch noload/{libpulse-simple.so,libpulse-simple.so.0,libpulse-simple.so.0.1.0}
 +
 
 +
{{Note|Only a 0-byte {{ic|libpulse-simple.so.0}} file may be required.}}
 +
 
 +
After you have created these 0-byte files, you can now attempt to run the game binary directly, telling the dynamic linker to use our 0-byte files:
 +
 
 +
$ LD_LIBRARY_PATH="noload/:$LD_LIBRARY_PATH" ./Sausage.x86_64
 +
 
 +
If everything works up to this point, prepend {{ic|noload/}} to your {{ic|LD_LIBRARY_PATH}}.
 +
 
 +
Again, this should work because Steam checks for a {{ic|noload/}} directory relative to the game's directory.  The dynamic linker should respect the {{ic|$LD_LIBRARY_PATH}} variable and fail to load the necessary {{pkg|libpulse}} files.  The game should then fallback to plain ALSA.
 +
 
 +
=== Superbrothers: Sword & Sworcery EP ===
 +
 
 +
Dependencies:
  
==Superbrothers: Sword & Sworcery EP==
 
===Dependencies===
 
 
* {{pkg|lib32-glu}}
 
* {{pkg|lib32-glu}}
* {{pkg|lib32-alsa-plugins}}
+
* {{pkg|lib32-libpulse}} if you use PulseAudio
* {{pkg|lib32-libpulse}} (if you use PulseAudio)
+
 
 +
The game bundles an outdated version of libstdc++ which prevents the game from starting. [http://steamcommunity.com/app/204060/discussions/0/364039785161291413] The following can be observed when you run Steam and S&S from the terminal:
 +
 
 +
libGL error: unable to load driver: i965_dri.so
 +
libGL error: driver pointer missing
 +
libGL error: failed to load driver: i965
 +
libGL error: unable to load driver: i965_dri.so
 +
libGL error: driver pointer missing
 +
libGL error: failed to load driver: i965
 +
libGL error: unable to load driver: swrast_dri.so
 +
libGL error: failed to load driver: swrast
 +
 
 +
To solve this problem remove {{ic|''GAME''/lib/libstdc++.so.6*}}. After that the game will use the libstdc++ from Steam.
 +
 
 +
=== System Shock 2 ===
 +
 
 +
You get these errors when running it with the native client:
 +
 
 +
C:\windows\system32\winedevice.exe: symbol lookup error: /usr/lib32/libX11.so.6: undefined symbol: xcb_wait_for_reply64
 +
C:\windows\system32\wineboot.exe: symbol lookup error: /usr/lib32/libX11.so.6: undefined symbol: xcb_wait_for_reply64
 +
 
 +
Just delete or rename the libxcb library it got shipped with:
 +
 
 +
mv /mnt/olhdd/steam/steamapps/common/SS2/lib/libxcb.so.1{,.old}
 +
mv /mnt/olhdd/steam/steamapps/common/SS2/lib/libxcb.so.1.1.0{,.old}
 +
 
 +
==== Game won't launch ====
  
==Team Fortress 2 ==
+
If you encounter the game not launching do the following:
===Dependencies===
+
 
* {{AUR|lib32-libpng12}}
+
Cut & Paste libsteam_api.so from the "SS2/Bin" folder within the main steam common folder and transfer it to "SS2" main game folder not the sub folder "SS2/bin"
 +
 
 +
After Cut & Paste put LD_PRELOAD='/usr/$LIB/libxcb.so.1' %command% into the Launch options
 +
 
 +
Once all of these have been implemented the game should work after hitting play on steam.
 +
 
 +
==== Resolution fix ====
 +
 
 +
You may encounter some resolution problems with this game on steam not working properly in full screen mode. Do the following:
 +
 
 +
Open cam.cfg in the SS2 folder you may have to search for it via the search mode while in the game folder:
 +
 
 +
Place game_screen_size 1024 768 or game_screen_size 1920 1080 depending on your resolution & put game_full_screen 1 into bottom of the cam.cfg file.
 +
 
 +
Then go to cam_ext.cfg and next to the display setting place a simi-colon prefix next to the use_d3d_display option so it should be like this ;use_d3d_display it should then properly not go off-screen and should stay full screen within the active main screen.
 +
 
 +
=== Tabletop Simulator ===
 +
 
 +
==== CJK characters not showing in game ====
 +
 
 +
Install {{pkg|wqy-microhei}} and {{pkg|wqy-microhei-lite}}.
 +
 
 +
=== Team Fortress 2 ===
 +
 
 +
Requires {{Pkg|lib32-libpng12}}.
 +
 
 +
==== HRTF setup ====
 +
 
 +
Assuming HRTF (head-related transfer function) has been properly set up in the operating system, HRTF won't be enabled unless you disable the original processing. To do so, use
 +
 
 +
dsp_slow_cpu 1
  
===Making HRTF work===
 
Assuming HRTF has been set up properly in the operating system, hrtf won't be enabled unless you disable the original processing. To do so, use
 
    dsp_slow_cpu 1
 
 
For best results, also change the following:
 
For best results, also change the following:
    snd_spatialize_roundrobin 1
 
    dsp_enhance_stereo 0
 
    snd_pitchquality 1
 
  
===Troubleshooting===
+
snd_spatialize_roundrobin 1
====Loading screen freeze====
+
dsp_enhance_stereo 0
If you are a non-english (speaking) user, you have to enable "en_US.UTF-8" in the locale.gen! Generate a new locale after that.
+
snd_pitchquality 1
 +
 
 +
==== Loading screen freeze ====
 +
 
 +
If you are a non-English (speaking) user, you have to enable "en_US.UTF-8" in the locale.gen! Generate a new locale after that.
 +
 
 +
==== No audio ====
  
====No audio====
 
 
It happens if there is no PulseAudio in your system.
 
It happens if there is no PulseAudio in your system.
If you want to use [[ALSA]], you need to launch Steam or the game directly with {{ic|1=SDL_AUDIODRIVER=alsa}}  
+
If you want to use [[ALSA]], you need to launch Steam or the game directly with {{ic|1=SDL_AUDIODRIVER=alsa}}
 
(From [http://steamcommunity.com/app/221410/discussions/0/882966056462819091/#c882966056470753683 SteamCommunity]).
 
(From [http://steamcommunity.com/app/221410/discussions/0/882966056462819091/#c882966056470753683 SteamCommunity]).
  
 
If it still does not work, you may also need to set the environment variable AUDIODEV. For instance {{ic|1=AUDIODEV=Live}}. Use {{ic|aplay -l}} to list the available sound cards.
 
If it still does not work, you may also need to set the environment variable AUDIODEV. For instance {{ic|1=AUDIODEV=Live}}. Use {{ic|aplay -l}} to list the available sound cards.
  
====Slow loading textures====
+
==== Slow loading textures ====
 +
 
 
If you are using Chris' FPS Configs or any other FPS config, you may have set {{ic|mat_picmip}} to {{ic|2}}. This spawns multiple threads for texture loading, which may cause more jittering and lag on Linux, especially on alternative kernels. Try setting it to {{ic|-1}}, the default.
 
If you are using Chris' FPS Configs or any other FPS config, you may have set {{ic|mat_picmip}} to {{ic|2}}. This spawns multiple threads for texture loading, which may cause more jittering and lag on Linux, especially on alternative kernels. Try setting it to {{ic|-1}}, the default.
  
==The Book of Unwritten Tales==
+
==== "Invalid color format" Error at loading screen on integrated Intel Atom/BayTrail HD Graphics ====
If the game does not start, uncheck: ''Properties > Enable Steam Community In-Game''.
+
 
 +
Add the following to the game startup options:
 +
<code> -force_vendor_id 0x10DE -force_device_id 0x1180 </code>
 +
 
 +
These options deceive the game engine that we're having a Nvidia GPU, not Intel/AMD.
 +
 
 +
=== Terraria ===
 +
 
 +
See the KNOWN ISSUES & WORKAROUNDS​ section of the [http://forums.terraria.org/index.php?threads/terraria-1-3-0-8-can-mac-linux-come-out-play.30287/ release announcement].
 +
 
 +
==== Input Issues ====
 +
 
 +
The symptoms of this problem are: When moving after standing still, your character seems to vary their speed, if wearing running boots they don't activate. When jumping with an item for double jumping sometimes you double jump even if you just jumped once. Going up/down ropes seems slow/choppy.
 +
 
 +
The solution is to preload the system SDL2 libraries: {{ic|1=LD_PRELOAD='/usr/$LIB/libSDL2-2.0.so:/usr/lib32/libSDL2-2.0.so' }} For more information: [https://forums.terraria.org/index.php?threads/keyboard-input-bug-involving-linux.56763/page-2#post-1533051 Terraria Forums]
 +
 
 +
=== This War of Mine ===
 +
 
 +
==== Game does not start ====
 +
 
 +
This happens because of an incompatibility with the newer version of {{ic|lib32-curl}}. To fix the problem , set your [[launch option]]s to:
 +
  LD_PRELOAD=./libcurl.so.4 %command%
 +
 
 +
==== Sound glitches with Steam native ====
 +
 
 +
The bundled {{ic|libOpenAL}} might not work correctly, try symlinking {{ic|/usr/lib32/libopenal.so}} to {{ic|''GAME''/libOpenAL.so}}.
 +
 
 +
=== Ticket to Ride ===
 +
 
 +
Dependencies:
 +
 
 +
* {{AUR|lib32-gstreamer0.10-base}}
 +
* {{AUR|lib32-pangox-compat}}
 +
 
 +
As lib32-gstreamer0.10-base is quite hard to build you can use [[Unofficial_user_repositories#alucryd-multilib|alucryd-multilib]] repo for this package
 +
 
 +
=== The Tiny Bang Story ===
 +
 
 +
==== Missing libGLEW.so.1.6 ====
 +
 
 +
# ln -s /usr/lib32/libGLEW.so.1.10.0 /usr/lib32/libGLEW.so.1.6
 +
 
 +
=== Tomb Raider ===
 +
 
 +
==== Game immediately closes when running with steam-native ====
 +
 
 +
Tomb Raider has a very heavy amount of dependency on the Steam runtime, the easiest solution is to just run it using the runtime.
 +
 
 +
==== Steam Controller not working in-game====
 +
 
 +
If your Steam Controller is correctly recognized and paired but still not working in-game try the following:
 +
 
 +
* In Steam, non Big Screen, go to ''Settings > Account > Beta participation > Change...'' and in the dropdown select box select Steam Beta Update
 +
* Restart Steam
 +
* Go to Big Screen and start Tomb Raider
 +
 
 +
Correctly recognized means you can control the desktop mouse and Steam in Big Picture mode and the controller is shown in the Big Picture settings.
 +
 
 +
 
 +
=== Torchlight 2 ===
 +
 
 +
==== Libfreetype/libfontconfig Incompatibility ====
 +
 
 +
If you are experiencing issues with launching games such as Torchlight 2 or Civilization IV, it could be due to using a newer libfontconfig than the game currently supports.
 +
 
 +
Right click the game in Steam, and set the following as it's launch option:
 +
 
 +
LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%
 +
 
 +
then attempt launching the game.
 +
 
 +
Alternately, re-naming or deleting these 2 files will force it to use your system's libraries:
 +
 
 +
Torchlight 2/game/lib/libfreetype.so.6
 +
Torchlight 2/game/lib64/libfreetype.so.6
 +
 
 +
==== Locale incompatibility ====
 +
 
 +
Some users report that Torchlight 2 does not work if you do not have en_US.UTF8 in your locale.
 +
 
 +
Double check you have generated the locale needed in [[Steam#Installation|Steam Installation Requirements]].
 +
 
 +
=== Tower Unite ===
 +
 
 +
==== Graphical Glitches ====
 +
 
 +
This is a known issue, and it occurs because the shaders had not been ported to Linux yet by the developers.
 +
To minimize glitches and make the game playable add {{ic|-opengl4}} to your [[launch option]]s,
 +
set Ocean Quality to "Potato" and Effects Quality to "Low" in the game settings.
 +
 
 +
=== Towns / Towns Demo ===
 +
 
 +
Requires [[Java]].
 +
 
 +
=== Transistor ===
 +
 
 +
==== Crash on launch / FMOD binding crash / audio issues ====
 +
 
 +
Run the game with:
 +
 
 +
LD_PRELOAD='/usr/lib/libstdc++.so.6:/usr/lib/libgcc_s.so.1:/usr/lib/libxcb.so.1:/usr/lib/libasound.so.2'
 +
 
 +
Otherwise, run the game via shell and set up proper audio device for FMOD, as discussed in [https://steamcommunity.com/app/237930/discussions/2/620695877176333955/].
 +
 
 +
Also, check out this thread [https://steamcommunity.com/app/237930/discussions/2/492378265893557247/].
 +
 
 +
=== Transmissions: Element 120 ===
 +
 
 +
Dependencies:
 +
 
 +
* {{Pkg|lib32-libgcrypt15}}
 +
* {{pkg|lib32-libpng12}}
 +
 
 +
==== Troubleshooting ====
 +
 
 +
Make sure you have all libraries installed. Above the standard set required by Steam runtime, the game requires few additional ones. The typical error message that indicates that is
 +
 
 +
AppFramework : Unable to load module vguimatsurface.so!
 +
 
 +
To find missing dependencies go into the game directory and run:
  
The game may segfault upon clicking the Setting menu and possibly during or before gameplay. This is a known problem and you will unfortunately have to wait for a fix from the developer. A workaround (taken from the [http://steamcommunity.com/app/221410/discussions/3/846939071081758230/#p2 Steam forums]) is to replace the game's RenderSystem_GL.so with one from Debian's repositories. To do that download this [https://launchpad.net/ubuntu/+archive/primary/+files/libogre-1.7.4_1.7.4-3_i386.deb deb file], extract it (with {{ic|{{AUR|dpkg}} -x libogre-*.deb outdir}}) and replace {{ic|~/.local/share/Steam/SteamApps/common/The Book of Unwritten Tales/lib/32/RenderSystem_GL.so}} with the one that comes with the {{ic|.deb}} package.
+
LD_LIBRARY_PATH=bin ldd bin/vguimatsurface.so
  
===Dependencies===
+
Look for entries that say ''not found''.
* {{AUR|lib32-libxaw}}
 
* {{AUR|lib32-jasper}}
 
  
==The Book of Unwritten Tales: The Critter Chronicles==
+
=== Transport Fever 2 ===
Because it's based on the same engine, the things that apply to ''The Book of Unwritten Tales'' also apply for this game.
 
  
To prevent the game from crashing at the very end when the credits are shown, change the size of the credits image as described here: http://steamcommunity.com/app/221830/discussions/0/828925849276110960/#c810921273836530791
+
==== Game won't launch ====
  
==The Clockwork Man==
+
Rename or delete the following files in game directory (~/.steam/steam/steamapps/common/Transport Fever 2) as discussed in [https://steamcommunity.com/app/1066780/discussions/0/1740010344363244243/]
===Dependencies===
 
* {{pkg|lib32-libidn}}
 
  
==The Polynomial==
+
* libstdc++.so.6
===Dependencies===
+
* libstdc++.so.6.0.25
* {{AUR|ilmbase102-libs}}
 
* {{AUR|openexr170-libs}}
 
[https://github.com/ValveSoftware/steam-for-linux/issues/2721 Steam for Linux issue #2721]
 
  
===Troubleshooting===
+
=== Trine 2 ===
====Segfaults during program start on 64-bit systems====
 
The game segfaults during program start because of the {{ic|LD_LIBRARY_PATH}} setting in the launcher script. Edit {{ic|~/.local/share/Steam/SteamApps/common/ThePolynomial/Polynomial64}}, and comment out the {{ic|LD_LIBRARY_PATH}} variable. Make sure to put the {{ic|./bin/Polynomial64 "$@"}} command on a new line.
 
  
==Towns / Towns Demo==
+
Dependencies:
===Crash on launch===
 
Ensure you have [[Java]] installed.
 
  
==Trine 2==
 
===Dependencies===
 
 
* {{pkg|lib32-glu}}
 
* {{pkg|lib32-glu}}
 
* {{pkg|lib32-libxxf86vm}}
 
* {{pkg|lib32-libxxf86vm}}
 
* {{pkg|lib32-openal}}
 
* {{pkg|lib32-openal}}
 
* {{pkg|xorg-xwininfo}}
 
* {{pkg|xorg-xwininfo}}
 +
* {{pkg|lib32-libdrm}}
 +
 +
* {{pkg|lib32-libpng12}}
 +
* {{pkg|lib32-libwrap}}
 +
 +
==== Fullscreen ====
 +
 +
Game crashes if started in fullscreen mode, but starts in windowed mode. After start the window can be set to fullscreen (borderless window) if your window manager supports this.
 +
[https://steamcommunity.com/app/35720/discussions/0/1735463620079681092/ steam forum]
 +
==== Colors ====
 +
 +
If colors are wrong with FOSS drivers (r600g at least), try to run the game in windowed mode, rendering will be corrected. ([https://bugs.freedesktop.org/show_bug.cgi?id=60553 bug report])
 +
 +
==== Sound ====
 +
 +
{{Accuracy|General settings not specific to this game}}
 +
 +
If sound plays choppy, try:
  
===Troubleshooting===
 
* If colors are wrong with FOSS drivers (r600g at least), try to run the game in windowed mode, rendering will be corrected. ([https://bugs.freedesktop.org/show_bug.cgi?id=60553 bugreport])
 
* If sound plays choppy, try:
 
 
{{hc|/etc/openal/alsoft.conf|<nowiki>
 
{{hc|/etc/openal/alsoft.conf|<nowiki>
 
drivers=pulse,alsa
 
drivers=pulse,alsa
Line 583: Line 1,946:
 
</nowiki>}}
 
</nowiki>}}
  
* If the game resolution is wrong when using a dual monitor setup and you can't see the whole window edit {{ic|~/.frozenbyte/Trine2/options.txt}} and change the options {{ic|ForceFullscreenWidth}} and {{ic|ForceFullscreenHeight}} to the resolution of your monitor on which you want to play the game.
+
==== Resolution ====
 +
 
 +
If the game resolution is wrong when using a dual monitor setup and you can't see the whole window edit {{ic|~/.frozenbyte/Trine2/options.txt}} and change the options {{ic|ForceFullscreenWidth}} and {{ic|ForceFullscreenHeight}} to the resolution of your monitor on which you want to play the game.
 +
 
 +
==== Crash on start in libX11.so.6.3.0 ====
 +
 
 +
gdb may report a crash in XGetICValues(), probably due to a bug in SDL1.3; fortunately SDL2.0 is compatible with trine 2, so just force it and see if it works by modifying the steam launch options (or by script/commandline if using the drm free version).
 +
 
 +
{{bc|<nowiki>
 +
LD_PRELOAD="/usr/lib32/libSDL2.so"  %command%
 +
</nowiki>}}
 +
 
 +
=== Tropico 5 ===
 +
 
 +
==== Blank screen with sound only on startup ====
 +
 
 +
Run the game with {{ic|1=MESA_GL_VERSION_OVERRIDE=4.0 MESA_GLSL_VERSION_OVERRIDE=400}}.
 +
 
 +
=== Unity of Command ===
 +
 
 +
Requires {{pkg|lib32-pango}}.
 +
 
 +
==== Squares ====
  
==Unity of Command==
+
If squares are shown instead of text, try removing {{ic|''GAME''/bin/libpangoft2-1.0.so.0}}.
===Dependencies===
 
* {{pkg|lib32-pango}}
 
* {{pkg|lib32-alsa-plugins}}
 
  
===Troubleshooting===
+
==== No audio ====
* If squares are shown instead of text, try removing {{ic|$HOME/Steam/SteamApps/common/Unity of Command/bin/libpangoft2-1.0.so.0}}.
 
  
====No audio====
 
 
If you get this error:
 
If you get this error:
 +
 
  ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
 
  ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
  
 
Try running:
 
Try running:
 +
 
  # mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
 
  # mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
 
  # ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/
 
  # ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/
  
==Unrest==
+
=== Unity3D ===
===Dependencies===
 
* {{pkg|fluidsynth}}
 
  
== Witcher 2: Assassin of Kings ==
+
Games based on the Unity3D engine, like ''War For The Overworld'' or ''Pixel Piracy'' may need the package {{pkg|lsb-release}} to understand that they run on Linux and work properly.
  
=== Dependencies ===
+
==== Locale settings ====
 +
 
 +
Games made in C# often have a problem with some locales (e.g. Russian, German) because developers don't specify locale-agnostic number formatting. This can result in some game screens loading only partially, problems with online features or other bugs.
 +
 
 +
To work around this, run the game with {{ic|1=LC_ALL=C}}.
 +
 
 +
Affected games: ''FORCED, Gone Home, Ichi, Nimble Quest, Syder Arcade''.
 +
 
 +
==== Unity 5 sound problems ====
 +
 
 +
The sound system in Unity 5 changed and to be able to play games created with it you must most likely install and run [[PulseAudio]].
 +
 
 +
Another solution is to disable the Steam runtime: in the launch options for the game, write this: {{ic|1=LD_LIBRARY_PATH="" %command%}}
 +
 
 +
Another solution is to prevent Unity from trying to use pulseaudio using {{AUR|pulsenomore}} package from the [[AUR]]. Once it is installed, use the following as launch options :{{ic|/usr/bin/pulsenomore %command%}}
 +
 
 +
Affected games: ''Kerbal Space Program, SUPERHOT, ClusterTruck''
 +
 
 +
==== Game launching on wrong monitor in fullscreen mode ====
 +
 
 +
Unity games that do not support monitor selection will most likely launch the game on a wrong monitor.
 +
 
 +
The problem is that Unity games write the default parameter {{ic|1=<pref name="UnitySelectMonitor" type="int">-1</pref>}} to the game config file.
 +
 
 +
This will lead to the game launching on a non-primary monitor.
 +
 
 +
When changing to value into {{ic|1=<pref name="UnitySelectMonitor" type="int">'''0'''</pref>}} for the according game, the game will start on the correct (primary) monitor.
 +
 
 +
A Unity game config file usually resides in {{ic|~/.config/unity3d/''CompanyName''/''ProductName''/prefs}}.
 +
 
 +
Affected games: ''Cities: Skylines, Tabletop Simulator, Assault Android Cactus, Wasteland 2, Tyranny, Beat Cop''.
 +
 
 +
Be aware that some games do not support setting that parameter, it will simply be ignored. This is the case for ''Pillars of Eternity'', ''Kentucky Route Zero'', ''Sunless Sea''.
 +
 
 +
==== Chinese/Japanese/Korean display bug ====
 +
 
 +
Install {{pkg|wqy-microhei}} and {{pkg|wqy-microhei-lite}}. Then
 +
 
 +
#fc-cache -fv
 +
 
 +
==== Game does not respond ====
 +
 
 +
Add the following line to your [[launch option]]s :
 +
 
 +
SDL_DYNAMIC_API=/usr/lib/libSDL2-2.0.so %command%
 +
 
 +
=== Unrest ===
 +
 
 +
Requires {{pkg|fluidsynth}}.
 +
 
 +
=== Volgarr the Viking ===
 +
 
 +
Delete the {{ic|lib}} directory in the game directory to get rid of the libGL errors.
 +
 
 +
=== War Thunder ===
 +
 
 +
==== No audio ====
 +
 
 +
If there is no audio after launching the game, install {{pkg|pulseaudio-alsa}}.
 +
 
 +
==== Blank screen ====
 +
 
 +
If having a green or blank screen on startup, run the game with {{ic|1=MESA_GL_VERSION_OVERRIDE=4.1COMPAT}}. [https://forum.warthunder.com/index.php?/topic/267809-linux-potential-workaround-for-mesa-drivers-black-screen/] [http://forum.warthunder.com/index.php?search_term=0030709&app=core&module=search&do=search&fromMainBar=1&search_app=forums%3Aforum%3A920&sort_field=&sort_order=&search_in=posts]
 +
 
 +
steam startup WarThunder  need set startup options {{ic|<nowiki>XMODIFIERS="" %command%</nowiki>}}
 +
 
 +
=== Warhammer 40,000: Dawn of War II ===
 +
 
 +
Dependencies:
 +
 
 +
* {{Pkg|alsa-lib}}
 +
* {{Pkg|librtmp0}}
 +
 
 +
The start script does not point to the right direction of {{ic|libasound.so.2}}.
 +
 
 +
To fix it open {{ic|''GAME''/DawnOfWar2.sh}} and replace the following lines:
 +
 
 +
{{bc|<nowiki>HAS_LSB_RELEASE=$(command -v lsb_release)
 +
if [ -n "${HAS_LSB_RELEASE}" ] && [ "$(lsb_release -c | cut -f2)" = "trusty" ]; then
 +
LD_PRELOAD_ADDITIONS="/usr/lib/x86_64-linux-gnu/libasound.so.2:${LD_PRELOAD_ADDITIONS}"
 +
fi </nowiki>}}
 +
 
 +
with:
 +
 
 +
{{bc|1=LD_PRELOAD_ADDITIONS="/usr/lib64/libasound.so.2:${LD_PRELOAD_ADDITIONS}"}}
 +
 
 +
=== Wasteland 2 ===
 +
 
 +
If Wasteland 2 immediately exits when you try to launch it there may not be enough system file descriptors available.  To increase the descriptor limit edit '''/etc/security/limits.conf''' and add the line:
 +
 
 +
<nowiki>* hard nofile 524288</nowiki>
 +
 
 +
Then reboot for the new limit to take effect, Wasteland 2 should now launch and this setting might also fix other games.
 +
 
 +
=== We Were Here ===
 +
 
 +
==== Stuck on black screen or logo on launch ====
 +
 
 +
Add {{ic|-screen-fullscreen 0}} to launch options. [https://steamcommunity.com/app/582500/discussions/1/1470840994974091613/]
 +
 
 +
=== Worms W.M.D ===
 +
 
 +
The game includes several workarounds in the {{ic|Run.sh}} script, however these may not work and it is easy to get the game running without this script.
 +
 
 +
First, try running the game directly from its game directory using {{ic|Worms W.M.Dx64}}. If you get a "No such file or directory" error about libcurl-gnutls, install {{pkg|libcurl-gnutls}}. If the game crashes after playing the intro movies, add the Steam Runtime dbus libraries to the game's library directory:
 +
 
 +
$ ln -s ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/*dbus* ~/.steam/steam/steamapps/common/WormsWMD/lib
 +
 
 +
Now the game should run using the default "Play Worms W.M.D" option. See also Steam community discussions [https://steamcommunity.com/app/327030/discussions/2/133257959065155871/] and [https://steamcommunity.com/app/327030/discussions/1/343785380902286766/].
 +
 
 +
On some systems there are terrain bugs where holes in terrain are not rendered properly and worms can fall through terrain unexpectedly. These bugs can make the game unplayable in many situations and there is no known fix for them.
 +
 
 +
=== Witcher 2: Assassin of Kings ===
 +
 
 +
Dependencies:
  
* {{Pkg|lib32-freetype2}}
 
* {{AUR|lib32-libcurl-compat}}
 
 
* {{Pkg|lib32-gnutls}}
 
* {{Pkg|lib32-gnutls}}
 +
* {{Pkg|lib32-libcurl-compat}}
 +
* {{Pkg|lib32-libcurl-gnutls}}
 +
* {{Pkg|lib32-sdl2_image}}
 +
* {{Pkg|lib32-sdl2}}
 +
 +
==== Game does not start ====
 +
The game will not start with SDL set to use wayland. You can have only the game run in x11 by adding the following launch options in steam:
  
* {{AUR|lib32-sdl2}}
+
$ SDL_VIDEODRIVER=x11 %command%
* {{AUR|lib32-sdl2_image}}
 
* {{AUR|lib32-libcurl-gnutls}}
 
  
=== Troubleshooting ===
 
  
 
If the game does not run, enable error messages:
 
If the game does not run, enable error messages:
  
  cd "${HOME}/.local/share/Steam/SteamApps/common/the witcher 2"
+
  $ LIBGL_DEBUG=verbose ./witcher2
  LIBGL_DEBUG=verbose ./witcher2
+
 
 +
=== Wizardry 6: Bane of the Cosmic Forge ===
 +
 
 +
Requires [[DOSBox]].
 +
 
 +
To fix the crash at start, open {{ic|''GAME''/dosbox_linux/launch_wizardry6.sh}} and:
 +
 
 +
# comment the line {{ic|1=export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs}}
 +
# change the beginning of the line starting with {{ic|exec ./dosbox}} to {{ic|exec dosbox}}
 +
 
 +
=== World of Goo ===
 +
 
 +
==== Changing resolution ====
 +
To change the game resolution edit the ''Graphics display'' section in {{ic|''GAME''/properties/config.txt}}. For example:
 +
 
 +
<nowiki><!-- Graphics display --></nowiki>
 +
<param name="screen_width" value="1680" />
 +
<param name="screen_height" value="1050" />
 +
<param name="color_depth" value="0" />
 +
<param name="fullscreen" value="true" />
 +
  <param name="ui_inset" value="10" />
 +
 
 +
=== X3: Terran Conflict ===
 +
 
 +
==== Game crashes on startup ====  
 +
 
 +
The game may crash on startup because it's linked to libz version 1.2.9, while the latest version of this library in Arch Linux is higher. The following message in the terminals appears in this case:
 +
./X3TC_config: lib/libz.so.1: version 'ZLIB_1.2.9' not found (required by /usr/lib32/libpng16.so.16
 +
 
 +
Running the game with {{ic|1=LD_PRELOAD='/usr/lib32/libz.so.1.2.11'}} may help.
 +
 
 +
=== XCOM ===
 +
 
 +
Dependencies:
  
==Wizardry 6: Bane of the Cosmic Forge==
+
* {{Pkg|librtmp0}}
===Dependencies===
+
* {{Pkg|sdl2_image}} (required to enable keyboard functionality in-game)
* {{pkg|dosbox}}
 
  
To fix the crash at start, edit {{ic|~/.local/share/Steam/SteamApps/common/Wizardry6/dosbox_linux/launch_wizardry6.sh}} and change
+
==== Hangs on startup ====
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs
+
 
exec ./dosbox -conf dosbox_wiz6.conf -conf dosbox_wiz6_launch_linux.conf -noconsole "$@"
+
If you are running a [[hybrid graphics]] system, try:
to
 
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs
 
exec dosbox -conf dosbox_wiz6.conf -conf dosbox_wiz6_launch_linux.conf -noconsole "$@"
 
  
==World of Goo==
+
__GL_THREADED_OPTIMIZATIONS=0 primusrun %command%
===Changing resolution===
 
* To change the game resolution edit the section "Graphics display" in the configuration file {{ic|$HOME/Steam/SteamApps/common/World of Goo/properties/config.txt}}. For example, see below:
 
  <!-- Graphics display -->
 
  <param name="screen_width" value="1680" />
 
  <param name="screen_height" value="1050" />
 
  <param name="color_depth" value="0" />
 
  <param name="fullscreen" value="true" />
 
  <param name="ui_inset" value="10" />
 
  
==Worms Reloaded==
+
==== Graphical glitches on Intel HD ====
===Dependencies===
 
* {{pkg|lib32-alsa-plugins}}
 
  
==XCOM==
+
XCOM: Enemy Unknown may not recognize the SDL2 shared libraries shipped with the Steam runtime.
===Hangs on startup===
+
Check if the binary finds all required files and install missing packages if necessary ({{Pkg|sdl2}} and {{Pkg|sdl2_image}}).
Steam ships its own versions of some libraries, and they sometimes are too old to work with archlinux system libraries.
 
Removing the library supplied by Steam means Steam has to use the newer arch-specific version. [https://bbs.archlinux.org/viewtopic.php?pid=1428375#p1428375].
 
  
{{bc|rm ~.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1
+
{{bc|ldd binaries/linux/game.x86_64 | grep "not found"}}
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6}}
 

Latest revision as of 14:15, 25 January 2020

Contents

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 GAME pseudo-variable is used to refer to a game's directory. When the text reads "run the game with FOO=bar" 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 GAME 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 LD_LIBRARY_PATH=/usr/lib/openssl-1.0.

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 ~/.appdata/Adobe/AIR/eulaAccepted containing 2.

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=false

And 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 Bitstream Vera Sans 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.conf

Next, create fonts.conf 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 game crash on start, add the following to Steam launch options:

LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 %command% -force-glcore

If game does not recognize the resolution launch the game with Game Launcher and check the Unity screen selector option to correct the resolution. This will give you a GUI that can select the correct screen and when the game is started.

Note: The game tends to crash or disfunction in windowed mode. It may be advisable to run it in full screen mode.

If that does not help try running the game by checking the 32-bit Game-engine in the launcher options.

It will help the game performance if the GLCore option is checked in launcher options.

Note: The game does not accept .dll mods if installing mods. Always check if the mod is of .dll type

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 ./lib/x86_64 to your LD_LIBRARY_PATH.[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 GAME/AndYetItMovesSteam.sh and surround ${BASH_SOURCE[0]} 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 Return

Save this to ~/.joy2keyrc and start joy2key after you start Anodyne

joy2key -rcfile ~/.joy2keyrc

Anomaly Warzone Earth

Leave fullsrceen

There are no ingame settings for this, but fullscreen can be toggled with Alt-Enter

Infinite loading

Create file loadfix.c 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 gcc -m32 -o loadfix.so loadfix.c -ldl -shared -fPIC -Wall -Wextra

Launch with LD_PRELOAD=$LD_PRELOAD:./loadfix.so %command%

Gamepad not working

You have to enable keyboard control and map gamepad to keys.

Config for Steam: steam://controllerconfig/91200/1498735506

Aquaria

Mouse pointer gets stuck in one direction

If the mouse pointer gets stuck in one direction, make sure GAME/usersettings.xml contains <JoystickEnabled on="0" />.

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 MESA_GL_VERSION_OVERRIDE=4.0 MESA_GLSL_VERSION_OVERRIDE=400.

Gray water

Download the TheCenter map and copy Water_DepthBlur_MIC.uasset 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 LD_PRELOAD=/usr/lib/libopenal.so.1

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 BeatCop.x86 instead of BeatCop.x86_64.

Binding of Isaac: Rebirth

No sound

Note: This also helps with Never Alone (Kisima Ingitchuna) and No Time to Explain.

Prepend /usr/lib to LD_LIBRARY_PATH.

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=1

Various 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 RenderSystem_GL.so with one from Debian's repositories. To do that download this deb file, and extract it with dpkg:

$ dpkg -x libogre-*.deb outdir

Now replace GAME/lib/32/RenderSystem_GL.so with the one extracted from the .deb 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.jar

You 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 Ctrl 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 setkeycodes 0x1d 56 (as root) to map Ctrl to Alt before starting the game and setkeycodes 0x1d 29 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 /usr/lib/ssl, which is where Ubuntu stores them. Arch however uses /etc/ssl. To resolve the problem, run the game with SSL_CERT_DIR=/etc/ssl/certs.

Game crashes nearly instantly

The game crashes in libopenal directly after launch.

Possible solution 0: Run the game with the -nostartupmovies 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 LD_PRELOAD='$HOME/.steam/root/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libopenal.so.1'.

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 steam-native 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 LG3D

see 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 steam_appid.txt in the game directory containing 261640. 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.1

Cities 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 elements

Workaround for the bug FS#35039 is available here [dead link 2017-05-25] (replace /etc/fonts/conf.d/10-scale-bitmap-fonts.conf).

Cities Skylines

Textures not rendering properly

Run the game with UNITY_DISABLE_GRAPHICS_DRIVER_WORKAROUNDS=yes.

Civilization V

Run the game with LD_PRELOAD=/usr/lib32/libopenal.so.1 %command%.[3] For old versions of PulseAudio (<12.0), use LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6:/usr/lib32/libopenal.so.1' %command%.[4] If libopenal.so.1 is not in /usr/lib32, you may need to run sudo pacman -S multilib/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: '/usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so ./libcxxrt.so /usr/lib32/libstdc++.so.6 /usr/lib32/libopenal.so.1'.[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 MaxSimultaneousThreads to 16 in config.ini in game directory.[6]

Game crashes after intro video with "Unable to load texture (LoadingBaseGame.dds)"

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.

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

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

Steam Overlay not working

If the Steam Overlay doesn't 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:

   #0  0x08b71d06 in FireGrafix::DynamicsLock<Graphics::BuildingSkinnedDataDynamicConsts>::DynamicsLock(Graphics::SurfaceSet**, FireGrafix::SurfaceSetPoolAllocator*, unsigned short) ()
   #1  0x08c25ffc in cvLandmarkVisSystem::cvLandmarkVisDynamicConstantUpdaterSS::HandleBuildingShaderSkinned(Graphics::FGXShaderPackageInstanceView*, FireGrafix::FGXModelNode*, FGXVector4*) ()
   #2  0x08c25f34 in cvLandmarkVisSystem::cvLandmarkVisDynamicConstantUpdaterSS::UpdateNode(Graphics::FGXShaderPackageInstanceView*, FireGrafix::FGXModelNode*, FGXVector4*) ()
   #3  0x08c25e2c in FireGrafix::FGXModelRenderByNodeSSExample_Shadow<cvLandmarkVisSystem::cvLandmarkVisDynamicConstantUpdaterSS, 2, FireGrafix::FGXModelRenderEndSuperclass>::RenderNode(unsigned int*, FireGrafix::FGX_SPIV_GENERIC*, FireGrafix::FGXModelNode*, FGXVector4*) ()
   #4  0x08c24ff5 in cvLandmarkVisSystem::LandmarkRenderJob::Execute(unsigned int) ()
   #5  0x093d26d9 in Platform::JobTask::execute() ()
   #6  0xf749f3c0 in ?? () 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.6

Segfault is caused by lib32-intel-tbbAUR. To fix the issue:

  1. Download the libtbb2 deb-package from the Ubuntu archive.
  2. Unpack libtbb.so.2 from libtbb2_4.2_20130725-1.1ubuntu1_i386.deb/data.tar.xz/usr/lib into the game directory.
  3. Run the game with LD_PRELOAD='./libtbb.so.2'.

Civilization VI

Either run with steam-native, launch option LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%, or env LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6'. The latter will disable the Steam overlay.

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:

  1. Immediate segfault on start, before any windows get created
  2. The game creates ~/.local/share/aspyr-media/Sid Meier's Civilization VI/AppOptions.txt
  3. The string AppHost::BugSubmissionPackager::BugSubmissionPackager appears inhttp://store.steampowered.com/app/310080/Hatoful_Boyfriend/ the backtrace output when running the game under gdb
    1. To run under gdb, first launch a shell and change into the game directory.
    2. Then echo 289070 > steam_appid.txt (otherwise the game won't launch outside of Steam itself)
    3. Then run something like gdb -ex run -ex bt -ex quit --args ./Civ6 ./Civ6
    4. The relevant info towards the end of the output should look like this:
   Thread 3 "Civ6" received signal SIGSEGV, Segmentation fault.
   [Switching to Thread 0x7fffe5d06700 (LWP 12315)]
   0x000000000201121e in AppHost::BugSubmissionPackager::BugSubmissionPackager(unsigned long, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)4> const&, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)0> const&, AppHost::ModuleVersionInfo const&) ()
   #0  0x000000000201121e in AppHost::BugSubmissionPackager::BugSubmissionPackager(unsigned long, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)4> const&, String::BasicT<Platform::StaticHeapAllocator<5, 0>, (String::Encoding)0> const&, AppHost::ModuleVersionInfo const&) ()
   #1  0x000000000200c796 in AppHost::_INTERNAL::SetupFXSPlatform(AppHost::AppEnvironment const*, AppHost::AppOptions*)
       ()
   #2  0x000000000200fea0 in AppHost::RunApp(int, char**, AppHost::Application*) ()
   #3  0x000000000200f9bc in AppHost::RunApp(char*, AppHost::Application*) ()
   #4  0x0000000001112d98 in WinMain ()
   #5  0x00000000010bdab0 in ?? ()
   #6  0x00000000010bfb31 in ThreadHANDLE::ThreadProc(void*) ()
   #7  0x00007ffff473e08a in start_thread () from /usr/lib/libpthread.so.0
   #8  0x00007ffff38f747f in clone () from /usr/lib/libc.so.6

If all of that is the case for you, the fix is pretty simple. Edit ~/.local/share/aspyr-media/Sid Meier's Civilization VI/AppOptions.txt and change the line reading EnableBugCollection 1 to EnableBugCollection 0.

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_Var

The solution is to set launch option to be

   LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%

If the game ends up being a grey-color blank screen

The solution is to disable mods.

CrossCode

If FontConfig Errors on Start

                                        ...
 Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
 Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
 Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
 Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
 Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
 Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
 Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
 Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
 Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
 Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
 Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
 Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
 Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
 Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
                                        ...

Download the latest version of nwjs from here and extract it's contents into your CrossCode directory, overwriting the files.

Be sure to rename nw to CrossCode after.

This solution was documented to work with CrossCode 1.2 and nwjs 0.41.2 and is based on this steam post

Deus Ex: Mankind Divided

Follow #OpenSSL 1.0 setup.

Requires libidn11 & librtmp0.

Also if you use Bumblebee set your launch options to:

LD_PRELOAD="$LD_PRELOAD:libpthread.so.0:libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1  optirun %command%

The Clockwork Man

Requires lib32-libidn (pulled in by steam-native-runtime).

Company of Heroes 2

Make sure you have lib32-gconf[broken link: archived in aur-mirror] installed.

Missing libpcre.so.3

Like with #Alien Isolation you need to symlink /usr/lib/libpcre.so to GAME/lib/arch/libpcre.so.3, otherwise the game will fail to start.

Cossacks 3

No sound

Use the steam-runtime, e.g. set the launch options to:

~/.steam/root/ubuntu12_32/steam-runtime/run.sh %command%

Flashing screen with primus

Set PRIMUS_SYNC=2in the launch options.

Counter-Strike: Source (CS:S)

Invisible symbols, special characters and cyrillic letters

Check #Squares or invisible symbols, special characters and cyrillic letters in Source-based games

Counter-Strike: Global Offensive (CS:GO)

Game starts on the wrong screen

csgo-osx-linux issue #60

If it happens, go into fullscreen windowed or windowed mode and drag the window to the correct monitor. Then go back into fullscreen, the game should now be on the correct monitor.

Cannot reach bottom of the screen on menus

csgo-osx-linux issue #594

If you have a secondary monitor you might have a part of your lower screen you cannot reach in menus. If on Gnome you can try to open the overview (Super key) and drag the game to the other monitor and back.

If you are not on Gnome or dragging the window back and forth did not work you can try to install wmctrl and run this command, where X and Y is the offset of the window and H and W is the size.

wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,X,Y,H,W

Example: SecondaryMonitor: on the left 2560x1600, GamingMonitor: on the right 2560x1440).

wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,2560,0,1600,1200

Here X and Y is 0,2560 to move the window to the monitor on the right and H and W 1600,1200 is set to match the in-game resolution.

Sound is played slightly delayed

csgo-osx-linux issue #45

See PulseAudio/Troubleshooting#Laggy sound for a possible solution.

Mouse not working in-game

If your mouse works in the main menu but not in-game, run the game with SDL_VIDEO_X11_DGAMOUSE=0. [7]

Brightness slider not working

Install xorg-xrandr and run xrandr to find out the name of your connected display output.

Edit GAME/csgo.sh and add the following lines (adapt output_name):

# gamma correction
xrandr --output output_name --gamma 1.6:1.6:1.6 # play with values if required
STATUS=42
while [$STATUS -eq 42]; do
 ...
done
# restore gamma
xrandr --output output_name --gamma 1:1:1
exit $STATUS

Microphone not working

csgo-osx-linux issue #573

CS:GO uses the default PulseAudio sound device ignoring what is configured in Steam settings.

First find out the source name of your microphone (it should start with alsa_input.):

$ pacmd list-sources

Then set the default device (change the name accordingly):

$ pacmd set-default-source device_name

Also lower the microphone level to 60% otherwise you will get some nasty background noise and you will be difficult to understand (change the name accordingly):

$ pacmd set-source-volume device_name 0x6000

Mouse is unrensponsive or moves slowly

Set launch options to:

vblank_mode=0 %command%

Works with almost any other game.

Game crashes on startup with game controller plugged in

csgo-osx-linux issue #1757

The solution is to add -nojoy to the launch options.

Creeper World 3: Arc Eternal

Game does not start

Search for Player.log (might be in ~/.config/unity3d/Knuckle Cracker LLC/Creeper World 3/ )

If it says somewhere in Player.log "FMOD failed to get number of drivers ... An error occured that wasn't supposed to. Contact support." Unity is probably having problem with some pulse audio libraries.

Fix that worked for me: Remove or rename all instances of libpulse-simple* files.

Places to look for them: /usr/lib /usr/lib32 ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/ ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/

Crusader Kings II

No audio

SDL uses PulseAudio by default, so to use it with ALSA you need to set:

~/.pam_environment
SDL_AUDIODRIVER=alsa

Oddly sized starting window

You can make full screen mode the default by setting fullscreen=yes in ~/.paradoxinteractive/Crusader Kings II/settings.txt.

DLCs not detected

If the DLC tab in the launcher is not selectable, rename the DLC directory in the game directory to dlc.

Game takes ages to start

If you are using a nvidia graphics card, make sure you have enabled the DRM kernel mode setting.

Game doesn't start at all

If the game stopped launching after Patch 3.3 (when the game became 64-bit only), install intel-tbb.

Crypt of the NecroDancer

Crashes after splash screen

The following error occurs if launching Steam from the terminal.

FMOD ERROR: UpdateFMOD SystemUpdate: This command failed because System::init or System::setDriver was not called.

This error is solved by installing pulseaudio-alsa.

The Curious Expedition

Game stuck on loading screen

The Electron shipped with this game is too old for Arch Linux.

Install electron and run the game with electron resources/app.asar.

Death Road To Canada

No music

Prepend /usr/lib to LD_LIBRARY_PATH.

Defender's Quest: Valley of the Forgotten

Dependencies:

Dirt

Follow #OpenSSL 1.0 setup.

Dirt Rally

Prepend lib/x86_64 to your LD_LIBRARY_PATH, otherwise the game will fail to start.

Note: The order of the paths is important. $LD_LIBRARY_PATH must be the last entry or it won't work.

Divinity: Original Sin - Enhanced Edition

Game does not start when using Bumblebee optirun or primusrun

Edit GAME/runner.sh to use primusrun:

LD_LIBRARY_PATH="." primusrun ./EoCApp

Game does not work with mesa

It is a known bug and they have no intention of fixing it, see the bug.

Workaround[8] (see step by step guide)

Get the following file: https://bugs.freedesktop.org/attachment.cgi?id=125302 and rename it to divos-hack.c

Then execute

$ gcc -s -O2 -shared -fPIC -o divos-hack.{so,c} -ldl

Copy the divos-hack.so to the game folder.

For GOG version, go to the said game folder and run Divinity with the following command

$ allow_glsl_extension_directive_midshader=true LD_PRELOAD="divos-hack.so" ./runner.sh

For steam, open a console, change to the divinity directory with

$ cd ~/.steam/steam/steamapps/common/Divinity Original Sin Enhanced Edition

Launch steam and got o the preferences of the game, and open the "Set Launch Options" dialogue. There, put the following

allow_glsl_extension_directive_midshader=true LD_PRELOAD="divos-hack.so:$LD_PRELOAD" %command%

Then just start the game.

Don't Starve

Dependencies:

No sound

Prepend /usr/lib to LD_LIBRARY_PATH.

In the game, go to the options and adjust the audio levels.

Doki Doki Literature Club

Linux version is shipped with the Windows version, but can only be installed with Steam Play.

Native version can be started with this launch option: ./DDLC.sh # %command%

Dota 2

Dependencies:

In-game font is unreadable

Run the game with MESA_GL_VERSION_OVERRIDE=2.1.

Error with libpangoft2

  1. Install the pango package.
  2. Remove libpango-1.0.so and libpangoft2-1.0.so in GAME/game/bin/linuxsteamrt64.
  3. If you are using Bumblebee add LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 optiru to your launch options.

The game does not start

If you run the game from the terminal and, although no error is shown, try disabling: Steam > Settings > In-Game > Enable Steam Community In-Game.

Apparently the game #The Book of Unwritten Tales has the same problem. It also describes a workaround that is untested in Dota 2.

Game runs on the wrong screen

GitHub Dota 2 issue #11

Game does not start with libxcb-dri3 error message

After a recent Mesa update, Dota 2 stopped working. The error message is:

SDL_GL_LoadLibrary(NULL) failed: Failed loading libGL.so.1: /usr/lib32/libxcb-dri3.so.0: undefined symbol: xcb_send_fd

Steam overlay

Steam distributes a copy of libxcb which is incompatible with the latest xorg libxcb. See [9], [10].

Chinese tips and player names not shown

The Chinese characters in tips and player names are displayed as block characters.

The problem is caused by the font packages: ttf-dejavu, ttf-liberation and ttf-ms-fontsAUR.

GitHub Steam issue #1688 [dead link 2017-05-25]

Chinese input method problem

Dota2 is compatible with IBus .

Devil Daggers

Refer to #Missing libcurl.so.4 or version CURL_OPENSSL_3 not found.

Drox Operative

If the game fails to start with "Couldn't find Database/database.dbl!", manually extract the assets. assets003.zip will overwrite some files from the previous files.

$ cd "~/.steam/root/steamapps/common/Drox Operative/Assets"
$ unzip assets00[123].zip

Dungeon Souls

For AMD cards this game crashes on launch, unless you start it like this:

R600_DEBUG=mono %command%

Dwarfs F2P

Dependencies:

Game does not start

There was a bug that stopped Steam from fetching all the needed files. It should be resolved, if you still bump into this problem, try verifying integrity of game cache from game properties, local files tab.

If the game still crashes at startup, edit GAME/Run.sh and change

export LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH}

to

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:.
Note: This file may be overwritten by updates or by verifying integrity of game cache. You may need to modify it again.

If these do not help, you may have outdated libraries in the game installation folder that are crashing the game on startup. Try removing the following files from the game directory:

libX11.so.6 libsteam.so libtier0_s.so libvstdlib_s.so steamclient.so

Game crashes

In some cases, the game crashes about 2 minutes before the end of every arcade. This bug has been reported, but there's no known solution to it.

Dynamite Jack

Requires lib32-sdl.

Sound Issues

When running on 64-bit Arch Linux, there may be "pops and hisses" when running Dynamite Jack. This could be caused by not having STEAM_RUNTIME=0 set. (However, even with STEAM_RUNTIME=0 set, the game may still sometimes start with this issue. Exiting and restarting the game seems to make the problem go away.)

Game does not start

If running steam with the STEAM_RUNTIME=0, Dynamite Jack may have a problem starting. Check the steam error messages for this message:

/home/$USER/.steam/root/steamapps/common/Dynamite Jack/bin/main: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

Install lib32-sdl from multilib and Dynamite Jack should start up.

Empire Total War

Weird unreadable fonts

Open ~/.local/share/feral-interactive/Empire/preferences, then find UsePBOSurfaces and change it from 1 to 0.

Euro Truck Simulator 2

Shows only a black screen

Select safe mode when the game starts up.

Firewatch

If Firewatch starts but doesn't show anything try running Steam with

`STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam`

Football Manager 2014

This game will not run when installed on an XFS or reiserfs filesystem. Workaround is to install on an ext4 filesystem.

FORCED

Requires lib32-glu.

This game has 32-bit and 64-bit binaries. For some reason, Steam will launch the 32-bit binary even on 64-bit Arch Linux. When manually launching the 64-bit binary, the game starts, but cannot connect to Steam account, so you cannot play. So install 32-bits dependencies, and launch the game from Steam.

For the King

For steam-native --

Starts with black page. Requires to be told to use the libSDL2 shipping with Steam

Add to Steam launch options for game.

LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 %command%

Note however, that this disables the Steam overlay as a side effect.

For steam-runtime --

It works out of the box.

For the full experience, run FTK via steam-runtime instead of steam-native.

FTL: Faster than Light

Compatibility

After installation, FTL may fail to run due to a 'Text file busy' error (characterised in Steam by your portrait border going green then blue again). The easiest way to mend this is to just reboot your system. Upon logging back in FTL should run.

The Steam overlay in FTL does not function as it is not a 3D accelerated game. Because of this the desktop notifications will be visible. If playing in fullscreen, therefore, these notifications in some systems may steal focus and revert you back to windowed mode with no way of going back to fullscreen without relaunching. The binaries for FTL on Steam have no DRM and it is possible to run the game without Steam running, so in some cases that may be optimum - just ensure that you launch FTL via the launcher script in GAME/data/ rather than the FTL binary in the $arch directory.

Problems with open-source video driver

FTL may fail to run if you are using an opensource driver for your video card. There are two solutions: install a proprietary video driver or delete (rename if you are unsure) the library "libstdc++.so.6" inside GAME/data/amd64/lib. This is if you are using a 64bit system. In case you are using a 32bit system you have to remove (rename) the same library located into GAME/data/x86/lib.

Artifacts when launching, Problems with openGL

Using the open source drivers, ATI for radeon cards, the game can display artifacts on screen. Run the game with MESA_GL_VERSION_OVERRIDE=3.0 %command%

Game Dev Tycoon

Game does not start

You might get an error about missing libudev.so.0.

Run the game with LD_PRELOAD=/usr/lib/libudev.so.1.

Garry's Mod

Game does not start

When an error about a missing client.so appears, try the following:

$ cd ~/.steam/root/steamapps/common/GarrysMod/bin/
$ ln -s libawesomium-1-7.so.0 libawesomium-1-7.so.2
$ ln -s ../garrysmod/bin/client.so ./

If the error mentions a missing library for libgcrypt.so.11, install lib32-libgcrypt15.

Opening some menus causes the game to crash

Most menus work fine, but ones with checkboxes (LAN multiplayer, mounted games list) do not work at all. This is a bug in the menu code.

If you prefer the default menu style and do not mind a hacky solution: Simon311 has written code with instructions to fix it.

If you do not care for the default menu style and want a more stable but feature-incomplete solution, Facepunch developer robotboy655 has written a new menu.

Game crashes after attempting to join server

While in the process of joining a server, downloading resources, etc, the game seems to hang and after a while, perhaps during the "sending client info" portion the game crashes, usually without any error messages. Error does not give much information, however, the process for Garry's mod is killed.

This issue arises more often when joining servers with many addons like DarkRP servers specifically.

The problem seems to correlate with a weak GPU and the game is timing out from the server, so if the GPU is the problem, lowering the graphics settings to the minimum should fix the problem.

The problem seems to be related to RAM usage, once you hit around 2GB of RAM used, the game will crash. Servers with many addons have much more RAM usage, and lowering graphics settings to the minimum lowers RAM usage and mitigates crashes.

Using the experimental x86-64 branch may help mitigate this issue, however keep in mind that some addons may return errors while using this branch.

Gods will be watching

Follow #OpenSSL 1.0 setup.

GRID Autosport

Follow #OpenSSL 1.0 setup.

Black screen when trying to play

Run the game with LC_ALL=C.

Hack 'n' Slash

Crashes when trying to load a game

Prepend /usr/lib to LD_LIBRARY_PATH.

Hacker Evolution

Requires lib32-sdl2_mixer.

Half-Life 2 and episodes

Cyrillic fonts problem

This problem can be solved by deleting "Helvetica" font.

Hammerwatch

The game does not start via Steam

Prepend /usr/lib to LD_LIBRARY_PATH.

No sound

Hammerwatch opens with a popup: "Sound Error" -- "Could not initialize OpenAL, no sounds will be played. Try updating your OpenAL drivers."

OpenAL, which Hammerwatch uses, defaults to PulseAudio. To change that, add the following line to /etc/openal/alsoft.conf:

drivers=alsa,pulse

This way, Hammerwatch will use ALSA. This solution was found here.

Harvest: Massive Encounter

Dependencies:

Compatibility

If the game refuses to launch and throws you into a library installer loop, run the Harvest executable instead of the run_harvest script.

Hatoful Boyfriend

Japanese text invisible

Install wqy-microhei and wqy-microhei-lite.

HEARTBEAT

If FontConfig Errors on Start

Follow the same process described in #CrossCode.

HuniePop

Game crashes upon launch

Install lsb-release.

Hyper Light Drifter

The controller does not work

Install lib32-sdl2 and run the game with LD_PRELOAD=libSDL2.so.

See the following Steam Community discussions:

It is suggested to run the next_update branch to get new fixes, there however currently is a libcurl segfault keeping it from starting without special workarounds.

Missing libcurl.so.4 or version CURL_OPENSSL_3 not found

Install lib32-libcurl-compat and run the game with LD_PRELOAD=libcurl.so.3.

The Impossible Game

Dependencies:

The Inner World

Requires java-commons-codecAUR for sound support.

Bringing up the inventory or main menu

Hold the tab key.

Cutscenes

The game has cutscenes. It starts directly with a cutscene before you start the actual game in the backyard. To see these cutscenes you need to use Oracle's Java instead of the OpenJDK.

Furthermore you need the package ffmpeg-compat-55AUR.

There seem to be problems with the Steam overlay. Try to run the game directly with GAME/TIW_start.sh.

Note that cutscenes open in a new window. So pay attention to that and switch to the new window to enjoy the movies.

See the Steam Forums for details.

Interloper

Requires alsa-lib.

Game does not start

The game can sometimes segfault due to an incompatibility with the Steam Runtime's libasound.so.2.

Invisible Apartment

Requires qt5-multimedia.

Game does not start

If the game does not run when you launch it via Steam, try to directly run ./ia1 in the game directory.

Joe Danger 2: The Movie

Requires lib32-libpulse.

Compatibility

Game only worked after obtaining from the Humble Bundle directly and lib32-libpulse was installed.

Kerbal Space Program

See Kerbal Space Program.

Killing Floor

Cannot change screen resolution

If trying to modify the resolution in-game crashes your desktop environment, edit ~/.killingfloor/System/KillingFloor.ini:

[WinDrv.WindowsClient]
WindowedViewportX=width
WindowedViewportY=height
FullscreenViewportX=width
FullscreenViewportY=height
MenuViewportX=width
MenuViewportY=height

[SDLDrv.SDLClient]
WindowedViewportX=width
WindowedViewportY=height
FullscreenViewportX=width
FullscreenViewportY=height
MenuViewportX=width
MenuViewportY=height

Windowed mode

Uncheck fullscreen in the options menu, and press Ctrl+g to stop mouse capturing.

Stuttering sound

KillingFloor comes with its own OpenAL library GAME/System/openal.so.

Back it up, install openal or lib32-openal (if using a 64bit system).

Then symlink the installed system library (/usr/lib32/libopenal.so.1 or /usr/lib/libopenal.so.1) to openal.so.

Left for Dead 2

Missing Chinese font

L4D2 Requires wqy-zenhei. Or add the following lines to ~/.config/fontconfig/fonts.conf

        <match target="pattern">
               <test qual="any" name="family">
                       <string>WenQuanYi Zen Hei</string>
               </test>
               <edit name="family" mode="assign" binding="same">
                       <string>Source Han Sans CN</string>
               </edit>
       </match>

Lethal League

Requires lib32-glew1.10.

Life is Strange

Requires sdl2_image librtmp0 libidn11 gconfAUR.

Little Racers STREET

Install sdl2_mixer.

Move/backup GAME/lib64/libSDL2_mixer-2.0.so.0.

Symlink /usr/lib/libSDL2_mixer-2.0.so.0 to GAME/lib64/libSDL2_mixer-2.0.so.0.

The Long Dark

Game does not start

The 64-bit version fails to start. Either use the 32-bit version tld.x86 in the game directory or start the 64-bit version like so:

LD_PRELOAD=~/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./tld.x86_64

Game starts, but some overlay text is missing and cutscenes shows black screen

In addition to the command above, add the following to the Steam launch command:

-screen-fullscreen 0 -screen-width WIDTH_PIXELS -screen-height HEIGHT_PIXELS

For example, if you have a screen resolution of 1280x720 and are launching the x64 version from the terminal (within the directory which contains the binaries), the full command would be:

LD_PRELOAD=~/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./tld.x86_64 -screen-fullscreen 0 -screen-width 1280 -screen-height 720

and from Steam, the complete game launch options would be:

LD_PRELOAD=~/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 %command% -screen-fullscreen 0 -screen-width 1280 -screen-height 720

Cutscenes are still black

Turn off Vertical Sync in the Display options, and/or set POST FX to Low in the Quality options, and/or turn global Quality options down a notch.

Cursor disappears

Go to Options > Controls, and set mouse locking to unlocked.

The options is visible only if you're navigating using your (invisible) mouse. It will not show up when navigating with a controller. One solution is to go to Options -> Controls with a controller before switching to the mouse and trying to blindly it the setting.

Grand Theft Auto V

Game crashes in Online

If you experience crashes in GTA Online (e.g. when creating a new character), set these launch options:

PROTON_NO_ESYNC=1 WINEDLLOVERRIDES=winedbg.exe=d %command%

Graphical Issues using a NVIDIA GPU

Try launch options: -force-glcore42 -force-clamped

Magicka 2

Indefinitely stuck at start

The game does not start if the output of the command "ip -s link" is longer than 4096 characters. That is because, in the function bitsquid::network_info(char*), where they query the networking information, they do not handle that case correctly. See this picture for reference. It was reported to upstream (Pieces Interactive) but Magicka 2 does not seem to be maintained anymore.

A dirty fix is to wrap your ip binary, as such:

#!/bin/bash
if [[ $@ == "-s link" ]]; then
    echo "<paste a smaller subset of the normal output>"
else
    /path/to/your/real/ip "$@"
fi

Mark of the Ninja

Bad sound

Prepend /usr/lib to LD_LIBRARY_PATH.

Metro: Last Light

The game does not allow you to change its resolution on a multi-monitor setup on GNOME with the AMD Catalyst drivers. A temporary workaround is to disable the side monitors. Jason over at unencumbered by facts managed to get it working with his multi-monitor setup using a single display server, he however is using Nvidia.

Metro: 2033 Redux

No sound

Install pulseaudio-alsa

No image

Try setting r_fullscreen off in ~/.local/share/Steam/steamapps/common/Metro 2033 Redux/user.cfg.

Middle-earth: Shadow of Mordor

Floating heads

Run the game with __GL_ShaderPortabilityWarnings=0.

Mount & Blade: Warband

Segmentation fault (core dumped) with wayland

Use Xorg instead.

DLC Chooser

Requires lib32-nasAUR.

Crash on startup

Set launch options to:

LD_LIBRARY_PATH="." %command%

Move or Die

No Sound

Install lib32-pulse[broken link: package not found].

Multiwinia

Requires lib32-openal.

Crash on startup

If Multiwinia crashes on startup on X64 systems, force launching the 32-bit executable by replacing GAME/run_steam.sh with the following script:

#!/bin/sh
./multiwinia.bin.x86

See [11].

Natural Selection 2

sndio is required, furthermore, you must also execute

$ ln -s /usr/lib/libsndio.so x64/libsndio.so.6.1

within the root of the NS2 directory. This is because NS2 uses an older outdated version of sndio, but it is still compatible with the new version, thankfully.

For a more minimal solution, one can attempt to set the audio driver used through the environment variable SDL_AUDIODRIVER. For example, SDL_AUDIODRIVER=sndio or SDL_AUDIODRIVER=alsa.

The environment variable SDL_VIDEODRIVER must not be set to wayland. Try setting SDL_VIDEODRIVER to x11 if it still does not work.

Nuclear Throne

Missing libcurl.so.4 or version CURL_OPENSSL_3 not found

Install lib32-libcurl-compat and run the game with LD_PRELOAD=libcurl.so.3.

OneShot

Game fails to start

This problem occurs because the game use outdated libraries. Go to the game directory and remove libdrm.so.2, libGLdispatch.so.0, and libstdc++.so.6. Those files usually have an equivalent already installed on the system.

Oxygen Not Included

World generation hangs

This problem occurs with locales that use comas instead of dots to separate decimals.

Set launch options in steam to LANG=C %command%.[12]

Penumbra: Overture

Dependencies:

Windowed mode

There is no in-game option to change to the windowed mode, you will have to edit ~/.frictionalgames/Penumbra/Overture/settings.cfg to activate it.

Find FullScreen="true" and change it to FullScreen="false", after this the game should start in windowed mode.

The Polynomial

Dependencies:

Steam for Linux issue #2721

Segfaults during program start on 64-bit systems

The game segfaults during program start because of the LD_LIBRARY_PATH setting in the launcher script. Edit GAME/Polynomial64, and comment out the LD_LIBRARY_PATH variable. Make sure to put the ./bin/Polynomial64 "$@" command on a new line.

Portal 2

Game does not start

Several OpenGL-related errors (such as PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0! or libGL error: driver pointer missing) are caused by Portal 2 bundling an old libstdc++ file. This error is especially common with open source Radeon drivers (radeonsi).

A problem with libstdc can be fixed by running the game with LD_PRELOAD='/usr/$LIB/libstdc++.so.6'.

Resolution too low

When the game starts with a resolution so low that you cannot reach the game settings, run the game in windowed mode using the -windowed flag.

Missing non Latin font

The phenomenon is no menu in Portal. Portal and Portal2 use Helvetica, add the following lines to ~/.config/fontconfig/fonts.conf:

<match target="pattern">
    <test qual="any" name="family">
        <string>Helvetica</string>
    </test>
    <edit name="family" mode="assign" binding="same">
        <string>Source Han Sans CN</string>
    </edit>
</match>

You can replace "Source Han Sans CN" by your favoriate and existing font.

Prison Architect

ALSA error when using PulseAudio

The error:

ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave

was resolved by installing:

per PulseAudio#ALSA.


Game only starting in safe mode

If the game does not start, but steam thinks it is running, probably the Paradox launcher has problems running properly.
If this is the case, you'll find some processes running in background:

ps -ef|grep paradoxlauncher

Kill them all, then modify the game startup options as follows:

LD_PRELOAD=/usr/lib64/libc.so %command%

Eventually, if the above option hasn't worked, an option to skip it:

./PrisonArchitect %command%

Note: even if we're using another executable to start the game, %command% has to be added at the end of the command to trick Steam.

Project Zomboid

Requires jre7-openjdk.

No sound

Prepend /usr/lib to LD_LIBRARY_PATH.

In the game, go to the options and set all audio to the proper volume.

Pyre

Game does not start

Remove GAME/lib64/libSDL2-2.0.so.0.

If this doesn't work, downgrade sdl2.

$ pacman -U https://archive.archlinux.org/packages/s/sdl2/sdl2-2.0.6-2-x86_64.pkg.tar.xz

Then add sdl2 to IgnorePkg in /etc/pacman.conf.

IgnorePkg = sdl2

Redshirt

Requires lib32-libpulse if you use PulseAudio.

Revenge of the Titans

Requires libxtst and lib32-libxtst.

Rise of the Tomb Raider

Run in an X session.

Risk of Rain

Requires lib32-libcurl-compat. Refer to #Missing libcurl.so.4 or version CURL_OPENSSL_3 not found.

Rock Boshers DX: Directors Cut

Requires lib32-libcaca.

Saints Row IV

Game fails to launch after update to new Nvidia drivers

Tango-inaccurate.pngThe factual accuracy of this article or section is disputed.Tango-inaccurate.png

Reason: General settings not specific to this game (Discuss in Talk:Steam/Game-specific troubleshooting#)

Run the game with /usr/lib32/libGLX_nvidia.so appended to the LD_PRELOAD.

Game causes GPU lockup with mesa drivers

Saints Rows IV can cause a GPU lockup when trying to play on certain AMD hardware using open source drivers: Bug 93475.

A workaround is to run the game with R600_DEBUG=nosb.

Serious Sam 3: BFE

No audio

Try running:

# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/

If that does not work, try tweaking ~/.alsoftrc as proposed by the Steam community (Serious Sam 3: BFE uses OpenAL to output sound). If you are not using Pulse Audio, you may want to write the following configuration:

~/.alsoftrc
[general]
drivers = alsa
[alsa]
device = default
capture = default
mmap = true

Slay the Spire

If the game does not start or crashes at startup, install xorg-xrandr.

If the game does not move sink input, you can edit the following file to allow sink moves:

~/.alsoftrc
[pulse]
allow-moves=yes

Songbringer

Launch error with Wayland

Install glfw-x11 and run the game with LD_PRELOAD=/usr/lib/libglfw.so.3.

Space Pirates and Zombies

Requires lib32-openal.

No audio

Try running:

# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/

If that does not work, try tweaking ~/.alsoftrc as proposed by the Steam community (Serious Sam 3: BFE uses OpenAL to output sound). If you are not using Pulse Audio, you may want to write the following configuration:

~/.alsoftrc
[general]
drivers = alsa
[alsa]
device = default
capture = default
mmap = true

Spacechem

Dependencies:

Game crash

The shipped x86 version of Spacechem does not work on x64 with the game's own libSDL* files, and crashes with some strange output.

To solve this just remove the three files libSDL-1.2.so.0, libSDL_image-1.2.so.0, libSDL_mixer-1.2.so.0 from the game directory.

Splice

Requires glu.

The Stanley Parable

Game won't start

As discussed in the Steam store page, remove bin/libstdc++.so.6 from the game folder.

Shadow Tactics: Blades of the Shogun

Dependencies:

Stardew Valley

Unable to move

When in game, you are stuck in your bed as you cannot move your character. This is a bug with the SDL2 lib bundled with the game.

Install sdl2.

Modify this config line:

~/.steam/steam/steamapps/common/Stardew\ Valley/MonoGame.Framework.dll.config
<dllmap dll="SDL2.dll" os="linux" cpu="x86-64" target="./lib64/libSDL2-2.0.so.0"/>

To this (the period is removed at the beginning of target):

~/.steam/steam/steamapps/common/Stardew\ Valley/MonoGame.Framework.dll.config
<dllmap dll="SDL2.dll" os="linux" cpu="x86-64" target="/lib64/libSDL2-2.0.so.0"/>

Steel Storm: Burning Retribution

Start with black screen

The game by default tries to launch in fullscreen mode with a resolution of 1024x768, which doesn't work on some devices (for example the Samsung Series9 laptop with Intel hd4000 video).

Run the game in windowed mode by using the -window flag. Then change the resolution in-game.

Stellaris

No window opening, only sound

Happens with some AMD GPU and mesa combination, set multi_sampling=0 in ~/.local/share/Paradox\ Interactive/Stellaris/settings.txt.

Immediate crash to desktop

It seems that Stellaris requires a 32bit libnss_sss.so.2 to operate. You can confirm if this is your problem by running

# strace ~/.local/share/Steam/steamapps/common/Stellaris/stellaris 2>&1 | grep sss 

and seeing if you get output like

# openat(AT_FDCWD, "/usr/lib32/tls/i686/sse2/libnss_sss.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)

If this is indeed your problem, download the libnss-sss package from Ubuntu's repository [13], extract the libnss_sss.so.2 from the downloaded package, and place it at ~/.local/share/Steam/steamapps/common/Stellaris. The game should now load properly.

Stephen's Sausage Roll

No sound

If using native libraries[broken link: invalid section] and libpulse is installed, Unity may try to use that library for sound and fail. To test if this is the problem, try removing libpulse or renaming the package files that are named libpulse-simple*. To see which libpulse files are relevant, run:

$ pacman -Qql libpulse | grep /usr/lib/libpulse-simple
/usr/lib/libpulse-simple.so
/usr/lib/libpulse-simple.so.0
/usr/lib/libpulse-simple.so.0.1.0

If renaming any of those files works for you, you can proceed with the following instructions (revert any renaming you just did). Browse to the game's directory:

$ cd "$HOME/.steam/root/steamapps/common/Stephen's Sausage Roll"

And create a sub-directory that we can use to hold 0-byte look-alike library files:

$ mkdir noload/

Use touch to create 0-byte versions of the above files that we want the dynamic linker to skip, e.g.:

$ touch noload/{libpulse-simple.so,libpulse-simple.so.0,libpulse-simple.so.0.1.0}
Note: Only a 0-byte libpulse-simple.so.0 file may be required.

After you have created these 0-byte files, you can now attempt to run the game binary directly, telling the dynamic linker to use our 0-byte files:

$ LD_LIBRARY_PATH="noload/:$LD_LIBRARY_PATH" ./Sausage.x86_64

If everything works up to this point, prepend noload/ to your LD_LIBRARY_PATH.

Again, this should work because Steam checks for a noload/ directory relative to the game's directory. The dynamic linker should respect the $LD_LIBRARY_PATH variable and fail to load the necessary libpulse files. The game should then fallback to plain ALSA.

Superbrothers: Sword & Sworcery EP

Dependencies:

The game bundles an outdated version of libstdc++ which prevents the game from starting. [14] The following can be observed when you run Steam and S&S from the terminal:

libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

To solve this problem remove GAME/lib/libstdc++.so.6*. After that the game will use the libstdc++ from Steam.

System Shock 2

You get these errors when running it with the native client:

C:\windows\system32\winedevice.exe: symbol lookup error: /usr/lib32/libX11.so.6: undefined symbol: xcb_wait_for_reply64
C:\windows\system32\wineboot.exe: symbol lookup error: /usr/lib32/libX11.so.6: undefined symbol: xcb_wait_for_reply64

Just delete or rename the libxcb library it got shipped with:

mv /mnt/olhdd/steam/steamapps/common/SS2/lib/libxcb.so.1{,.old}
mv /mnt/olhdd/steam/steamapps/common/SS2/lib/libxcb.so.1.1.0{,.old}

Game won't launch

If you encounter the game not launching do the following:

Cut & Paste libsteam_api.so from the "SS2/Bin" folder within the main steam common folder and transfer it to "SS2" main game folder not the sub folder "SS2/bin"

After Cut & Paste put LD_PRELOAD='/usr/$LIB/libxcb.so.1' %command% into the Launch options

Once all of these have been implemented the game should work after hitting play on steam.

Resolution fix

You may encounter some resolution problems with this game on steam not working properly in full screen mode. Do the following:

Open cam.cfg in the SS2 folder you may have to search for it via the search mode while in the game folder:

Place game_screen_size 1024 768 or game_screen_size 1920 1080 depending on your resolution & put game_full_screen 1 into bottom of the cam.cfg file.

Then go to cam_ext.cfg and next to the display setting place a simi-colon prefix next to the use_d3d_display option so it should be like this ;use_d3d_display it should then properly not go off-screen and should stay full screen within the active main screen.

Tabletop Simulator

CJK characters not showing in game

Install wqy-microhei and wqy-microhei-lite.

Team Fortress 2

Requires lib32-libpng12.

HRTF setup

Assuming HRTF (head-related transfer function) has been properly set up in the operating system, HRTF won't be enabled unless you disable the original processing. To do so, use

dsp_slow_cpu 1

For best results, also change the following:

snd_spatialize_roundrobin 1
dsp_enhance_stereo 0
snd_pitchquality 1

Loading screen freeze

If you are a non-English (speaking) user, you have to enable "en_US.UTF-8" in the locale.gen! Generate a new locale after that.

No audio

It happens if there is no PulseAudio in your system. If you want to use ALSA, you need to launch Steam or the game directly with SDL_AUDIODRIVER=alsa (From SteamCommunity).

If it still does not work, you may also need to set the environment variable AUDIODEV. For instance AUDIODEV=Live. Use aplay -l to list the available sound cards.

Slow loading textures

If you are using Chris' FPS Configs or any other FPS config, you may have set mat_picmip to 2. This spawns multiple threads for texture loading, which may cause more jittering and lag on Linux, especially on alternative kernels. Try setting it to -1, the default.

"Invalid color format" Error at loading screen on integrated Intel Atom/BayTrail HD Graphics

Add the following to the game startup options: -force_vendor_id 0x10DE -force_device_id 0x1180

These options deceive the game engine that we're having a Nvidia GPU, not Intel/AMD.

Terraria

See the KNOWN ISSUES & WORKAROUNDS​ section of the release announcement.

Input Issues

The symptoms of this problem are: When moving after standing still, your character seems to vary their speed, if wearing running boots they don't activate. When jumping with an item for double jumping sometimes you double jump even if you just jumped once. Going up/down ropes seems slow/choppy.

The solution is to preload the system SDL2 libraries: LD_PRELOAD='/usr/$LIB/libSDL2-2.0.so:/usr/lib32/libSDL2-2.0.so' For more information: Terraria Forums

This War of Mine

Game does not start

This happens because of an incompatibility with the newer version of lib32-curl. To fix the problem , set your launch options to:

 LD_PRELOAD=./libcurl.so.4 %command%

Sound glitches with Steam native

The bundled libOpenAL might not work correctly, try symlinking /usr/lib32/libopenal.so to GAME/libOpenAL.so.

Ticket to Ride

Dependencies:

As lib32-gstreamer0.10-base is quite hard to build you can use alucryd-multilib repo for this package

The Tiny Bang Story

Missing libGLEW.so.1.6

# ln -s /usr/lib32/libGLEW.so.1.10.0 /usr/lib32/libGLEW.so.1.6

Tomb Raider

Game immediately closes when running with steam-native

Tomb Raider has a very heavy amount of dependency on the Steam runtime, the easiest solution is to just run it using the runtime.

Steam Controller not working in-game

If your Steam Controller is correctly recognized and paired but still not working in-game try the following:

  • In Steam, non Big Screen, go to Settings > Account > Beta participation > Change... and in the dropdown select box select Steam Beta Update
  • Restart Steam
  • Go to Big Screen and start Tomb Raider

Correctly recognized means you can control the desktop mouse and Steam in Big Picture mode and the controller is shown in the Big Picture settings.


Torchlight 2

Libfreetype/libfontconfig Incompatibility

If you are experiencing issues with launching games such as Torchlight 2 or Civilization IV, it could be due to using a newer libfontconfig than the game currently supports.

Right click the game in Steam, and set the following as it's launch option:

LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%

then attempt launching the game.

Alternately, re-naming or deleting these 2 files will force it to use your system's libraries:

Torchlight 2/game/lib/libfreetype.so.6
Torchlight 2/game/lib64/libfreetype.so.6

Locale incompatibility

Some users report that Torchlight 2 does not work if you do not have en_US.UTF8 in your locale.

Double check you have generated the locale needed in Steam Installation Requirements.

Tower Unite

Graphical Glitches

This is a known issue, and it occurs because the shaders had not been ported to Linux yet by the developers. To minimize glitches and make the game playable add -opengl4 to your launch options, set Ocean Quality to "Potato" and Effects Quality to "Low" in the game settings.

Towns / Towns Demo

Requires Java.

Transistor

Crash on launch / FMOD binding crash / audio issues

Run the game with:

LD_PRELOAD='/usr/lib/libstdc++.so.6:/usr/lib/libgcc_s.so.1:/usr/lib/libxcb.so.1:/usr/lib/libasound.so.2'

Otherwise, run the game via shell and set up proper audio device for FMOD, as discussed in [15].

Also, check out this thread [16].

Transmissions: Element 120

Dependencies:

Troubleshooting

Make sure you have all libraries installed. Above the standard set required by Steam runtime, the game requires few additional ones. The typical error message that indicates that is

AppFramework : Unable to load module vguimatsurface.so!

To find missing dependencies go into the game directory and run:

LD_LIBRARY_PATH=bin ldd bin/vguimatsurface.so

Look for entries that say not found.

Transport Fever 2

Game won't launch

Rename or delete the following files in game directory (~/.steam/steam/steamapps/common/Transport Fever 2) as discussed in [17]

  • libstdc++.so.6
  • libstdc++.so.6.0.25

Trine 2

Dependencies:

Fullscreen

Game crashes if started in fullscreen mode, but starts in windowed mode. After start the window can be set to fullscreen (borderless window) if your window manager supports this. steam forum

Colors

If colors are wrong with FOSS drivers (r600g at least), try to run the game in windowed mode, rendering will be corrected. (bug report)

Sound

Tango-inaccurate.pngThe factual accuracy of this article or section is disputed.Tango-inaccurate.png

Reason: General settings not specific to this game (Discuss in Talk:Steam/Game-specific troubleshooting#)

If sound plays choppy, try:

/etc/openal/alsoft.conf
drivers=pulse,alsa
frequency=48000

Resolution

If the game resolution is wrong when using a dual monitor setup and you can't see the whole window edit ~/.frozenbyte/Trine2/options.txt and change the options ForceFullscreenWidth and ForceFullscreenHeight to the resolution of your monitor on which you want to play the game.

Crash on start in libX11.so.6.3.0

gdb may report a crash in XGetICValues(), probably due to a bug in SDL1.3; fortunately SDL2.0 is compatible with trine 2, so just force it and see if it works by modifying the steam launch options (or by script/commandline if using the drm free version).

LD_PRELOAD="/usr/lib32/libSDL2.so"  %command%

Tropico 5

Blank screen with sound only on startup

Run the game with MESA_GL_VERSION_OVERRIDE=4.0 MESA_GLSL_VERSION_OVERRIDE=400.

Unity of Command

Requires lib32-pango.

Squares

If squares are shown instead of text, try removing GAME/bin/libpangoft2-1.0.so.0.

No audio

If you get this error:

ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so

Try running:

# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/

Unity3D

Games based on the Unity3D engine, like War For The Overworld or Pixel Piracy may need the package lsb-release to understand that they run on Linux and work properly.

Locale settings

Games made in C# often have a problem with some locales (e.g. Russian, German) because developers don't specify locale-agnostic number formatting. This can result in some game screens loading only partially, problems with online features or other bugs.

To work around this, run the game with LC_ALL=C.

Affected games: FORCED, Gone Home, Ichi, Nimble Quest, Syder Arcade.

Unity 5 sound problems

The sound system in Unity 5 changed and to be able to play games created with it you must most likely install and run PulseAudio.

Another solution is to disable the Steam runtime: in the launch options for the game, write this: LD_LIBRARY_PATH="" %command%

Another solution is to prevent Unity from trying to use pulseaudio using pulsenomoreAUR package from the AUR. Once it is installed, use the following as launch options :/usr/bin/pulsenomore %command%

Affected games: Kerbal Space Program, SUPERHOT, ClusterTruck

Game launching on wrong monitor in fullscreen mode

Unity games that do not support monitor selection will most likely launch the game on a wrong monitor.

The problem is that Unity games write the default parameter <pref name="UnitySelectMonitor" type="int">-1</pref> to the game config file.

This will lead to the game launching on a non-primary monitor.

When changing to value into <pref name="UnitySelectMonitor" type="int">0</pref> for the according game, the game will start on the correct (primary) monitor.

A Unity game config file usually resides in ~/.config/unity3d/CompanyName/ProductName/prefs.

Affected games: Cities: Skylines, Tabletop Simulator, Assault Android Cactus, Wasteland 2, Tyranny, Beat Cop.

Be aware that some games do not support setting that parameter, it will simply be ignored. This is the case for Pillars of Eternity, Kentucky Route Zero, Sunless Sea.

Chinese/Japanese/Korean display bug

Install wqy-microhei and wqy-microhei-lite. Then

#fc-cache -fv

Game does not respond

Add the following line to your launch options :

SDL_DYNAMIC_API=/usr/lib/libSDL2-2.0.so %command%

Unrest

Requires fluidsynth.

Volgarr the Viking

Delete the lib directory in the game directory to get rid of the libGL errors.

War Thunder

No audio

If there is no audio after launching the game, install pulseaudio-alsa.

Blank screen

If having a green or blank screen on startup, run the game with MESA_GL_VERSION_OVERRIDE=4.1COMPAT. [18] [19]

steam startup WarThunder need set startup options XMODIFIERS="" %command%

Warhammer 40,000: Dawn of War II

Dependencies:

The start script does not point to the right direction of libasound.so.2.

To fix it open GAME/DawnOfWar2.sh and replace the following lines:

HAS_LSB_RELEASE=$(command -v lsb_release)
if [ -n "${HAS_LSB_RELEASE}" ] && [ "$(lsb_release -c | cut -f2)" = "trusty" ]; then
	LD_PRELOAD_ADDITIONS="/usr/lib/x86_64-linux-gnu/libasound.so.2:${LD_PRELOAD_ADDITIONS}"
fi 

with:

LD_PRELOAD_ADDITIONS="/usr/lib64/libasound.so.2:${LD_PRELOAD_ADDITIONS}"

Wasteland 2

If Wasteland 2 immediately exits when you try to launch it there may not be enough system file descriptors available. To increase the descriptor limit edit /etc/security/limits.conf and add the line:

* hard nofile 524288

Then reboot for the new limit to take effect, Wasteland 2 should now launch and this setting might also fix other games.

We Were Here

Stuck on black screen or logo on launch

Add -screen-fullscreen 0 to launch options. [20]

Worms W.M.D

The game includes several workarounds in the Run.sh script, however these may not work and it is easy to get the game running without this script.

First, try running the game directly from its game directory using Worms W.M.Dx64. If you get a "No such file or directory" error about libcurl-gnutls, install libcurl-gnutls. If the game crashes after playing the intro movies, add the Steam Runtime dbus libraries to the game's library directory:

$ ln -s ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/*dbus* ~/.steam/steam/steamapps/common/WormsWMD/lib

Now the game should run using the default "Play Worms W.M.D" option. See also Steam community discussions [21] and [22].

On some systems there are terrain bugs where holes in terrain are not rendered properly and worms can fall through terrain unexpectedly. These bugs can make the game unplayable in many situations and there is no known fix for them.

Witcher 2: Assassin of Kings

Dependencies:

Game does not start

The game will not start with SDL set to use wayland. You can have only the game run in x11 by adding the following launch options in steam:

$ SDL_VIDEODRIVER=x11 %command%


If the game does not run, enable error messages:

$ LIBGL_DEBUG=verbose ./witcher2

Wizardry 6: Bane of the Cosmic Forge

Requires DOSBox.

To fix the crash at start, open GAME/dosbox_linux/launch_wizardry6.sh and:

  1. comment the line export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs
  2. change the beginning of the line starting with exec ./dosbox to exec dosbox

World of Goo

Changing resolution

To change the game resolution edit the Graphics display section in GAME/properties/config.txt. For example:

<!-- Graphics display -->
<param name="screen_width" value="1680" />
<param name="screen_height" value="1050" />
<param name="color_depth" value="0" />
<param name="fullscreen" value="true" />
<param name="ui_inset" value="10" />

X3: Terran Conflict

Game crashes on startup

The game may crash on startup because it's linked to libz version 1.2.9, while the latest version of this library in Arch Linux is higher. The following message in the terminals appears in this case:

./X3TC_config: lib/libz.so.1: version 'ZLIB_1.2.9' not found (required by /usr/lib32/libpng16.so.16

Running the game with LD_PRELOAD='/usr/lib32/libz.so.1.2.11' may help.

XCOM

Dependencies:

Hangs on startup

If you are running a hybrid graphics system, try:

__GL_THREADED_OPTIMIZATIONS=0 primusrun %command%

Graphical glitches on Intel HD

XCOM: Enemy Unknown may not recognize the SDL2 shared libraries shipped with the Steam runtime. Check if the binary finds all required files and install missing packages if necessary (sdl2 and sdl2_image).

ldd binaries/linux/game.x86_64