Edit: Changing present method in NVIDIA settings to prefer layered on DXGI Swapchain gets rid of the flickering on focus change and behaves as expected.
On windows, borderless fullscreen behaves identically to exclusive fullscreen when monitor refresh rate is set above 240Hz (ie. changing window focus makes screen flash black). I was unable to reproduce on i3wm arch linux. This occurs with WindowBorderless = 1 and Fullscreen = 1. Changing refresh rate to 240Hz or below at any point fixes this issue until switching back to higher refresh rate.
Windows settings i have tried changing:
- Optimisations for windowed games
- Variable refresh rate
- Run this program in compatibility mode for Windows 8
- Disable full-screen optimisations
Nvidia specific settings:
- smooth motion off
- Low Latency Mode: off / on
- Monitor Technology: G-SYNC Compatible / Fixed Refresh
- Vertical Sync: 3D app setting / off
Relevant code seems to be in rts/Rendering/GlobalRendering.cpp
infolog.txt
Edit: Changing present method in NVIDIA settings to prefer layered on DXGI Swapchain gets rid of the flickering on focus change and behaves as expected.
On windows, borderless fullscreen behaves identically to exclusive fullscreen when monitor refresh rate is set above 240Hz (ie. changing window focus makes screen flash black). I was unable to reproduce on i3wm arch linux. This occurs with
WindowBorderless = 1andFullscreen = 1. Changing refresh rate to 240Hz or below at any point fixes this issue until switching back to higher refresh rate.Windows settings i have tried changing:
Nvidia specific settings:
Relevant code seems to be in
rts/Rendering/GlobalRendering.cppinfolog.txt