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

From ArchWiki
Jump to: navigation, search
(Team Fortress 2)
m (typo)
Line 1: Line 1:
F[[Category:Gaming]]
+
[[Category:Gaming]]
 
{{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. Libraries like {{pkg|glu}} and {{pkg|libtxc_dxtn}} are exceptions to this, as they are just part of the implementation of the open drivers.}}
 
{{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. Libraries like {{pkg|glu}} and {{pkg|libtxc_dxtn}} are exceptions to this, as they are just part of the implementation of the open drivers.}}
  

Revision as of 12:50, 5 November 2013

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 GitHub page before adding workarounds here, and then provide a link to the bug so it can be removed as the problems are fixed. Libraries like glu and libtxc_dxtn are exceptions to this, as they are just part of the implementation of the open drivers.

Contents

Amnesia: The Dark Descent

Dependencies

And Yet It Moves

Dependencies

Compatibility

Game refuses to launch and one of the following messages can be observed on console

 readlink: extra operand ‘Yet’
 Try 'readlink --help' for more information.

OR

 This script must be run as a user with write priviledges to game directory

To fix this, open ~/.steam/root/SteamApps/common/And Yet It Moves/AndYetItMovesSteam.sh in text editor and replace line

 ayim_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"

with

 ayim_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"

Anodyne

Dependencies

Compatibility

Follow the same steps as Defender's Quest

Counter-Strike: Source

Troubleshooting

Game crashes upon joining

If the game is constantly crashing when trying to join a game and in ~/.steam/root/SteamApps/your@account/Counter Strike Source/hl2.sh you have __GL_THREADED_OPTIMIZATIONS=1, try changing it to 0.

Crusader Kings II

Game is installed into $HOME/Steam/SteamApps/common/Crusader Kings II.

Game can be started directly, without need of running Steam on background, using command $HOME/Steam/SteamApps/common/Crusader Kings II/ck2.

Saves are stored in $HOME/Documents/Paradox Interactive/Crusader Kings II/save games/.

Mods

Linux version doesn't have a launcher in opposite of Windows one.

For using mods, you need to put them into game settings directory (~/Documents/Paradox Interactive/Crusader Kings II/mod/) and launch the game with special key -mod=<mod_path>. For example:

-mod=mod/CK2_rus_full_v1.092.mod -mod=mod/Extendedtitlesmod.mod

Troubleshooting

No audio

The default audio driver used by Crusader Kings 2 is for PulseAudio, so an override is necessary:

~/.pam_environment
SDL_AUDIODRIVER=alsa

Defender's Quest: Valley of the Forgotten

Dependencies

Troubleshooting

Game does not start

  • Package 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):
ln -s /opt/adobe-air-sdk/runtimes/air/linux/Adobe\ AIR /opt/Adobe\ AIR
  • 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):
mkdir -p ~/.appdata/Adobe/AIR
echo 2 > ~/.appdata/Adobe/AIR/eulaAccepted

Note that by issuing these commands you're accepting Adobe Air's EULA.

Don't Starve

Dependencies (x86_64)

Dota 2

Dependencies (x86_64)

Troubleshooting

Ingame 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

If you run the game from the terminal and, although no error is shown, the game won't start, try going to Steam → Settings → In-Game and disable "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

Dwarfs F2P

Dependencies

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.

If the game still crashes at startup, edit ~/.local/share/Steam/SteamApps/common/Dwarfs - F2P/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.

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.

FTL: Faster than Light

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.

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 ~/.steam/root/SteamApps/common/FTL Faster than Light/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 ~/.steam/root/SteamApps/common/FTL\ Faster\ Than\ Light/data/amd64/lib This is if you are using a 64bit system, I suppose that in case you are using a 32bit system you have to remove (rename) the same library located into ~/.steam/root/SteamApps/common/FTL\ Faster\ Than\ Light/data/x86/lib.

Game Dev Tycoon

Troubleshooting

Game does not start

Error about missing libudev.so.0 might appear, solution:

 ln -s /lib/libudev.so /lib/libudev.so.0

Harvest: Massive Encounter

Dependencies

Compatibility

Game refuses to launch and throws you to library installer loop. Just edit ~/.steam/root/SteamApps/common/Harvest Massive Encounter/run_harvest and remove everything but

 #!/bin/bash
 exec ./Harvest

Kerbal Space Program

Troubleshooting

Game never progresses past initial loading

To fix this, set:

LC_ALL=C

No text display

The game requires Arial and Arial Black fonts, provided in the ttf-ms-fontsAUR AUR package.

Graphics flickering when using primusrun

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

In the properties for Kerbal Space program, set a launch option of:

LC_ALL=C %command%_64

Screen resolution

KSP runs fine for me in all resolutions, but fullscreen is NOT working on a up to date KDE(14.04.2013).

I had to delete settings.cfg in .steam/steam/SteamApps/common/Kerbal Space Programm after checking the Fullscreenbox. https://bugs.kerbalspaceprogram.com/issues/533

Locale Settings

See https://bugs.kerbalspaceprogram.com/issues/504 if you have troubles with building Ships.

Killing Floor

Troubleshooting

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 ~/.killingfloor/System/KillingFloor.ini with your prefered editor.

# nano ~/.killingfloor/System/KillingFloor.ini
...

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

...

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

...
Note: Replace all the ???? 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 ViewportX=1366 and ViewportY=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.

Windowed Mode

Uncheck fullscreen in the options menu, and use 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.

Multiwinia

Dependencies

Game will not launch without lib32-openal.

Penumbra: Overture

Dependencies

(Taken from penumbra-collectionAUR and penumbra-overture-ep1-demoAUR)

Troubleshooting

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.

Revenge of the Titans

Dependencies

Serious Sam 3: BFE

Troubleshooting

No audio

Try running:

# pacman -S lib32-alsa-plugins
# 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:

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

Spacechem

Dependencies

Troubleshooting

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 libSDL-1.2.so.0, libSDL_image-1.2.so.0, libSDL_mixer-1.2.so.0 from ~/.steam/root/SteamApps/common/SpaceChem

Space Pirates and Zombies

Dependencies

Troubleshooting

No audio

Apply the fix documented in Serious Sam 3: BFE above.

Splice

Splice comes with both x86 and x64 binaries. Steam does not have to be running to launch this game.

Dependencies

Steel Storm: Burning Retribution

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".

Now you can change the resolution in game.

No English fonts

If you use intel video card, just disable S3TC in DriConf.

Superbrothers: Sword & Sworcery EP

Dependencies

Team Fortress 2

Dependencies

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:

   snd_spatialize_roundrobin 1
   dsp_enhance_stereo 0
   snd_pitchquality 1

Troubleshooting

Black Textures

For Mesa users, all of the textures in-game will be black if your system can't handle texture compression (specifically, GL_EXT_texture_compression_s3tc). You can fix this by installing the txc_dxtn library.

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're 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.

The Book of Unwritten Tales

If the game does not start, go to Properties --> Uncheck "Enable Steam Community In-Game".

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 steam forums) is to replace the game's RenderSystem_GL.so with one from debian's repositories. To do that download this deb file, extract it (with dpkg -x libogre-*.deb outdir) and replace the following file:

~/.local/share/Steam/SteamApps/common/The Book of Unwritten Tales/lib/32/RenderSystem_GL.so

with the one that comes with the .deb package.

Dependencies

The Book of Unwritten Tales: The Critter Chronicles

Because it's based on the same engine, the things that apply to The Book of Unwritten Tales also apply for this game.

The Clockwork Man

Dependencies

The Polynomial

Dependencies

Steam for Linux issue #2721

Troubleshooting

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 ~/.local/share/Steam/SteamApps/common/ThePolynomial/Polynomial64, and comment out the LD_LIBRARY_PATH variable. Make sure to put the ./bin/Polynomial64 "$@" command on a new line.

Trine 2

Dependencies

Troubleshooting

  • If colors are wrong with FOSS drivers (r600g at least), try to run the game in windowed mode, rendering will be corrected. (bugreport)
  • If sound plays choppy, try to edit /etc/openal/alsoft.conf with values
drivers=pulse,alsa
frequency=48000
  • 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.

Unity of Command

Dependencies

Troubleshooting

  • If squares are shown instead of text, try removing $HOME/Steam/SteamApps/common/Unity of Command/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:

# pacman -S lib32-alsa-plugins
# 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/

World of Goo

Changing Resolution

  • To change the game resolution edit the section "Graphics display" in the configuration file $HOME/Steam/SteamApps/common/World of Goo/properties/config.txt. For example, see below:
 <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

Troubleshooting

No audio

Try installing lib32-alsa-plugins.

Towns / Towns Demo

Crash On Launch

Ensure you have Java installed.