From fe2fbb0c4c37f12929718ee776327f7a21c2fa23 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Fri, 18 Oct 2024 16:07:59 +0100
Subject: [PATCH] docs: SLR 1.0 (scout) is now the default for scout games

This makes game behaviour on desktop consistent with Steam Deck.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 docs/container-runtime.md       | 13 +++++++------
 docs/slr-for-game-developers.md | 27 +++++++++++++++++++--------
 2 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/docs/container-runtime.md b/docs/container-runtime.md
index 1c6848e0f..55a365564 100644
--- a/docs/container-runtime.md
+++ b/docs/container-runtime.md
@@ -107,14 +107,15 @@ setting up a [`scout` `LD_LIBRARY_PATH` runtime][ldlp] inside that container.
 
 The Steam Deck automatically uses the *Steam Linux Runtime 1.0 (scout)*
 container for many native Linux games.
-In the past some games have also defaulted  to being run in this container
-on Linux desktop systems, for example [Dota 2][]
-between [its January 2022 update][Dota 2 scout SLR] and
-[mid 2023][Dota 2 sniper].
-This mechanism is not currently available for third-party games on
-desktop Linux, but users can opt-in to running specific games in the
+Since [Steam client beta 2024-10-17][], it is also the default for native
+Linux games on desktop, unless the game developer has configured the game
+to use a different runtime environment.
+In older versions of the Steam client,
+users can opt-in to running specific games in the
 Steam Linux Runtime 1.0 (scout) container via *Properties* → *Compatibility*.
 
+[Steam client beta 2024-10-17]: https://store.steampowered.com/news/group/4397053/view/4507632124224426488?l=english
+
 ## <span id="sniper">Steam Linux Runtime 3.0 (sniper)</span>
 
 [sniper]: #sniper
diff --git a/docs/slr-for-game-developers.md b/docs/slr-for-game-developers.md
index e6417591d..98e0e452b 100644
--- a/docs/slr-for-game-developers.md
+++ b/docs/slr-for-game-developers.md
@@ -81,17 +81,26 @@ A small number of libraries from soldier, such as `libcurl.so.3`, are
 overridden by their scout equivalents to provide ABI compatibility.
 This is referred to internally as [scout-on-soldier][scout-on-soldier].
 
-Games targeting either of these environments should be built in a Steam
-Runtime 1 'scout' Docker container.
-By default, Steam will run them directly on the host system, providing
-compatibility with scout by using the same `LD_LIBRARY_PATH`-based scout
-runtime that is used to run Steam itself.
-If the user selects the *Steam Linux Runtime 1.0 (scout)*
-compatibility tool in the
-game's properties, then Steam will launch a *Steam Linux Runtime 2.0 (soldier)*
+Games targeting either of these environments should be built in the
+Steam Runtime 1 'scout' Docker container provided by the [scout SDK][].
+
+Since [Steam client beta 2024-10-17][], games targeting scout are
+run under *Steam Linux Runtime 1.0 (scout)* by default.
+This means that Steam will launch a *Steam Linux Runtime 2.0 (soldier)*
 container, then use the `LD_LIBRARY_PATH`-based scout runtime inside that
 container to provide ABI compatibility for the game.
 
+In older Steam client releases, the default varied between desktop and
+Steam Deck.
+On Steam Deck, many games run under the *Steam Linux Runtime 1.0 (scout)*
+compatibility tool automatically.
+On desktop, the default was to run these games directly on the host system,
+providing compatibility with scout by using the same
+[`LD_LIBRARY_PATH`-based scout runtime][ldlp] that is used to run Steam itself.
+Whichever of these options is the default, the user can select the
+*Steam Linux Runtime 1.0 (scout)* compatibility tool in the game's
+properties to opt-in to using the container runtime.
+
 ### <span id="sniper">Native Linux games targeting Steam Runtime 3 'sniper'</span>
 
 pressure-vessel is able to run games in a runtime that is newer than
@@ -1216,6 +1225,7 @@ advanced utilities might not be present.
 [SDL_GetPrefPath]: https://wiki.libsdl.org/SDL_GetPrefPath
 [Steam Cloud API]: https://partner.steamgames.com/doc/features/cloud
 [Steam Input]: https://partner.steamgames.com/doc/features/steam_controller
+[Steam client beta 2024-10-17]: https://store.steampowered.com/news/group/4397053/view/4507632124224426488?l=english
 [Steam support documentation]: https://help.steampowered.com/
 [Toolbx]: https://containertoolbx.org/
 [Verify integrity]: https://help.steampowered.com/en/faqs/view/0C48-FCBD-DA71-93EB
@@ -1227,6 +1237,7 @@ advanced utilities might not be present.
 [inotify]: https://man7.org/linux/man-pages/man7/inotify.7.html
 [install folder]: https://partner.steamgames.com/doc/store/application/depots
 [launch options]: https://partner.steamgames.com/doc/sdk/uploading
+[ldlp-runtime]: ld-library-path-runtime.md
 [os-release(5)]: https://www.freedesktop.org/software/systemd/man/os-release.html
 [scout SDK]: https://gitlab.steamos.cloud/steamrt/scout/sdk/-/blob/steamrt/scout/README.md
 [scout-on-soldier]: container-runtime.md#scout-on-soldier
-- 
GitLab