PresentMon icon indicating copy to clipboard operation
PresentMon copied to clipboard

Doesn't detect D3D9 Vsync state

Open vlad54rus opened this issue 2 years ago • 3 comments

PresentMon reports SyncInterval=0 even when Vsync is enabled in the game. Screenshot

vlad54rus avatar Oct 22 '23 13:10 vlad54rus

Is it possible to provide an ETL (ETW trace log) for reproducing this?

https://github.com/GameTechDev/PresentMon/blob/main/CONTRIBUTING.md#if-there-is-something-wrong-with-the-data-presentmon-is-reporting

Isn't it by design? For Direct3D9 swap interval is not a Present call parameter, it is Direct3D device's creation parameter. So I supposed it is logical to be unable to see it per each ::Present call in such API environment.

AlexUnwinder avatar Oct 24 '23 01:10 AlexUnwinder

Looks like it only does so if G-Sync is enabled, for both D3D9 and DXGI. Is this how variable refresh rate supposed to work, even when framerate is limited by Vsync? ~Here's the trace: https://drive.google.com/file/d/1x8RVnhbdZ-p33Z-0jmMNa2Uuldc-Pt7M~

vlad54rus avatar Oct 24 '23 06:10 vlad54rus