Forum Discussion
Rajveer
10 years agoExplorer
Multiple windows and vsync
My primary monitor is 60hz. When rendering to a single window I call ovrHmd_SubmitFrame(), blit my mirror texture to the window and then call SwapBuffers(). This works well when vsync has been disable...
Rajveer
10 years agoExplorer
So I overclocked one of my monitors to 90Hz and tested the 3rd question, and was limited to 150 buffer swaps (75 each), even when forcing vsync off. Searching around the SDK I found references to the WGL_OML_sync_control functions which I'm assuming are what is causing the SDK to limit internally to 75 buffer swaps. I was hoping the compositor process would have a separate context/some magic and be swapping on a separate thread (I'm not sure how it handles multiple applications).
At the very least though, when using multiple windows, limiting the number of buffer swaps of a higher frequency monitor to the frequency of the Rift is better than limiting the Rift to the frequency of a slower monitor, so turning vsync off would be good. I tried setting ovrHmdCap_NoVSync but it didn't do anything, unlike forcing vsync off in the Nvidia control panel.
At the very least though, when using multiple windows, limiting the number of buffer swaps of a higher frequency monitor to the frequency of the Rift is better than limiting the Rift to the frequency of a slower monitor, so turning vsync off would be good. I tried setting ovrHmdCap_NoVSync but it didn't do anything, unlike forcing vsync off in the Nvidia control panel.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago