PresentMon icon indicating copy to clipboard operation
PresentMon copied to clipboard

Weird PresentMode behaviour after cycling dGPU with DXVK

Open mirh opened this issue 11 months ago • 1 comments

So.. if you want some extra context and mind grindings check here, otherwise just see below.

Ever since W7, all windowed applications (save perhaps on newer d3d versions with better native presentation modes) should be using Composed: Copy with GPU GDI. And (at least until nvidia added their new driver-side DXGI interop) all normal vulkan applications should be no exception.

Yet, on my 950M optimus laptop, after I disable and re-enable the gpu from device manager something odd happens. The first time (and only then) I run a program with DXVK, I'm getting Hardware: Legacy Copy to front buffer.

This may just be a driver re-initialization quirk (for instance, triggering the UAC secure screen dialog seems to "fix" it) Or it may just be a harmless innocent glitch in Windows (in the sense that it's just "sleepy" the first time and it reports that old mode). That is, nothing that should be of concern directly for PresentMon.

Yet, given certain pathologically bad performance numbers I'm getting, I feel like a third option might be in the making: that the reporting of Composed: Copy with GPU GDI is actually wrong. I don't know how I could bisect this problem more (and my brain already hurts after so much analyses) so I was hoping you could have some better clues.

mirh avatar Jul 23 '23 14:07 mirh