I'm having issues with enabling G-sync while running in windowed fullscreen for Path of Exile. If I use fullscreen G-sync activates fine.
The thing is if I enable G-sync for windowed and full screen mode
it will work fine until I open a youtube video on my other screen (both are 165hz) then g-sync will deactivate. If I swap off Hardware acceleration in Google chrome I can watch the youtube video and g-sync work fine in windowed fullscreen, but then my browser is lagging and stuttering a lot. So* G-sync + fullscreen + youtube on other display = fine
* G-sync + windowed fullscreen + youtube (hw acc on) = not fine
* G-sync + windowed fullscreen + youtube (hw acc off) = fine
I also tried changing settings with Nvidia Inspector, Under the GLOBAL_DRIVER_PROFILE
I have tried setting g-sync to fullscreen only

and then under Path of Exile profile I changed the g-sync to fullsceen and windowed

This doesnt seem to do anything for me and its still not working.
This do actually work fine for other games like World of Warcraft, so I dont know if this is a specific problem for Path of Exile?
I'm on latest windows 10 update (2004) and latest nvidia drivers and I had same issue on previous windows 10 version (1907).
It doesnt matter if I play with Vulkan or DX11 its the same issue happening.
The screens im using are Acer predator XB271HUA.
