microsoft / OpenXR-MixedReality

OpenXR samples and preview headers for HoloLens and Windows Mixed Reality developers familiar with Visual Studio
https://aka.ms/openxr
MIT License
335 stars 95 forks source link

Add FPS floor setting in motion reprojection #92

Closed winzee closed 2 years ago

winzee commented 3 years ago

The latest release of OpenXR very aggressively lowers FPS when using motion reprojection. It would be very useful if we could specify our own minimum. Example on Microsoft Flight Simulator: https://youtu.be/Q5FelT6PSms

brycehutchings commented 2 years ago

@winzee Thanks for reporting this! I believe adding a minimum would not be the right solution here since it could easily result in the app (especially Flight Simulator) to not be able to keep up, and the results could be even worse. However, in investigating this, I found two places to improve with our heuristic that will result in it being less aggressive at lowering the frame rate, especially if is on the boundary of two different frame rates. This change should make it into the 109 preview runtime release.

winzee commented 2 years ago

@brycehutchings awesome can’t wait to try it out! Thank you.