Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
madpuppet's avatar
madpuppet
Honored Guest
12 years ago

DK1 Crashing on 0.4.1

I have my app running nicely on my shiny new DK2 using the 0.4.1 sdk C++ libraries.

However, when I give it to someone to run a DK1 system, it just crashes because the ovrHmd_Create(0) returns NULL.

ovr_Initialize();
m_hmd = ovrHmd_Create(0);
if (!m_hmd)
DMFATAL("Unable to create the Oculus driver - Check your DK2 is connecting and turned on..");

I don't have access to a DK1 currently to do any testing inside the ovrHmd_Create function to get further information.
This is nearly the first thing my game does before opening the game window or creating the opengl context, so I'm a bit bewildered as to what I could be doing wrong.

Does 0.4.1 work on a DK1?
My google-fu skills have failed me so far to finding anyone else having this problem.

2 Replies

  • hypx's avatar
    hypx
    Honored Guest
    Yes it works (Wind 7 x64, SDK 0.4.1, DK1)
    It works in D3D9, D3D11 and OpenGL as well.

    ovrHmd_Create(0) usually returns NULL when the device is not detected.
    - Does that person installed the 0.4.1 runtime?
    - Is the device showing up correctly in the Oculus Configuration Utility?
  • Thanks. I doubt he's installed any new runtimes for a while. I'll get him to check tonight.