Wine-Builds icon indicating copy to clipboard operation
Wine-Builds copied to clipboard

Is Fsr Activated?

Open artivision opened this issue 2 years ago • 2 comments

Any way to know if the Fsr on Staging-Tkg build is actually active when set?

artivision avatar Mar 18 '22 06:03 artivision

As far as i know, the only way is to compare the image quality. If i'm not sure FSR is active, i make two screenshots (with and without FSR) and compare them, but I usually can see the difference immediately.

If a game uses a proper fullscreen mode (not borderless window) and you chose a lower than native screen resolution, then FSR should be active.

Kron4ek avatar Mar 18 '22 09:03 Kron4ek

After examining the FSR patch, i found out that there is another way to see if it is active or not, it leaves a trace in winedebug. You need to set WINEDEBUG to trace+fshack before running a game:

export WINEDEBUG=trace+fshack
wine-7.4-staging-tkg-amd64/bin/wine game.exe

If FSR is active, you will see such string among others:

022c:trace:fshack:fs_hack_is_fsr is_fsr: TRUE, sharpness: 0.2000

If it is not active, you will either see this:

0230:trace:fshack:fs_hack_is_fsr is_fsr: FALSE, sharpness: 0.2000

Or there will be no FSR-related strings at all.

I recommend to redirect Wine output to a file, because there will likely be 1000+ lines, and your terminal emulator is probably limited to 1000 lines by default.

Kron4ek avatar Mar 18 '22 09:03 Kron4ek