cdozdil / OptiScaler

OptiScaler is middleware that enables various upscaling technologies in DLSS2-only games. It allows non-Nvidia users to use upscaling by applying DLSS2 inputs to XeSS, FSR2, or FSR3.
MIT License
291 stars 5 forks source link

[Horizon Zero Dawn] Image corrupted after opening game menu, map, inventory, ... #37

Closed TheDarkgg closed 1 month ago

TheDarkgg commented 1 month ago

Image corrupted after opening game menu, map, inventory, ... whether with FSR or XeSS. You have to restart the game to get back to a normal image.

AMD R7 5700X AMD RX 6750XT AMD Smart Access ON Windows 10

1

cdozdil commented 1 month ago

Hi,

Changing nvngx.ini like below should help the issue. In general you need to find a ratio which results a value really close to an integer number for both width and height.

For 1080p / 4K

; -------------------------------------------------------
[QualityOverrides]
; -------------------------------------------------------
; Set this to true to enable custom quality mode overrides
; true or false - Default (auto) is false
QualityRatioOverrideEnabled=true

; Set custom upscaling ratio for each quality mode
;
; Default (auto) values:
; DLAA          : 1.0
; Ultra Quality         : 1.3
; Quality               : 1.5
; Balanced              : 1.7
; Performance           : 2.0
; Ultra Performance     : 3.0
QualityRatioDLAA=auto
QualityRatioUltraQuality=1.2
QualityRatioQuality=auto
QualityRatioBalanced=1.666666666667   ; or 1.6
QualityRatioPerformance=auto
QualityRatioUltraPerformance=auto

For 1440p

; -------------------------------------------------------
[QualityOverrides]
; -------------------------------------------------------
; Set this to true to enable custom quality mode overrides
; true or false - Default (auto) is false
QualityRatioOverrideEnabled=true

; Set custom upscaling ratio for each quality mode
;
; Default (auto) values:
; DLAA          : 1.0
; Ultra Quality         : 1.3
; Quality               : 1.5
; Balanced              : 1.7
; Performance           : 2.0
; Ultra Performance     : 3.0
QualityRatioDLAA=auto
QualityRatioUltraQuality=1.28
QualityRatioQuality=1.6
QualityRatioBalanced=auto
QualityRatioPerformance=auto
QualityRatioUltraPerformance=auto
TheDarkgg commented 1 month ago

It works! Many thanks!