Difference between revisions of "Steam"

From ArchWiki
Jump to: navigation, search
m (Dependencies)
m (Using native runtime =: fixed heading level)
(35 intermediate revisions by 21 users not shown)
Line 8: Line 8:
 
{{Article summary heading|Related}}
 
{{Article summary heading|Related}}
 
{{Article summary wiki|Wine}}
 
{{Article summary wiki|Wine}}
 +
{{Article summary wiki|Steam/Game-specific troubleshooting}}
 
{{Article summary end}}
 
{{Article summary end}}
  
See the [[Wikipedia:Steam (software)|Steam Wikipedia page]] and the page in the [http://appdb.winehq.org/objectManager.php?sClass=version&iId=19444 Wine Application Database] for more info.
+
From [[Wikipedia:Steam (software)|Wikipedia]]:
 +
: ''Steam is a digital distribution, digital rights management, multiplayer and communications platform developed by Valve Corporation. It is used to distribute games and related media online, from small independent developers to larger software houses.''
  
 
== Native Steam on Linux ==
 
== Native Steam on Linux ==
  
{{Note|Arch Linux is not [https://support.steampowered.com/kb_article.php?ref=1504-QHXN-8366 officially supported].}}
+
{{Note|
 +
* Arch Linux is '''not''' [https://support.steampowered.com/kb_article.php?ref=1504-QHXN-8366 officially supported].
 +
* Because the Steam client is a 32-bit application, you will need to enable the [[multilib]] repository if you have a 64-bit system. It may also make sense to install {{Grp|multilib-devel}} to provide some important multilib libraries. You also most likely need to install the 32-bit version of your graphics driver to run Steam.
 +
}}
  
{{Note|If you have a pure 64-bit installation, you will need to enable the [[multilib]] repository in pacman. This is because the Steam client is a 32-bit application. It may also make sense to install multilib-devel to provide some important multilib libraries. You also most likely need to install the 32-bit version of your graphics driver to run Steam.}}
+
Steam can be installed with the package {{Pkg|steam}}, available in the [[official repositories]]. If you have a 64-bit system, enable the [[multilib]] repository first.
  
Install {{Pkg|steam}} from the [[multilib]] repository.
+
Steam is not supported on this distribution. As such some fixes are needed on the users part to get things functioning properly:
  
Steam makes heavy usage of the Arial font. A decent Arial font to use is {{Pkg|ttf-liberation}} or the official Microsoft Arial fonts: {{aur|ttf-microsoft-arial}} or {{aur|ttf-ms-fonts}} packages from the [[AUR]]. Asian languages require {{Pkg|wqy-zenhei}} to display properly.
+
*Steam makes heavy usage of the Arial font. A decent Arial font to use is {{Pkg|ttf-liberation}} or one of the official Microsoft fonts packages containing Arial: {{AUR|ttf-microsoft-arial}}, {{AUR|ttf-ms-win8}},{{AUR|ttf-office-2007-fonts}}, {{AUR|ttf-win7-fonts}} or {{AUR|ttf-ms-fonts}}. See [[MS Fonts]] for more details. Asian languages require {{Pkg|wqy-zenhei}} to display properly.
  
Steam is '''not supported''' on this distribution. As such some fixes are needed on the users part to get things functioning properly. Several games have dependencies which may be missing from your system.  If a game fails to launch (often without error messages) then make sure all of the libraries listed below that game are installed. Please install {{Pkg|libtxc_dxtn}} and {{Pkg|lib32-libtxc_dxtn}} as almost all games require it.
+
*Most games require {{Pkg|libtxc_dxtn}} and {{Pkg|lib32-libtxc_dxtn}} when using mesa drivers, so it is recommended to install these packages.
  
===General troubleshooting===
+
*Several games have dependencies which may be missing from your system. If a game fails to launch (often without error messages) then make sure all of the libraries listed in [[Steam/Game-specific troubleshooting]] are installed.  
{{Note|In addition to being documented here, any bug/fix/error should be, if not already, reported on Valve's bug tracker on their [https://github.com/ValveSoftware/steam-for-linux GitHub page].}}
+
  
{{Note|Connection problems may occur when using DD-WRT with peer-to-peer traffic filtering.}}
+
=== Troubleshooting ===
 +
 
 +
{{Note|
 +
* In addition to being documented here, any bug/fix/error should be, if not already, reported on Valve's bug tracker on their [https://github.com/ValveSoftware/steam-for-linux GitHub page].
 +
* Connection problems may occur when using DD-WRT with peer-to-peer traffic filtering.
 +
}}
 +
 
 +
==== GUI problems with KDE ====
  
====GUI problems with KDE====
 
 
: Valve GitHub [https://github.com/ValveSoftware/steam-for-linux/issues/594 issue 594]
 
: Valve GitHub [https://github.com/ValveSoftware/steam-for-linux/issues/594 issue 594]
  
If you are using KDE and you have problems with the GUI (such as lag or random crashes) modify the compositing type to OpenGL/Raster. In KDE system settings, go to "Desktop Effects" in the "Workspace Appearance and Behaviour" section. Open the "Advanced" tab. Change "Compositing type" from XRender to OpenGL.
+
If you are using KDE and you have problems with the GUI (such as lag or random crashes), in KDE system settings, go to ''Workspace Appearance and Behaviour > Desktop Effects > Advanced''. Change "Compositing type" from "XRender" to "OpenGL".
 +
 
 +
==== The close button only minimizes the window ====
  
====The close button only minimizes the window====
 
 
: Valve GitHub [https://github.com/ValveSoftware/steam-for-linux/issues/1025 issue 1025]
 
: Valve GitHub [https://github.com/ValveSoftware/steam-for-linux/issues/1025 issue 1025]
  
If you have your tray icon working you have the option of making the close button close to tray instead of minimize. To do this, set the environment variable {{ic|STEAM_FRAME_FORCE_CLOSE}} to {{ic|1}}. You can do this by launching Steam using the following command.
+
To close the Steam window (and remove it from the taskbar) when you press '''x''', but keep Steam running in the tray, set the environment variable {{ic|STEAM_FRAME_FORCE_CLOSE}} to {{ic|1}}. You can do this by launching Steam using the following command.
 
  $ STEAM_FRAME_FORCE_CLOSE=1 steam
 
  $ STEAM_FRAME_FORCE_CLOSE=1 steam
  
====Flash not working on 64-bit systems====
+
==== Flash not working on 64-bit systems ====
 +
 
 
: Steam Support [https://support.steampowered.com/kb_article.php?ref=1493-GHZB-7612 article]
 
: Steam Support [https://support.steampowered.com/kb_article.php?ref=1493-GHZB-7612 article]
  
First ensure {{pkg|lib32-flashplugin}} is installed. It should be working at this point, if not create a local Steam flash plugin folder
+
First ensure {{Pkg|lib32-flashplugin}} is installed. It should be working at this point, if not create a local Steam Flash plugin folder:
  mkdir ~/.steam/bin32/plugins/
+
  $ mkdir ~/.steam/bin32/plugins/
 
and set a symbolic link to the global lib32 flash plugin file in your upper new folder
 
and set a symbolic link to the global lib32 flash plugin file in your upper new folder
  ln -s /usr/lib32/mozilla/plugins/libflashplayer.so ~/.steam/bin32/plugins/
+
  $ ln -s /usr/lib32/mozilla/plugins/libflashplayer.so ~/.steam/bin32/plugins/
  
====Text is corrupt or missing====
+
==== Text is corrupt or missing ====
The Steam Support [https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947 instructions] for Windows seem to work on Linux also: Simply download [https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip SteamFonts.zip] and install them (copying to ~/.fonts/ works at least).
+
 
 +
The Steam Support [https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947 instructions] for Windows seem to work on Linux also: Simply download [https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip SteamFonts.zip] and install them (copying to {{ic|~/.fonts/}} works at least).
 +
 
 +
==== Error on some games: black textures/S3TC support is missing ====
  
====Error on some games: S3TC support is missing====
 
 
Install the following dependencies:
 
Install the following dependencies:
* {{pkg|libtxc_dxtn}}
+
* {{Pkg|libtxc_dxtn}}
* {{pkg|lib32-libtxc_dxtn}}
+
* {{Pkg|lib32-libtxc_dxtn}}
  
 
====Black screen on (Valve?) games (but audio works)====
 
====Black screen on (Valve?) games (but audio works)====
 +
 
Check the Steam stdout/stderr for Error lines, some quick dependencies for reference:
 
Check the Steam stdout/stderr for Error lines, some quick dependencies for reference:
* {{pkg|lib32-intel-dri}} (not confirmed as absolutely necessary)
+
* {{Pkg|lib32-intel-dri}} (not confirmed as absolutely necessary)
  
run steam from console via primusrun steam
+
Run Steam from console via primusrun steam
  
====SetLocale('en_US.UTF-8') fails at game startup====
+
If using KDE, disable all desktop effects ({{ic|Alt+Shift+F12}}) before starting Steam.
Edit /etc/locale.gen in your favourite editor and uncomment the line {{ic|en_US.UTF-8 UTF-8}}. Then run {{ic|locale-gen}} as root.
+
  
=== Game-specific depencencies and troubleshooting ===
+
==== SetLocale('en_US.UTF-8') fails at game startup ====
{{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 GIT 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.}}
+
  
====Amnesia: The Dark Descent====
+
Edit {{ic|/etc/locale.gen}} in your favourite editor and uncomment the line {{ic|en_US.UTF-8 UTF-8}}. Then run {{ic|# locale-gen}}.
=====Dependencies=====
+
* {{pkg|lib32-freealut}}
+
* {{pkg|lib32-glu}}
+
* {{pkg|lib32-libxmu}}
+
* {{pkg|lib32-sdl_ttf}}
+
  
=====Troubleshooting=====
+
==== Steam complains about direct rendering not available on 64bit systems with NVIDIA driver ====
======Segfault======
+
If you are using open source drivers you will need {{pkg|lib32-libtxc_dxtn}} . See [http://www.frictionalgames.com/forum/thread-10924.html official forum] for details
+
  
====And Yet It Moves====
+
Make sure you have [multilib] enabled in {{ic|/etc/pacman.conf}}.
=====Dependencies=====
+
* {{aur|lib32-libtheora}}
+
* {{aur|lib32-libjpeg6}}
+
* {{aur|lib32-libtiff4}}
+
* {{pkg|lib32-libpng12}}
+
  
=====Compatibility=====
+
Install the following dependencies:
Game refuses to launch and one of the following messages can be observed on console
+
* {{Pkg|lib32-nvidia-utils}}
  readlink: extra operand ‘Yet’
+
* {{Pkg|lib32-nvidia-libgl}}
  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 {{ic|~/.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]}")")"
+
  
====Bastion====
+
Steam, being a 32-bit application, requires 32-bit nvidia GL libraries to run. This packages will install the proper 32-bit libGl libraries and symlinks in {{ic|/usr/lib32}} and will replace any existing mesa equivalent symlinks.
=====Dependencies=====
+
* {{pkg|lib32-libtxc_dxtn}}
+
  
====Counter-Strike: Source====
+
=== Launching games with custom commands, such as Bumblebee/Primus ===
=====Troubleshooting=====
+
======Game crashes upon joining======
+
If the game is constantly crashing when trying to join a game and in {{ic|~/.steam/root/SteamApps/your@account/Counter Strike Source/hl2.sh}} you have {{ic|1=__GL_THREADED_OPTIMIZATIONS=1}}, try changing it to {{ic|0}}.
+
  
====Crusader Kings II====
+
Steam has fortunately added support for launching games using your own custom command. To do so, navigate to the Library page, right click on the selected game, click Properties, and Set Launch Options. Steam replaces the tag {{ic|%command%}} with the command it actually wishes to run. For example, to launch Team Fortress 2 with primusrun and at resolution 1920x1080, you would enter:
Game is installed into {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II}}.
+
  
Game can be started directly, without need of running Steam on background, using command {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II/ck2}}.
+
primusrun %command% -w 1920 -h 1080
  
Saves are stored in {{ic|$HOME/Documents/Paradox Interactive/Crusader Kings II/save games/}}.
+
If you are running the [[Linux-ck]] kernel, you may have some success in reducing overall latencies and improving performance by launching the game in SCHED_ISO (low latency, avoid choking CPU) via {{Pkg|schedtool}}
  
=====Troubleshooting=====
+
# schedtool -I -e %command% ''other arguments''
======No audio======
+
  
The default audio driver used by Crusader Kings 2 is for [[PulseAudio]], so an override is necessary:
+
==== Killing standalone compositors when launching games ====
  
{{hc|~/.pam_environment|2=SDL_AUDIODRIVER=alsa}}
+
Further to this, utilising the {{ic|%command%}} switch, you can kill standalone compositors (such as Xcompmgr or [[Compton]]) - which can cause lag and tearing in some games on some systems - and relaunch them after the game ends by adding the following to your game's launch options.
  
====Defender's Quest: Valley of the Forgotten====
+
  killall compton && %command%; nohup compton &
=====Dependencies=====
+
* {{aur|adobe-air-sdk}}
+
* {{pkg|xterm}}
+
  
=====Troubleshooting=====
+
Replace {{ic|compton}} in the above command with whatever your compositor is. You can also add -options to {{ic|%command%}} or {{ic|compton}}, of course.
======Game does not start======
+
* Package {{pkg|adobe-air-sdk}} installs Adobe Air not in the place where the game expects it to be, fix this by creating a simlink (requires root permissions):
+
{{bc|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):
+
Steam will latch on to any processes launched after {{ic|%command%}} and your Steam status will show as in game. So in this example, we run the compositor through {{ic|nohup}} so it is not attached to Steam (it will keep running if you close Steam) and follow it with an ampersand so that the line of commands ends, clearing your Steam status.
{{bc|mkdir -p ~/.appdata/Adobe/AIR
+
echo 2 > ~/.appdata/Adobe/AIR/eulaAccepted}}
+
Note that by issuing these commands you're accepting Adobe Air's EULA.
+
  
====Dwarfs F2P====
+
=== Using native runtime ===
=====Dependencies=====
+
* {{pkg|lib32-libgdiplus}}
+
  
=====Troubleshooting=====
+
Steam, by default, ships with a copy of every library it uses, packaged within itself, so that games can launch without issue. This can be a resource hog, and the slightly out-of-date libraries they package may be missing important features (Notably, the OpenAL version they ship lacks HRTF support). To use your own system libraries, you can run Steam with:
======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.
+
======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====
+
  STEAM_RUNTIME=0 steam
=====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=====
+
However, if you're missing any libraries Steam makes use of, this will fail to launch properly. An easy way to find the missing libraries is to run the following commands:
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.
+
  cd ~/.local/share/Steam/ubuntu12_32
 +
  LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq
  
=====Problems with open-source video driver=====
+
Note that the libraries will have to be 32-bit, which means you may have to download some from the AUR if on x86_64, such as NetworkManager.
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, I suppose that 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}}.
+
  
====Harvest: Massive Encounter====
+
Once you've done this, run steam again with STEAM_RUNTIME=0 steam and verify it's not loading anything outside of the handful of steam support libraries:
=====Dependencies=====
+
* {{pkg|lib32-gtk2}}
+
* {{pkg|lib32-libvorbis}}
+
* {{pkg|lib32-openal}}
+
* {{aur|lib32-nvidia-cg-toolkit}}
+
* {{aur|lib32-libjpeg6}}
+
  
=====Compatibility=====
+
  cat /proc/`pidof steam`/maps|sed '/\.local/!d;s/.//g'|sort|uniq
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
+
  exec ./Harvest
+
  
====Killing Floor====
+
=== Skins for Steam ===
=====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 {{ic|~/.killingfloor/System/KillingFloor.ini}} with your prefered editor.
+
{{hc|# nano ~/.killingfloor/System/KillingFloor.ini|<nowiki>
+
...
+
 
+
[WinDrv.WindowsClient]
+
WindowedViewportX=????
+
WindowedViewportY=????
+
FullscreenViewportX=????
+
FullscreenViewportY=????
+
MenuViewportX=???
+
MenuViewportY=???
+
 
+
...
+
 
+
[SDLDrv.SDLClient]
+
WindowedViewportX=????
+
WindowedViewportY=????
+
FullscreenViewportX=????
+
FullscreenViewportY=????
+
MenuViewportX=????
+
MenuViewportY=????
+
 
+
...
+
</nowiki>}}
+
{{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&#61;1366''' and '''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.
+
 
+
======Windowed Mode======
+
Uncheck fullscreen in the options menu, and use {{Keypress|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=====
+
* {{pkg|lib32-openal}}
+
 
+
Game will not launch without {{pkg|lib32-openal}}.
+
 
+
====Penumbra: Overture====
+
=====Dependencies=====
+
(Taken from {{aur|penumbra-collection}} and {{aur|penumbra-overture-ep1-demo}})
+
* {{pkg|lib32-glu}}
+
* {{pkg|lib32-libxft}}
+
* {{pkg|lib32-libvorbis}}
+
* {{pkg|lib32-openal}}
+
* {{pkg|lib32-sdl_ttf}}
+
* {{pkg|lib32-sdl_image}}
+
 
+
=====Troubleshooting=====
+
======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.
+
Find {{ic|FullScreen&#61;"true"}} and change it to {{ic|FullScreen&#61;"false"}}, after this the game should start in windowed mode.
+
 
+
====Postal 2====
+
Postal 2 runs without any additional dependencies.
+
 
+
====Psychonauts====
+
=====Dependencies=====
+
* {{pkg|libtxc_dxtn}} and {{pkg|lib32-libtxc_dxtn}}
+
 
+
====Revenge of the Titans====
+
=====Dependencies=====
+
* {{pkg|libxtst}} and {{pkg|lib32-libxtst}}
+
 
+
====Serious Sam 3: BFE====
+
=====Dependencies=====
+
* {{pkg|lib32-libtxc_dxtn}} with mesa drivers
+
 
+
=====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 [http://steamcommunity.com/app/221410/discussions/3/846940248238406974/ 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|$ nano ~/.alsoftrc|<nowiki>
+
[general]
+
drivers = alsa
+
[alsa]
+
device = default
+
capture = default
+
mmap = true
+
</nowiki>}}
+
 
+
====Spacechem====
+
=====Dependencies=====
+
* {{pkg|lib32-sqlite}}
+
* {{pkg|lib32-sdl_image}}
+
* {{aur|lib32-sdl_mixer}}
+
 
+
=====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 {{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}}
+
 
+
====Space Pirates and Zombies====
+
=====Dependencies=====
+
* {{pkg|lib32-openal}}
+
=====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=====
+
* {{pkg|glu}}
+
* {{pkg|mono}}
+
 
+
====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=====
+
* {{pkg|lib32-glu}}
+
 
+
====Team Fortress 2 ====
+
=====Dependencies=====
+
* {{pkg|lib32-libtxc_dxtn}}
+
 
+
=====Troubleshooting=====
+
======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 {{ic|1=SDL_AUDIODRIVER=alsa}}
+
(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.
+
 
+
====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 [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 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=====
+
* {{aur|lib32-libxaw}}
+
* {{aur|lib32-jasper}}
+
 
+
====The Clockwork Man====
+
=====Dependencies=====
+
* {{pkg|lib32-libidn}}
+
 
+
====Trine 2====
+
=====Dependencies=====
+
* {{pkg|lib32-glu}}
+
* {{pkg|lib32-libxxf86vm}}
+
* {{pkg|lib32-libdrm}}
+
* {{pkg|lib32-openal}}
+
* {{pkg|lib32-mesa}}
+
* {{pkg|lib32-libtxc_dxtn}}
+
* {{pkg|xorg-xwininfo}}
+
 
+
=====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 to edit {{ic|/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 {{ic|~/.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=====
+
* {{pkg|lib32-pango}}
+
 
+
=====Troubleshooting=====
+
* If squares are shown instead of text, try removing {{ic|$HOME/Steam/SteamApps/common/Unity of Command/bin/libpangoft2-1.0.so.0}}.
+
 
+
====World of Goo====
+
=====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" />
+
 
+
===Skins for Steam===
+
  
 
The Steam interface can be fully customized by copying its various interface files in its skins directory and modifying them.
 
The Steam interface can be fully customized by copying its various interface files in its skins directory and modifying them.
  
====Steam Skin Manager====
+
==== Steam skin manager ====
  
The process of applying a skin to Steam can be greatly simplified using {{aur|steam-skin-manager}} from the AUR. The package also comes with a hacked version of the Steam launcher which allows the window manager to draw its borders on the Steam window.
+
The process of applying a skin to Steam can be greatly simplified using {{AUR|steam-skin-manager}} from the AUR. The package also comes with a hacked version of the Steam launcher which allows the window manager to draw its borders on the Steam window.
  
As a result, skins for Steam will come in two flavors, one with and one without window buttons. The skin manager will prompt you whether you use the hacked version or not, and will automatically apply the theme corresponding to your GTK theme if it is found. You can of course still apply another skin if you want.
+
As a result, skins for Steam will come in two flavors, one with and one without window buttons. The skin manager will prompt you whether you use the hacked version or not, and will automatically apply the theme corresponding to your GTK+ theme if it is found. You can of course still apply another skin if you want.
  
The package ships with two themes for the default Ubuntu themes, Ambiance and Radiance. A Faience theme is under development and already has its own package on the AUR {{aur|steam-skin-faience-git}}.
+
The package ships with two themes for the default Ubuntu themes, Ambiance and Radiance. A Faience theme is under development and already has its own package on the AUR {{AUR|steam-skin-faience-git}}.
  
 
== Steam on Wine ==
 
== Steam on Wine ==
  
Install {{Pkg|wine}} from the official repositories and follow the instructions provided in the [[Wine|article]].
+
Install {{Pkg|wine}} from the [[multilib]] and follow the instructions provided in the [[Wine|article]].
  
 
Install the required Microsoft fonts {{AUR|ttf-microsoft-tahoma}} and {{AUR|ttf-ms-fonts}} from the [[AUR]] or through {{AUR|winetricks-svn}}.
 
Install the required Microsoft fonts {{AUR|ttf-microsoft-tahoma}} and {{AUR|ttf-ms-fonts}} from the [[AUR]] or through {{AUR|winetricks-svn}}.
{{Note|If you have access to Windows discs, you may want to install {{AUR|ttf-win7-fonts}} instead.}}
+
{{Note|If you have access to Windows discs, you may want to install {{AUR|ttf-ms-win8}} or {{AUR|ttf-win7-fonts}} instead.}}
  
 
If you have an old Wine prefix ({{ic|~/.wine}}), you should remove it and let Wine create a new one to avoid problems (you can transfer over anything you want to keep to the new Wine prefix).
 
If you have an old Wine prefix ({{ic|~/.wine}}), you should remove it and let Wine create a new one to avoid problems (you can transfer over anything you want to keep to the new Wine prefix).
  
===Installation===
+
=== Installation ===
  
 
Download and run the Steam installer from [http://store.steampowered.com/about/ steampowered.com]. It is no longer an {{ic|.exe}} file so you have to start it with {{ic|msiexec}}:  
 
Download and run the Steam installer from [http://store.steampowered.com/about/ steampowered.com]. It is no longer an {{ic|.exe}} file so you have to start it with {{ic|msiexec}}:  
 
  $ msiexec /i SteamInstall.msi
 
  $ msiexec /i SteamInstall.msi
  
===Starting Steam===
+
=== Starting Steam ===
  
 
On x86:
 
On x86:
Line 400: Line 165:
  
 
Alternatively, you may use this method:
 
Alternatively, you may use this method:
 
 
  $ wine "C:\\Program Files\\Steam\\steam.exe"  
 
  $ wine "C:\\Program Files\\Steam\\steam.exe"  
  
Line 406: Line 170:
 
  alias steam='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
 
  alias steam='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
  
{{Note|If you are using an nvidia card through bumblebee, you should prefix those commands with {{ic|optirun}}.}}
+
{{Note|If you are using an nvidia card through Bumblebee, you should prefix those commands with {{ic|optirun}}.}}
  
===Tips===
+
=== Tips ===
  
====Performance====
+
==== Performance ====
  
 
Consider disabling wine debugging output by adding this to your shell rc file:
 
Consider disabling wine debugging output by adding this to your shell rc file:
Line 417: Line 181:
 
  alias steam='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
 
  alias steam='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
 
Additionally, Source games rely on a paged pool memory size specification for audio, and WINE by default does not have this set. To set it:
 
Additionally, Source games rely on a paged pool memory size specification for audio, and WINE by default does not have this set. To set it:
  wine reg add "HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\" /v PagedPoolSize /t REG_DWORD /d 402653184 /f
+
  $ wine reg add "HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\" /v PagedPoolSize /t REG_DWORD /d 402653184 /f
  
==== Application Launch Options ====
+
==== Application launch options ====
Go to "Properties" -> "Set Launch Options", e.g.:
+
 
{{bc|-console -dxlevel 90 -width 1280 -height 1024
+
Go to ''Properties > Set Launch Options'', e.g.:
}}
+
-console -dxlevel 90 -width 1280 -height 1024
 
* {{ic|console}}
 
* {{ic|console}}
Activate the console in the application to change detailed applications settings.
+
: Activate the console in the application to change detailed applications settings.
 
* {{ic|dxlevel}}
 
* {{ic|dxlevel}}
Set the application's DirectX level, e.g. 90 for DirectX Version 9.0. It is recommended to use the video card's DirectX version to prevent crashes. See the official Valve Software Wiki http://developer.valvesoftware.com/wiki/DirectX_Versions for details.
+
: Set the application's DirectX level, e.g. 90 for DirectX Version 9.0. It is recommended to use the video card's DirectX version to prevent crashes. See the official Valve Software wiki http://developer.valvesoftware.com/wiki/DirectX_Versions for details.
 
* {{ic|width}} and {{ic|height}}
 
* {{ic|width}} and {{ic|height}}
Set the screen resolution. In some cases the graphic settings are not saved in the application and the applications always starts in the default resolution.
+
: Set the screen resolution. In some cases the graphic settings are not saved in the application and the applications always starts in the default resolution.
 
Please refer to http://developer.valvesoftware.com/wiki/Launch_options for a complete list of launch options.
 
Please refer to http://developer.valvesoftware.com/wiki/Launch_options for a complete list of launch options.
  
==== Using a Pre-Existing Steam Install ====
+
==== Using a pre-existing Steam install ====
  
 
If you have a shared drive with Windows, or already have a Steam installation somewhere else, you can simply symlink the Steam directory to {{ic|~/.wine/drive_c/Program Files/Steam/}} . However, be sure to do '''all''' the previous steps in this wiki. Confirm Steam launches and logs into your account, ''then'' do this:
 
If you have a shared drive with Windows, or already have a Steam installation somewhere else, you can simply symlink the Steam directory to {{ic|~/.wine/drive_c/Program Files/Steam/}} . However, be sure to do '''all''' the previous steps in this wiki. Confirm Steam launches and logs into your account, ''then'' do this:
  
  cd ~/.wine/drive_c/Program\ Files/  
+
  $ cd ~/.wine/drive_c/Program\ Files/  
  mv Steam/ Steam.backup/  (or you can just delete the directory)
+
  $ mv Steam/ Steam.backup/  (or you can just delete the directory)
  ln -s /mnt/windows_partition/Program\ Files/Steam/
+
  $ ln -s /mnt/windows_partition/Program\ Files/Steam/
  
{{Note|If you have trouble starting Steam after symlinking the entire Steam folder, try linking only the {{ic|steamapps}} subdirectory in your existing wine steam folder instead.}}
+
{{Note|
 
+
* If you have trouble starting Steam after symlinking the entire Steam folder, try linking only the {{ic|steamapps}} subdirectory in your existing wine steam folder instead.
{{Note|If you still have trouble starting games, use {{ic|sudo mount --bind /path/to/SteamApps ~/.local/share/Steam/SteamApps -ouser&#61;your-user-name }}, this is the only thing that worked for me with {{ic|TF2}}}}
+
* If you still have trouble starting games, use {{ic|# mount --bind /path/to/SteamApps ~/.local/share/Steam/SteamApps -ouser&#61;your-user-name }}, this is the only thing that worked for me with {{ic|TF2}}.
 
+
====Running Steam in a second X Server====
+
 
+
Assuming you are using the script above to start Steam, make a new script, called {{ic|x.steam.sh}}. You should run this when you want to start Steam in a new X server, and {{ic|steam.sh}} if you want Steam to start in the current X server.
+
 
+
If due to misconfiguration a black screen is shown, you could always close down the second X server by pressing {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|Backspace}}.
+
 
+
{{bc|1=
+
#!/bin/bash
+
 
+
DISPLAY=:1.0
+
 
+
xinit $HOME/steam.sh $* -- :1
+
 
}}
 
}}
  
Now you can use {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|F7}} to get to your first X server with your normal desktop, and {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|F8}} to go back to your game.
+
==== Steam links in Firefox, Chrome, etc ====
 
+
Because the second X server is ''only'' running the game and the first X server with all your programs is backgrounded, performance should increase. In addition, it is much more convenient to switch X servers while in game to access other resources, rather than having to exit the game completely or {{Keypress|Alt}}-{{Keypress|Tab}} out. Finally, it is useful for when Steam or WINE goes haywire and leaves a bunch of processes in memory after Steam crashes. Simply {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|Backspace}} on the second X server to kill that X and all processes on that desktop will terminate as well.
+
 
+
'''If you get errors that look like "Xlib: connection to ":1.0" refused by server" when starting the second X''': You will need to adjust your X permissions.
+
 
+
'''If you lose the ability to use the keyboard while using Steam''': This is an odd bug that does not happen with other games. A solution is to use a WM in the second X as well. Thankfully, you do not need to run a large WM. Openbox and icewm have been confirmed to fix this bug (evilwm, pekwm, lwm ''do not'' work), but the icewm taskbar shows up on the bottom of the game, thus it's recommended to use [[Openbox]]. Install {{Pkg|openbox}} from the [[official repositories]], then add {{Ic|openbox &}} to the top of your {{ic|steam.sh}} file. Note you can run other programs (ex. Teamspeak &) or set X settings (ex. xset, xmodmap) before the WINE call as well.
+
  
====Steam Links in Firefox, Chrome, Etc====
+
To make {{ic|steam://}} urls in your browser connect with Steam in Wine, there are several things you can do. One involves making steam url-handler keys in gconf, another involves making protocol files for KDE, others involve tinkering with desktop files or the Local State file for chromium. These seem to only work in firefox or under certain desktop configurations. One way to do it that works more globally is using mimeo, a tool made by Xyne (an Arch TU) which follows. For another working and less invasive (but firefox-only) way, see the first post [http://ubuntuforums.org/showthread.php?t=433548 here] .
To make steam:// urls in your browser connect with steam in wine, there are several things you can do. One involves making steam url-handler keys in gconf, another involves making protocol files for kde, others involve tinkering with desktop files or the Local State file for chromium. These seem to only work in firefox or under certain desktop configurations. One way to do it that works more globally is using mimeo, a tool made by Xyne (an Arch TU) which follows. For another working and less invasive (but firefox-only) way, see the first post [http://ubuntuforums.org/showthread.php?t=433548 here] .
+
  
 
* Make {{ic| /usr/bin/steam}} with your favorite editor and paste:
 
* Make {{ic| /usr/bin/steam}} with your favorite editor and paste:
Line 478: Line 222:
 
}}
 
}}
  
* Make it executable.
+
* Make it executable:
  
 
  # chmod +x /usr/bin/steam
 
  # chmod +x /usr/bin/steam
  
* Install {{AUR|mimeo}} and {{AUR|xdg-utils-mimeo}} from AUR. You will need to replace the existing {{pkg|xdg-utils}} if installed. In XFCE, you will also need {{pkg|xorg-utils}}.
+
* Install {{AUR|mimeo}} and {{AUR|xdg-utils-mimeo}} from AUR. You will need to replace the existing {{Pkg|xdg-utils}} if installed. In XFCE, you will also need {{Pkg|xorg-utils}}.
  
 
* Create {{ic|~/.config/mimeo.conf}} with your favorite editor and paste:
 
* Create {{ic|~/.config/mimeo.conf}} with your favorite editor and paste:
Line 498: Line 242:
 
     #if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
 
     #if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
 
     #elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
 
     #elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
     #elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
+
     #elif $(dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1) ; then DE=gnome;
 
     #elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
 
     #elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
 
     #elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
 
     #elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
Line 507: Line 251:
 
</nowiki>}}
 
</nowiki>}}
  
* Restart the browser and you should be good to go. In chromium, you cannot enter a {{ic|steam://}} link in the url box like you can with firefox. The forum link above has a {{ic|steam://open/friends}} link to try if needed.
+
* Restart the browser and you should be good to go. In Chromium, you cannot enter a {{ic|steam://}} link in the url box like you can with Firefox. The forum link above has a {{ic|steam://open/friends}} link to try if needed.
  
{{Note|If you have any problems with file associations after doing this, simply revert to regular xdg-utils and undo your changes to {{ic|/usr/bin/xdg-open}}.}}
+
{{Note|
{{Note|Those on other distributions that stumble upon this page, see the link above for firefox specific instructions. No easy way to get it working on Chromium on other distros exists.}}
+
* If you have any problems with file associations after doing this, simply revert to regular xdg-utils and undo your changes to {{ic|/usr/bin/xdg-open}}.
 +
* Those on other distributions that stumble upon this page, see the link above for firefox specific instructions. No easy way to get it working on Chromium on other distros exists.
 +
}}
 +
 
 +
==== No text rendered problem ====
  
====No text rendered problem====
 
 
If there is no text/font rendered when starting steam you should try to start steam with the parameter {{ic|-no-dwrite}}. Read more in [https://bbs.archlinux.org/viewtopic.php?id=146223 the forum thread about it.]
 
If there is no text/font rendered when starting steam you should try to start steam with the parameter {{ic|-no-dwrite}}. Read more in [https://bbs.archlinux.org/viewtopic.php?id=146223 the forum thread about it.]
 
{{bc|wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite}}
 
{{bc|wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite}}
  
== See Also ==
+
== See also ==
 +
 
 
* https://wiki.gentoo.org/wiki/Steam
 
* https://wiki.gentoo.org/wiki/Steam
 +
* [http://appdb.winehq.org/objectManager.php?sClass=version&iId=19444 Wine Application Database]

Revision as of 10:28, 28 August 2013

Summary help replacing me
Steam is a content delivery system made by Valve Software. It is best known as the platform needed to play Source Engine games (e.g. Half-Life 2, Counter-Strike). Today it offers many games from many other developers.
Related
Wine
Steam/Game-specific troubleshooting

From Wikipedia:

Steam is a digital distribution, digital rights management, multiplayer and communications platform developed by Valve Corporation. It is used to distribute games and related media online, from small independent developers to larger software houses.

Native Steam on Linux

Note:
  • Arch Linux is not officially supported.
  • Because the Steam client is a 32-bit application, you will need to enable the multilib repository if you have a 64-bit system. It may also make sense to install multilib-devel to provide some important multilib libraries. You also most likely need to install the 32-bit version of your graphics driver to run Steam.

Steam can be installed with the package steam, available in the official repositories. If you have a 64-bit system, enable the multilib repository first.

Steam is not supported on this distribution. As such some fixes are needed on the users part to get things functioning properly:

  • Several games have dependencies which may be missing from your system. If a game fails to launch (often without error messages) then make sure all of the libraries listed in Steam/Game-specific troubleshooting are installed.

Troubleshooting

Note:
  • In addition to being documented here, any bug/fix/error should be, if not already, reported on Valve's bug tracker on their GitHub page.
  • Connection problems may occur when using DD-WRT with peer-to-peer traffic filtering.

GUI problems with KDE

Valve GitHub issue 594

If you are using KDE and you have problems with the GUI (such as lag or random crashes), in KDE system settings, go to Workspace Appearance and Behaviour > Desktop Effects > Advanced. Change "Compositing type" from "XRender" to "OpenGL".

The close button only minimizes the window

Valve GitHub issue 1025

To close the Steam window (and remove it from the taskbar) when you press x, but keep Steam running in the tray, set the environment variable STEAM_FRAME_FORCE_CLOSE to 1. You can do this by launching Steam using the following command.

$ STEAM_FRAME_FORCE_CLOSE=1 steam

Flash not working on 64-bit systems

Steam Support article

First ensure lib32-flashplugin is installed. It should be working at this point, if not create a local Steam Flash plugin folder:

$ mkdir ~/.steam/bin32/plugins/

and set a symbolic link to the global lib32 flash plugin file in your upper new folder

$ ln -s /usr/lib32/mozilla/plugins/libflashplayer.so ~/.steam/bin32/plugins/

Text is corrupt or missing

The Steam Support instructions for Windows seem to work on Linux also: Simply download SteamFonts.zip and install them (copying to ~/.fonts/ works at least).

Error on some games: black textures/S3TC support is missing

Install the following dependencies:

Black screen on (Valve?) games (but audio works)

Check the Steam stdout/stderr for Error lines, some quick dependencies for reference:

Run Steam from console via primusrun steam

If using KDE, disable all desktop effects (Alt+Shift+F12) before starting Steam.

SetLocale('en_US.UTF-8') fails at game startup

Edit /etc/locale.gen in your favourite editor and uncomment the line en_US.UTF-8 UTF-8. Then run # locale-gen.

Steam complains about direct rendering not available on 64bit systems with NVIDIA driver

Make sure you have [multilib] enabled in /etc/pacman.conf.

Install the following dependencies:

Steam, being a 32-bit application, requires 32-bit nvidia GL libraries to run. This packages will install the proper 32-bit libGl libraries and symlinks in /usr/lib32 and will replace any existing mesa equivalent symlinks.

Launching games with custom commands, such as Bumblebee/Primus

Steam has fortunately added support for launching games using your own custom command. To do so, navigate to the Library page, right click on the selected game, click Properties, and Set Launch Options. Steam replaces the tag %command% with the command it actually wishes to run. For example, to launch Team Fortress 2 with primusrun and at resolution 1920x1080, you would enter:

primusrun %command% -w 1920 -h 1080

If you are running the Linux-ck kernel, you may have some success in reducing overall latencies and improving performance by launching the game in SCHED_ISO (low latency, avoid choking CPU) via schedtool

# schedtool -I -e %command% other arguments

Killing standalone compositors when launching games

Further to this, utilising the %command% switch, you can kill standalone compositors (such as Xcompmgr or Compton) - which can cause lag and tearing in some games on some systems - and relaunch them after the game ends by adding the following to your game's launch options.

 killall compton && %command%; nohup compton &

Replace compton in the above command with whatever your compositor is. You can also add -options to %command% or compton, of course.

Steam will latch on to any processes launched after %command% and your Steam status will show as in game. So in this example, we run the compositor through nohup so it is not attached to Steam (it will keep running if you close Steam) and follow it with an ampersand so that the line of commands ends, clearing your Steam status.

Using native runtime

Steam, by default, ships with a copy of every library it uses, packaged within itself, so that games can launch without issue. This can be a resource hog, and the slightly out-of-date libraries they package may be missing important features (Notably, the OpenAL version they ship lacks HRTF support). To use your own system libraries, you can run Steam with:

 STEAM_RUNTIME=0 steam

However, if you're missing any libraries Steam makes use of, this will fail to launch properly. An easy way to find the missing libraries is to run the following commands:

 cd ~/.local/share/Steam/ubuntu12_32
 LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq

Note that the libraries will have to be 32-bit, which means you may have to download some from the AUR if on x86_64, such as NetworkManager.

Once you've done this, run steam again with STEAM_RUNTIME=0 steam and verify it's not loading anything outside of the handful of steam support libraries:

 cat /proc/`pidof steam`/maps|sed '/\.local/!d;s/.*  //g'|sort|uniq

Skins for Steam

The Steam interface can be fully customized by copying its various interface files in its skins directory and modifying them.

Steam skin manager

The process of applying a skin to Steam can be greatly simplified using steam-skin-managerAUR from the AUR. The package also comes with a hacked version of the Steam launcher which allows the window manager to draw its borders on the Steam window.

As a result, skins for Steam will come in two flavors, one with and one without window buttons. The skin manager will prompt you whether you use the hacked version or not, and will automatically apply the theme corresponding to your GTK+ theme if it is found. You can of course still apply another skin if you want.

The package ships with two themes for the default Ubuntu themes, Ambiance and Radiance. A Faience theme is under development and already has its own package on the AUR steam-skin-faience-gitAUR.

Steam on Wine

Install wine from the multilib and follow the instructions provided in the article.

Install the required Microsoft fonts ttf-microsoft-tahomaAUR and ttf-ms-fontsAUR from the AUR or through winetricks-svnAUR.

Note: If you have access to Windows discs, you may want to install ttf-ms-win8AUR or ttf-win7-fontsAUR instead.

If you have an old Wine prefix (~/.wine), you should remove it and let Wine create a new one to avoid problems (you can transfer over anything you want to keep to the new Wine prefix).

Installation

Download and run the Steam installer from steampowered.com. It is no longer an .exe file so you have to start it with msiexec:

$ msiexec /i SteamInstall.msi

Starting Steam

On x86:

$ wine ~/.wine/drive_c/Program\ Files/Steam/Steam.exe

On x86_64 (with steam installed to a clean wine prefix):

$ wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe

Alternatively, you may use this method:

$ wine "C:\\Program Files\\Steam\\steam.exe" 

You should consider making an alias to easily start steam (and put it in your shell's rc file), example:

alias steam='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
Note: If you are using an nvidia card through Bumblebee, you should prefix those commands with optirun.

Tips

Performance

Consider disabling wine debugging output by adding this to your shell rc file:

export WINEDEBUG=-all

or, just add it to your steam alias to only disable it for steam:

alias steam='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'

Additionally, Source games rely on a paged pool memory size specification for audio, and WINE by default does not have this set. To set it:

$ wine reg add "HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\" /v PagedPoolSize /t REG_DWORD /d 402653184 /f

Application launch options

Go to Properties > Set Launch Options, e.g.:

-console -dxlevel 90 -width 1280 -height 1024
  • console
Activate the console in the application to change detailed applications settings.
  • dxlevel
Set the application's DirectX level, e.g. 90 for DirectX Version 9.0. It is recommended to use the video card's DirectX version to prevent crashes. See the official Valve Software wiki http://developer.valvesoftware.com/wiki/DirectX_Versions for details.
  • width and height
Set the screen resolution. In some cases the graphic settings are not saved in the application and the applications always starts in the default resolution.

Please refer to http://developer.valvesoftware.com/wiki/Launch_options for a complete list of launch options.

Using a pre-existing Steam install

If you have a shared drive with Windows, or already have a Steam installation somewhere else, you can simply symlink the Steam directory to ~/.wine/drive_c/Program Files/Steam/ . However, be sure to do all the previous steps in this wiki. Confirm Steam launches and logs into your account, then do this:

$ cd ~/.wine/drive_c/Program\ Files/ 
$ mv Steam/ Steam.backup/   (or you can just delete the directory)
$ ln -s /mnt/windows_partition/Program\ Files/Steam/
Note:
  • If you have trouble starting Steam after symlinking the entire Steam folder, try linking only the steamapps subdirectory in your existing wine steam folder instead.
  • If you still have trouble starting games, use # mount --bind /path/to/SteamApps ~/.local/share/Steam/SteamApps -ouser=your-user-name , this is the only thing that worked for me with TF2.

Steam links in Firefox, Chrome, etc

To make steam:// urls in your browser connect with Steam in Wine, there are several things you can do. One involves making steam url-handler keys in gconf, another involves making protocol files for KDE, others involve tinkering with desktop files or the Local State file for chromium. These seem to only work in firefox or under certain desktop configurations. One way to do it that works more globally is using mimeo, a tool made by Xyne (an Arch TU) which follows. For another working and less invasive (but firefox-only) way, see the first post here .

  • Make /usr/bin/steam with your favorite editor and paste:
#!/bin/sh
#
# Steam wrapper script
#
exec wine "c:\\program files\\steam\\steam.exe" "$@"
  • Make it executable:
# chmod +x /usr/bin/steam
  • Create ~/.config/mimeo.conf with your favorite editor and paste:
/usr/bin/steam %u
  ^steam://
  • Lastly, open /usr/bin/xdg-open in your favorite editor. Go to the detectDE() section and change it to look as follows:
detectDE()
{
    #if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
    #elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
    #elif $(dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1) ; then DE=gnome;
    #elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
    #elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
    #else DE=""
    #fi
    DE=""
}
  • Restart the browser and you should be good to go. In Chromium, you cannot enter a steam:// link in the url box like you can with Firefox. The forum link above has a steam://open/friends link to try if needed.
Note:
  • If you have any problems with file associations after doing this, simply revert to regular xdg-utils and undo your changes to /usr/bin/xdg-open.
  • Those on other distributions that stumble upon this page, see the link above for firefox specific instructions. No easy way to get it working on Chromium on other distros exists.

No text rendered problem

If there is no text/font rendered when starting steam you should try to start steam with the parameter -no-dwrite. Read more in the forum thread about it.

wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite

See also