https://wiki.archlinux.org/api.php?action=feedcontributions&user=Philipflohr&feedformat=atomArchWiki - User contributions [en]2024-03-28T11:11:42ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Firefox&diff=571929Firefox2019-04-24T09:50:19Z<p>Philipflohr: Added Tip: Run firefox as native wayland application</p>
<hr />
<div>[[Category:Web browser]]<br />
[[Category:Mozilla]]<br />
[[ar:Firefox]]<br />
[[cs:Firefox]]<br />
[[de:Firefox]]<br />
[[es:Firefox]]<br />
[[fr:Firefox]]<br />
[[it:Firefox]]<br />
[[ja:Firefox]]<br />
[[ko:Firefox]]<br />
[[ru:Firefox]]<br />
[[zh-hans:Firefox]]<br />
{{Related articles start}}<br />
{{Related|Browser plugins}}<br />
{{Related|Firefox/Tweaks}}<br />
{{Related|Firefox/Profile on RAM}}<br />
{{Related|Firefox/Privacy}}<br />
{{Related|Chromium}}<br />
{{Related|Opera}}<br />
{{Related articles end}}<br />
[https://www.mozilla.org/firefox Firefox] is a popular open source graphical web browser from [https://www.mozilla.org Mozilla].<br />
<br />
== Installing ==<br />
<br />
Firefox can be [[install]]ed with the {{Pkg|firefox}} package.<br />
<br />
Other alternatives include:<br />
<br />
* {{App|Firefox Developer Edition|for developers|https://www.mozilla.org/firefox/developer/|{{Pkg|firefox-developer-edition}}}}<br />
* {{App|Firefox Extended Support Release|long-term supported version|https://www.mozilla.org/firefox/organizations/|{{AUR|firefox-esr}} or {{AUR|firefox-esr-bin}}}}<br />
* {{App|Firefox Beta|cutting-edge version|https://www.mozilla.org/firefox/channel/desktop/#beta|{{AUR|firefox-beta}} or {{AUR|firefox-beta-bin}}}}<br />
* {{App|Firefox Nightly|nightly builds for testing ([https://developer.mozilla.org/Firefox/Experimental_features experimental features])|https://www.mozilla.org/firefox/channel/desktop/#nightly|{{AUR|firefox-nightly}}}} <br />
* {{App|Firefox KDE|Version of Firefox that incorporates an OpenSUSE patch for better [[#KDE/GNOME integration|KDE integration]] than is possible through simple Firefox plugins.|https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox|{{AUR|firefox-kde-opensuse}}}}<br />
* On top of the different Mozilla build channels, a number of forks exist with more or less special features; see [[List of applications#Gecko-based]].<br />
<br />
A number of language packs are available for Firefox, other than the standard English. Language packs are usually named as {{ic|firefox-i18n-''languagecode''}} (where {{ic|''languagecode''}} can be any language code, such as '''de''', '''ja''', '''fr''', etc.). For a list of available language packs see [https://www.archlinux.org/packages/extra/any/firefox-i18n/ firefox-i18n] for {{Pkg|firefox}} and [https://www.archlinux.org/packages/community/any/firefox-developer-edition-i18n/ firefox-developer-edition-i18n] for {{Pkg|firefox-developer-edition}}.<br />
<br />
== Add-ons ==<br />
<br />
Firefox is well known for its large library of add-ons which can be used to add new features or modify the behavior of existing features. Firefox's "Add-ons Manager" is used to manage installed add-ons or find new ones. <br />
<br />
For instructions on how to install add-ons and a list of add-ons, see [[Browser extensions]].<br />
<br />
=== Adding search engines ===<br />
<br />
Search engines can be added to Firefox through normal add-ons, see [https://addons.mozilla.org/firefox/search-tools/ this page] for a list of available search engines.<br />
<br />
A very extensive list of search engines can be found at the [https://mycroftproject.com/ Mycroft Project].<br />
<br />
Also, you can use the [https://firefox.maltekraus.de/extensions/add-to-search-bar add-to-searchbar] extension to add a search to your search bar from any web site, by simply right clicking on the site's search field and selecting ''Add to Search Bar...''<br />
<br />
==== arch-firefox-search ====<br />
<br />
[[Install]] the {{AUR|arch-firefox-search}} package to add Arch-specific searches (AUR, wiki, forum, etc, as specified by user) to the Firefox search toolbar.<br />
<br />
== Plugins ==<br />
<br />
{{Note|Firefox [https://support.mozilla.org/en-US/kb/npapi-plugins has removed support] for [[w:NPAPI|NPAPI]] plugins, except for Flash.}}<br />
<br />
See the main article: [[Browser plugins]]<br />
<br />
To find out what plugins are installed/enabled, enter:<br />
<br />
about:plugins<br />
<br />
in the Firefox address bar or go to the ''Add-ons'' entry in the Firefox Menu and select the ''Plugins'' tab.<br />
<br />
== Configuration ==<br />
<br />
Firefox exposes a number of configuration options. To examine them, enter in the Firefox address bar:<br />
<br />
about:config<br />
<br />
Once set, these affect the user's current profile, and may be synchronized across all devices via [https://www.mozilla.org/firefox/sync/ Firefox Sync]. Please note that only a subset of the {{ic|about:config}} entries are synchronized by this method, and the exact subset may be found by searching for {{ic|services.sync.prefs}} in {{ic|about:config}}. Additional preferences and third party preferences may be synchronized by creating new boolean entries prepending the config value with {{ic|services.sync.prefs.sync}} ([https://developer.mozilla.org/en-US/docs/Archive/Mozilla/Firefox_Sync/Syncing_custom_preferences documentation] is still applicable.) To synchronize the whitelist for the extension [https://addons.mozilla.org/firefox/addon/noscript/ NoScript]:<br />
<br />
services.sync.prefs.sync.capability.policy.maonoscript.sites<br />
<br />
The boolean {{ic|noscript.sync.enabled}} must be set to {{ic|true}} to synchronize the remainder of NoScript's preferences via Firefox Sync.<br />
<br />
Firefox also allows configuration for a profile via a {{ic|user.js}} file: [http://kb.mozillazine.org/User.js_file user.js] kept in the profile folder, usually {{ic|~/.mozilla/firefox/''xxxxxxxx''.default/}}. For a useful starting point, see e.g [https://github.com/pyllyukko/user.js custom user.js] which is targeted at privacy/security conscious users.<br />
<br />
One drawback of the above approach is that it is not applied system-wide. Furthermore, this is not useful as a "pre-configuration", since the profile directory is created after first launch of the browser. You can, however, let ''firefox'' create a new profile and, after closing it again, [https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles#w_restoring-a-profile-backup copy the contents] of an already created profile folder into it. <br />
<br />
Sometimes it may be desired to lock certain settings, a feature useful in widespread deployments of customized Firefox. In order to create a system-wide configuration, follow the steps outlined in [http://kb.mozillazine.org/Locking_preferences Locking preferences]:<br />
<br />
1. Create {{ic|/usr/lib/firefox/defaults/pref/local-settings.js}}:<br />
<br />
pref("general.config.obscure_value", 0);<br />
pref("general.config.filename", "mozilla.cfg");<br />
<br />
2. Create {{ic|/usr/lib/firefox/mozilla.cfg}} (this stores the actual configuration):<br />
<br />
//<br />
//...your settings...<br />
// e.g to disable Pocket, uncomment the following line<br />
// lockPref("browser.pocket.enabled", false);<br />
<br />
Please note that the first line must contain exactly {{ic|//}}. The syntax of the file is similar to that of {{ic|user.js}}.<br />
<br />
=== Multimedia playback ===<br />
<br />
Firefox uses [[FFmpeg]] for playing multimedia inside HTML5 {{ic|<audio>}} and {{ic|<video>}} elements. Go to [https://www.youtube.com/html5 YouTube's HTML5 page], [https://www.quirksmode.org/html5/tests/video.html video-test page] or [https://hpr.dogphilosophy.net/test/ audio-test page] to check which formats are actually supported.<br />
<br />
HTML5 DRM playback is supported by the Google Widevine CDM, it is however not enabled by default. See ''Preferences > General > Digital Rights Management (DRM) Content'' if you want to learn more.<br />
<br />
See [[Firefox/Tweaks#Enable additional media codecs]] for advanced configuration and enabling support for Widevine (Netflix, Amazon Video, etc.).<br />
<br />
Firefox uses [[PulseAudio]] for audio playback and capture. For sound to work, you need to install the {{Pkg|pulseaudio}} package.<br />
<br />
In case, for whatever reason, [[PulseAudio]] is not an option for you, you can use [[Advanced Linux Sound Architecture#PulseAudio compatibility|apulse]] instead. To make this work, it is necessary to exclude {{ic|/dev/snd/}} from Firefox' sandboxing by adding it to the comma-separated list in {{ic|about:config}}:<br />
<br />
security.sandbox.content.write_path_whitelist<br />
<br />
{{Note|The trailing slash on {{ic|/dev/snd/}} is important, otherwise ''apulse'' will report "Permission denied" errors.}}<br />
<br />
If you have no audio even when using ''apulse'', try adding {{ic|16}} to {{ic|security.sandbox.content.syscall_whitelist}} in {{ic|about:config}}.<br />
<br />
==== Open With extension ====<br />
<br />
# Install [https://addons.mozilla.org/firefox/addon/open-with/ Open With] add-on.<br />
# Go to ''Add-ons > Open With > Preferences''.<br />
# Proceed with instructions to install a file in your system and test the installation. <br />
# Click ''Add browser''.<br />
# In the dialog write a name for this menu entry and command to start a video streaming capable player (e.g. [[mpv|/usr/bin/mpv]]).<br />
# (Optional step) Add needed arguments to the player (e.g. you may want {{ic|--force-window --ytdl}} for ''mpv'')<br />
# Right click on links or visit pages containing videos. Select newly created entry from Open With's menu and if the site is supported, the player will open as expected.<br />
<br />
The same procedure can be used to associate video downloaders such as ''youtube-dl''.<br />
<br />
=== Spell checking ===<br />
<br />
Install the {{Pkg|hunspell}} package. You also need to install dictionaries for your language, such as {{Pkg|hunspell-fr}} (for the French language) or {{Pkg|hunspell-he}} (for Hebrew).<br />
<br />
To enable spell checking for a specific language right click on any text field and check the ''Check Spelling'' box. To select a language for spell checking to you have right click again and select your language from the ''Languages'' sub-menu.<br />
<br />
To get more languages just click ''Add Dictionaries...'' and select the dictionary you want to install from the list. For Russian there is {{Pkg|firefox-spell-ru}}.<br />
<br />
When your default language choice does not stick, see [[#Firefox does not remember default spell check language]].<br />
<br />
=== KDE/GNOME integration ===<br />
<br />
* To bring the [[KDE]] look to GTK apps (including Firefox), install {{Pkg|breeze-gtk}} and {{Pkg|kde-gtk-config}}. Afterwards, go to ''System Settings > Application Style > GNOME/GTK Application Style''. Be sure to choose 'Breeze' in 'Select a GTK2/GTK3 Theme' and check 'Show icons in GTK buttons' and 'Show icons in GTK menus'.<br />
* To make the left mouse button warp the scrollbar instead of the middle one on KDE, go to ''System Settings > Application Style > GNOME/GTK Application Style'' and choose 'Jump to the mouse cursor position' in the 'On left-clicking the scroll bar' option.<br />
* To use the KDE file selection and print dialogs in Firefox 64 or newer:<br />
*# Install {{Pkg|xdg-desktop-portal}} and {{Pkg|xdg-desktop-portal-kde}},<br />
*# Copy the Firefox [[desktop entry]] {{ic|/usr/share/applications/firefox.desktop}} to {{ic|~/.local/share/applications/firefox.desktop}},<br />
*# Edit {{ic|~/.local/share/applications/firefox.desktop}} and add {{ic|1=GTK_USE_PORTAL=1}} to all {{ic|Exec}} lines before the actual command. E.g.: {{ic|1=Exec=GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u}}.<br />
* For integration with [[KDE]] mime type system and file dialog, one can use {{AUR|firefox-kde-opensuse}} variant from AUR with OpenSUSE’s patches applied.<br />
* Extensions/add-ons may provide additional integration, such as:<br />
** Browser integration in [[Plasma]]: requires {{Pkg|plasma-browser-integration}} and the [https://addons.mozilla.org/firefox/addon/plasma-integration/ Plasma Integration add-on].<br />
** {{AUR|mozilla-extension-gnome-keyring-git}} (all-JavaScript implementation) to integrate Firefox with [[GNOME Keyring]]. To make firefox-gnome-keyring use your login keychain, set {{ic|extensions.gnome-keyring.keyringName}} to {{ic|login}} in {{ic|about:config}}. Note the lowercase 'l' despite the the keychain name having an uppercase 'L' in Seahorse.<br />
<br />
=== Smooth Scrolling ===<br />
<br />
{{Merge|Firefox/Tweaks#Mouse and keyboard|Keep similar things in one place.}}<br />
<br />
In order to get smooth physics-based scrolling in Firefox, the {{ic|general.smoothScroll.msdPhysics}} configurations can be changed to emulate a snappier behaviour like in other web browsers. For a quicker configuration, append the following to {{ic|~/.mozilla/firefox/'''your-profile'''/user.js}} (requires restart):<br />
<br />
user_pref("general.smoothScroll.lines.durationMaxMS", 125);<br />
user_pref("general.smoothScroll.lines.durationMinMS", 125);<br />
user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 200);<br />
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 100);<br />
user_pref("general.smoothScroll.msdPhysics.enabled", true);<br />
user_pref("general.smoothScroll.other.durationMaxMS", 125);<br />
user_pref("general.smoothScroll.other.durationMinMS", 125);<br />
user_pref("general.smoothScroll.pages.durationMaxMS", 125);<br />
user_pref("general.smoothScroll.pages.durationMinMS", 125);<br />
<br />
Additionally the mouse wheel scroll settings have to be changed to react in a smooth way as well:<br />
<br />
user_pref("mousewheel.min_line_scroll_amount", 30);<br />
user_pref("mousewheel.system_scroll_override_on_root_content.enabled", true);<br />
user_pref("mousewheel.system_scroll_override_on_root_content.horizontal.factor", 175);<br />
user_pref("mousewheel.system_scroll_override_on_root_content.vertical.factor", 175);<br />
user_pref("toolkit.scrollbox.horizontalScrollDistance", 6);<br />
user_pref("toolkit.scrollbox.verticalScrollDistance", 2);<br />
<br />
If you have troubles on machines with varying performance, try modifying the {{ic|mousewheel.min_line_scroll_amount}} until it feels snappy enough.<br />
<br />
== Tips and tricks ==<br />
<br />
For general enhancements see [[Firefox/Tweaks]], for privacy related enhancements see [[Firefox/Privacy]].<br />
<br />
===Wayland===<br />
In order to start Firefox as a native wayland application start firefox with <br />
$ MOZ_ENABLE_WAYLAND=1 firefox<br />
<br />
=== Dark themes ===<br />
<br />
If a dark [[GTK]] theme is in use (e.g. Arc Dark), it is recommended to start Firefox with a brighter one (e.g. Adwaita). See [[GTK#Themes]] and [[Firefox/Tweaks#Unreadable input fields with dark GTK+ themes]] for more information.<br />
<br />
=== Screenshot of webpage ===<br />
<br />
You can ''Take a Screenshot'' by either clicking the ''Page actions'' button (the three horizontal dots) in the address bar or by right-clicking on the webpage. See [https://support.mozilla.org/en-US/kb/firefox-screenshots] for more information.<br />
<br />
{{Note|<br />
* The ''Save'' button misleadingly uploads your screenshot to a firefox.com subdomain. Set {{ic|extensions.screenshots.upload-disabled}} to {{ic|true}} to disable this behaviour. [https://github.com/mozilla-services/screenshots/issues/3503]<br />
* If [[Firefox/Privacy#Anti-fingerprinting|privacy.resistFingerprinting]] is enabled, to take a screenshot of a website using the above method, you need to grant it ''Extract Canvas Data'' permission.<br />
}}<br />
<br />
As an alternative you can use the full-page screenshot button in the ''Developer Tools'', which you can open with {{ic|F12}} or {{ic|Ctrl+Shift+i}} (you might need to enable the button first in the ''Developer Tools Settings > Available Toolbox Buttons > Take a screenshot of the entire page'').<br />
<br />
=== Window manager rules ===<br />
<br />
To apply different configurations to Firefox windows, change the WM_CLASS string by using Firefox's {{ic|--class}} option, to a custom one.<br />
<br />
==== Profiles ====<br />
<br />
To start new Firefox instances, multiple profiles are required. To create a new profile:<br />
<br />
$ firefox [--new-instance] -P<br />
<br />
Class can be specified when launching Firefox with a not-in-use profile:<br />
<br />
$ firefox [--new-instance] -P ''profile_name'' --class=''class_name''<br />
<br />
=== Touchscreen gestures and pixel-perfect trackpad scrolling ===<br />
<br />
{{Merge|Firefox/Tweaks#Enable touchscreen gestures|Same solution.}}<br />
<br />
To enable touch gestures (like scrolling and pinch-to-zoom) and one-to-one trackpad scrolling (as can be witnessed with GTK3 applications like Nautilus), set the {{ic|1=MOZ_USE_XINPUT2=1}} [[environment variable]] before starting Firefox.<br />
<br />
== Troubleshooting ==<br />
<br />
=== Firefox startup takes very long ===<br />
<br />
If Firefox takes much longer to start up than other browsers, it may be due to lacking configuration of the localhost in {{ic|/etc/hosts}}. See [[Network configuration#Local network hostname resolution]] on how to set it up. <br />
<br />
=== Font troubleshooting ===<br />
<br />
See [[Font configuration]].<br />
<br />
Firefox has a setting which determines how many replacements it will allow from fontconfig. To allow it to use all your replacement-rules, change {{ic|gfx.font_rendering.fontconfig.max_generic_substitutions}} to {{ic|127}} (the highest possible value).<br />
<br />
=== Setting an email client ===<br />
<br />
Inside the browser, {{ic|mailto}} links by default are opened by a web application such as Gmail or Yahoo Mail. To set an external email program, go to ''Preferences > Applications'' and modify the ''action'' corresponding to the {{ic|mailto}} content type; the file path will need to be designated (e.g. {{ic|/usr/bin/kmail}} for Kmail).<br />
<br />
Outside the browser, {{ic|mailto}} links are handled by the {{ic|x-scheme-handler/mailto}} mime type, which can be easily configured with [[xdg-mime]]. See [[Default applications]] for details and alternatives.<br />
<br />
=== File association ===<br />
<br />
See [[Default applications]].<br />
<br />
=== Firefox keeps creating ~/Desktop even when this is not desired ===<br />
<br />
Firefox uses {{ic|~/Desktop}} as the default place for download and upload files. To change it to another folder, set the {{ic|XDG_DESKTOP_DIR}} option as explained in [[XDG user directories]].<br />
<br />
=== Make plugins respect blocked pop-ups ===<br />
<br />
Some plugins can misbehave and bypass the default settings, such as the Flash plugin. You can prevent this by doing the following:<br />
<br />
# Type {{ic|about:config}} into the address bar.<br />
# Right-click on the page and select ''New > Integer''.<br />
# Name it {{ic|privacy.popups.disable_from_plugins}}.<br />
# Set the value to {{ic|2}}.<br />
<br />
The possible values are:<br />
<br />
* {{ic|'''0'''}}: Allow all popups from plugins.<br />
* {{ic|'''1'''}}: Allow popups, but limit them to {{ic|dom.popup_maximum}}.<br />
* {{ic|'''2'''}}: Block popups from plugins.<br />
* {{ic|'''3'''}}: Block popups from plugins, even on whitelisted sites.<br />
<br />
=== Middle-click behavior ===<br />
<br />
To use the middle mouse button to paste whatever text has been highlighted/added to the clipboard, as is common in UNIX-like operating systems, set either {{ic|middlemouse.contentLoadURL}} or {{ic|middlemouse.paste}} to {{ic|true}} in {{ic|about:config}}. Having {{ic|middlemouse.contentLoadURL}} enabled was the default behaviour prior to Firefox 57.<br />
<br />
To scroll on middle-click (default for Windows browsers) set {{ic|general.autoScroll}} to {{ic|true}}.<br />
<br />
=== Backspace does not work as the 'Back' button ===<br />
<br />
According to [http://kb.mozillazine.org/Browser.backspace_action MozillaZine], the {{ic|Backspace}} key was mapped based on which platform the browser was running on. As a compromise, this preference was created to allow the {{ic|Backspace}} key to either go back/forward, scroll up/down a page, or do nothing.<br />
<br />
To make {{ic|Backspace}} go back one page in the tab's history and {{ic|Shift+Backspace}} go forward, set {{ic|browser.backspace_action}} to {{ic|0}} in {{ic|about:config}}.<br />
<br />
To have the {{ic|Backspace}} key scroll up one page and {{ic|Shift+Backspace}} scroll down one page, set {{ic|browser.backspace_action}} to {{ic|1}}. Setting this property to any other value will leave the key unmapped (Arch Linux defaults to {{ic|2}}, in other words, it is unmapped by default).<br />
<br />
=== Firefox does not remember login information ===<br />
<br />
It may be due to a corrupted {{ic|cookies.sqlite}} file in [https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data Firefox's profile] folder. In order to fix this, just rename or remove {{ic|cookie.sqlite}} while Firefox is not running.<br />
<br />
Open a terminal of choice and type the following:<br />
<br />
$ rm -f ~/.mozilla/firefox/<profile id>.default/cookies.sqlite<br />
<br />
The profile id is a random 8 character string.<br />
<br />
Restart Firefox and see if it solved the problem.<br />
<br />
=== "Do you want Firefox to save your tabs for the next time it starts?" dialog does not appear ===<br />
<br />
From the [https://support.mozilla.com/en-US/questions/767751 Mozilla support] site:<br />
<br />
# Type {{ic|about:config}} in the address bar.<br />
# Set {{ic|browser.warnOnQuit}} to {{ic|true}}.<br />
# Set {{ic|browser.showQuitWarning}} to {{ic|true}}.<br />
<br />
=== Firefox detects the wrong version of my plugin ===<br />
<br />
When you close Firefox, the latter saves the current timestamp and version of your plugins inside {{ic|pluginreg.dat}} located in your profile folder, typically in {{ic|~/.mozilla/firefox/''xxxxxxxx''.default/}}.<br />
<br />
If you upgraded your plugin when Firefox was still running, you will thus have the wrong information inside that file. The next time you will restart Firefox you will get that message {{ic|Firefox has prevented the outdated plugin "XXXX" from running on ...}} when you will be trying to open content dedicated to that plugin on the web. This problem often appears with the official [[Browser plugins#Adobe Flash Player|Adobe Flash Player plugin]] which has been upgraded while Firefox was still running.<br />
<br />
The solution is to remove the file {{ic|pluginreg.dat}} from your profile and that is it. Firefox will not complain about the missing file as it will be recreated the next time Firefox will be closed. [https://bugzilla.mozilla.org/show_bug.cgi?id=1109795#c16]<br />
<br />
=== JavaScript context menu does not appear on some sites ===<br />
<br />
You can try setting {{ic|dom.w3c_touch_events.enabled}} to {{ic|0}} in {{ic|about:config}}.<br />
<br />
=== Firefox does not remember default spell check language ===<br />
<br />
The default spell checking language can be set as follows:<br />
<br />
# Type {{ic|about:config}} in the address bar.<br />
# Set {{ic|spellchecker.dictionary}} to your language of choice, for instance {{ic|en_GB}}.<br />
# Notice that the for dictionaries installed as a Firefox plugin the notation is {{ic|en-GB}}, and for {{Pkg|hunspell}} dictionaries the notation is {{ic|en_GB}}.<br />
<br />
When you only have system wide dictionaries installed with {{Pkg|hunspell}}, Firefox might not remember your default dictionary language settings. This can be fixed by having at least one [https://addons.mozilla.org/firefox/language-tools/ dictionary] installed as a Firefox plugin. Notice that now you will also have a tab '''Dictionaries''' in '''add-ons'''.<br />
<br />
Related questions on the '''StackExchange''' platform: [https://stackoverflow.com/questions/26936792/change-firefox-spell-check-default-language/29446115], [https://stackoverflow.com/questions/21542515/change-default-language-on-firefox/29446353], [https://askubuntu.com/questions/184300/how-can-i-change-firefoxs-default-dictionary/576877]<br />
<br />
Related bug reports: [https://bugzilla.mozilla.org/show_bug.cgi?id=776028 Bugzilla 776028], [https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1026869 Ubuntu bug 1026869]<br />
<br />
=== Some MathML symbols are missing ===<br />
<br />
You need some Math fonts, namely Latin Modern Math and STIX (see this MDN page: [https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts#Linux]), to display MathML correctly.<br />
<br />
In Arch Linux, these fonts are provided by {{Pkg|texlive-core}} '''and''' {{Pkg|texlive-fontsextra}}, but they are not available to fontconfig by default. See [[TeX Live#Making fonts available to Fontconfig]] for details. You can also try other [[Fonts#Math|Math fonts]].<br />
<br />
=== Tearing video in fullscreen mode ===<br />
<br />
If you are using the Xorg Intel or Nouveau drivers and experience tearing video in fullscreen mode, try [[Firefox tweaks#Enable OpenGL Off-Main-Thread Compositing (OMTC)]].<br />
<br />
=== Firefox WebRTC module cannot detect a microphone ===<br />
<br />
WebRTC applications for instance [https://mozilla.github.io/webrtc-landing/gum_test.html Firefox WebRTC getUserMedia test page] say that microphone cannot be found. Issue is reproducible for both ALSA or PulseAudio setup. Firefox debug logs show the following error:<br />
<br />
{{hc|1=$ NSPR_LOG_MODULES=MediaManager:5,GetUserMedia:5 firefox|2=<br />
...<br />
[Unnamed thread 0x7fd7c0654340]: D/GetUserMedia VoEHardware:GetRecordingDeviceName: Failed 1<br />
}}<br />
<br />
You can try setting {{ic|media.navigator.audio.full_duplex}} property to {{ic|false}} at {{ic|about:config}} Firefox page and restart Firefox.<br />
<br />
This can also help if you are using the PulseAudio [[PulseAudio/Troubleshooting#Enable Echo/Noise-Cancellation|module-echo-cancel]] and Firefox does not recognise the virtual echo canceling source.<br />
<br />
== See also ==<br />
<br />
* [https://www.mozilla.org/firefox/ Official website]<br />
* [https://www.mozilla.org/ Mozilla Foundation]<br />
* [[MozillaWiki:Firefox]]<br />
* [https://addons.mozilla.org/ Firefox Add-ons]<br />
* [https://addons.mozilla.org/firefox/themes/ Firefox themes]<br />
* [[Wikipedia:Mozilla Firefox]]<br />
* [http://forums.mozillazine.org/ mozillaZine] unofficial forums</div>Philipflohrhttps://wiki.archlinux.org/index.php?title=Postfix&diff=474646Postfix2017-04-20T10:22:05Z<p>Philipflohr: /* Spam Assassin rule update */ Include correct exit codes, remove startings "-"s from paths, outcommented user and group as the /etc/mail folder is owned by root by default</p>
<hr />
<div>[[Category:Mail server]]<br />
[[ja:Postfix]]<br />
{{Related articles start}}<br />
{{Related|Postfix with SASL}}<br />
{{Related|Amavis}}<br />
{{Related|Virtual user mail system}}<br />
{{Related|Courier MTA}}<br />
{{Related|Exim}}<br />
{{Related|OpenSMTPD}}<br />
{{Related|OpenDMARC}}<br />
{{Related|OpenDKIM}}<br />
{{Related|SOGo}}<br />
{{Related articles end}}<br />
From [http://www.postfix.org/ Postfix's site]:<br />
:Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail compatible enough to not upset existing users. Thus, the outside has a sendmail-ish flavor, but the inside is completely different.<br />
<br />
The goal of this article is to setup Postfix and explain what the basic configuration files do. There are instructions for setting up local system user-only delivery and a link to a guide for virtual user delivery. <br />
<br />
== Installation ==<br />
<br />
[[Install]] the {{Pkg|postfix}} package.<br />
<br />
{{Note| A logging package like {{Pkg|syslog-ng}} must be set up before logs will appear in /var/log/mail.log}}<br />
<br />
== Configuration ==<br />
<br />
=== master.cf ===<br />
<br />
{{ic|/etc/postfix/master.cf}} is the master configuration file where you can specify which protocols will be served. It is also the place where you can put your new pipes e.g. to check for Spam!<br />
<br />
It is recommended to enable secure SMTP as described in [[#Secure SMTP (sending)]] and [[#Secure SMTP (receiving)]].<br />
<br />
See [http://www.postfix.org/TLS_README.html this page] for more information about encrypting outgoing and incoming email.<br />
<br />
=== main.cf ===<br />
<br />
{{Style|Needs some cleanup}}<br />
<br />
{{ic|/etc/postfix/main.cf}} is the main configuration file where everything is configured. The settings below are recommended for virtual local-only delivery.<br />
<br />
*{{ic|myhostname}} should be set if your mail server has multiple domains, and you do not want the primary domain to be the mail host. You should have both a DNS A record and an MX record point to this hostname.<br />
:{{bc|1=myhostname = mail.nospam.net}}<br />
<br />
*{{ic|mydomain}} is usually the value of {{ic|myhostname}}, minus the first part. If your domain is wonky, then just set it manually.<br />
:{{bc|1=mydomain = nospam.net}}<br />
<br />
*{{ic|myorigin}} is where the email will be seen as being sent from. I usually set this to the value of {{ic|mydomain}}. For simple servers, this works fine. This is for mail originating from a local account. Since we are not doing local delivery (except sending), then this is not really as important as it normally would be. <br />
:{{bc|1=myorigin = $mydomain}}<br />
<br />
*{{ic|mydestination}} is the lookup for local users.<br />
:{{bc|1=mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain}}<br />
<br />
*{{ic|mynetworks}} and {{ic|mynetworks_style}} control relaying, and whom is allowed to. We do not want any relaying.<br />
:For our sakes, we will simply set {{ic|mynetwork_style}} to host, as we are trying to make a standalone Postfix host, that people will use webmail on. No relaying, no other MTA's. Just webmail.<br />
:{{bc|1=mynetworks_style = host}}<br />
<br />
*{{ic|relaydomains}} controls the destinations that Postfix will relay TO. The default value is empty. This should be fine for now.<br />
:{{bc|1=relay_domains = }}<br />
<br />
*{{ic|home_mailbox}} or {{ic|mail_spool_directory}} control how mail is delivered/stored for the users.<br />
:If set, {{ic|mail_spool_directory}} specifies an absolute path where mail gets delivered. By default Postfix stores mails in {{ic|/var/spool/mail}}. <br />
<br />
:{{bc|1=mail_spool_directory = /home/vmailer}}<br />
<br />
:Alternatively, if set, {{ic|home_mailbox}} specifies a mailbox relative to the user's home directory where mail gets delivered (eg: /home/vmailer).<br />
<br />
:Courier-IMAP requires "Maildir" format, so you '''must''' set it like the following example with trailing slash:<br />
:{{bc|1=home_mailbox = Maildir/}}<br />
<br />
{{Warning|If you plan on implementing SSL/TLS, please respond safely to [https://weakdh.org/sysadmin.html FREAK/Logjam] by adding the following to your configuration:<br />
{{bc|1=<br />
smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CBC3-SHA, KRB5-DES, CBC3-SHA}}<br />
<br />
Then, generate a [https://www.openssl.org/docs/man1.0.2/apps/dhparam.html dhparam file] by following [https://weakdh.org/sysadmin.html these instructions] and then adding the following to your configuration:<br />
{{bc|1=smtpd_tls_dh1024_param_file = ${config_directory}/dhparams.pem}}<br />
<br />
Since mid-2015, the default settings have been safe against [http://disablessl3.com/ POODLE].<br />
}}<br />
<br />
==== Default message and mailbox size limits ====<br />
<br />
Postfix imposes both message and mailbox size limits by default. The message_size_limit controls the maximum size in bytes of a message, including envelope information. (default 10240000) The mailbox_size_limit controls the maximum size of any local individual mailbox or maildir file. This limits the size of '''any''' file that is written to upon local delivery, '''including files written by external commands''' (i.e. procmail) that are executed by the local delivery agent. (default is 51200000, set to 0 for no limit) If bounced message notifications are generated, check the size of the local mailbox under {{ic|/var/spool/mail}} and use postconf to check these size limits:<br />
<br />
# postconf mailbox_size_limit<br />
mailbox_size_limit = 51200000<br />
# postconf message_size_limit<br />
message_size_limit = 10240000<br />
<br />
=== Aliases ===<br />
<br />
You can specify aliases (also known as forwarders) in {{ic|/etc/postfix/aliases}}.<br />
<br />
You need to map all mail addressed to ''root'' to another account since it is not a good idea to read mail as root. <br />
<br />
Uncomment the following line, and change {{ic|you}} to a real account.<br />
root: you<br />
<br />
Once you have finished editing {{ic|/etc/postfix/aliases}} you must run the postalias command:<br />
postalias /etc/postfix/aliases<br />
For later changes you can use:<br />
newaliases<br />
<br />
{{Tip|Alternatively you can create the file {{ic|~/.forward}}, e.g. {{ic|/root/.forward}} for root. Specify the user to whom root mail should be forwarded, e.g. ''user@localhost''.<br />
<br />
{{hc|/root/.forward|<br />
user@localhost<br />
}}<br />
<br />
}}<br />
<br />
=== Local mail ===<br />
<br />
To only deliver mail to local system users (that are in {{ic|/etc/passwd}}) update {{ic|/etc/postfix/main.cf}} to reflect the following configuration. Uncomment, change, or add the following lines:<br />
<br />
myhostname = localhost<br />
mydomain = localdomain<br />
mydestination = $myhostname, localhost.$mydomain, localhost<br />
inet_interfaces = $myhostname, localhost<br />
mynetworks_style = host<br />
default_transport = error: outside mail is not deliverable<br />
<br />
All other settings may remain unchanged. After setting up the above configuration file, you may wish to set up some [[#Aliases]] and then [[#Start Postfix]].<br />
<br />
=== Virtual mail ===<br />
Virtual mail is mail that does not map to a user account ({{ic|/etc/passwd}}).<br />
<br />
See [[Virtual user mail system]] for a comprehensive guide how to set it up.<br />
<br />
=== DNS records ===<br />
<br />
An MX record should point to the mail host. Usually this is done from configuration interface of your domain provider.<br />
<br />
A mail exchanger record (MX record) is a type of resource record in the Domain Name System that specifies a mail server responsible for accepting email messages on behalf of a recipient's domain. <br />
<br />
When an e-mail message is sent through the Internet, the sending mail transfer agent queries the Domain Name System for MX records of each recipient's domain name. This query returns a list of host names of mail exchange servers accepting incoming mail for that domain and their preferences. The sending agent then attempts to establish an SMTP connection to one of these servers, starting with the one with the smallest preference number, delivering the message to the first server with which a connection can be made. <br />
<br />
{{Note|Some mail servers will not deliver mail to you if your MX record points to a CNAME. For best results, always point an MX record to an A record definition. For more information, see e.g. [[Wikipedia:List of DNS record types|Wikipedia's List of DNS Record Types]].}}<br />
<br />
=== Check configuration ===<br />
<br />
Run the {{ic|postfix check}} command. It should output anything that you might have done wrong in a config file. <br />
<br />
To see all of your configs, type {{ic|postconf}}. To see how you differ from the defaults, try {{ic|postconf -n}}.<br />
<br />
== Start Postfix ==<br />
<br />
{{Note|You must run {{ic|newaliases}} at least once for postfix to run, even if you did not set up any [[#Aliases]].}}<br />
<br />
[[Start/enable]] the {{ic|postfix.service}}.<br />
<br />
== Testing ==<br />
<br />
{{Style|Needs some cleanup. There are probably more general ways to write this.}}<br />
<br />
Now lets see if Postfix is going to deliver mail for our test user.<br />
{{bc|<br />
nc servername 25<br />
helo testmail.org<br />
mail from:<test@testmail.org><br />
rcpt to:<cactus@virtualdomain.tld><br />
data<br />
This is a test email.<br />
.<br />
quit<br />
}}<br />
<br />
=== Error response ===<br />
<br />
451 4.3.0 <lisi@test.com>:Temporary lookup failure<br />
Maybe you have entered the wrong user/password for MySQL or the MySQL socket is not in the right place.<br />
<br />
This error will also occur if you neglect to run newaliases at least once before starting postfix. MySQL is not required for local only usage of postfix.<br />
<br />
550 5.1.1 <email@spam.me>: Recipient address rejected: User unknown in virtual mailbox table.<br />
Double check content of mysql_virtual_mailboxes.cf and check the main.cf for mydestination<br />
<br />
=== See that you have received a email ===<br />
<br />
Now type {{ic|$ find /home/vmailer}}.<br />
<br />
You should see something like the following:<br />
{{bc|<br />
/home/vmailer/virtualdomain.tld/cactus@virtualdomain.tld<br />
/home/vmailer/virtualdomain.tld/cactus@virtualdomain.tld/tmp<br />
/home/vmailer/virtualdomain.tld/cactus@virtualdomain.tld/cur<br />
/home/vmailer/virtualdomain.tld/cactus@virtualdomain.tld/new<br />
/home/vmailer/virtualdomain.tld/cactus@virtualdomain.tld/new/1102974226.2704_0.bonk.testmail.org<br />
}}<br />
The key is the last entry. This is an actual email, if you see that, it is working.<br />
<br />
== Extra ==<br />
<br />
=== PostfixAdmin ===<br />
<br />
To use PostfixAdmin, you need a working Apache/MySQL/PHP setup as described in [[Apache HTTP Server]].<br />
<br />
For IMAP functionality, you will need to install {{Pkg|php-imap}} and uncomment imap.so in /etc/php/php.ini<br />
<br />
Next, [[install]] {{Pkg|postfixadmin}}.<br />
<br />
{{Style|in-code comments}}<br />
<br />
Edit the PostfixAdmin configuration file:<br />
<br />
{{hc|/etc/webapps/postfixadmin/config.inc.php|<nowiki><br />
$CONF['configured'] = true;<br />
// correspond to dovecot maildir path /home/vmail/%d/%u <br />
$CONF['domain_path'] = 'YES';<br />
$CONF['domain_in_mailbox'] = 'NO';<br />
$CONF['database_type'] = 'mysqli';<br />
$CONF['database_host'] = 'localhost';<br />
$CONF['database_user'] = 'postfix_user';<br />
$CONF['database_password'] = 'hunter2';<br />
$CONF['database_name'] = 'postfix_db';<br />
<br />
// globally change all instances of ''change-this-to-your.domain.tld'' <br />
// to an appropriate value<br />
</nowiki>}}<br />
<br />
If installing dovecot and you changed the password scheme in dovecot (to SHA512-CRYPT for example), reflect that with postfix<br />
<br />
{{hc|/etc/webapps/postfixadmin/config.inc.php|<nowiki><br />
$CONF['encrypt'] = 'dovecot:SHA512-CRYPT';<br />
</nowiki>}}<br />
<br />
As of dovecot 2, dovecotpw has been deprecated. You will also want to ensure that your config reflects the new binary name.<br />
<br />
{{hc|/etc/webapps/postfixadmin/config.inc.php|<nowiki><br />
$CONF['dovecotpw'] = "/usr/sbin/doveadm pw";<br />
</nowiki>}}<br />
<br />
Create the Apache configuration file:<br />
{{hc|/etc/httpd/conf/extra/httpd-postfixadmin.conf|<nowiki><br />
Alias /postfixadmin "/usr/share/webapps/postfixAdmin"<br />
<Directory "/usr/share/webapps/postfixAdmin"><br />
DirectoryIndex index.html index.php<br />
AllowOverride All<br />
Options FollowSymlinks<br />
Require all granted<br />
</Directory><br />
</nowiki>}}<br />
<br />
To only allow localhost access to postfixadmin (for heightened security), add this to the previous <Directory> directive:<br />
Order Deny,Allow<br />
Deny from all<br />
Allow from 127.0.0.1<br />
<br />
Now, include httpd-postfixadmin.conf to {{ic|/etc/httpd/conf/httpd.conf}}:<br />
# PostfixAdmin configuration<br />
Include conf/extra/httpd-postfixadmin.conf<br />
<br />
{{Note|If you go to yourdomain/postfixadmin/setup.php and it says do not find config.inc.php, add {{ic|/etc/webapps/postfixadmin}} to the {{ic|open_basedir}} line in {{ic|/etc/php/php.ini}}.}}<br />
{{Note|If you get a blank page check the syntax of the file with {{ic|php -l /etc/webapps/postfixadmin/config.inc.php}}.}}<br />
<br />
=== Secure SMTP (sending) ===<br />
<br />
By default, Postfix/sendmail will not send email encrypted to other SMTP servers. To use TLS when available, add the following line to {{ic|main.cf}}:<br />
{{hc|/etc/postfix/main.cf|2=<br />
smtp_tls_security_level = may<br />
}}<br />
<br />
To ''enforce'' TLS (and fail when the remote server does not support it), change {{ic|may}} to {{ic|encrypt}}.<br />
<br />
=== Secure SMTP (receiving) ===<br />
For more information, see [http://www.postfix.org/TLS_README.html Postfix TLS Support].<br />
<br />
==== STARTTLS over SMTP (port 587) ====<br />
<br />
To enable STARTTLS over SMTP (port 587, the proper way of securing SMTP), add the following lines to {{ic|main.cf}}<br />
<br />
{{hc|/etc/postfix/main.cf|2=<br />
smtpd_tls_security_level = may<br />
smtpd_tls_cert_file = '''/path/to/cert.pem'''<br />
smtpd_tls_key_file = '''/path/to/key.pem'''<br />
}}<br />
<br />
Also in {{ic|master.cf}} find and remove the comment from the following line to enable the service on that port:<br />
<br />
{{hc|/etc/postfix/master.cf|2=<br />
submission inet n - n - - smtpd<br />
}}<br />
<br />
If you need support for the deprecated SMTPS port 465, read the next section.<br />
<br />
==== SMTPS (port 465) ====<br />
<br />
The deprecated method of securing SMTP is using the '''wrapper mode''' which uses the system service '''smtps''' as a non-standard service and runs on port 465.<br />
<br />
To enable it uncomment the following lines in<br />
<br />
{{hc|/etc/postfix/master.cf|<nowiki><br />
smtps inet n - n - - smtpd<br />
-o smtpd_tls_wrappermode=yes<br />
-o smtpd_sasl_auth_enable=yes<br />
</nowiki>}}<br />
<br />
And verify that these lines are in {{ic|/etc/services}}:<br />
smtps 465/tcp # Secure SMTP<br />
smtps 465/udp # Secure SMTP<br />
<br />
If they are not there, go ahead and add them (replace the other listing for port 465). Otherwise Postfix will not start and you will get the following error:<br />
<br />
''postfix/master[5309]: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype''<br />
<br />
=== SpamAssassin ===<br />
<br />
Install the {{Pkg|spamassassin}} package.<br />
<br />
Go over {{ic|/etc/mail/spamassassin/local.cf}} and configure it to your needs.<br />
<br />
==== Spam Assassin rule update ====<br />
<br />
Update the SpamAssassin matching patterns and compile them:<br />
# sa-update<br />
# sa-compile<br />
<br />
You will want to run this periodically, the best way to do so is by setting up a [[Systemd/Timers]].<br />
<br />
Create the following service, which will run these commands:<br />
{{hc|1=/etc/systemd/system/spamassassin-update.service|2=<br />
[Unit]<br />
Description=spamassassin housekeeping stuff<br />
<br />
[Service]<br />
#User=spamd<br />
#Group=spamd<br />
Type=oneshot<br />
ExecStart=/usr/bin/vendor_perl/sa-update --allowplugins #You can remove the allowplugins options if you do not want direct plugin updates from SA.<br />
SuccessExitStatus=0 1 #0 = updated, 1 = no updates available<br />
ExecStart=/usr/bin/vendor_perl/sa-compile<br />
SuccessExitStatus=0<br />
# You can automatically train SA's bayes filter by uncommenting this line and specifying the path to a mailbox where you store email that is spam (for ex this could be yours or your users manually reported spam)<br />
#ExecStart=/usr/bin/vendor_perl/sa-learn --spam <path to your spam><br />
}}<br />
<br />
Then create the timer, which will execute the previous service daily:<br />
{{hc|1=/etc/systemd/system/spamassassin-update.timer|2=<br />
[Unit]<br />
Description=spamassassin house keeping<br />
<br />
[Timer]<br />
OnCalendar=daily<br />
Persistent=true<br />
<br />
[Install]<br />
WantedBy=timers.target<br />
}}<br />
<br />
Finally, you'll need to modify your Spamassassin systemd service file so that it knows to restart itself to read the new rules. Copy the bundled service file to a custom service file:<br />
{{bc|1=<br />
# cp /usr/lib/systemd/system/spamassassin.service /etc/systemd/system<br />
}}<br />
<br />
And edit the newly created {{ic|/etc/systemd/system/spamassassin.service}} to include:<br />
{{bc|1=<br />
[Unit]<br />
PartOf=spamassassin-update.service<br />
}}<br />
<br />
This will ensure that Spamassassin's spamd is restarted just before the timer runs. This means the rules will be available the next day if your timer runs daily. This is so that there is no long service interruption while {{ic|sa.service}} runs as it takes a while to compile rules.<br />
<br />
Now you can [[start]] and [[enable]] {{ic|spamassassin-update.timer}}.<br />
<br />
==== SpamAssassin stand-alone generic setup ====<br />
<br />
{{Note|If you want to combine SpamAssassin and Dovecot Mail Filtering, ignore the next two lines and continue further down instead.}}<br />
<br />
Edit {{ic|/etc/postfix/master.cf}} and add the content filter under smtp.<br />
{{bc|1=<br />
smtp inet n - n - - smtpd<br />
-o content_filter=spamassassin<br />
}}<br />
<br />
Also add the following service entry for SpamAssassin<br />
{{bc|1=<br />
spamassassin unix - n n - - pipe<br />
flags=R user=spamd argv=/usr/bin/vendor_perl/spamc -e /usr/bin/sendmail -oi -f ${sender} ${recipient}<br />
}}<br />
<br />
Now you can [[start]] and [[enable]] {{ic|spamassassin.service}}.<br />
<br />
==== SpamAssassin combined with Dovecot LDA / Sieve (Mailfiltering) ====<br />
Set up LDA and the Sieve-Plugin as described in [[Dovecot#Sieve]]. But ignore the last line {{ic|mailbox_command... }}.<br />
<br />
Instead add a pipe in {{ic|/etc/postfix/master.cf}}:<br />
dovecot unix - n n - - pipe<br />
flags=DRhu user=vmail:vmail argv=/usr/bin/vendor_perl/spamc -u spamd -e /usr/lib/dovecot/dovecot-lda -f ${sender} -d ${recipient}<br />
<br />
And activate it in {{ic|/etc/postfix/main.cf}}:<br />
virtual_transport = dovecot<br />
<br />
==== SpamAssassin combined with Dovecot LMTP / Sieve ====<br />
Set up the LMTP and Sieve as described in [[Dovecot#Sieve]].<br />
<br />
Edit {{ic|/etc/dovecot/conf.d/90-plugins.conf}} and add:<br />
<br />
sieve_before = /etc/dovecot/sieve.before.d/<br />
sieve_extensions = +vnd.dovecot.filter<br />
sieve_plugins = sieve_extprograms<br />
sieve_filter_bin_dir = /etc/dovecot/sieve-filter<br />
sieve_filter_exec_timeout = 120s #this is often needed for the long running spamassassin scans, default is otherwise 10s<br />
<br />
Create the directory and put spamassassin in as a binary that can be ran by dovecot:<br />
<br />
# mkdir /etc/dovecot/sieve-filter<br />
# ln -s /usr/bin/vendor_perl/spamc /etc/dovecot/sieve-filter/spamc<br />
<br />
Create a new file, {{ic|/etc/dovecot/sieve.before.d/spamassassin.sieve}} which contains:<br />
<br />
require [ "vnd.dovecot.filter" ];<br />
filter "spamc" [ "-d", "127.0.0.1", "--no-safe-fallback" ];<br />
<br />
Compile the sieve rules {{ic|spamassassin.svbin}}:<br />
<br />
# cd /etc/dovecot/sieve.before.d<br />
# sievec spamassassin.sieve<br />
<br />
Finally, [[restart]] {{ic|dovecot.service}}.<br />
<br />
==== Call ClamAV from SpamAssassin ====<br />
<br />
Install and setup clamd as described in [[ClamAV]].<br />
<br />
Follow one of the above instructions to call SpamAssassin from within your mail system.<br />
<br />
[[Install]] the {{pkg|perl-cpanplus-dist-arch}} package. Then install the ClamAV perl library as follows:<br />
<br />
# /usr/bin/vendor_perl/cpanp -i File::Scan::ClamAV<br />
<br />
Add the 2 files from http://wiki.apache.org/spamassassin/ClamAVPlugin into {{ic|/etc/mail/spamassassin/}}.<br />
Edit {{ic|/etc/mail/spamassassin/clamav.pm}} and update {{ic|$CLAM_SOCK}} to point to your Clamd socket location (default is {{ic|/var/lib/clamav/clamd.sock}}).<br />
<br />
Finally, [[restart]] {{ic|spamassassin.service}}.<br />
<br />
=== Using Razor ===<br />
Make sure you have installed SpamAssassin first, then:<br />
<br />
[[Install]] the {{Pkg|razor}} package.<br />
<br />
Register with Razor.<br />
<br />
# mkdir /etc/mail/spamassassin/razor<br />
# chown spamd:spamd /etc/mail/spamassassin/razor<br />
# sudo -u spamd -s<br />
$ cd /etc/mail/spamassassin/razor<br />
$ razor-admin -home=/etc/mail/spamassassin/razor -register<br />
$ razor-admin -home=/etc/mail/spamassassin/razor -create<br />
$ razor-admin -home=/etc/mail/spamassassin/razor -discover<br />
<br />
Tell SpamAssassin about Razor, add<br />
<br />
razor_config /etc/mail/spamassassin/razor/razor-agent.conf<br />
<br />
to {{ic|/etc/mail/spamassassin/local.cf}}.<br />
<br />
Tell Razor about itself, add<br />
<br />
razorhome = /etc/mail/spamassassin/razor/<br />
<br />
to {{ic|/etc/mail/spamassassin/razor/razor-agent.conf}}<br />
<br />
Finally, [[restart]] {{ic|spamassassin.service}}.<br />
<br />
===Hide the sender's IP and user agent in the Received header===<br />
This is a privacy concern mostly, if you use Thunderbird and send an email. The received header will contain your LAN and WAN IP and info about the email client you used.<br />
(Original source: [http://askubuntu.com/questions/78163/when-sending-email-with-postfix-how-can-i-hide-the-senders-ip-and-username-in AskUbuntu])<br />
What we want to do is remove the Received header from outgoing emails. This can be done by the following steps:<br />
<br />
Add this line to main.cf<br />
smtp_header_checks = regexp:/etc/postfix/smtp_header_checks<br />
Create /etc/postfix/smtp_header_checks with this content:<br />
/^Received: .*/ IGNORE<br />
/^User-Agent: .*/ IGNORE<br />
Finally, restart postfix.service<br />
<br />
=== Postfix in a chroot jail ===<br />
Postfix is not put in a chroot jail by default. The Postfix documentation [http://www.postfix.org/BASIC_CONFIGURATION_README.html#chroot_setup] provides details about how to accomplish such a jail. The steps are outlined below and are based on the chroot-setup script provided in the postfix source code.<br />
<br />
First, go into the {{ic|master.cf}} file in the directory {{ic|/etc/postfix}} and change all the chroot entries to 'yes' (y) except for the services {{ic|qmgr}}, {{ic|proxymap}}, {{ic|proxywrite}}, {{ic|local}}, and {{ic|virtual}}<br />
<br />
Second, create two functions that will help us later with copying files over into the chroot jail (see last step)<br />
CP="cp -p"<br />
<br />
cond_copy() {<br />
# find files as per pattern in $1<br />
# if any, copy to directory $2<br />
dir=`dirname "$1"`<br />
pat=`basename "$1"`<br />
lr=`find "$dir" -maxdepth 1 -name "$pat"`<br />
if test ! -d "$2" ; then exit 1 ; fi<br />
if test "x$lr" != "x" ; then $CP $1 "$2" ; fi<br />
}<br />
<br />
Next, make the new directories for the jail:<br />
set -e<br />
umask 022<br />
<br />
POSTFIX_DIR=${POSTFIX_DIR-/var/spool/postfix}<br />
cd ${POSTFIX_DIR}<br />
<br />
mkdir -p etc lib usr/lib/zoneinfo<br />
test -d /lib64 && mkdir -p lib64<br />
<br />
Find the localtime file<br />
lt=/etc/localtime<br />
if test ! -f $lt ; then lt=/usr/lib/zoneinfo/localtime ; fi<br />
if test ! -f $lt ; then lt=/usr/share/zoneinfo/localtime ; fi<br />
if test ! -f $lt ; then echo "cannot find localtime" ; exit 1 ; fi<br />
rm -f etc/localtime<br />
<br />
Copy localtime and some other system files into the chroot's etc<br />
$CP -f $lt /etc/services /etc/resolv.conf /etc/nsswitch.conf etc<br />
$CP -f /etc/host.conf /etc/hosts /etc/passwd etc<br />
ln -s -f /etc/localtime usr/lib/zoneinfo<br />
<br />
Copy required libraries into the chroot using the previously created function {{ic|cond_copy}}<br />
cond_copy '/usr/lib/libnss_*.so*' lib<br />
cond_copy '/usr/lib/libresolv.so*' lib<br />
cond_copy '/usr/lib/libdb.so*' lib<br />
<br />
And don't forget to reload postfix.<br />
<br />
===Rule-based mail processing===<br />
With policy services one can easily finetune postfix' behaviour of mail delivery.<br />
{{Pkg|postfwd}} and <span class="plainlinks archwiki-template-pkg">[https://aur.archlinux.org/pkgbase/policyd policyd]</span><sup><small>AUR</small></sup> provide services to do so.<br />
This allows you to e.g. implement time-aware grey- and blacklisting of senders and receivers as well as [[SPF]] policy checking.<br />
<br />
Policy services are standalone services and connected to Postfix like this:<br />
{{hc|/etc/postfix/main.cf|<nowiki><br />
smtpd_recipient_restrictions =<br />
...<br />
check_policy_service unix:/run/policyd.sock<br />
check_policy_service inet:127.0.0.1:10040<br />
</nowiki>}}<br />
Placing policy services at the end of the queue reduces load, as only legitimate mails are processed. Be sure to place it before the first permit statement to catch all incoming messages.<br />
<br />
=== DANE (DNSSEC) ===<br />
==== Resource Record ====<br />
<br />
{{warning|This is not a trivial section. Be aware that you make sure you know what you are doing. You better read [https://dane.sys4.de/common_mistakes Common Mistakes] before.}}<br />
<br />
DANE supports several types of records, however not all of them are suitable in postfix.<br />
<br />
Certificate usage 0 is unsupported, 1 is mapped to 3 and 2 is optional, thus it is recommendet to publish a "3" record.<br />
More on [[DANE#Resource Record|Resource Records]].<br />
<br />
==== Configuration ====<br />
Opportunistic DANE is configured this way:<br />
{{hc|/etc/postfix/main.cf|<nowiki><br />
smtpd_use_tls = yes<br />
smtp_dns_support_level = dnssec<br />
smtp_tls_security_level = dane<br />
</nowiki>}}<br />
{{hc|/etc/postfix/master.cf|<nowiki><br />
dane unix - - n - - smtp<br />
-o smtp_dns_support_level=dnssec<br />
-o smtp_tls_security_level=dane<br />
</nowiki>}}<br />
<br />
To use per-domain policies, e.g. opportunistic DANE for example.org and mandatory DANE for example.com,<br />
use something like this:<br />
{{hc|/etc/postfix/main.cf|<nowiki><br />
indexed = ${default_database_type}:${config_directory}/<br />
<br />
# Per-destination TLS policy<br />
#<br />
smtp_tls_policy_maps = ${indexed}tls_policy<br />
<br />
# default_transport = smtp, but some destinations are special:<br />
#<br />
transport_maps = ${indexed}transport<br />
</nowiki>}}<br />
<br />
{{hc|transport|<br />
example.com dane<br />
example.org dane<br />
}}<br />
<br />
{{hc|tls_policy|<br />
example.com dane-only<br />
}}<br />
<br />
{{Note|For global mandatory DANE, change {{ic|smtp_tls_security_level}} to {{ic|dane-only}}. Be aware that this makes postfix tempfail on all delivieres that do not use DANE at all!}}<br />
<br />
Full documentation is found [http://www.postfix.org/TLS_README.html#client_tls_dane here].<br />
<br />
== See also ==<br />
<br />
* [http://linox.be/index.php/2005/07/13/44/ Out of Office] for Squirrelmail<br />
* [https://help.ubuntu.com/community/Postfix Postfix Ubuntu documentation]<br />
* [http://sherlock.heroku.com/blog/2012/02/03/setting-up-postfix-to-use-gmail-as-an-smtp-relay-host-in-archlinux/ Use Gmail as an SMTP relay]</div>Philipflohrhttps://wiki.archlinux.org/index.php?title=Steam/Game-specific_troubleshooting&diff=455600Steam/Game-specific troubleshooting2016-10-31T15:14:28Z<p>Philipflohr: Beautified ARK section</p>
<hr />
<div>[[Category:Gaming]]<br />
[[ja:Steam/ゲーム別のトラブルシューティング]]<br />
See [[Steam]] for the main article, and [[Steam/Troubleshooting]] for generic troubleshooting.<br />
<br />
{{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.}}<br />
<br />
{{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.}}<br />
<br />
== Air Brawl ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|gnu-free-fonts}}<br />
<br />
=== Menus are missing text/blacked out ===<br />
<br />
Air Brawl seems to require some fonts that are missing, installing the package {{pkg|gnu-free-fonts}} may fix it.<br />
<br />
== Amnesia: The Dark Descent ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|lib32-freealut}}<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-libxmu}}<br />
* {{pkg|lib32-sdl_ttf}}<br />
<br />
== And Yet It Moves ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libtheora}}<br />
* {{Pkg|lib32-libjpeg6-turbo}}<br />
* {{Pkg|lib32-libtiff4}}<br />
* {{Pkg|lib32-libpng12}}<br />
<br />
=== Compatibility ===<br />
<br />
Game refuses to launch and one of the following messages can be observed on console<br />
<br />
readlink: extra operand ‘Yet’<br />
Try 'readlink --help' for more information.<br />
<br />
OR<br />
<br />
This script must be run as a user with write priviledges to game directory<br />
<br />
To fix this, use:<br />
<br />
{{hc|~/.steam/root/SteamApps/common/And Yet It Moves/AndYetItMovesSteam.sh|<nowiki><br />
#ayim_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"<br />
ayim_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"<br />
</nowiki>}}<br />
<br />
== Anodyne ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|adobe-air-sdk}}<br />
* {{pkg|xterm}} (probably not actually required)<br />
<br />
=== Compatibility ===<br />
<br />
Follow the same steps as [[#Defender.27s Quest: Valley of the Forgotten|Defender's Quest]]<br />
<br />
== Aquaria ==<br />
<br />
=== Mouse pointer gets stuck in one direction ===<br />
<br />
If the mouse pointer gets stuck in any one direction, the game becomes unplayable. You may try:<br />
{{hc|~/.local/share/Steam/SteamApps/common/Aquaria/usersettings.xml|<nowiki><br />
#<JoystickEnabled on=”1″ /><br />
<JoystickEnabled on=”0″ /></nowiki>}}<br />
<br />
If that does not fix the issue, unplug any joystick or joystick adapter devices you may have plugged in.<br />
<br />
<br />
== ARK: Survival Evolved ==<br />
<br />
=== Game does not start, displays text window with unreadable text ===<br />
<br />
Right click on {{ic|ARK:Survival Evolved}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
<br />
MESA_GL_VERSION_OVERRIDE=4.0 MESA_GLSL_VERSION_OVERRIDE=400 %command%<br />
<br />
as launch option in steam<br />
<br />
== Audiosurf 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|pulseaudio-alsa}}<br />
<br />
== Binding of Isaac: Rebirth ==<br />
<br />
=== No sound ===<br />
<br />
{{Note|This also helps with Never Alone (Kisima Ingitchuna) }}<br />
<br />
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:<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
In the game, go to the options and set all audio to the proper volume.<br />
<br />
== The Book of Unwritten Tales ==<br />
<br />
If the game does not start, uncheck: ''Properties > Enable Steam Community In-Game''.<br />
<br />
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 {{AUR|dpkg}}:<br />
<br />
$ dpkg -x libogre-*.deb outdir}}<br />
<br />
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.<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|lib32-libxaw}}<br />
* {{AUR|lib32-jasper}}<br />
<br />
== The Book of Unwritten Tales: The Critter Chronicles ==<br />
<br />
Because it's based on the same engine, the things that apply to ''The Book of Unwritten Tales'' also apply for this game.<br />
<br />
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<br />
<br />
== Borderlands 2 ==<br />
<br />
=== Syncing save games ===<br />
<br />
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.<br />
<br />
=== Using Ctrl Key ===<br />
<br />
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 {{ic|setkeycodes 0x1d 56}} (as root) to map Ctrl to Alt before starting the game and {{ic|setkeycodes 0x1d 29}} to restore the default.<br />
<br />
=== Logging into SHiFT ===<br />
<br />
The Linux version of Borderlands 2 expects to be run on Ubuntu, as that is the "officially" supported distro for Steam. As a result of this, when attempting to log in to SHiFT, it will fail, claiming the server is not available. Using strace, it can be seen that it fails to connect to the server because it cannot load SSL certificates from /usr/lib/ssl, which is the Ubuntu filesystem spec. Arch uses /etc/ssl. This can be fixed by symlinking /etc/ssl to /usr/lib/ssl, like so:<br />
<br />
# ln -s /etc/ssl /usr/lib/ssl<br />
<br />
To avoid symlinking an alternative to the above is to add the following to the launch options in Steam:<br />
<br />
SSL_CERT_DIR="/etc/ssl/certs" %command%<br />
<br />
Using one method or the other you will now be able to log into SHiFT to redeem SHiFT codes.<br />
<br />
== Borderlands: The Pre-Sequel ==<br />
<br />
Borderlands the Pre-Sequel (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 discussion forum].<br />
<br />
As an alternative the following can be added to the launch options in Steam:<br />
<br />
SSL_CERT_DIR="/etc/ssl/certs" %command%<br />
<br />
=== Keyboard not working ===<br />
<br />
Using dwm, no keyboard input seems to register with BL:TPQ. Switching to openbox helped solved the issue, no other fix could be found. It's either a specific dwm issue or tiling WMs in general.<br />
<br />
== Cities in Motion 2 ==<br />
<br />
=== Dialog boxes fail to display properly ===<br />
<br />
You will not be able to read or see anything, and you will have this in your logs:<br />
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: non-double matrix element<br />
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: wrong number of matrix elements<br />
<br />
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}}).<br />
<br />
== Cities Skylines ==<br />
<br />
=== Textures not rendering properly ===<br />
<br />
In Steam client set launch properties for game:<br />
<br />
UNITY_DISABLE_GRAPHICS_DRIVER_WORKAROUNDS=yes %command%<br />
<br />
== Civilization V ==<br />
<br />
=== Stuttering sound with PulseAudio ===<br />
<br />
See [[PulseAudio/Troubleshooting#Laggy sound]].<br />
<br />
=== Extra LD_PRELOAD variable ===<br />
If the game seems to start and close, consider using the following as launch options for the game:<br />
<br />
env LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6' %command%<br />
<br />
as seen here https://github.com/ValveSoftware/steam-for-linux/issues/4379<br />
<br />
== The Clockwork Man ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-libidn}}<br />
<br />
== Company of Heroes 2 ==<br />
<br />
The game can't find "libpcre.so.3" and fails to run. A solution is to create a symbolic link:<br />
<br />
{{bc|ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3}}<br />
<br />
== Counter-Strike: Global Offensive (CS:GO) ==<br />
<br />
=== Game runs on the wrong screen ===<br />
<br />
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/60 GitHub Counter-Strike: Global Offensive issue #60]<br />
<br />
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.<br />
<br />
=== Cannot reach bottom of the screen on menues ===<br />
<br />
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/594 GitHub Counter-Strike: Global Offensive issue #594]<br />
<br />
If you have a secondary monitor you might have a part of your lower screen you cannot reach on menues.<br />
If on Gnome you can try to open the overview (Super key) and drag the game to the other monitor and back.<br />
<br />
If you are not on Gnome or dragging the window back and forth did not work you can try to install and run this command, where X and Y is the offset of the window and H and W is the size.<br />
wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,X,Y,H,W<br />
<br />
'''Example''': SecondaryMonitor: on the left 2560x1600, GamingMonitor: on the right 2560x1440).<br />
wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,2560,0,1600,1200<br />
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 ingame resolution.<br />
<br />
=== Audio is not synced ===<br />
<br />
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/45 GitHub Counter-Strike: Global Offensive issue #45]<br />
<br />
See [[PulseAudio/Troubleshooting#Laggy sound]] for a possible solution.<br />
<br />
=== Unable to aim when in game ===<br />
<br />
Unable to aim when in game. However, the mouse cursor does works in GUI such as main menu, game menu, etc.<br />
Add this line to your {{ic|.bash_profile}} and relogin:<br />
<br />
export SDL_VIDEO_X11_DGAMOUSE=0<br />
<br />
See also [https://bbs.archlinux.org/viewtopic.php?id=184905].<br />
<br />
=== Mouse Deadzone ===<br />
<br />
Small mouse movements (less than under 5 pixels per second) does not register on X or an OpenGL games.<br />
<br />
Solution[https://bbs.archlinux.org/viewtopic.php?pid=1519944#p1519944]:<br />
<br />
sudo pacman -R x86-input-libinput libinput<br />
<br />
=== Low Performance on AMD card using Catalyst proprietary driver ( <= 15.7 ) ===<br />
<br />
Solution[http://www.phoronix.com/scan.php?page=article&item=amd-csgo-workaround&num=1]:<br />
<br />
cd ~/.steam/steam/steamapps/common/Counter-Strike\ Global\ Offensive<br />
mv csgo_linux hl2_linux<br />
<br />
Now edit csgo.sh<br />
<br />
nano csgo.sh<br />
<br />
and change<br />
<br />
GAMEEXE=csgo_linux<br />
<br />
to<br />
<br />
GAMEEXE=hl2_linux<br />
<br />
=== Brightness slider not working ===<br />
<br />
First, find out your current display output name (connected one):<br />
<br />
xrandr | grep -v disconnected | grep connected<br />
<br />
For example:<br />
<br />
'''DFP9''' connected<br />
<br />
Edit csgo.sh<br />
<br />
nano ~/.steam/steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo.sh<br />
<br />
and add the following lines (change the OUTPUT_NAME to one you found with xrandr)<br />
<br />
'''# gamma correction'''<br />
'''xrandr --output <OUTPUT_NAME> --gamma 1.6:1.6:1.6 # play with values if required'''<br />
STATUS=42<br />
while [$STATUS -eq 42]; do<br />
...<br />
done<br />
'''# restore gamma'''<br />
'''xrandr --output <OUTPUT_NAME> --gamma 1:1:1'''<br />
exit $STATUS<br />
<br />
== Crusader Kings II ==<br />
<br />
=== Dependencies (x86_64) ===<br />
<br />
* {{pkg|lib32-openssl}}<br />
<br />
=== Tips and tricks ===<br />
<br />
Game is installed into {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II}}.<br />
Game can be started directly, without need of running Steam on background, using command {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II/ck2}}.<br />
<br />
Saves are stored in {{ic|$HOME/Documents/Paradox Interactive/Crusader Kings II/save games/}}.<br />
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.<br />
<br />
=== No audio ===<br />
<br />
The default audio driver used by Crusader Kings 2 is for [[PulseAudio]], so an override is necessary:<br />
<br />
{{hc|~/.pam_environment|2=SDL_AUDIODRIVER=alsa}}<br />
<br />
=== Odd Sized Starting Window ===<br />
<br />
Enable full screen mode as the default. In {{ic|~/.paradoxinteractive/Crusader Kings II/settings.txt}} change fullscreen=no to fullscreen=yes.<br />
<br />
== Death Road To Canada ==<br />
<br />
=== No music ===<br />
<br />
Right click on {{ic|Death Road To Canada}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
== Defender's Quest: Valley of the Forgotten ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|adobe-air-sdk}}<br />
* {{pkg|xterm}}<br />
* {{pkg|lib32-libcanberra}}<br />
<br />
=== Game does not start ===<br />
<br />
* 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):<br />
<br />
{{bc|$ ln -s /opt/adobe-air-sdk/runtimes/air/linux/Adobe\ AIR /opt/Adobe\ AIR}}<br />
<br />
* Adobe AIR will want to check whether the EULA was accepted and fail in doing so. To fix it, issue the following commands (from under your user, not under root):<br />
<br />
{{bc|$ mkdir -p ~/.appdata/Adobe/AIR<br />
$ echo 2 > ~/.appdata/Adobe/AIR/eulaAccepted}}<br />
<br />
{{Note|By issuing these commands you're accepting Adobe Air's EULA.}}<br />
<br />
== Divinity: Original Sin - Enhanced Edition ==<br />
<br />
=== Game doesn't start when using Bumblebee optirun or primusrun ===<br />
<br />
Edit {{ic|<path to library>/SteamApps/common/Divinity Original Sin Enhanced Edition/runner.sh}} to have it use primusrun:<br />
LD_LIBRARY_PATH="." primusrun ./EoCApp<br />
<br />
== Don't Starve ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-flashplugin}}<br />
* {{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)<br />
* {{Pkg|lib32-libcurl-compat}} (Requires further commands after installation as described [http://steamcommunity.com/app/219740/discussions/2/620700960796078576/#c611704730329482542 here])<br />
<br />
=== No sound ===<br />
<br />
Right click on Don't Starve on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
On the game, go to the option and set all audio to the proper volume.<br />
<br />
== Dota 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-openal}}<br />
* {{pkg|lib32-libpulse}} (if you use PulseAudio)<br />
* {{pkg|lib32-fontconfig}}<br />
<br />
==== Dota 2 reborn ====<br />
<br />
* {{pkg|libpng12}}<br />
* {{AUR|libudev0}} or {{AUR|libudev.so.0}}<br />
<br />
=== In-game font is unreadable ===<br />
<br />
Start Steam (or Dota 2) with the environment variable:<br />
<br />
MESA_GL_VERSION_OVERRIDE=2.1<br />
<br />
=== Everything seems OK but the game doesn't start ===<br />
<br />
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''.<br />
<br />
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.<br />
<br />
=== Game runs on the wrong screen ===<br />
<br />
: [https://github.com/ValveSoftware/Dota-2/issues/11 GitHub Dota 2 issue #11]<br />
<br />
=== Game does not start with libxcb-dri3 error message ===<br />
<br />
After a recent Mesa update, Dota 2 stopped working. The error message is:<br />
<br />
SDL_GL_LoadLibrary(NULL) failed: Failed loading libGL.so.1: /usr/lib32/libxcb-dri3.so.0: undefined symbol: xcb_send_fd<br />
<br />
See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
=== Steam overlay ===<br />
<br />
Steam distributes a copy of libxcb which is incompatible with the latest xorg libxcb. See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
See more information here:<br />
<br />
: [https://github.com/ValveSoftware/steam-for-linux/issues/3199]<br />
: [https://github.com/ValveSoftware/steam-for-linux/issues/3093]<br />
<br />
=== Chinese Tips and player's name display problem ===<br />
<br />
The Chinese characters in the Tips and player's name display block character.<br />
<br />
The problem caused by some fonts package. It is known that the 'ttf-dejave', 'ttf-liberation' and 'ttf-ms-fonts' will cause the prolem, and the 'wqy-*', 'ttf-ubuntu-font-family', 'ttf-arphic-uming', 'ttf-linux-libertine' are safe. The other fonts family are not checked.<br />
<br />
: [https://github.com/ValveSoftware/Dota-2/issues/1688 GitHub Steam issue #1688]<br />
<br />
=== Chinese input method problem ===<br />
<br />
Dota2 is not compatible with CJK IME(Input Method Editor/Enhancer), such as Ibus and Fcitx.<br />
Chinese characters can't be typed in Dota2.[https://github.com/ValveSoftware/Dota-2/issues/493 GitHub Steam issue 493]<br />
<br />
The possible solution<br />
<br />
Compile the `libSDL` with fcitx or ibus support, then replace `Game Folder/dota 2 beta/bin/libSDL2-2.0.so.0` with your version.<br />
<br />
: [http://forum.ubuntu.org.cn/viewtopic.php?f=34&t=460195 LibSDL+Ibus]<br />
: [http://forum.ubuntu.org.cn/viewtopic.php?f=34&t=466879&sid=1664abac47d8f639ed9b7f3abf94c675 LibSDL+Fcitx]<br />
: [https://github.com/timxx/SDL-fcitx LibSDL+Fcitx Source]<br />
: [https://github.com/ValveSoftware/Dota-2/issues/1650 The solutions issues]<br />
<br />
== Dwarfs F2P ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|lib32-libgdiplus}}{{Broken package link|{{aur-mirror|lib32-libgdiplus}}}}<br />
<br />
=== Game does not start ===<br />
<br />
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.<br />
<br />
If the game still crashes at startup, edit {{ic|~/.local/share/Steam/SteamApps/common/Dwarfs - F2P/Run.sh}} and change<br />
<br />
export LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH}<br />
<br />
to<br />
<br />
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:.<br />
<br />
{{Note|This file may be overwritten by updates or by verifying integrity of game cache. You may need to modify it again.}}<br />
<br />
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:<br />
<br />
libX11.so.6, libsteam.so libtier0_s.so, libvstdlib_s.so, steamclient.so<br />
<br />
=== Game crashes ===<br />
<br />
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.<br />
<br />
== Dynamite Jack ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-sdl}}<br />
<br />
=== Sound Issues ===<br />
<br />
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.)<br />
<br />
=== Game does not start ===<br />
<br />
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:<br />
<br />
/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<br />
<br />
Install {{pkg|lib32-sdl}} from [[multilib]] and Dynamite Jack should start up.<br />
<br />
== Football Manager 2014 ==<br />
<br />
This game will not run when installed on an XFS or reiserfs filesystem. Workaround is to install on an ext4 filesystem.<br />
<br />
== FORCED ==<br />
<br />
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.<br />
When manually launching the 64-bit binary, the game starts, but cannot connect to Steam account, so you cannot play.<br />
So install 32-bits dependencies, and launch the game from Steam.<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-glu}}<br />
<br />
== FTL: Faster than Light ==<br />
<br />
=== Dependencies ===<br />
<br />
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.<br />
<br />
=== Compatibility ===<br />
<br />
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.<br />
<br />
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.<br />
<br />
=== Problems with open-source video driver ===<br />
<br />
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}}.<br />
<br />
== Game Dev Tycoon ==<br />
<br />
=== Game does not start ===<br />
<br />
Error about missing libudev.so.0 might appear. See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
== Garry's Mod ==<br />
<br />
=== Game does not start ===<br />
<br />
Error about missing client.so might appear, solution:<br />
<br />
cd SteamLibrary/SteamApps/common/GarrysMod/bin/<br />
ln -s libawesomium-1-7.so.0 libawesomium-1-7.so.2<br />
ln -s ../garrysmod/bin/client.so ./<br />
<br />
=== Opening some menus causes the game to crash ===<br />
<br />
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.<br />
<br />
If you prefer the default menu style and do not mind a hacky solution: [https://github.com/Facepunch/garrysmod-issues/issues/86#issuecomment-30935491 Simon311] has written code with instructions to fix it.<br />
<br />
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.<br />
<br />
=== Game crashes after attempting to join server ===<br />
<br />
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.<br />
<br />
This issue arises more often when joining servers with many addons like DarkRP servers specifically.<br />
<br />
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 minimum fixes the problem until you can upgrade ;).<br />
<br />
== Hack 'n' Slash ==<br />
<br />
=== The game starts but craches when loading a new or saved game ===<br />
<br />
This seems to be the same issue as with Hammerwatch.<br />
Right click on Hack 'n' Slash on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
== Hacker Evolution [Untold, Duality] ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-sdl2_mixer}}<br />
<br />
== Half-Life 2 and episodes ==<br />
<br />
=== Cyrillic fonts problem ===<br />
<br />
This problem can be solved by deleting "Helvetica" font.<br />
<br />
== Hammerwatch ==<br />
<br />
=== The game not starting from Steam GUI ===<br />
<br />
Right click on Hammerwatch on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
=== No sound ===<br />
<br />
Hammerwatch opens with a popup: "Sound Error" -- "Could not initialize OpenAL, no sounds will be played. Try updating your OpenAL drivers."<br />
<br />
OpenAL, which Hammerwatch uses, defaults to PulseAudio. To change that, add the following line to {{ic|/etc/openal/alsoft.conf}}:<br />
<br />
drivers=alsa,pulse<br />
<br />
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].<br />
<br />
== Harvest: Massive Encounter ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-gtk2}}<br />
* {{pkg|lib32-libvorbis}}<br />
* {{pkg|lib32-openal}}<br />
* {{Pkg|lib32-nvidia-cg-toolkit}}<br />
* {{Pkg|lib32-libjpeg6-turbo}}<br />
* {{AUR|lib32-sfml}}<br />
<br />
=== Compatibility ===<br />
<br />
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<br />
<br />
#!/bin/bash<br />
exec ./Harvest<br />
<br />
== Hatoful Boyfriend ==<br />
<br />
=== Japanese text invisible ===<br />
<br />
Install {{pkg|wqy-microhei}} and {{pkg|wqy-microhei-lite}}.<br />
<br />
== The Impossible Game ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-sdl2}}<br />
* {{pkg|lib32-sdl2_image}}<br />
<br />
== The Inner World ==<br />
<br />
=== Bringing up the inventory or main menu ===<br />
<br />
Hold the <tab> key.<br />
<br />
=== Dependencies ===<br />
<br />
==== Sound support ====<br />
<br />
[[Install]] {{AUR|java-commons-codec}} to get sound support.<br />
<br />
==== Cutscenes ====<br />
<br />
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.<br />
<br />
Install {{AUR|jre}} from the [[AUR]] and run<br />
<br />
archlinux-java set java-8-jre/jre<br />
<br />
as root. Furthermore you need the package ffmpeg-compat. Currently this package is in the community repository.<br />
<br />
There seem to be problems with Steam Overlay. Try to run the game directly with ~/Steam/SteamApps/common/TheInnerWorld/TIW_start.sh<br />
<br />
Note that cutscenes open in a new window. So pay attention to that and switch to the new window to enjoy the movies.<br />
<br />
See the [http://steamcommunity.com/app/251430/discussions/0/611701360817206606/#c611701360827509770 Steam Forums] for details.<br />
<br />
== Interloper ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|alsa-lib}}<br />
<br />
=== Game does not launch ===<br />
<br />
Game can sometimes segfault due to an incompatibility with the Steam Runtime's libasound.so.2. See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
== Invisible Apartment ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|qt5-multimedia}}<br />
<br />
=== Game does not run ===<br />
<br />
Game does not run if you try to launch it via Steam, but you can run it directly if you run the following in terminal<br />
<br />
/home/$USER/.steam/steam/SteamApps/common/Invisible\ Apartment/ia1<br />
<br />
== Joe Danger 2: The Movie ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-libpulse}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
=== Compatibility ===<br />
<br />
Game only worked after obtaining from the [https://www.humblebundle.com/ Humble Bundle] directly and {{pkg|lib32-libpulse}} was installed.<br />
<br />
== Kerbal Space Program ==<br />
<br />
See [[Kerbal Space Program]].<br />
<br />
== Killing Floor ==<br />
<br />
=== Screen resolution ===<br />
<br />
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.<br />
If you try to modify screen resolution in-game, it might crash your desktop enviroment.<br />
To fix this, please set the desired resolution screen size by [[textedit|editing]] {{ic|~/.killingfloor/System/KillingFloor.ini}}.<br />
<br />
{{hc|~/.killingfloor/System/KillingFloor.ini|<nowiki><br />
...<br />
<br />
[WinDrv.WindowsClient]<br />
WindowedViewportX=????<br />
WindowedViewportY=????<br />
FullscreenViewportX=????<br />
FullscreenViewportY=????<br />
MenuViewportX=???<br />
MenuViewportY=???<br />
<br />
...<br />
<br />
[SDLDrv.SDLClient]<br />
WindowedViewportX=????<br />
WindowedViewportY=????<br />
FullscreenViewportX=????<br />
FullscreenViewportY=????<br />
MenuViewportX=????<br />
MenuViewportY=????<br />
<br />
...<br />
</nowiki>}}<br />
<br />
{{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.}}<br />
<br />
{{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.}}<br />
<br />
Save the file and restart the game, it should work now.<br />
<br />
=== Windowed mode ===<br />
<br />
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.<br />
<br />
=== Stuttering Sound ===<br />
<br />
KillingFloor comes with its own libopenal.so (called openal.so). To use system lib instead install {{pkg|openal}} or {{pkg|lib32-openal}} (if using 64bit system).<br />
Then go to {{ic|$HOME/Steam/SteamApps/common/KillingFloor/System}}. and rename openal.so to openal.so.bak<br />
Then create symlink to /usr/lib32/libopenal.so.1 or /usr/lib/libopenal.so.1 called openal.so<br />
<br />
== Lethal League ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-glew1.10}}<br />
<br />
== Life is Strange ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-librtmp0}}<br />
<br />
== Mark of the Ninja ==<br />
<br />
=== Bad sound ===<br />
<br />
Right click on {{ic|Mark of the Ninja}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
== Metro: Last Light ==<br />
<br />
This game is not allowing to change its resolution on a multimonitor setup on GNOME with Catalyst drivers.<br />
<br />
=== Attempted fixes ===<br />
<br />
Various changes to the games config file was tried without success.<br />
{{ic|wmctrl}} was not able to force the games resolution.<br />
<br />
=== Hacky solution ===<br />
<br />
Disabled the side monitors.<br />
<br />
=== Possible solutions ===<br />
<br />
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.<br />
<br />
== Middle-earth: Shadow of Mordor ==<br />
<br />
=== Floating heads ===<br />
<br />
Right click on {{ic|Middle-earth: Shadow of Mordor}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
<br />
__GL_ShaderPortabilityWarnings=0 %command%<br />
<br />
== Multiwinia ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-openal}}<br />
<br />
=== Crash on startup ===<br />
<br />
If Multiwinia crashes on startup on X64 systems, force launching the 32-bit executable by replacing {{ic|~/.local/share/Steam/steamapps/common/Multiwinia/run_steam.sh}} with the following script:<br />
<br />
{{bc|#!/bin/sh<br />
./multiwinia.bin.x86<br />
}}<br />
<br />
See [https://steamcommunity.com/app/1530/discussions/0/864969481950542663/#c558746995160431396].<br />
<br />
== Natural Selection 2 ==<br />
<br />
=== No Sound ===<br />
<br />
If there is no sound in-game. Try installing {{pkg|lib32-sdl}}, {{Pkg|lib32-sdl2}}, and {{pkg|lib32-alsa-plugins}}<br />
<br />
If this fails, try setting the game's launch options in Steam to:<br />
<br />
LD_LIBRARY_PATH="/usr/lib32:$LD_LIBRARY_PATH" %command%<br />
<br />
== Penumbra: Overture ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-libxft}}<br />
* {{pkg|lib32-libvorbis}}<br />
* {{pkg|lib32-openal}}<br />
* {{pkg|lib32-sdl_ttf}}<br />
* {{pkg|lib32-sdl_image}}<br />
<br />
=== Windowed mode ===<br />
<br />
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.<br />
<br />
Find {{ic|FullScreen&#61;"true"}} and change it to {{ic|FullScreen&#61;"false"}}, after this the game should start in windowed mode.<br />
<br />
== The Polynomial ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|ilmbase102-libs}}{{Broken package link|{{aur-mirror|ilmbase102-libs}}}}<br />
* {{AUR|openexr170-libs}}{{Broken package link|{{aur-mirror|openexr170-libs}}}}<br />
<br />
[https://github.com/ValveSoftware/steam-for-linux/issues/2721 Steam for Linux issue #2721]<br />
<br />
=== Segfaults during program start on 64-bit systems ===<br />
<br />
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.<br />
<br />
== Portal 2 ==<br />
<br />
=== Game does not start ===<br />
<br />
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}}). See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
== Prison Architect ==<br />
<br />
=== ALSA error when using PulseAudio ===<br />
<br />
The error:<br />
<br />
{{ic|ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave}}<br />
<br />
was resolved by installing:<br />
<br />
* {{pkg|pulseaudio-alsa}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-libpulse}}<br />
<br />
per [[PulseAudio#ALSA]].<br />
<br />
== Project Zomboid ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|jre7-openjdk}}<br />
<br />
=== No sound ===<br />
<br />
Right click on {{ic|Project Zomboid}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
In the game, go to the options and set all audio to the proper volume.<br />
<br />
== Redshirt ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-libpulse}} (if you use PulseAudio)<br />
<br />
== Revenge of the Titans ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|libxtst}} and {{pkg|lib32-libxtst}}<br />
<br />
== Rock Boshers DX: Directors Cut ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libcaca}}<br />
<br />
== Saints Row IV ==<br />
<br />
=== Game fails to launch after update to new Nvidia drivers ===<br />
<br />
Set the launch options for Saints Row IV to:<br />
<br />
{{bc|1=LD_PRELOAD=$LD_PRELOAD:/usr/lib32/libGLX_nvidia.so %command%}}<br />
<br />
=== Game causes GPU lockup with mesa drivers ===<br />
<br />
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].<br />
<br />
A workaround is to set the launch options to:<br />
<br />
{{bc|1=R600_DEBUG=nosb %command%}}<br />
<br />
== Serious Sam 3: BFE ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
=== No audio ===<br />
<br />
Try running:<br />
<br />
# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/<br />
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/<br />
<br />
If that does not work, try tweaking {{ic|~/.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:<br />
<br />
{{hc|~/.alsoftrc|<nowiki><br />
[general]<br />
drivers = alsa<br />
[alsa]<br />
device = default<br />
capture = default<br />
mmap = true<br />
</nowiki>}}<br />
<br />
== Sir, You Are Being Hunted ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
== Space Pirates and Zombies ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-openal}}<br />
<br />
=== No audio ===<br />
<br />
Try running:<br />
<br />
# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/<br />
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/<br />
<br />
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:<br />
<br />
{{hc|~/.alsoftrc|<nowiki><br />
[general]<br />
drivers = alsa<br />
[alsa]<br />
device = default<br />
capture = default<br />
mmap = true<br />
</nowiki>}}<br />
<br />
== Spacechem ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-sqlite}}<br />
* {{pkg|lib32-sdl_image}}<br />
* {{Pkg|lib32-sdl_mixer}}<br />
<br />
=== Game crash ===<br />
<br />
The shipped x86 version of Spacechem does not work on x64 with the game's own libSDL* files, and crashes with some strange output.<br />
<br />
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}}<br />
<br />
== Splice ==<br />
<br />
Splice comes with both x86 and x64 binaries. Steam does not have to be running to launch this game.<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|glu}}<br />
<br />
== Star Wars Battlefront II ==<br />
<br />
Star wars battlefront 2's steam version running under [[wine|WINE]] has a bug which causes it to take forever to load a game. The solution is to compile a custom wine version with the patch from this [https://bugs.winehq.org/show_bug.cgi?id=29582 WINEHQ bug page] Instructions are at the bottom of the page.<br />
<br />
{{Note|The required patch is called "updated patchset (GetForgroundWindow hack + posix semaphores) rebased onto wine-1.7.55".}}<br />
<br />
In order to use the patched wine version with PlayOnLinux, copy the completely patched and compiled wine-1.7.55 folder to ~/.PlayOnLinux/wine/linux-x86/<br />
<br />
== The Stanley Parable ==<br />
<br />
=== Game won't start ===<br />
<br />
as discussed in steam's store page, remove {{ic|libstdc++.so.6}} from the game folder. For example:<br />
<br />
rm ~/.local/share/Steam/steamapps/common/The\ Stanley\ Parable/bin/libstdc++.so.6<br />
<br />
== Steel Storm: Burning Retribution ==<br />
<br />
=== Start with black screen ===<br />
<br />
The game tries to launch in 1024x768 resolution with fullscreen mode by default. It is impossible on some devices.<br />
(for example laptop Samsung Series9 with intel hd4000 video).<br />
<br />
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".<br />
<br />
Now you can change the resolution in game.<br />
<br />
=== No English fonts ===<br />
<br />
If you use Intel video card, just disable S3TC in DriConf.<br />
<br />
== Stephen's Sausage Roll ==<br />
<br />
=== No sound ===<br />
<br />
If using [[Steam/Troubleshooting#Native runtime|native libraries]] and {{pkg|libpulse}} is installed, Unity may try to use that library for sound and fail.<br />
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:<br />
<br />
{{hc|$ pacman -Qql libpulse <nowiki>|</nowiki> grep /usr/lib/libpulse-simple|<br />
/usr/lib/libpulse-simple.so<br />
/usr/lib/libpulse-simple.so.0<br />
/usr/lib/libpulse-simple.so.0.1.0}}<br />
<br />
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:<br />
<br />
$ cd "$HOME/.local/share/Steam/steamapps/common/Stephen's Sausage Roll"<br />
<br />
And create a sub-directory that we can use to hold 0-byte look-alike library files:<br />
<br />
$ mkdir noload/<br />
<br />
Use {{ic|touch}} to create 0-byte versions of the above files that we want the dynamic linker to skip, e.g.:<br />
<br />
$ touch noload/{libpulse-simple.so,libpulse-simple.so.0,libpulse-simple.so.0.1.0}<br />
<br />
{{Note|Only a 0-byte {{ic|libpulse-simple.so.0}} file may be required.}}<br />
<br />
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:<br />
<br />
$ LD_LIBRARY_PATH="noload/:$LD_LIBRARY_PATH" ./Sausage.x86_64<br />
<br />
If everything works up to this point, you can amend the launch options in Steam to be:<br />
<br />
LD_LIBRARY_PATH="noload/:$LD_LIBRARY_PATH" %command%<br />
<br />
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.<br />
<br />
== Strike Suite Zero ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
== Superbrothers: Sword & Sworcery EP ==<br />
<br />
<br />
[http://steamcommunity.com/app/204060/discussions/0/364039785161291413/ The game bundles with an outdated version of libstdc++] which prevents the game from starting. The following can be observed when you run Steam and S&S from the terminal:<br />
<br />
libGL error: unable to load driver: i965_dri.so<br />
libGL error: driver pointer missing<br />
libGL error: failed to load driver: i965<br />
libGL error: unable to load driver: i965_dri.so<br />
libGL error: driver pointer missing<br />
libGL error: failed to load driver: i965<br />
libGL error: unable to load driver: swrast_dri.so<br />
libGL error: failed to load driver: swrast<br />
<br />
To solve this problem, go into the game's library folder which should be something like<br />
<br />
/home/steam/.steam/steam/steamapps/common/Superbrothers Sword & Sworcery EP/lib<br />
<br />
and then<br />
<br />
rm libstdc++.so.6*<br />
<br />
After that the game will use the libstdc++ from Steam.<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-libpulse}} (if you use PulseAudio)<br />
<br />
== Tabletop Simulator ==<br />
<br />
=== CJK characters not showing in game ===<br />
<br />
Install {{pkg|wqy-microhei}} and {{pkg|wqy-microhei-lite}}.<br />
<br />
== Team Fortress 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libpng12}}<br />
<br />
=== Making HRTF work ===<br />
<br />
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<br />
<br />
dsp_slow_cpu 1<br />
<br />
For best results, also change the following:<br />
<br />
snd_spatialize_roundrobin 1<br />
dsp_enhance_stereo 0<br />
snd_pitchquality 1<br />
<br />
=== Loading screen freeze ===<br />
<br />
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.<br />
<br />
=== No audio ===<br />
<br />
It happens if there is no PulseAudio in your system.<br />
If you want to use [[ALSA]], you need to launch Steam or the game directly with {{ic|1=SDL_AUDIODRIVER=alsa}}<br />
(From [http://steamcommunity.com/app/221410/discussions/0/882966056462819091/#c882966056470753683 SteamCommunity]).<br />
<br />
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.<br />
<br />
=== Slow loading textures ===<br />
<br />
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.<br />
<br />
== Terraria ==<br />
<br />
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].<br />
<br />
== This War of Mine ==<br />
<br />
=== Game doesn't load ===<br />
<br />
This happens because of a incompatibility of the newer version of {{ic|lib32-glibc}}. To Fix the problem you need to download the version 2.20-6 of the lib, you can download it [http://ftp.nara.wide.ad.jp/pub/Linux/archlinux/multilib-testing/os/x86_64/lib32-glibc-2.20-6-x86_64.pkg.tar.xz here], then extract the:<br />
<br />
libc.so.6<br />
libc-2.20.so<br />
libpthread.so.0<br />
libpthread-2.20.so<br />
libresolv-2.20.so<br />
libresolv.so.2<br />
librt.so.1<br />
librt-2.20.so<br />
<br />
located in the archive and put on the main game folder: {{ic|~/.local/share/Steam/steamapps/common/This War of Mine/}}<br />
<br />
== Tomb Raider ==<br />
<br />
=== Game immediately closes when running with steam-native ===<br />
<br />
Tomb Raider has a very heavy amount of dependency on the Steam runtime, the easiest solution is to just run it using the runtime.<br />
You can do so by setting the following as the launch option:<br />
<br />
{{bc|/home/[your username]/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh %command%}}<br />
<br />
=== Steam Controller not working ingame while being correctly recognised* by Steam outside of the game ===<br />
<br />
If your Steam Controller is correctly recognised and paired but it still does not work in game then you can do the following:<br /><br />
<br />
* In Steam, non Big Screen, go to Settings -> Account -> Beta participation -> Change... and in the dropdown select box select Steam Beta Update<br />
* Restart Steam<br />
* Go to Big Screen and start Tomb Raider<br />
<br />
Correctly recognised means you can control desktop mouse and Steam in Big Picture mode and the controller is shown in Big Picture settings<br />
<br />
== Towns / Towns Demo ==<br />
<br />
=== Crash on launch ===<br />
<br />
Ensure you have [[Java]] installed.<br />
<br />
== Transistor ==<br />
<br />
=== Crash on launch / FMOD binding crash / Audio issues ===<br />
<br />
Try running steam with following command<br />
<br />
LD_PRELOAD='/usr/lib/libstdc++.so.6:/usr/lib/libgcc_s.so.1:/usr/lib/libxcb.so.1:/usr/lib/libasound.so.2' steam<br />
<br />
Alternatively, right click on Transistor, go to Properties => Set Launch Options... and enter<br />
<br />
LD_PRELOAD='/usr/lib/libstdc++.so.6:/usr/lib/libgcc_s.so.1:/usr/lib/libxcb.so.1:/usr/lib/libasound.so.2' %command%<br />
<br />
This will force Steam to do the fix whenever Transistor is started, but allows Steam to be launched normally.<br />
<br />
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/].<br />
<br />
Also, check out this thread [https://steamcommunity.com/app/237930/discussions/2/492378265893557247/]<br />
<br />
== Transmissions: Element 120 ==<br />
<br />
=== Troubleshooting ===<br />
<br />
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<br />
<br />
AppFramework : Unable to load module vguimatsurface.so!<br />
<br />
To show which dependencies are satisfied, go to the folder in which you installed the game (`SteamLibrary/steamapps/common/Transmissions Element 120`) and execute:<br />
<br />
LD_LIBRARY_PATH=bin ldd bin/vguimatsurface.so<br />
<br />
look for entries that say `not found`<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libgcrypt15}}<br />
* {{pkg|lib32-libpng12}}<br />
<br />
== Trine 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-libxxf86vm}}<br />
* {{pkg|lib32-openal}}<br />
* {{pkg|xorg-xwininfo}}<br />
* {{pkg|lib32-libdrm}}<br />
<br />
=== Colors ===<br />
<br />
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])<br />
<br />
=== Sound ===<br />
<br />
{{Accuracy|General settings not specific to this game}}<br />
<br />
If sound plays choppy, try:<br />
<br />
{{hc|/etc/openal/alsoft.conf|<nowiki><br />
drivers=pulse,alsa<br />
frequency=48000<br />
</nowiki>}}<br />
<br />
=== Resolution ===<br />
<br />
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.<br />
<br />
== Unity of Command ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-pango}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
=== Squares ===<br />
<br />
* If squares are shown instead of text, try removing {{ic|$HOME/Steam/SteamApps/common/Unity of Command/bin/libpangoft2-1.0.so.0}}.<br />
<br />
=== No audio ===<br />
<br />
If you get this error:<br />
<br />
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<br />
<br />
Try running:<br />
<br />
# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/<br />
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/<br />
<br />
== Unity3D ==<br />
<br />
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.<br />
<br />
=== Locale Settings ===<br />
<br />
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.<br />
<br />
To work around this, set the game's launch options to {{ic|1=LC_ALL=C %command%}}<br />
<br />
Some of the affected games: ''FORCED'', ''Gone Home'', ''Ichi'', ''Nimble Quest'', ''Syder Arcade''.<br />
<br />
=== Unity 5 sound problems ===<br />
<br />
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]].<br />
Another solution is to disable the Steam runtime: in the launch options for the game, write this: {{ic|1=LD_LIBRARY_PATH="" %command%}}<br />
<br />
=== Game launching on wrong monitor in fullscreen mode ===<br />
<br />
Unity games that do not support monitor selection will most likely launch the game on a wrong monitor.<br />
<br />
The problem is that Unity games write the default param {{ic|1=<pref name="UnitySelectMonitor" type="int">-1</pref>}} to the game config file.<br />
<br />
This will lead to the game launching on a non-primary monitor.<br />
<br />
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.<br />
<br />
A Unity game config file usually resides in {{ic|~/.config/unity3d/[CompanyName]/[ProductName]/prefs}}.<br />
<br />
Some of the affected games: ''Cities: Skylines'', ''Tablestop Simulator'', ''Assault Android Cactus'', ''Wasteland 2''.<br />
<br />
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''.<br />
<br />
== Unrest ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|fluidsynth}}<br />
<br />
== War Thunder ==<br />
<br />
=== Blank screen ===<br />
<br />
If having a green or blank screen at game start, set the {{ic|1=MESA_GL_VERSION_OVERRIDE=4.1COMPAT}} [[environment variable]]. [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]<br />
<br />
== Warhammer 40,000: Dawn of War II ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|alsa-lib}}<br />
* {{Pkg|librtmp0}}<br />
<br />
=== Blank screen ===<br />
<br />
The start script points to a wrong direction of libasound.so.2.<br />
<br />
Edit DawnOfWar2.sh :<br />
<br />
{{bc|<nowiki>nano "~/.steam/steam/steamapps/common/Dawn of War 2/DawnOfWar2.sh"</nowiki>}}<br />
<br />
find the line with:<br />
<br />
{{bc|<nowiki>HAS_LSB_RELEASE=$(command -v lsb_release)<br />
if [ -n "${HAS_LSB_RELEASE}" ] && [ "$(lsb_release -c | cut -f2)" = "trusty" ]; then<br />
LD_PRELOAD_ADDITIONS="/usr/lib/x86_64-linux-gnu/libasound.so.2:${LD_PRELOAD_ADDITIONS}"<br />
fi </nowiki>}}<br />
<br />
and replace it with:<br />
<br />
{{bc|<nowiki>LD_PRELOAD_ADDITIONS="/usr/lib64/libasound.so.2:${LD_PRELOAD_ADDITIONS}"</nowiki>}}<br />
<br />
You can also put the replacement after an else statement if using multiple linux distributions.<br />
<br />
== Witcher 2: Assassin of Kings ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-freetype2}}<br />
* {{Pkg|lib32-libcurl-compat}}<br />
* {{Pkg|lib32-gnutls}}<br />
* {{Pkg|lib32-sdl2}}<br />
* {{Pkg|lib32-sdl2_image}}<br />
* {{Pkg|lib32-libcurl-gnutls}}<br />
<br />
=== Game does not start ===<br />
<br />
If the game does not run, enable error messages:<br />
<br />
cd "${HOME}/.local/share/Steam/SteamApps/common/the witcher 2"<br />
LIBGL_DEBUG=verbose ./witcher2<br />
<br />
== Wizardry 6: Bane of the Cosmic Forge ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|dosbox}}<br />
<br />
To fix the crash at start, edit {{ic|~/.local/share/Steam/SteamApps/common/Wizardry6/dosbox_linux/launch_wizardry6.sh}} and change<br />
<br />
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs<br />
exec ./dosbox -conf dosbox_wiz6.conf -conf dosbox_wiz6_launch_linux.conf -noconsole "$@"<br />
<br />
to<br />
<br />
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs<br />
exec dosbox -conf dosbox_wiz6.conf -conf dosbox_wiz6_launch_linux.conf -noconsole "$@"<br />
<br />
== World of Goo ==<br />
<br />
=== Changing resolution ===<br />
<br />
* 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:<br />
<br />
<!-- Graphics display --><br />
<param name="screen_width" value="1680" /><br />
<param name="screen_height" value="1050" /><br />
<param name="color_depth" value="0" /><br />
<param name="fullscreen" value="true" /><br />
<param name="ui_inset" value="10" /><br />
<br />
== Worms Reloaded ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
== XCOM ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|sdl2_image}} (Required to enable keyboard functionality in-game)<br />
* {{Pkg|librtmp0}} (Required to run the game)<br />
<br />
=== Hangs on startup ===<br />
<br />
See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
If you are running a hybrid graphic system, try<br />
<br />
__GL_THREADED_OPTIMIZATIONS=0 primusrun %command%<br />
<br />
=== Graphical glitches on Intel HD ===<br />
<br />
XCOM may not recognize sdl2 shared libraries shipped with Steam runtime.<br />
Check if binary finds all required files and install missing packages if necessary ({{Pkg|sdl2}} and {{Pkg|sdl2_image}}).<br />
<br />
{{bc|ldd ~/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/binaries/linux/game.x86_64 | grep "not found"}}</div>Philipflohrhttps://wiki.archlinux.org/index.php?title=Steam/Game-specific_troubleshooting&diff=455599Steam/Game-specific troubleshooting2016-10-31T15:13:11Z<p>Philipflohr: Added Section ARK:Survival Evolved</p>
<hr />
<div>[[Category:Gaming]]<br />
[[ja:Steam/ゲーム別のトラブルシューティング]]<br />
See [[Steam]] for the main article, and [[Steam/Troubleshooting]] for generic troubleshooting.<br />
<br />
{{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.}}<br />
<br />
{{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.}}<br />
<br />
== Air Brawl ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|gnu-free-fonts}}<br />
<br />
=== Menus are missing text/blacked out ===<br />
<br />
Air Brawl seems to require some fonts that are missing, installing the package {{pkg|gnu-free-fonts}} may fix it.<br />
<br />
== Amnesia: The Dark Descent ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|lib32-freealut}}<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-libxmu}}<br />
* {{pkg|lib32-sdl_ttf}}<br />
<br />
== And Yet It Moves ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libtheora}}<br />
* {{Pkg|lib32-libjpeg6-turbo}}<br />
* {{Pkg|lib32-libtiff4}}<br />
* {{Pkg|lib32-libpng12}}<br />
<br />
=== Compatibility ===<br />
<br />
Game refuses to launch and one of the following messages can be observed on console<br />
<br />
readlink: extra operand ‘Yet’<br />
Try 'readlink --help' for more information.<br />
<br />
OR<br />
<br />
This script must be run as a user with write priviledges to game directory<br />
<br />
To fix this, use:<br />
<br />
{{hc|~/.steam/root/SteamApps/common/And Yet It Moves/AndYetItMovesSteam.sh|<nowiki><br />
#ayim_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"<br />
ayim_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"<br />
</nowiki>}}<br />
<br />
== Anodyne ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|adobe-air-sdk}}<br />
* {{pkg|xterm}} (probably not actually required)<br />
<br />
=== Compatibility ===<br />
<br />
Follow the same steps as [[#Defender.27s Quest: Valley of the Forgotten|Defender's Quest]]<br />
<br />
== Aquaria ==<br />
<br />
=== Mouse pointer gets stuck in one direction ===<br />
<br />
If the mouse pointer gets stuck in any one direction, the game becomes unplayable. You may try:<br />
{{hc|~/.local/share/Steam/SteamApps/common/Aquaria/usersettings.xml|<nowiki><br />
#<JoystickEnabled on=”1″ /><br />
<JoystickEnabled on=”0″ /></nowiki>}}<br />
<br />
If that does not fix the issue, unplug any joystick or joystick adapter devices you may have plugged in.<br />
<br />
<br />
== ARK: Survival Evolved ==<br />
<br />
=== Game does not start, displays text window with unreadable text ===<br />
<br />
Set<br />
<br />
MESA_GL_VERSION_OVERRIDE=4.0 MESA_GLSL_VERSION_OVERRIDE=400 %command%<br />
<br />
as launch option in steam<br />
<br />
== Audiosurf 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|pulseaudio-alsa}}<br />
<br />
== Binding of Isaac: Rebirth ==<br />
<br />
=== No sound ===<br />
<br />
{{Note|This also helps with Never Alone (Kisima Ingitchuna) }}<br />
<br />
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:<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
In the game, go to the options and set all audio to the proper volume.<br />
<br />
== The Book of Unwritten Tales ==<br />
<br />
If the game does not start, uncheck: ''Properties > Enable Steam Community In-Game''.<br />
<br />
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 {{AUR|dpkg}}:<br />
<br />
$ dpkg -x libogre-*.deb outdir}}<br />
<br />
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.<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|lib32-libxaw}}<br />
* {{AUR|lib32-jasper}}<br />
<br />
== The Book of Unwritten Tales: The Critter Chronicles ==<br />
<br />
Because it's based on the same engine, the things that apply to ''The Book of Unwritten Tales'' also apply for this game.<br />
<br />
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<br />
<br />
== Borderlands 2 ==<br />
<br />
=== Syncing save games ===<br />
<br />
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.<br />
<br />
=== Using Ctrl Key ===<br />
<br />
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 {{ic|setkeycodes 0x1d 56}} (as root) to map Ctrl to Alt before starting the game and {{ic|setkeycodes 0x1d 29}} to restore the default.<br />
<br />
=== Logging into SHiFT ===<br />
<br />
The Linux version of Borderlands 2 expects to be run on Ubuntu, as that is the "officially" supported distro for Steam. As a result of this, when attempting to log in to SHiFT, it will fail, claiming the server is not available. Using strace, it can be seen that it fails to connect to the server because it cannot load SSL certificates from /usr/lib/ssl, which is the Ubuntu filesystem spec. Arch uses /etc/ssl. This can be fixed by symlinking /etc/ssl to /usr/lib/ssl, like so:<br />
<br />
# ln -s /etc/ssl /usr/lib/ssl<br />
<br />
To avoid symlinking an alternative to the above is to add the following to the launch options in Steam:<br />
<br />
SSL_CERT_DIR="/etc/ssl/certs" %command%<br />
<br />
Using one method or the other you will now be able to log into SHiFT to redeem SHiFT codes.<br />
<br />
== Borderlands: The Pre-Sequel ==<br />
<br />
Borderlands the Pre-Sequel (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 discussion forum].<br />
<br />
As an alternative the following can be added to the launch options in Steam:<br />
<br />
SSL_CERT_DIR="/etc/ssl/certs" %command%<br />
<br />
=== Keyboard not working ===<br />
<br />
Using dwm, no keyboard input seems to register with BL:TPQ. Switching to openbox helped solved the issue, no other fix could be found. It's either a specific dwm issue or tiling WMs in general.<br />
<br />
== Cities in Motion 2 ==<br />
<br />
=== Dialog boxes fail to display properly ===<br />
<br />
You will not be able to read or see anything, and you will have this in your logs:<br />
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: non-double matrix element<br />
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 69: wrong number of matrix elements<br />
<br />
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}}).<br />
<br />
== Cities Skylines ==<br />
<br />
=== Textures not rendering properly ===<br />
<br />
In Steam client set launch properties for game:<br />
<br />
UNITY_DISABLE_GRAPHICS_DRIVER_WORKAROUNDS=yes %command%<br />
<br />
== Civilization V ==<br />
<br />
=== Stuttering sound with PulseAudio ===<br />
<br />
See [[PulseAudio/Troubleshooting#Laggy sound]].<br />
<br />
=== Extra LD_PRELOAD variable ===<br />
If the game seems to start and close, consider using the following as launch options for the game:<br />
<br />
env LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6' %command%<br />
<br />
as seen here https://github.com/ValveSoftware/steam-for-linux/issues/4379<br />
<br />
== The Clockwork Man ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-libidn}}<br />
<br />
== Company of Heroes 2 ==<br />
<br />
The game can't find "libpcre.so.3" and fails to run. A solution is to create a symbolic link:<br />
<br />
{{bc|ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3}}<br />
<br />
== Counter-Strike: Global Offensive (CS:GO) ==<br />
<br />
=== Game runs on the wrong screen ===<br />
<br />
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/60 GitHub Counter-Strike: Global Offensive issue #60]<br />
<br />
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.<br />
<br />
=== Cannot reach bottom of the screen on menues ===<br />
<br />
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/594 GitHub Counter-Strike: Global Offensive issue #594]<br />
<br />
If you have a secondary monitor you might have a part of your lower screen you cannot reach on menues.<br />
If on Gnome you can try to open the overview (Super key) and drag the game to the other monitor and back.<br />
<br />
If you are not on Gnome or dragging the window back and forth did not work you can try to install and run this command, where X and Y is the offset of the window and H and W is the size.<br />
wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,X,Y,H,W<br />
<br />
'''Example''': SecondaryMonitor: on the left 2560x1600, GamingMonitor: on the right 2560x1440).<br />
wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,2560,0,1600,1200<br />
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 ingame resolution.<br />
<br />
=== Audio is not synced ===<br />
<br />
[https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/45 GitHub Counter-Strike: Global Offensive issue #45]<br />
<br />
See [[PulseAudio/Troubleshooting#Laggy sound]] for a possible solution.<br />
<br />
=== Unable to aim when in game ===<br />
<br />
Unable to aim when in game. However, the mouse cursor does works in GUI such as main menu, game menu, etc.<br />
Add this line to your {{ic|.bash_profile}} and relogin:<br />
<br />
export SDL_VIDEO_X11_DGAMOUSE=0<br />
<br />
See also [https://bbs.archlinux.org/viewtopic.php?id=184905].<br />
<br />
=== Mouse Deadzone ===<br />
<br />
Small mouse movements (less than under 5 pixels per second) does not register on X or an OpenGL games.<br />
<br />
Solution[https://bbs.archlinux.org/viewtopic.php?pid=1519944#p1519944]:<br />
<br />
sudo pacman -R x86-input-libinput libinput<br />
<br />
=== Low Performance on AMD card using Catalyst proprietary driver ( <= 15.7 ) ===<br />
<br />
Solution[http://www.phoronix.com/scan.php?page=article&item=amd-csgo-workaround&num=1]:<br />
<br />
cd ~/.steam/steam/steamapps/common/Counter-Strike\ Global\ Offensive<br />
mv csgo_linux hl2_linux<br />
<br />
Now edit csgo.sh<br />
<br />
nano csgo.sh<br />
<br />
and change<br />
<br />
GAMEEXE=csgo_linux<br />
<br />
to<br />
<br />
GAMEEXE=hl2_linux<br />
<br />
=== Brightness slider not working ===<br />
<br />
First, find out your current display output name (connected one):<br />
<br />
xrandr | grep -v disconnected | grep connected<br />
<br />
For example:<br />
<br />
'''DFP9''' connected<br />
<br />
Edit csgo.sh<br />
<br />
nano ~/.steam/steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo.sh<br />
<br />
and add the following lines (change the OUTPUT_NAME to one you found with xrandr)<br />
<br />
'''# gamma correction'''<br />
'''xrandr --output <OUTPUT_NAME> --gamma 1.6:1.6:1.6 # play with values if required'''<br />
STATUS=42<br />
while [$STATUS -eq 42]; do<br />
...<br />
done<br />
'''# restore gamma'''<br />
'''xrandr --output <OUTPUT_NAME> --gamma 1:1:1'''<br />
exit $STATUS<br />
<br />
== Crusader Kings II ==<br />
<br />
=== Dependencies (x86_64) ===<br />
<br />
* {{pkg|lib32-openssl}}<br />
<br />
=== Tips and tricks ===<br />
<br />
Game is installed into {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II}}.<br />
Game can be started directly, without need of running Steam on background, using command {{ic|$HOME/Steam/SteamApps/common/Crusader Kings II/ck2}}.<br />
<br />
Saves are stored in {{ic|$HOME/Documents/Paradox Interactive/Crusader Kings II/save games/}}.<br />
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.<br />
<br />
=== No audio ===<br />
<br />
The default audio driver used by Crusader Kings 2 is for [[PulseAudio]], so an override is necessary:<br />
<br />
{{hc|~/.pam_environment|2=SDL_AUDIODRIVER=alsa}}<br />
<br />
=== Odd Sized Starting Window ===<br />
<br />
Enable full screen mode as the default. In {{ic|~/.paradoxinteractive/Crusader Kings II/settings.txt}} change fullscreen=no to fullscreen=yes.<br />
<br />
== Death Road To Canada ==<br />
<br />
=== No music ===<br />
<br />
Right click on {{ic|Death Road To Canada}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
== Defender's Quest: Valley of the Forgotten ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|adobe-air-sdk}}<br />
* {{pkg|xterm}}<br />
* {{pkg|lib32-libcanberra}}<br />
<br />
=== Game does not start ===<br />
<br />
* 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):<br />
<br />
{{bc|$ ln -s /opt/adobe-air-sdk/runtimes/air/linux/Adobe\ AIR /opt/Adobe\ AIR}}<br />
<br />
* Adobe AIR will want to check whether the EULA was accepted and fail in doing so. To fix it, issue the following commands (from under your user, not under root):<br />
<br />
{{bc|$ mkdir -p ~/.appdata/Adobe/AIR<br />
$ echo 2 > ~/.appdata/Adobe/AIR/eulaAccepted}}<br />
<br />
{{Note|By issuing these commands you're accepting Adobe Air's EULA.}}<br />
<br />
== Divinity: Original Sin - Enhanced Edition ==<br />
<br />
=== Game doesn't start when using Bumblebee optirun or primusrun ===<br />
<br />
Edit {{ic|<path to library>/SteamApps/common/Divinity Original Sin Enhanced Edition/runner.sh}} to have it use primusrun:<br />
LD_LIBRARY_PATH="." primusrun ./EoCApp<br />
<br />
== Don't Starve ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-flashplugin}}<br />
* {{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)<br />
* {{Pkg|lib32-libcurl-compat}} (Requires further commands after installation as described [http://steamcommunity.com/app/219740/discussions/2/620700960796078576/#c611704730329482542 here])<br />
<br />
=== No sound ===<br />
<br />
Right click on Don't Starve on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
On the game, go to the option and set all audio to the proper volume.<br />
<br />
== Dota 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-openal}}<br />
* {{pkg|lib32-libpulse}} (if you use PulseAudio)<br />
* {{pkg|lib32-fontconfig}}<br />
<br />
==== Dota 2 reborn ====<br />
<br />
* {{pkg|libpng12}}<br />
* {{AUR|libudev0}} or {{AUR|libudev.so.0}}<br />
<br />
=== In-game font is unreadable ===<br />
<br />
Start Steam (or Dota 2) with the environment variable:<br />
<br />
MESA_GL_VERSION_OVERRIDE=2.1<br />
<br />
=== Everything seems OK but the game doesn't start ===<br />
<br />
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''.<br />
<br />
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.<br />
<br />
=== Game runs on the wrong screen ===<br />
<br />
: [https://github.com/ValveSoftware/Dota-2/issues/11 GitHub Dota 2 issue #11]<br />
<br />
=== Game does not start with libxcb-dri3 error message ===<br />
<br />
After a recent Mesa update, Dota 2 stopped working. The error message is:<br />
<br />
SDL_GL_LoadLibrary(NULL) failed: Failed loading libGL.so.1: /usr/lib32/libxcb-dri3.so.0: undefined symbol: xcb_send_fd<br />
<br />
See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
=== Steam overlay ===<br />
<br />
Steam distributes a copy of libxcb which is incompatible with the latest xorg libxcb. See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
See more information here:<br />
<br />
: [https://github.com/ValveSoftware/steam-for-linux/issues/3199]<br />
: [https://github.com/ValveSoftware/steam-for-linux/issues/3093]<br />
<br />
=== Chinese Tips and player's name display problem ===<br />
<br />
The Chinese characters in the Tips and player's name display block character.<br />
<br />
The problem caused by some fonts package. It is known that the 'ttf-dejave', 'ttf-liberation' and 'ttf-ms-fonts' will cause the prolem, and the 'wqy-*', 'ttf-ubuntu-font-family', 'ttf-arphic-uming', 'ttf-linux-libertine' are safe. The other fonts family are not checked.<br />
<br />
: [https://github.com/ValveSoftware/Dota-2/issues/1688 GitHub Steam issue #1688]<br />
<br />
=== Chinese input method problem ===<br />
<br />
Dota2 is not compatible with CJK IME(Input Method Editor/Enhancer), such as Ibus and Fcitx.<br />
Chinese characters can't be typed in Dota2.[https://github.com/ValveSoftware/Dota-2/issues/493 GitHub Steam issue 493]<br />
<br />
The possible solution<br />
<br />
Compile the `libSDL` with fcitx or ibus support, then replace `Game Folder/dota 2 beta/bin/libSDL2-2.0.so.0` with your version.<br />
<br />
: [http://forum.ubuntu.org.cn/viewtopic.php?f=34&t=460195 LibSDL+Ibus]<br />
: [http://forum.ubuntu.org.cn/viewtopic.php?f=34&t=466879&sid=1664abac47d8f639ed9b7f3abf94c675 LibSDL+Fcitx]<br />
: [https://github.com/timxx/SDL-fcitx LibSDL+Fcitx Source]<br />
: [https://github.com/ValveSoftware/Dota-2/issues/1650 The solutions issues]<br />
<br />
== Dwarfs F2P ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|lib32-libgdiplus}}{{Broken package link|{{aur-mirror|lib32-libgdiplus}}}}<br />
<br />
=== Game does not start ===<br />
<br />
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.<br />
<br />
If the game still crashes at startup, edit {{ic|~/.local/share/Steam/SteamApps/common/Dwarfs - F2P/Run.sh}} and change<br />
<br />
export LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH}<br />
<br />
to<br />
<br />
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:.<br />
<br />
{{Note|This file may be overwritten by updates or by verifying integrity of game cache. You may need to modify it again.}}<br />
<br />
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:<br />
<br />
libX11.so.6, libsteam.so libtier0_s.so, libvstdlib_s.so, steamclient.so<br />
<br />
=== Game crashes ===<br />
<br />
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.<br />
<br />
== Dynamite Jack ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-sdl}}<br />
<br />
=== Sound Issues ===<br />
<br />
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.)<br />
<br />
=== Game does not start ===<br />
<br />
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:<br />
<br />
/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<br />
<br />
Install {{pkg|lib32-sdl}} from [[multilib]] and Dynamite Jack should start up.<br />
<br />
== Football Manager 2014 ==<br />
<br />
This game will not run when installed on an XFS or reiserfs filesystem. Workaround is to install on an ext4 filesystem.<br />
<br />
== FORCED ==<br />
<br />
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.<br />
When manually launching the 64-bit binary, the game starts, but cannot connect to Steam account, so you cannot play.<br />
So install 32-bits dependencies, and launch the game from Steam.<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-glu}}<br />
<br />
== FTL: Faster than Light ==<br />
<br />
=== Dependencies ===<br />
<br />
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.<br />
<br />
=== Compatibility ===<br />
<br />
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.<br />
<br />
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.<br />
<br />
=== Problems with open-source video driver ===<br />
<br />
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}}.<br />
<br />
== Game Dev Tycoon ==<br />
<br />
=== Game does not start ===<br />
<br />
Error about missing libudev.so.0 might appear. See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
== Garry's Mod ==<br />
<br />
=== Game does not start ===<br />
<br />
Error about missing client.so might appear, solution:<br />
<br />
cd SteamLibrary/SteamApps/common/GarrysMod/bin/<br />
ln -s libawesomium-1-7.so.0 libawesomium-1-7.so.2<br />
ln -s ../garrysmod/bin/client.so ./<br />
<br />
=== Opening some menus causes the game to crash ===<br />
<br />
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.<br />
<br />
If you prefer the default menu style and do not mind a hacky solution: [https://github.com/Facepunch/garrysmod-issues/issues/86#issuecomment-30935491 Simon311] has written code with instructions to fix it.<br />
<br />
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.<br />
<br />
=== Game crashes after attempting to join server ===<br />
<br />
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.<br />
<br />
This issue arises more often when joining servers with many addons like DarkRP servers specifically.<br />
<br />
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 minimum fixes the problem until you can upgrade ;).<br />
<br />
== Hack 'n' Slash ==<br />
<br />
=== The game starts but craches when loading a new or saved game ===<br />
<br />
This seems to be the same issue as with Hammerwatch.<br />
Right click on Hack 'n' Slash on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
== Hacker Evolution [Untold, Duality] ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-sdl2_mixer}}<br />
<br />
== Half-Life 2 and episodes ==<br />
<br />
=== Cyrillic fonts problem ===<br />
<br />
This problem can be solved by deleting "Helvetica" font.<br />
<br />
== Hammerwatch ==<br />
<br />
=== The game not starting from Steam GUI ===<br />
<br />
Right click on Hammerwatch on your game list, click on Properties, click on SET LAUNCH OPTIONS, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
=== No sound ===<br />
<br />
Hammerwatch opens with a popup: "Sound Error" -- "Could not initialize OpenAL, no sounds will be played. Try updating your OpenAL drivers."<br />
<br />
OpenAL, which Hammerwatch uses, defaults to PulseAudio. To change that, add the following line to {{ic|/etc/openal/alsoft.conf}}:<br />
<br />
drivers=alsa,pulse<br />
<br />
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].<br />
<br />
== Harvest: Massive Encounter ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-gtk2}}<br />
* {{pkg|lib32-libvorbis}}<br />
* {{pkg|lib32-openal}}<br />
* {{Pkg|lib32-nvidia-cg-toolkit}}<br />
* {{Pkg|lib32-libjpeg6-turbo}}<br />
* {{AUR|lib32-sfml}}<br />
<br />
=== Compatibility ===<br />
<br />
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<br />
<br />
#!/bin/bash<br />
exec ./Harvest<br />
<br />
== Hatoful Boyfriend ==<br />
<br />
=== Japanese text invisible ===<br />
<br />
Install {{pkg|wqy-microhei}} and {{pkg|wqy-microhei-lite}}.<br />
<br />
== The Impossible Game ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-sdl2}}<br />
* {{pkg|lib32-sdl2_image}}<br />
<br />
== The Inner World ==<br />
<br />
=== Bringing up the inventory or main menu ===<br />
<br />
Hold the <tab> key.<br />
<br />
=== Dependencies ===<br />
<br />
==== Sound support ====<br />
<br />
[[Install]] {{AUR|java-commons-codec}} to get sound support.<br />
<br />
==== Cutscenes ====<br />
<br />
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.<br />
<br />
Install {{AUR|jre}} from the [[AUR]] and run<br />
<br />
archlinux-java set java-8-jre/jre<br />
<br />
as root. Furthermore you need the package ffmpeg-compat. Currently this package is in the community repository.<br />
<br />
There seem to be problems with Steam Overlay. Try to run the game directly with ~/Steam/SteamApps/common/TheInnerWorld/TIW_start.sh<br />
<br />
Note that cutscenes open in a new window. So pay attention to that and switch to the new window to enjoy the movies.<br />
<br />
See the [http://steamcommunity.com/app/251430/discussions/0/611701360817206606/#c611701360827509770 Steam Forums] for details.<br />
<br />
== Interloper ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|alsa-lib}}<br />
<br />
=== Game does not launch ===<br />
<br />
Game can sometimes segfault due to an incompatibility with the Steam Runtime's libasound.so.2. See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
== Invisible Apartment ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|qt5-multimedia}}<br />
<br />
=== Game does not run ===<br />
<br />
Game does not run if you try to launch it via Steam, but you can run it directly if you run the following in terminal<br />
<br />
/home/$USER/.steam/steam/SteamApps/common/Invisible\ Apartment/ia1<br />
<br />
== Joe Danger 2: The Movie ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-libpulse}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
=== Compatibility ===<br />
<br />
Game only worked after obtaining from the [https://www.humblebundle.com/ Humble Bundle] directly and {{pkg|lib32-libpulse}} was installed.<br />
<br />
== Kerbal Space Program ==<br />
<br />
See [[Kerbal Space Program]].<br />
<br />
== Killing Floor ==<br />
<br />
=== Screen resolution ===<br />
<br />
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.<br />
If you try to modify screen resolution in-game, it might crash your desktop enviroment.<br />
To fix this, please set the desired resolution screen size by [[textedit|editing]] {{ic|~/.killingfloor/System/KillingFloor.ini}}.<br />
<br />
{{hc|~/.killingfloor/System/KillingFloor.ini|<nowiki><br />
...<br />
<br />
[WinDrv.WindowsClient]<br />
WindowedViewportX=????<br />
WindowedViewportY=????<br />
FullscreenViewportX=????<br />
FullscreenViewportY=????<br />
MenuViewportX=???<br />
MenuViewportY=???<br />
<br />
...<br />
<br />
[SDLDrv.SDLClient]<br />
WindowedViewportX=????<br />
WindowedViewportY=????<br />
FullscreenViewportX=????<br />
FullscreenViewportY=????<br />
MenuViewportX=????<br />
MenuViewportY=????<br />
<br />
...<br />
</nowiki>}}<br />
<br />
{{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.}}<br />
<br />
{{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.}}<br />
<br />
Save the file and restart the game, it should work now.<br />
<br />
=== Windowed mode ===<br />
<br />
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.<br />
<br />
=== Stuttering Sound ===<br />
<br />
KillingFloor comes with its own libopenal.so (called openal.so). To use system lib instead install {{pkg|openal}} or {{pkg|lib32-openal}} (if using 64bit system).<br />
Then go to {{ic|$HOME/Steam/SteamApps/common/KillingFloor/System}}. and rename openal.so to openal.so.bak<br />
Then create symlink to /usr/lib32/libopenal.so.1 or /usr/lib/libopenal.so.1 called openal.so<br />
<br />
== Lethal League ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-glew1.10}}<br />
<br />
== Life is Strange ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-librtmp0}}<br />
<br />
== Mark of the Ninja ==<br />
<br />
=== Bad sound ===<br />
<br />
Right click on {{ic|Mark of the Ninja}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
== Metro: Last Light ==<br />
<br />
This game is not allowing to change its resolution on a multimonitor setup on GNOME with Catalyst drivers.<br />
<br />
=== Attempted fixes ===<br />
<br />
Various changes to the games config file was tried without success.<br />
{{ic|wmctrl}} was not able to force the games resolution.<br />
<br />
=== Hacky solution ===<br />
<br />
Disabled the side monitors.<br />
<br />
=== Possible solutions ===<br />
<br />
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.<br />
<br />
== Middle-earth: Shadow of Mordor ==<br />
<br />
=== Floating heads ===<br />
<br />
Right click on {{ic|Middle-earth: Shadow of Mordor}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
<br />
__GL_ShaderPortabilityWarnings=0 %command%<br />
<br />
== Multiwinia ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-openal}}<br />
<br />
=== Crash on startup ===<br />
<br />
If Multiwinia crashes on startup on X64 systems, force launching the 32-bit executable by replacing {{ic|~/.local/share/Steam/steamapps/common/Multiwinia/run_steam.sh}} with the following script:<br />
<br />
{{bc|#!/bin/sh<br />
./multiwinia.bin.x86<br />
}}<br />
<br />
See [https://steamcommunity.com/app/1530/discussions/0/864969481950542663/#c558746995160431396].<br />
<br />
== Natural Selection 2 ==<br />
<br />
=== No Sound ===<br />
<br />
If there is no sound in-game. Try installing {{pkg|lib32-sdl}}, {{Pkg|lib32-sdl2}}, and {{pkg|lib32-alsa-plugins}}<br />
<br />
If this fails, try setting the game's launch options in Steam to:<br />
<br />
LD_LIBRARY_PATH="/usr/lib32:$LD_LIBRARY_PATH" %command%<br />
<br />
== Penumbra: Overture ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-libxft}}<br />
* {{pkg|lib32-libvorbis}}<br />
* {{pkg|lib32-openal}}<br />
* {{pkg|lib32-sdl_ttf}}<br />
* {{pkg|lib32-sdl_image}}<br />
<br />
=== Windowed mode ===<br />
<br />
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.<br />
<br />
Find {{ic|FullScreen&#61;"true"}} and change it to {{ic|FullScreen&#61;"false"}}, after this the game should start in windowed mode.<br />
<br />
== The Polynomial ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{AUR|ilmbase102-libs}}{{Broken package link|{{aur-mirror|ilmbase102-libs}}}}<br />
* {{AUR|openexr170-libs}}{{Broken package link|{{aur-mirror|openexr170-libs}}}}<br />
<br />
[https://github.com/ValveSoftware/steam-for-linux/issues/2721 Steam for Linux issue #2721]<br />
<br />
=== Segfaults during program start on 64-bit systems ===<br />
<br />
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.<br />
<br />
== Portal 2 ==<br />
<br />
=== Game does not start ===<br />
<br />
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}}). See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
== Prison Architect ==<br />
<br />
=== ALSA error when using PulseAudio ===<br />
<br />
The error:<br />
<br />
{{ic|ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave}}<br />
<br />
was resolved by installing:<br />
<br />
* {{pkg|pulseaudio-alsa}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-libpulse}}<br />
<br />
per [[PulseAudio#ALSA]].<br />
<br />
== Project Zomboid ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|jre7-openjdk}}<br />
<br />
=== No sound ===<br />
<br />
Right click on {{ic|Project Zomboid}} on your game list, click on {{ic|Properties}}, click on {{ic|SET LAUNCH OPTIONS}}, then add this:<br />
<br />
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%<br />
<br />
In the game, go to the options and set all audio to the proper volume.<br />
<br />
== Redshirt ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-libpulse}} (if you use PulseAudio)<br />
<br />
== Revenge of the Titans ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|libxtst}} and {{pkg|lib32-libxtst}}<br />
<br />
== Rock Boshers DX: Directors Cut ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libcaca}}<br />
<br />
== Saints Row IV ==<br />
<br />
=== Game fails to launch after update to new Nvidia drivers ===<br />
<br />
Set the launch options for Saints Row IV to:<br />
<br />
{{bc|1=LD_PRELOAD=$LD_PRELOAD:/usr/lib32/libGLX_nvidia.so %command%}}<br />
<br />
=== Game causes GPU lockup with mesa drivers ===<br />
<br />
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].<br />
<br />
A workaround is to set the launch options to:<br />
<br />
{{bc|1=R600_DEBUG=nosb %command%}}<br />
<br />
== Serious Sam 3: BFE ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
=== No audio ===<br />
<br />
Try running:<br />
<br />
# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/<br />
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/<br />
<br />
If that does not work, try tweaking {{ic|~/.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:<br />
<br />
{{hc|~/.alsoftrc|<nowiki><br />
[general]<br />
drivers = alsa<br />
[alsa]<br />
device = default<br />
capture = default<br />
mmap = true<br />
</nowiki>}}<br />
<br />
== Sir, You Are Being Hunted ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
== Space Pirates and Zombies ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-openal}}<br />
<br />
=== No audio ===<br />
<br />
Try running:<br />
<br />
# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/<br />
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/<br />
<br />
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:<br />
<br />
{{hc|~/.alsoftrc|<nowiki><br />
[general]<br />
drivers = alsa<br />
[alsa]<br />
device = default<br />
capture = default<br />
mmap = true<br />
</nowiki>}}<br />
<br />
== Spacechem ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-sqlite}}<br />
* {{pkg|lib32-sdl_image}}<br />
* {{Pkg|lib32-sdl_mixer}}<br />
<br />
=== Game crash ===<br />
<br />
The shipped x86 version of Spacechem does not work on x64 with the game's own libSDL* files, and crashes with some strange output.<br />
<br />
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}}<br />
<br />
== Splice ==<br />
<br />
Splice comes with both x86 and x64 binaries. Steam does not have to be running to launch this game.<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|glu}}<br />
<br />
== Star Wars Battlefront II ==<br />
<br />
Star wars battlefront 2's steam version running under [[wine|WINE]] has a bug which causes it to take forever to load a game. The solution is to compile a custom wine version with the patch from this [https://bugs.winehq.org/show_bug.cgi?id=29582 WINEHQ bug page] Instructions are at the bottom of the page.<br />
<br />
{{Note|The required patch is called "updated patchset (GetForgroundWindow hack + posix semaphores) rebased onto wine-1.7.55".}}<br />
<br />
In order to use the patched wine version with PlayOnLinux, copy the completely patched and compiled wine-1.7.55 folder to ~/.PlayOnLinux/wine/linux-x86/<br />
<br />
== The Stanley Parable ==<br />
<br />
=== Game won't start ===<br />
<br />
as discussed in steam's store page, remove {{ic|libstdc++.so.6}} from the game folder. For example:<br />
<br />
rm ~/.local/share/Steam/steamapps/common/The\ Stanley\ Parable/bin/libstdc++.so.6<br />
<br />
== Steel Storm: Burning Retribution ==<br />
<br />
=== Start with black screen ===<br />
<br />
The game tries to launch in 1024x768 resolution with fullscreen mode by default. It is impossible on some devices.<br />
(for example laptop Samsung Series9 with intel hd4000 video).<br />
<br />
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".<br />
<br />
Now you can change the resolution in game.<br />
<br />
=== No English fonts ===<br />
<br />
If you use Intel video card, just disable S3TC in DriConf.<br />
<br />
== Stephen's Sausage Roll ==<br />
<br />
=== No sound ===<br />
<br />
If using [[Steam/Troubleshooting#Native runtime|native libraries]] and {{pkg|libpulse}} is installed, Unity may try to use that library for sound and fail.<br />
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:<br />
<br />
{{hc|$ pacman -Qql libpulse <nowiki>|</nowiki> grep /usr/lib/libpulse-simple|<br />
/usr/lib/libpulse-simple.so<br />
/usr/lib/libpulse-simple.so.0<br />
/usr/lib/libpulse-simple.so.0.1.0}}<br />
<br />
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:<br />
<br />
$ cd "$HOME/.local/share/Steam/steamapps/common/Stephen's Sausage Roll"<br />
<br />
And create a sub-directory that we can use to hold 0-byte look-alike library files:<br />
<br />
$ mkdir noload/<br />
<br />
Use {{ic|touch}} to create 0-byte versions of the above files that we want the dynamic linker to skip, e.g.:<br />
<br />
$ touch noload/{libpulse-simple.so,libpulse-simple.so.0,libpulse-simple.so.0.1.0}<br />
<br />
{{Note|Only a 0-byte {{ic|libpulse-simple.so.0}} file may be required.}}<br />
<br />
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:<br />
<br />
$ LD_LIBRARY_PATH="noload/:$LD_LIBRARY_PATH" ./Sausage.x86_64<br />
<br />
If everything works up to this point, you can amend the launch options in Steam to be:<br />
<br />
LD_LIBRARY_PATH="noload/:$LD_LIBRARY_PATH" %command%<br />
<br />
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.<br />
<br />
== Strike Suite Zero ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
== Superbrothers: Sword & Sworcery EP ==<br />
<br />
<br />
[http://steamcommunity.com/app/204060/discussions/0/364039785161291413/ The game bundles with an outdated version of libstdc++] which prevents the game from starting. The following can be observed when you run Steam and S&S from the terminal:<br />
<br />
libGL error: unable to load driver: i965_dri.so<br />
libGL error: driver pointer missing<br />
libGL error: failed to load driver: i965<br />
libGL error: unable to load driver: i965_dri.so<br />
libGL error: driver pointer missing<br />
libGL error: failed to load driver: i965<br />
libGL error: unable to load driver: swrast_dri.so<br />
libGL error: failed to load driver: swrast<br />
<br />
To solve this problem, go into the game's library folder which should be something like<br />
<br />
/home/steam/.steam/steam/steamapps/common/Superbrothers Sword & Sworcery EP/lib<br />
<br />
and then<br />
<br />
rm libstdc++.so.6*<br />
<br />
After that the game will use the libstdc++ from Steam.<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
* {{pkg|lib32-libpulse}} (if you use PulseAudio)<br />
<br />
== Tabletop Simulator ==<br />
<br />
=== CJK characters not showing in game ===<br />
<br />
Install {{pkg|wqy-microhei}} and {{pkg|wqy-microhei-lite}}.<br />
<br />
== Team Fortress 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libpng12}}<br />
<br />
=== Making HRTF work ===<br />
<br />
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<br />
<br />
dsp_slow_cpu 1<br />
<br />
For best results, also change the following:<br />
<br />
snd_spatialize_roundrobin 1<br />
dsp_enhance_stereo 0<br />
snd_pitchquality 1<br />
<br />
=== Loading screen freeze ===<br />
<br />
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.<br />
<br />
=== No audio ===<br />
<br />
It happens if there is no PulseAudio in your system.<br />
If you want to use [[ALSA]], you need to launch Steam or the game directly with {{ic|1=SDL_AUDIODRIVER=alsa}}<br />
(From [http://steamcommunity.com/app/221410/discussions/0/882966056462819091/#c882966056470753683 SteamCommunity]).<br />
<br />
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.<br />
<br />
=== Slow loading textures ===<br />
<br />
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.<br />
<br />
== Terraria ==<br />
<br />
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].<br />
<br />
== This War of Mine ==<br />
<br />
=== Game doesn't load ===<br />
<br />
This happens because of a incompatibility of the newer version of {{ic|lib32-glibc}}. To Fix the problem you need to download the version 2.20-6 of the lib, you can download it [http://ftp.nara.wide.ad.jp/pub/Linux/archlinux/multilib-testing/os/x86_64/lib32-glibc-2.20-6-x86_64.pkg.tar.xz here], then extract the:<br />
<br />
libc.so.6<br />
libc-2.20.so<br />
libpthread.so.0<br />
libpthread-2.20.so<br />
libresolv-2.20.so<br />
libresolv.so.2<br />
librt.so.1<br />
librt-2.20.so<br />
<br />
located in the archive and put on the main game folder: {{ic|~/.local/share/Steam/steamapps/common/This War of Mine/}}<br />
<br />
== Tomb Raider ==<br />
<br />
=== Game immediately closes when running with steam-native ===<br />
<br />
Tomb Raider has a very heavy amount of dependency on the Steam runtime, the easiest solution is to just run it using the runtime.<br />
You can do so by setting the following as the launch option:<br />
<br />
{{bc|/home/[your username]/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh %command%}}<br />
<br />
=== Steam Controller not working ingame while being correctly recognised* by Steam outside of the game ===<br />
<br />
If your Steam Controller is correctly recognised and paired but it still does not work in game then you can do the following:<br /><br />
<br />
* In Steam, non Big Screen, go to Settings -> Account -> Beta participation -> Change... and in the dropdown select box select Steam Beta Update<br />
* Restart Steam<br />
* Go to Big Screen and start Tomb Raider<br />
<br />
Correctly recognised means you can control desktop mouse and Steam in Big Picture mode and the controller is shown in Big Picture settings<br />
<br />
== Towns / Towns Demo ==<br />
<br />
=== Crash on launch ===<br />
<br />
Ensure you have [[Java]] installed.<br />
<br />
== Transistor ==<br />
<br />
=== Crash on launch / FMOD binding crash / Audio issues ===<br />
<br />
Try running steam with following command<br />
<br />
LD_PRELOAD='/usr/lib/libstdc++.so.6:/usr/lib/libgcc_s.so.1:/usr/lib/libxcb.so.1:/usr/lib/libasound.so.2' steam<br />
<br />
Alternatively, right click on Transistor, go to Properties => Set Launch Options... and enter<br />
<br />
LD_PRELOAD='/usr/lib/libstdc++.so.6:/usr/lib/libgcc_s.so.1:/usr/lib/libxcb.so.1:/usr/lib/libasound.so.2' %command%<br />
<br />
This will force Steam to do the fix whenever Transistor is started, but allows Steam to be launched normally.<br />
<br />
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/].<br />
<br />
Also, check out this thread [https://steamcommunity.com/app/237930/discussions/2/492378265893557247/]<br />
<br />
== Transmissions: Element 120 ==<br />
<br />
=== Troubleshooting ===<br />
<br />
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<br />
<br />
AppFramework : Unable to load module vguimatsurface.so!<br />
<br />
To show which dependencies are satisfied, go to the folder in which you installed the game (`SteamLibrary/steamapps/common/Transmissions Element 120`) and execute:<br />
<br />
LD_LIBRARY_PATH=bin ldd bin/vguimatsurface.so<br />
<br />
look for entries that say `not found`<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-libgcrypt15}}<br />
* {{pkg|lib32-libpng12}}<br />
<br />
== Trine 2 ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-glu}}<br />
* {{pkg|lib32-libxxf86vm}}<br />
* {{pkg|lib32-openal}}<br />
* {{pkg|xorg-xwininfo}}<br />
* {{pkg|lib32-libdrm}}<br />
<br />
=== Colors ===<br />
<br />
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])<br />
<br />
=== Sound ===<br />
<br />
{{Accuracy|General settings not specific to this game}}<br />
<br />
If sound plays choppy, try:<br />
<br />
{{hc|/etc/openal/alsoft.conf|<nowiki><br />
drivers=pulse,alsa<br />
frequency=48000<br />
</nowiki>}}<br />
<br />
=== Resolution ===<br />
<br />
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.<br />
<br />
== Unity of Command ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-pango}}<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
=== Squares ===<br />
<br />
* If squares are shown instead of text, try removing {{ic|$HOME/Steam/SteamApps/common/Unity of Command/bin/libpangoft2-1.0.so.0}}.<br />
<br />
=== No audio ===<br />
<br />
If you get this error:<br />
<br />
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<br />
<br />
Try running:<br />
<br />
# mkdir -p /usr/lib/i386-linux-gnu/alsa-lib/<br />
# ln -s /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/i386-linux-gnu/alsa-lib/<br />
<br />
== Unity3D ==<br />
<br />
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.<br />
<br />
=== Locale Settings ===<br />
<br />
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.<br />
<br />
To work around this, set the game's launch options to {{ic|1=LC_ALL=C %command%}}<br />
<br />
Some of the affected games: ''FORCED'', ''Gone Home'', ''Ichi'', ''Nimble Quest'', ''Syder Arcade''.<br />
<br />
=== Unity 5 sound problems ===<br />
<br />
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]].<br />
Another solution is to disable the Steam runtime: in the launch options for the game, write this: {{ic|1=LD_LIBRARY_PATH="" %command%}}<br />
<br />
=== Game launching on wrong monitor in fullscreen mode ===<br />
<br />
Unity games that do not support monitor selection will most likely launch the game on a wrong monitor.<br />
<br />
The problem is that Unity games write the default param {{ic|1=<pref name="UnitySelectMonitor" type="int">-1</pref>}} to the game config file.<br />
<br />
This will lead to the game launching on a non-primary monitor.<br />
<br />
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.<br />
<br />
A Unity game config file usually resides in {{ic|~/.config/unity3d/[CompanyName]/[ProductName]/prefs}}.<br />
<br />
Some of the affected games: ''Cities: Skylines'', ''Tablestop Simulator'', ''Assault Android Cactus'', ''Wasteland 2''.<br />
<br />
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''.<br />
<br />
== Unrest ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|fluidsynth}}<br />
<br />
== War Thunder ==<br />
<br />
=== Blank screen ===<br />
<br />
If having a green or blank screen at game start, set the {{ic|1=MESA_GL_VERSION_OVERRIDE=4.1COMPAT}} [[environment variable]]. [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]<br />
<br />
== Warhammer 40,000: Dawn of War II ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|alsa-lib}}<br />
* {{Pkg|librtmp0}}<br />
<br />
=== Blank screen ===<br />
<br />
The start script points to a wrong direction of libasound.so.2.<br />
<br />
Edit DawnOfWar2.sh :<br />
<br />
{{bc|<nowiki>nano "~/.steam/steam/steamapps/common/Dawn of War 2/DawnOfWar2.sh"</nowiki>}}<br />
<br />
find the line with:<br />
<br />
{{bc|<nowiki>HAS_LSB_RELEASE=$(command -v lsb_release)<br />
if [ -n "${HAS_LSB_RELEASE}" ] && [ "$(lsb_release -c | cut -f2)" = "trusty" ]; then<br />
LD_PRELOAD_ADDITIONS="/usr/lib/x86_64-linux-gnu/libasound.so.2:${LD_PRELOAD_ADDITIONS}"<br />
fi </nowiki>}}<br />
<br />
and replace it with:<br />
<br />
{{bc|<nowiki>LD_PRELOAD_ADDITIONS="/usr/lib64/libasound.so.2:${LD_PRELOAD_ADDITIONS}"</nowiki>}}<br />
<br />
You can also put the replacement after an else statement if using multiple linux distributions.<br />
<br />
== Witcher 2: Assassin of Kings ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|lib32-freetype2}}<br />
* {{Pkg|lib32-libcurl-compat}}<br />
* {{Pkg|lib32-gnutls}}<br />
* {{Pkg|lib32-sdl2}}<br />
* {{Pkg|lib32-sdl2_image}}<br />
* {{Pkg|lib32-libcurl-gnutls}}<br />
<br />
=== Game does not start ===<br />
<br />
If the game does not run, enable error messages:<br />
<br />
cd "${HOME}/.local/share/Steam/SteamApps/common/the witcher 2"<br />
LIBGL_DEBUG=verbose ./witcher2<br />
<br />
== Wizardry 6: Bane of the Cosmic Forge ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|dosbox}}<br />
<br />
To fix the crash at start, edit {{ic|~/.local/share/Steam/SteamApps/common/Wizardry6/dosbox_linux/launch_wizardry6.sh}} and change<br />
<br />
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs<br />
exec ./dosbox -conf dosbox_wiz6.conf -conf dosbox_wiz6_launch_linux.conf -noconsole "$@"<br />
<br />
to<br />
<br />
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs<br />
exec dosbox -conf dosbox_wiz6.conf -conf dosbox_wiz6_launch_linux.conf -noconsole "$@"<br />
<br />
== World of Goo ==<br />
<br />
=== Changing resolution ===<br />
<br />
* 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:<br />
<br />
<!-- Graphics display --><br />
<param name="screen_width" value="1680" /><br />
<param name="screen_height" value="1050" /><br />
<param name="color_depth" value="0" /><br />
<param name="fullscreen" value="true" /><br />
<param name="ui_inset" value="10" /><br />
<br />
== Worms Reloaded ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{pkg|lib32-alsa-plugins}}<br />
<br />
== XCOM ==<br />
<br />
=== Dependencies ===<br />
<br />
* {{Pkg|sdl2_image}} (Required to enable keyboard functionality in-game)<br />
* {{Pkg|librtmp0}} (Required to run the game)<br />
<br />
=== Hangs on startup ===<br />
<br />
See [[Steam/Troubleshooting#Steam runtime issues]].<br />
<br />
If you are running a hybrid graphic system, try<br />
<br />
__GL_THREADED_OPTIMIZATIONS=0 primusrun %command%<br />
<br />
=== Graphical glitches on Intel HD ===<br />
<br />
XCOM may not recognize sdl2 shared libraries shipped with Steam runtime.<br />
Check if binary finds all required files and install missing packages if necessary ({{Pkg|sdl2}} and {{Pkg|sdl2_image}}).<br />
<br />
{{bc|ldd ~/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/binaries/linux/game.x86_64 | grep "not found"}}</div>Philipflohr