Anonymous
9 years agoRe: Battlefield 1 Windows 10 vsync in FullScreen
Seems there is such a thing in the development world to bypass DWM and its vsync intrusion. "independent flip" and was mentioned here:
https://m.reddit.com/r/GlobalOffensive/comments/38qqju/borderless_window_fix_for_input_lag_and/?ref=search_posts
Another site for developers mentions yet another variation of this called "Immediate flip immediate mode" summarized from here:
http://www.gamedev.net/topic/676986-true-immediate-independent-flip-mode/
It says ,
"Immediate flip immediate mode is the replacement of the fullscreen exclusive mode. The behaviour is almost the same: DWM bypassing, unleashed frame-rate and possible tearing. The main difference is the "non-exclusive" mode: this allow fast alt-tabbing and desktop switch, as well as the having OS notification (if allowed by the user) and elements over-focused the main application (like volume control). In the last scenario the presented frames are temporarily synchronized with the desktop refresh rate until the OS element disappear from the screen (the other frames are automatically discarded).
To enter in fullscreen immediate mode you need to call setfullscreenstate( true) and manually handling WM_SIZE meessage calling resizebuffer(). Current AMD driver should still use DWM composition, so it may not work as expected..
edit: here is an example how to handle fullscreen transitions: https://github.com/Microsoft/DirectX-Graphics-Samples (see D3D12Fullscreen) "
So, can we get this kind of DWM or composition bypass on BF1 so that we may have a true vsync/buffer free option?
I appreciate you taking the time to read this post.
https://m.reddit.com/r/GlobalOffensive/comments/38qqju/borderless_window_fix_for_input_lag_and/?ref=search_posts
Another site for developers mentions yet another variation of this called "Immediate flip immediate mode" summarized from here:
http://www.gamedev.net/topic/676986-true-immediate-independent-flip-mode/
It says ,
"Immediate flip immediate mode is the replacement of the fullscreen exclusive mode. The behaviour is almost the same: DWM bypassing, unleashed frame-rate and possible tearing. The main difference is the "non-exclusive" mode: this allow fast alt-tabbing and desktop switch, as well as the having OS notification (if allowed by the user) and elements over-focused the main application (like volume control). In the last scenario the presented frames are temporarily synchronized with the desktop refresh rate until the OS element disappear from the screen (the other frames are automatically discarded).
To enter in fullscreen immediate mode you need to call setfullscreenstate( true) and manually handling WM_SIZE meessage calling resizebuffer(). Current AMD driver should still use DWM composition, so it may not work as expected..
edit: here is an example how to handle fullscreen transitions: https://github.com/Microsoft/DirectX-Graphics-Samples (see D3D12Fullscreen) "
So, can we get this kind of DWM or composition bypass on BF1 so that we may have a true vsync/buffer free option?
I appreciate you taking the time to read this post.