Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
maa_boo's avatar
maa_boo
Not applicable
10 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.
  • maa_boo's avatar
    maa_boo
    Not applicable
    I'm not sure what exactly I'm doing, Unity does things for me.
  • maa_boo's avatar
    maa_boo
    Not applicable
    Anyway, thanks for generalized answer. Hope it helps someone.