#354 [DOC] Update FSR doc -- will likely be gone from Proton derivatives

Suljettu
DistantThunder haluaa yhdistää 2 committia lähteestä DistantThunder/353-doc-fsr kohteeseen Krock/master
1 muutettua tiedostoa jossa 57 lisäystä ja 6 poistoa
  1. 57 6
      TWEAKS.md

+ 57 - 6
TWEAKS.md

@@ -90,16 +90,22 @@ See [AMD website](https://www.amd.com/en/technologies/radeon-software-fidelityfx
 
 **Caveats:**
 
- * Requires a native window (no virtual desktop)
+ * Requires a native window (no virtual desktop) (including with Gamescope alternative)
  * Resolution changes must be done in windowed mode or by command line arguments
     * Use `Alt+Enter` to switch between windowed and fullscreen
 
-This feature only comes with certain Wine builds, including:
+This feature used to be bundled with some Wine builds but will soon be gone
+from them as the Wine implementation isn't maintained anymore and the
+original author of the patch pushes for using the Gamescope integration.
+_*However*_, a community member has stepped in to re-introduce the feature so it may yet live in custom Wine builds.
+
+The last Wine builds known to embbed the feature at this moment are:
+
+* proton-ge-custom <= 7-35 / >= 7-37
+* wine-ge-custom & Lutris-ge (Non-LoL builds) <= 7-29 / FSR re-enabled builds coming soon.
+* Steam Proton, after PR #116 is merged <= 7.0-4 (May change in the future)
+* Kron4ek's Wine-Builds (check release page, must mention FSR) = to be checked.
 
- * proton-ge-custom
- * wine-ge-custom & Lutris-ge (Non-LoL builds)
- * Steam Proton, after [PR #116 is merged](https://github.com/ValveSoftware/wine/pull/116)
- * Kron4ek's Wine-Builds (check release page, must mention FSR)
 
 Required command line arguments:
 
@@ -114,6 +120,51 @@ Relevant environment variables:
     * Steam: adjust the `Target` box. Example: `FOO=1 BAR=1 cmd.exe`
     * Lutris: add rows to `Configuration` -> `System options` -> `Environment variables`
 
+##### FSR with Gamescope
+
+**Caveats:**
+
+ * Requires a native window (no virtual desktop) (including with Gamescope alternative)
+ * Requires specific NVIDIA driver version (>= 515.43.04 required + `nvidia-drm.modeset=1`)
+ * Gamescope is known to cause some input lag and mouse cursor behaviour is not ideal
+
+Genshin doesn't *usually* need the latest advances from the Wine/Proton projects.
+However, upstream does fix and improve Wine a lot at quite a fast pace.
+Going forward, it appears the only viable & supported way of running FSR
+will be through [Gamescope](https://github.com/Plagman/gamescope).
+
+Gamescope is the SteamOS (Valve®) session compositing window manager. 
+It's developed to be focused at providing a good gaming experience.
+It is able to run nested (within another graphic environment like KDE/GNOME/etc.),
+and notably to configure an upscaling / downscaling display setup for games running
+inside it. 
+And so precisely, offers FSR as an upscaling filter.
+
+It is integrated in the UI of some game launchers, such as Lutris.
+
+Required command line arguments:
+
+ * Prefix `gamescope -w <game_visible_width> -h <game_visible_height> -W <final_window_width> -H <final_window_height> -U -f --` 
+   before your game launching command:  `<wine> launcher.bat`
+    * Example: `gamescope -w 1920 -h 1080 -W 2560 -H 1440 -f --  launcher.bat -window-mode exclusive`
+        * The above will present a maximum 1080p resolution to the game while outputing an upscaled 1440p image.
+        * Swapping wh/WH values sets will downscale the image (no FSR then, since it's an UPSCALING filter).
+        * `U` selects FSR as the upscaling method. 
+        * `-f` means Gamescope window will be fullscreen at startup (you want that for Variable Refresh Rate - Free/G/Sync)
+
+Please refer to Gamescope documentation for further tweaking.
+
+Relevant notes:
+* `Super + F` can be used to switch between Fullscreen/Window for Gamescope output.
+* Once windowed, Gamescope output can be resized but blackbars may appear
+
+This was tested as working on:
+* Genshin Impact v3.1.0
+* Wine Lutris 7.2-2
+* Mesa 22.3-git + 22.7.1
+* Dawn-git-8b7f7c0
+* Gamescope 3.11.44
+
 
 #### Loading times