Skip to main content
Up and Coming
December 6, 2017

WaitableTimer slept too long/short

I get a lot of warnings in my simple OpenSceneGraph (OpenGL) application running with the latest SDK 1.20.0:
...
06/12 17:25:32.939 {!ERROR!} [Kernel:Default] WaitableTimer slept too long/short (i.e. 1.738477 ms)
06/12 17:25:41.174 {!ERROR!} [Kernel:Default] WaitableTimer slept too long/short (i.e. 2.374699 ms)
...
I have tried to replicate the behavior of the OculusRoomTiny(GL) demo, but I am obviously missing something, since the demo runs without these warnings.
What is the source of these warnings?

    2 replies

    VrallyAuthor
    Up and Coming
    December 14, 2017
    Regretfully my Oculus device broke short after writing this question and I am currently in talks with the support people regarding an RMA.

    But I was mostly interested in what part of the Oculus SDK these warnings had their origin from.
    What is it this warning is trying to tell me?
    VrallyAuthor
    Up and Coming
    January 11, 2018
    @imperativity

    I have attached the logs as requested.

    This was the latest output in visual studio 2017 when I ran my test:
    11/01 10:50:58.744 {INFO}    [Kernel:Default] [CAPI] LibOVR module is located at C:\Program Files\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll
    11/01 10:50:58.764 {DEBUG}   [Client] Connected to the server running version (prod = 1).1.20.0(build = 501061) feature version = 0. Client runs version (prod = 1).1.20.0(build = 501061) feature version = 0
    11/01 10:50:58.785 {DEBUG}   [Kernel:Default] [HMDState] Using default profile default
    11/01 10:50:58.785 {INFO}    [Kernel:Default] IAD changed to 64.5mm
    11/01 10:50:58.785 {DEBUG}   [SharedMemory] Creating factory
    11/01 10:50:59.317 {INFO}    [Kernel:Default] [HMDState] Detected the active window handle changed to 20eb6ll
    11/01 10:51:19.940 {!ERROR!} [Kernel:Default] WaitableTimer slept too long/short (i.e. 1.863781 ms)
    11/01 10:51:36.874 {!ERROR!} [Kernel:Default] WaitableTimer slept too long/short (i.e. 2.158223 ms)
    11/01 10:51:43.229 {!ERROR!} [Kernel:Default] WaitableTimer slept too long/short (i.e. 1.583889 ms)
    11/01 10:51:51.242 {!ERROR!} [Kernel:Default] WaitableTimer slept too long/short (i.e. 3.356760 ms)