Skip to main content
Up and Coming
March 30, 2016
Solved

VSync: on or off?

  • March 30, 2016
  • 4 replies
  • 1786 views
Sorry for that stupid newb question, but should I turn VSync off, on, doesn't matter or depends on?
    Best answer by jherico
    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

    jhericoAnswer
    Inspiring
    March 30, 2016
    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.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    maabooAuthor
    Up and Coming
    March 30, 2016
    I'm not sure what exactly I'm doing, Unity does things for me.
    Windows 8.1 x64 ::: Oculus Rift DK2 + SDK 0.6.0 ::: Core 2 Duo E8500 / 16 GB / NVidia GTX 970 4GB
    Inspiring
    March 30, 2016
    try the unity forum maybe.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    maabooAuthor
    Up and Coming
    March 31, 2016
    Anyway, thanks for generalized answer. Hope it helps someone.
    Windows 8.1 x64 ::: Oculus Rift DK2 + SDK 0.6.0 ::: Core 2 Duo E8500 / 16 GB / NVidia GTX 970 4GB