Help Understanding G-Sync Windowed 40fps behavior

Talk about NVIDIA G-SYNC, a variable refresh rate (VRR) technology. G-SYNC eliminates stutters, tearing, and reduces input lag. List of G-SYNC Monitors.
ZTylerDurden
Posts: 42
Joined: 26 Jan 2014, 17:22

Help Understanding G-Sync Windowed 40fps behavior

Post by ZTylerDurden » 15 Mar 2025, 08:59

I'm playing a gamecube-emulated game which I require in windowed mode. The game runs natively at 30fps. I have G-sync configured only for full-screen mode although it seems to activate anyway. When running the game, per my screenshot and UFO test, the whole desktop renders at 40fps. If I full-screen the game, my desktop renders at 60fps which is preferred in my scenario (except I require windowed mode).

Image

If I disable G-sync for my monitor, I render 60fps regardless if the game is windowed or full-screen. Basically, the solution is turning off G-sync. Why?

Can someone explain why G-sync is rendering 40fps and how to prevent it from doing that while keeping G-sync on? Ideally it'll render my desktop at 60fps with the emulator running windowed. Configuring G-sync for both windowed and full-screen in NVCP doesn't make a difference.

User avatar
RealNC
Site Admin
Posts: 4379
Joined: 24 Dec 2013, 18:32
Contact:

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by RealNC » 15 Mar 2025, 09:58

Are you forcing a vsync setting in the nvidia control panel maybe? It can cause weird issues if you don't make sure to set it to "use application setting."

Also check if you have set an FPS cap for background apps.
SteamGitHubStack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.

ZTylerDurden
Posts: 42
Joined: 26 Jan 2014, 17:22

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by ZTylerDurden » 15 Mar 2025, 14:20

RealNC wrote:
15 Mar 2025, 09:58
Are you forcing a vsync setting in the nvidia control panel maybe? It can cause weird issues if you don't make sure to set it to "use application setting."

Also check if you have set an FPS cap for background apps.
Vsync is definitely set to "use application setting". If it was an FPS cap on background apps it would happen with g-sync off..which it doesn't cap with g-sync off.

Doesn't this have to do with g-sync identifying my 30fps game and trying to work its way down to match the frame rate of my 30fps game, but my g-sync module only goes down until 40fps unless I have g-sync ultimate fpga? Even if that's the case, I have g-sync configured only to full-screen so I don't know why it's even behaving that way if it's a windowed game.

User avatar
RealNC
Site Admin
Posts: 4379
Joined: 24 Dec 2013, 18:32
Contact:

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by RealNC » 15 Mar 2025, 14:41

ZTylerDurden wrote:
15 Mar 2025, 14:20
Doesn't this have to do with g-sync identifying my 30fps game and trying to work its way down to match the frame rate of my 30fps game, but my g-sync module only goes down until 40fps unless I have g-sync ultimate fpga? Even if that's the case, I have g-sync configured only to full-screen so I don't know why it's even behaving that way if it's a windowed game.
I don't know what causes it then. But the "windowed g-sync" setting isn't really for modern windowed mode. It's for legacy windowed mode that wasn't using a modern frame presentation model.

Have you checked if the VRR setting in Windows itself has an effect on this? It should be in the "graphics settings" in the Windows Settings app.
SteamGitHubStack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.

ZTylerDurden
Posts: 42
Joined: 26 Jan 2014, 17:22

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by ZTylerDurden » 15 Mar 2025, 18:02

RealNC wrote:
15 Mar 2025, 14:41

I don't know what causes it then. But the "windowed g-sync" setting isn't really for modern windowed mode. It's for legacy windowed mode that wasn't using a modern frame presentation model.
This is good to know
RealNC wrote:
15 Mar 2025, 14:41

Have you checked if the VRR setting in Windows itself has an effect on this? It should be in the "graphics settings" in the Windows Settings app.
Well I'll be damned. This was the culprit. Do you know why it does this and if it's intended?

Also, I'm pretty sure I've had g-sync+VRR setting on for this exact game but behaving great--I just haven't been able to recreate the scenario and ended up with these 40fps issues.

Windows, man. I know it has good intentions but it ends up creating more confusion than clarity with its layers.

User avatar
RealNC
Site Admin
Posts: 4379
Joined: 24 Dec 2013, 18:32
Contact:

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by RealNC » 16 Mar 2025, 05:48

ZTylerDurden wrote:
15 Mar 2025, 18:02
Well I'll be damned. This was the culprit. Do you know why it does this and if it's intended?
Who knows :P All I know is that can keep g-sync working in more scenarios (like when an overlay is shown on top of a game.) But that setting is pretty much undocumented and it doesn't do what it says it does.
SteamGitHubStack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.

ZTylerDurden
Posts: 42
Joined: 26 Jan 2014, 17:22

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by ZTylerDurden » 16 Mar 2025, 12:10

I tested it a bit further and there's a sub category on that same graphics section in W11 which was the real cause. I had to toggle off "optimizations for windowed games"
Image

I didn't add that app to the list but Windows figured it was a good idea :roll: . It also looks like Windows doesn't let you remove it from the list either.

User avatar
jorimt
Posts: 2613
Joined: 04 Nov 2016, 10:44
Location: USA

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by jorimt » 16 Mar 2025, 12:34

ZTylerDurden wrote:
16 Mar 2025, 12:10
I tested it a bit further and there's a sub category on that same graphics section in W11 which was the real cause. I had to toggle off "optimizations for windowed games"
Image

I didn't add that app to the list but Windows figured it was a good idea :roll: . It also looks like Windows doesn't let you remove it from the list either.
Yup, it changes the flip model for supported borderless/windowed apps:
https://support.microsoft.com/en-us/win ... 389e535952
(jorimt: /jor-uhm-tee/)
Author: Blur Busters "G-SYNC 101" Series

Displays: ASUS PG27AQN, LG 48C4 Scaler: RetroTINK 4k Consoles: Dreamcast, PS2, PS3, PS5, Switch, Wii, Xbox, Analogue Pocket + Dock VR: Beyond, Quest 3, Reverb G2, Index OS: Windows 11 Pro Case: Fractal Design Torrent PSU: Seasonic PRIME TX-1000 MB: ASUS Z790 Hero CPU: Intel i9-13900k w/Noctua NH-U12A GPU: GIGABYTE RTX 4090 GAMING OC RAM: 32GB G.SKILL Trident Z5 DDR5 6400MHz CL32 SSDs: 2TB WD_BLACK SN850 (OS), 4TB WD_BLACK SN850X (Games) Keyboards: Wooting 60HE, Logitech G915 TKL Mice: Razer Viper Mini SE, Razer Viper 8kHz Sound: Creative Sound Blaster Katana V2 (speakers/amp/DAC), AFUL Performer 8 (IEMs)

User avatar
RealNC
Site Admin
Posts: 4379
Joined: 24 Dec 2013, 18:32
Contact:

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by RealNC » 16 Mar 2025, 13:01

ZTylerDurden wrote:
16 Mar 2025, 12:10
I tested it a bit further and there's a sub category on that same graphics section in W11 which was the real cause. I had to toggle off "optimizations for windowed games"
Image

I didn't add that app to the list but Windows figured it was a good idea :roll: . It also looks like Windows doesn't let you remove it from the list either.
Doing this is bad for perf and latency. You want that option on, otherwise games that use old-style frame presentation model will perform worse compared to exclusive fullscreen. VRR also won't be working even if the window is in the foreground.
SteamGitHubStack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.

ZTylerDurden
Posts: 42
Joined: 26 Jan 2014, 17:22

Re: Help Understanding G-Sync Windowed 40fps behavior

Post by ZTylerDurden » 17 Mar 2025, 13:32

RealNC wrote:
16 Mar 2025, 13:01

Doing this is bad for perf and latency. You want that option on, otherwise games that use old-style frame presentation model will perform worse compared to exclusive fullscreen. VRR also won't be working even if the window is in the foreground.
Turns out G-sync was never activated in the first place in contrast with my initial post.

The issue is that for whatever reason, G-sync does not kick in with Dolphin Emulator. With no g-sync, windowed optimizations causes this 40fps bug with screen tearing. Turning windowed opt. off gives me back frame rate control at 60fps baseline to prevent tearing and stuttering with RTSS.

For Dolphin Emulator I've tried different backends (D3D11, 12, OGL, Vulkan), borderless/exclusive, and different emulator release versions with no luck. I'm starting to think my older g-sync monitor doesn't play well with certain applications. It refreshes precisely at 59.89hz.

Post Reply