Steam: Difference between revisions
mNo edit summary |
Marked this version for translation Tags: Mobile edit Mobile web edit |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 6: | Line 6: | ||
<translate> | <translate> | ||
<!--T:2--> | == Installation == <!--T:2--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T:3--> | ==== Shell ==== <!--T:3--> | ||
</translate> | </translate> | ||
| Line 29: | Line 27: | ||
<translate> | <translate> | ||
<!--T:6--> | ==== System setup ==== <!--T:6--> | ||
</translate> | </translate> | ||
| Line 66: | Line 63: | ||
<translate> | <translate> | ||
<!--T:9--> | == Configuration == <!--T:9--> | ||
</translate> | </translate> | ||
| Line 80: | Line 76: | ||
dedicatedServer.openFirewall = true; # For Source Dedicated Server hosting | dedicatedServer.openFirewall = true; # For Source Dedicated Server hosting | ||
# Other general flags if available can be set here. | # Other general flags if available can be set here. | ||
}; | }; | ||
# Tip: For improved gaming performance, you can also enable GameMode: | |||
# programs.gamemode.enable = true; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
| Line 92: | Line 88: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
<!--T:12--> | == Tips and tricks == <!--T:12--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
=== Gamescope Compositor / "Boot to Steam Deck" === <!--T:13--> | |||
=== Gamescope Compositor / "Boot to Steam Deck" === | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 107: | Line 101: | ||
# Clean Quiet Boot | # Clean Quiet Boot | ||
boot.kernelParams = [ "quiet" "splash" "console=/dev/null" ]; | boot.kernelParams = [ "quiet" "splash" "console=/dev/null" ]; | ||
plymouth.enable = true; | boot.plymouth.enable = true; | ||
programs.gamescope = { | programs.gamescope = { | ||
| Line 123: | Line 117: | ||
settings = { | settings = { | ||
default_session = { | default_session = { | ||
command = "${pkgs.gamescope}/bin/gamescope -W 1920 -H 1080 -f -e --xwayland-count 2 --hdr-enabled --hdr-itm-enabled -- steam -pipewire-dmabuf -gamepadui - | command = "${pkgs.gamescope}/bin/gamescope -W 1920 -H 1080 -f -e --xwayland-count 2 --hdr-enabled --hdr-itm-enabled -- steam -pipewire-dmabuf -gamepadui -steamdeck -steamos3 > /dev/null 2>&1"; | ||
user = "USERNAME_HERE"; | user = "USERNAME_HERE"; | ||
}; | }; | ||
| Line 131: | Line 125: | ||
<translate> | <translate> | ||
<!--T:15--> | === steam-tui === <!--T:15--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 157: | Line 150: | ||
<translate> | <translate> | ||
<!--T:19--> | === FHS environment only === <!--T:19--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 184: | Line 176: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
<!--T:22--> | === Proton === <!--T:22--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 214: | Line 205: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
<!--T:27--> | === Overriding the Steam package === <!--T:27--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 257: | Line 247: | ||
<translate> | <translate> | ||
<!--T: | === Fix missing icons for games in GNOME dock and activities overview === <!--T:56--> | ||
== Troubleshooting == | </translate> | ||
<translate> | |||
<!--T:57--> | |||
GNOME uses the window class to determine the icon associated with a window. Steam currently doesn't set the required key for this in its .desktop files<ref>https://github.com/ValveSoftware/steam-for-linux/issues/12207</ref>, but you can fix this manually by editing the <code>StartupWMClass</code> key for each game's .desktop file, found under <code>~/.local/share/applications/</code>. | |||
<!--T:58--> | |||
For games running through Proton, the value should be <code>steam_app_<game_id></code> (where <code><game_id></code> matches the value after steam://rungameid/ on the <code>Exec</code> line). | |||
<!--T:59--> | |||
For games running natively, the value should match the game's main executable. | |||
<!--T:60--> | |||
For example, the modified .desktop file for Valheim looks like this: | |||
</translate> | |||
<syntaxhighlight lang="desktop"> | |||
[Desktop Entry] | |||
Name=Valheim | |||
Comment=Play this game on Steam | |||
Exec=steam steam://rungameid/892970 | |||
Icon=steam_icon_892970 | |||
Terminal=false | |||
Type=Application | |||
Categories=Game; | |||
StartupWMClass=valheim.x86_64 | |||
</syntaxhighlight> | |||
<translate> | |||
== Troubleshooting == <!--T:31--> | |||
</translate> | </translate> | ||
| Line 267: | Line 284: | ||
<translate> | <translate> | ||
=== Steam fails to start. What do I do? === <!--T:33--> | |||
=== Steam fails to start. What do I do? === | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 276: | Line 292: | ||
<translate> | <translate> | ||
<!--T:35--> | === Steam is not updated === <!--T:35--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 286: | Line 301: | ||
<translate> | <translate> | ||
<!--T:37--> | === Game fails to start === <!--T:37--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 305: | Line 319: | ||
<translate> | <translate> | ||
==== Changing the driver on AMD GPUs <!-- this is not recommended due radv drivers performing better and generally more stable than amdvlk. My suggestion remove this section. source: https://forums.guru3d.com/threads/the-mesa-radv-amdvlk-thread.449774/ -->==== <!--T:40--> | |||
==== Changing the driver on AMD GPUs <!-- this is not recommended due radv drivers performing better and generally more stable than amdvlk. My suggestion remove this section. source: https://forums.guru3d.com/threads/the-mesa-radv-amdvlk-thread.449774/ -->==== | |||
</translate> | </translate> | ||
{{note|This is not recommended because radv drivers tend to perform better and are generally more stable than amdvlk.}} | {{note|This is not recommended because radv drivers tend to perform better and are generally more stable than amdvlk.}} | ||
| Line 332: | Line 345: | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T:44--> | === SteamVR === <!--T:44--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 341: | Line 353: | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
=== Gamescope fails to launch when used within Steam === <!--T:46--> | |||
=== Gamescope fails to launch when used within Steam === | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 366: | Line 377: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
=== Udev rules for additional Gamepads === <!--T:48--> | |||
=== Udev rules for additional Gamepads === | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 387: | Line 397: | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T:52--> | === Known issues === <!--T:52--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 394: | Line 403: | ||
"Project Zomboid" may report "couldn't determine 32/64 bit of java". This is not related to java at all, it carries its own outdated java binary that refuses to start if path contains non-Latin characters. Check for errors by directly starting local java binary within <code>steam-run bash</code>. | "Project Zomboid" may report "couldn't determine 32/64 bit of java". This is not related to java at all, it carries its own outdated java binary that refuses to start if path contains non-Latin characters. Check for errors by directly starting local java binary within <code>steam-run bash</code>. | ||
<!--T:55--> | |||
Resetting your password through the [[Steam]] app may fail at the CAPTCHA step repeatedly, with [[Steam]] itself reporting that the CAPTCHA was not correct, even though the CAPTCHA UI shows success. Resetting password through the [[Steam]] website should work around that. | Resetting your password through the [[Steam]] app may fail at the CAPTCHA step repeatedly, with [[Steam]] itself reporting that the CAPTCHA was not correct, even though the CAPTCHA UI shows success. Resetting password through the [[Steam]] website should work around that. | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T:54--> | == References == <!--T:54--> | ||
</translate> | </translate> | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Gaming]] | [[Category:Gaming]] | ||