*Steam makes heavy usage of the Arial font. A decent Arial font to use is {{Pkg|ttf-liberation}} or [[#Text is corrupt or missing|the fonts provided by Steam]]. 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 [[#Text is corrupt or missing|the fonts provided by Steam]]. Asian languages require {{Pkg|wqy-zenhei}} to display properly.

−

−

*Most games require {{Pkg|libtxc_dxtn}} and {{Pkg|lib32-libtxc_dxtn}} when using mesa drivers, so it is recommended to install these packages.

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

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

Line 52:

Line 50:

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 [[fonts#Manual installation|install]] them (copying to {{ic|/usr/share/fonts/}} or {{ic|~/.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 [[fonts#Manual installation|install]] them (copying to {{ic|/usr/share/fonts/}} or {{ic|~/.fonts/}} works at least).

−

−

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

−

−

Install the following dependencies:

−

* {{Pkg|libtxc_dxtn}}

−

* {{Pkg|lib32-libtxc_dxtn}}

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

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

Revision as of 18:00, 4 February 2014

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.

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

Native Steam on Linux

Because the Steam client is a 32-bit application, you will need to enable the multilib repository if you have a 64-bit system. You will also need to install the 32-bit version of your graphics driver (the package in the Multilib Package column) to run 32-bit games. It may also make sense to install multilib-devel to provide some important multilib libraries.

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.

The close button only minimizes the window

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.

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 /usr/share/fonts/ or ~/.fonts/ works at least).

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

Uncomment en_US.UTF-8 UTF-8 in /etc/locale.gen and then run locale-gen as root.

The game crashes immediately after start

If your game crashes immediately after start, try to disable "Steam Community In-Game": Open the game properties and unset "Enable Steam Community In-Game" (under General).

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 and surround71 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:

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.

Using a pre-existing Steam installation

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:

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 .

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.