vkd3d-proton
vkd3d-proton copied to clipboard
vkd3d: Ensure monotonic frame ID order for Reflex.
Some applications use app IDs in "random" order which completely breaks the existing implementation.
I gave this a spin. It successfully avoids the slow swapchain-thrashing that was previously reproducible in Spider-Man Miles Morales, Ratchet & Clank, and RoboCop Rogue City.
@esullivan-nvidia This exposes a bug on NV driver. When IDs aren't one after the other, the algorithm seems to break down. This is especially the case in GetLatencyTimingsNV where the outputs are complete bogus when using stride != 1.
@esullivan-nvidia any updates?
I have submitted the fix for this issue internally. It should ship in the next developer beta driver. I will let you know when that happens.
Seems to work on latest beta driver, yes.
LGTM, thanks!