FSR - FidelityFX Super Resolution

From Linux Gaming
Revision as of 02:47, 9 February 2023 by 179.158.15.116 (talk) (Fixed some typos and shortened some sentences. Also, confirmed that FSR's maximum value is 5 on the environment variable.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FSR can be used to get better performance in games at the cost of visuals. It is comparable with DLSS, but can be applied to every game. There are several modes from ultra quality to maximum performance. For example, it is possible to double your FPS with very little visual loss. FSR only works if the game is GPU limited (your GPU runs at 100%).

Note that the image degradation is noticeable. Full HD + ultra high graphics + FSR might not be worth it. However FHD + low settings + FSR with 60 FPS might be significantly better than having 30 FPS with the same settings and no FSR. The performance difference might be even bigger if your VRAM is not big enough. The image degradation is not as noticeable with high resolution, so 4k ultra high + FSR might fit your needs.

Setup with Wine

Basic setup

  • In game set your setting according to the table on page 10 of this document: For example, if you want to have Ultra Quality, and your output resolution (the resolution of your actualy monitor) is 1920x1080, you set your ingame resolution to 1477x831. Other resolutions also work, but you might get black bars if the aspect ratio is not your monitor's native one. Setting your ingame resolution to your output resolution disables FSR.
  • In game
    • Enable anti aliasing (TAA, MSAA, FXAA, ...)
    • Disable effects that generate noise (like Motion Blur, Blur, Chromatic Aberration, Sharpening, etc.)
  • You need a patched version of Wine or Proton, for example the TKG, or GE version. Default versions in Lutris and Bottles work fine.

More configuration options

You can add more options with environment variables:

  • WINE_FULLSCREEN_FSR_STRENGTH=4

This sharpens the image. 4 is an example value. 0 is maximum sharpness, higher values mean less sharpening. 5 is the maximum value. The default is 2 but this is probably too much for your game. Just experiment with different values.

  • WINE_VULKAN_NEGATIVE_MIP_BIAS=45

This results in textures with higher resolution. 45 is an example value. AMD recommends:

Quality Setting MIP Bias
Ultra Quality 38
Quality 58
Balanced 79
Performance 100
  • WINE_VULKAN_BIAS_ALL_SAMPLER=1

This applies the MIP Bias to everything. 1 is enabled, 0 is disabled. This can result in weird game behaviour.

Examples

Setup with Gamescope

You can enable FSR in Gamescope with gamescope -U --fsr-sharpness 4 -- as command prefix. 4 is an example value, replace it by something between 0 (max) and 20 (min). This also works for native games.

FSR 2

FSR 2 provides far better graphics quality than FSR 1. However, it needs support from the game. You can often use a mod to translate DLSS to FSR 2 if the game only supports DLSS.