Page 1 of 1

Is it possible to 'force' G Sync to a window?

Posted: 10 Jan 2022, 14:34
by xreyuk
Hi,

Firstly I'd like to say thanks for the extensive G Sync information on the site, it's really helped with getting my system setup!

I'm using an RTX3070 on an LG CX Oled.

So, to my 'problem'. I play iRacing, and it's quite common to use an overlay for more information whilst you race. For the overlays to work you have to run iRacing in windowed mode, and the overlay starts itself and acts like an 'always on top' window. I have G Sync configured globally to Full Screen but used NVInspector to set iRacing to Full Screen and Windowed.

When playing with the overlay enabled, G Sync doesn't follow the FPS of the game, it just stays at a solid 120hz. As soon as I disable the overlay, G Sync starts working as expected for iRacing in windowed mode. I suspect G Sync doesn't work because it sees the overlay as the 'active window' and tracks to the refresh rate of that, which is obviously my desktop refresh rate.

I suspect there isn't, and I know it's a long shot but is there anyway I can make iRacing the active window whilst still displaying the overlay, or trick G Sync into believing iRacing is the active window?

For reference I am using the RaceLabs overlay, but they all operate the same way regardless of program. They can't run in full screen because iRacing detects it as an injection into the D3D program and the anticheat stops you playing.

Re: Is it possible to 'force' G Sync to a window?

Posted: 25 Oct 2022, 18:05
by Ianrivaldosmith
Is it DX12 game? I believe DX12 fixes this type of issue?

Re: Is it possible to 'force' G Sync to a window?

Posted: 25 Oct 2022, 19:47
by jorimt
xreyuk wrote:
10 Jan 2022, 14:34
I suspect G Sync doesn't work because it sees the overlay as the 'active window' and tracks to the refresh rate of that, which is obviously my desktop refresh rate.
The app window G-SYNC is active on must be focused for it to engage properly in borderless/windowed mode, so yes, if the overlay is set to always on top and is focused instead of the game window, I don't see any straightforward workarounds, unless the game window can be focused while the overlay window is still on top.

I haven't played iRacing, let alone used one of those overlays with it, so I can't really speak on it further than that.

Re: Is it possible to 'force' G Sync to a window?

Posted: 26 Oct 2022, 18:55
by Chief Blur Buster
The overlay software developer needs to fix the overlay software to be G-SYNC compatible.

RTSS is a G-SYNC compatible overlay, so theoretically it is possible if the software developer of the overlay fixes it to be G-SYNC compatible.

Also, RTSS plugins can be developed. Is it possible to use the overlay via another software package such as RTSS?

Re: Is it possible to 'force' G Sync to a window?

Posted: 27 Oct 2022, 01:47
by Kyouki
[for applications not behaving, I don't know if this applies to overlay]
I believe this can be achieved with Special K, I've done this to enforce FFXIV's window to go into Gsync mode found here:
https://old.reddit.com/r/ffxiv/comments ... c/hitjdt8/

Found more details here on how to properly use it:
https://wiki.special-k.info/en/SwapChain

Sidenote it could also work if you start the overlay after the game has launched if there is a possibility, likely what Chief stated above is the reason why it isn't working as intended. I did found randomly that I got it to fix when I started the overlay type software later instead of directly upon start when it engages and gives all the swapchain details to the system to work with.

This is also often why lots of overlays have delay's or the capability to inject later then intended.

Re: Is it possible to 'force' G Sync to a window?

Posted: 13 Oct 2023, 06:55
by matrox-40
Hello xreyuk ! long time since you posted, have you found some method to keep g-sync "attached" to game window ?