Nukem9 / dlssg-to-fsr3

Adds AMD FSR 3 Frame Generation to games by replacing Nvidia DLSS-G Frame Generation (nvngx_dlssg).
GNU General Public License v3.0
3.9k stars 153 forks source link

GSYNC/Freesync brightness flickering in games #308

Closed kesu1 closed 6 months ago

kesu1 commented 6 months ago

Enabling FSR 3 makes the game flicker by randomly dimming/un-dimming. Sometimes it disappears/weakens, but it is definitely there.

This issue was observed in the following games I tested so far:

I have an RTX 3070 with driver version 546.33 Display: LG 24GN650-B

Gaffer13 commented 6 months ago

Sounds like regular Freesync brightness flickering. Either FSR results in stuttering or framerate is steady, but in the range that makes the monitor go in and out of frame doubling. So I'd be checking frametimes with Afterburner.

kesu1 commented 6 months ago

If it is a Freesync Brightness Flickering, why is it present, if my frames are inside the range? What could solve it in this case? (Will test out fdametimes with Afterburner later)

Gaffer13 commented 6 months ago

It's present because brightness inside the Freesync range may vary on some monitors, and heavy stuttering amounts to framerate going from e.g. 60 fps to 100 and back to 60, from frame to frame. If the monitor looks slightly brighter at 100Hz, compared to 60, you're going to notice rapid changes from 100fps to 60fps.

The solution is to minimize stuttering, possibly by using a framerate limiter - in this case Nvidia's limiter, though some people report good results from double limiting - a slightly lower limit in the game, a slightly higher limit (that's still below the monitor's maximum refresh rate) in Nvidia Control panel.

kesu1 commented 6 months ago

Thank you! Will report back if frame limiting is working or if I checked frame times and found something.

Going Borderles Fullscreen seems to solve the flickering, but does it disabke Freesync? I have it set to fullscreen only in the NVIDIA Control Panel

kesu1 commented 6 months ago

Frametimes seem to fluctuate between 6-12ms usually while FPS stays constant.

My other monitor with the same VRR range from a different manufacturer does not seem to suffer from this.

EDIT: Setting the Freesync Premium range from "Extended" to "Basic" on my LG 24GN650-B seems to eliminate flickering, but only in Cyberpunk 2077. In Witcher 3, it also seems greatly reduced or even gone this way.

kesu1 commented 6 months ago

This flickering is not a problem in my experience if I just lower the settings and achieve the ~same FPS that way.

kesu1 commented 6 months ago

The problem is with how NVIDIA cards handle VRR with FreeSync displays. LFC will trigger at 60fps even though my monitor's VRR range is 40-144 Hz. Using CRU to make the VRR range narrower helped me eliminate the problem. Source: https://www.reddit.com/r/nvidia/comments/ap6i5l/one_big_difference_in_nvidias_adaptive_sync/