Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
maa_boo's avatar
9 years ago
Solved

VSync: on or off?

Sorry for that stupid newb question, but should I turn VSync off, on, doesn't matter or depends on?
  • if you're mirroring to the on-screen display and doing the present / buffer swap in the same thread as you're submitting to the Oculus runtime, then you should have v-sync off, otherwise the blocking call while you wait for the monitor v-sync will cause you to miss submissions to the HMD.

    If you're using multiple threads to do rendering / submission to the HMD / present to the window, then v-sync can be on.

4 Replies

  • if you're mirroring to the on-screen display and doing the present / buffer swap in the same thread as you're submitting to the Oculus runtime, then you should have v-sync off, otherwise the blocking call while you wait for the monitor v-sync will cause you to miss submissions to the HMD.

    If you're using multiple threads to do rendering / submission to the HMD / present to the window, then v-sync can be on.
  • I'm not sure what exactly I'm doing, Unity does things for me.