; OptiScaler.ini overrides for Forza Horizon 5 on RDNA 3 (Navi 32) under ; Linux/Proton with FSR 4 INT8 enabled. Tested on OptiScaler 0.9.1. ; ; Keys not listed here fall through to OptiScaler's "auto" defaults ; (Config.cpp: missing keys silently resolve to std::nullopt -> _defaultValue). ; ; Sources: ; - https://github.com/optiscaler/OptiScaler/wiki/Forza-Horizon-5 ; - https://github.com/optiscaler/OptiScaler/wiki/FSR4-Compatibility-List ; ; Companion launch-option env vars (set via programs.steam.config in ; hosts/yarn/default.nix): ; PROTON_FSR4_UPGRADE=1 ; DXIL_SPIRV_CONFIG=wmma_rdna3_workaround (RDNA 3 INT8 visuals fix) [Inputs] ; FSR2 inputs are buggy in FH5; OptiScaler 0.7.8+ auto-disables them per game ; but explicit is safer across version bumps. Source: FH5 wiki ("Known Issues"). EnableFsr2Inputs=false [FSR] ; DirectX 12 Agility SDK upgrade. Required for the FSR 4 path on RDNA 3 INT8 ; under Proton (the FFX SDK shipped with the game predates FSR 4). Source: ; FSR4 Compatibility wiki, "Linux Setup" section. Fsr4Update=true ; FH5 wiki: 0.65 fixes flickering lights and reduces car ghosting with FSR-FG. DlssReactiveMaskBias=0.65 ; FSR 4 on RDNA 3 IQ recommendation; mitigates white flashes and artifacting ; from the INT8 emulation path. Source: FSR4 Compatibility wiki, "Image Quality". FsrNonLinearColorSpace=true [Spoofing] ; FH5 wiki recommendation. The auto default on AMD spoofs to NVIDIA, which ; OptiScaler 0.9 deliberately drops for FH5; pinning false here makes the ; behavior version-proof. Dxgi=false