Steam: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 286: | Line 286: | ||
<translate> | <translate> | ||
<!--T: | <!--T:37--> | ||
=== Game fails to start === | === Game fails to start === | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:38--> | ||
Games may fail to start because they lack dependencies (this should be added to the script, for now), or because they cannot be patched. The steps to launch a game directly are: | Games may fail to start because they lack dependencies (this should be added to the script, for now), or because they cannot be patched. The steps to launch a game directly are: | ||
* Patch the script/binary if you can | * Patch the script/binary if you can | ||
| Line 300: | Line 300: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
<!--T: | <!--T:39--> | ||
Note: If a game gets stuck on Installing scripts, check for a DXSETUP.EXE process and run it manually, then restart the game launch. | Note: If a game gets stuck on Installing scripts, check for a DXSETUP.EXE process and run it manually, then restart the game launch. | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--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/ -->==== | ==== 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.}} | ||
<translate> | <translate> | ||
<!--T: | <!--T:41--> | ||
Sometimes, changing the driver on AMD GPUs helps. To try this, first, install multiple drivers such as radv and amdvlk: | Sometimes, changing the driver on AMD GPUs helps. To try this, first, install multiple drivers such as radv and amdvlk: | ||
</translate> | </translate> | ||
| Line 324: | Line 324: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
<!--T: | <!--T:42--> | ||
In the presence of both drivers, [[Steam]] will default to amdvlk. The amdvlk driver can be considered more correct regarding Vulkan specification implementation, but less performant than radv. However, this tradeoff between correctness and performance can sometimes make or break the gaming experience. | In the presence of both drivers, [[Steam]] will default to amdvlk. The amdvlk driver can be considered more correct regarding Vulkan specification implementation, but less performant than radv. However, this tradeoff between correctness and performance can sometimes make or break the gaming experience. | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:43--> | ||
To "reset" your driver to radv when both radv and amdvlk are installed, set either <code>AMD_VULKAN_ICD = "RADV"</code> or <code>VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json"</code> environment variable. For example, if you start [[Steam]] from the shell, you can enable radv for the current session by running <code>AMD_VULKAN_ICD="RADV" steam</code>. If you are unsure which driver you currently use, you can launch a game with [https://github.com/flightlessmango/MangoHud MangoHud] enabled, which has the capability to show what driver is currently in use. | To "reset" your driver to radv when both radv and amdvlk are installed, set either <code>AMD_VULKAN_ICD = "RADV"</code> or <code>VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json"</code> environment variable. For example, if you start [[Steam]] from the shell, you can enable radv for the current session by running <code>AMD_VULKAN_ICD="RADV" steam</code>. If you are unsure which driver you currently use, you can launch a game with [https://github.com/flightlessmango/MangoHud MangoHud] enabled, which has the capability to show what driver is currently in use. | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:44--> | ||
=== SteamVR === | === SteamVR === | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:45--> | ||
The setcap issue at SteamVR start can be fixed with: | The setcap issue at SteamVR start can be fixed with: | ||
<code>sudo setcap CAP_SYS_NICE+ep ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher</code> | <code>sudo setcap CAP_SYS_NICE+ep ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher</code> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:46--> | ||
=== Gamescope fails to launch when used within Steam === | === Gamescope fails to launch when used within Steam === | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:47--> | ||
Gamescope may fail to start due to missing Xorg libraries. ([https://github.com/NixOS/nixpkgs/issues/214275 #214275]) To resolve this override the steam package to add them: | Gamescope may fail to start due to missing Xorg libraries. ([https://github.com/NixOS/nixpkgs/issues/214275 #214275]) To resolve this override the steam package to add them: | ||
</translate> | </translate> | ||
| Line 366: | Line 366: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
<!--T: | <!--T:48--> | ||
=== Udev rules for additional Gamepads === | === Udev rules for additional Gamepads === | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:49--> | ||
In specific scenarios gamepads, might require some additional configuration in order to function properly in the form of udev rules. This can be achieved with <code>services.udev.extraRules</code>. | In specific scenarios gamepads, might require some additional configuration in order to function properly in the form of udev rules. This can be achieved with <code>services.udev.extraRules</code>. | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:50--> | ||
The following example is for the 8bitdo Ultimate Bluetooth controller, different controllers will require knowledge of the vendor and product ID for the device: | The following example is for the 8bitdo Ultimate Bluetooth controller, different controllers will require knowledge of the vendor and product ID for the device: | ||
</translate> | </translate> | ||
| Line 383: | Line 383: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | <translate> | ||
<!--T: | <!--T:51--> | ||
To find the vendor and product ID of a device [https://search.nixos.org/packages?channel=unstable&show=usbutils&from=0&size=50&sort=relevance&type=packages&query=usbutils usbutils] might be useful | To find the vendor and product ID of a device [https://search.nixos.org/packages?channel=unstable&show=usbutils&from=0&size=50&sort=relevance&type=packages&query=usbutils usbutils] might be useful | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:52--> | ||
=== Known issues === | === Known issues === | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:53--> | ||
"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>. | ||
| Line 397: | Line 397: | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T: | <!--T:54--> | ||
== References == | == References == | ||
</translate> | </translate> | ||