Skip to main content
New Participant
May 20, 2015

ovrHmd_CreateDebug does not create virtual device

Why would ovrHmd_CreateDebug(ovrHmd_DK2, &HDM) failing with 0xfffff445 return value (called right after ovr_Initialize, which in turn returned ovrSuccess)? I'm unable to run any sample from SDK 0.6.0.0.
Runtime 0.6.0.0. is installed, Oculus Runtime service is running. GPU is 980 gtx, which is definitely support DX11. Driver version is 350.12.

    4 replies

    lorondAuthor
    New Participant
    May 20, 2015
    I just started OVRServer_xxx.exe (both x86 and x64 are fine) manually from C:\Program Files (x86)\Oculus\Service. ovrHmd_CreateDebug work fine. Why oculus service does not start ovrserver?
    Inspiring
    May 20, 2015
    So I take it you don't actually have any headsets and are just testing the SDK?
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    lorondAuthor
    New Participant
    May 20, 2015
    "cybereality" wrote:
    So I take it you don't actually have any headsets and are just testing the SDK?

    I'll get DK2 headset in a month or two (there are several problems getting dk to another side of the planet), so right now I can only work with virtual device. In previous version, 0.5.*, there was no problems. In 0.6 version OVRServer just not starting, though OVRServiceLauncher is running as service. So both ovrHmd_Create and ovrHmd_CreateDebug returns 0xfffff445. With manually started OVRServer ovrHmd_Create returns 0xfffffc11 (different error) and ovrHmd_CreateDebug works fine.

    By the way, there is an minor but annoying bug in samples since 0.6.0.0 version (Win32_BasicVR.h):

    result = ovrHmd_Create(0, &HMD);
    if (result != ovrSuccess) ovrHmd_CreateDebug(ovrHmd_DK2, &HMD); // Use debug one, if no genuine Rift available
    VALIDATE(result == ovrSuccess, "Oculus Rift not detected.");


    This code always failing without physical device connected - call to ovrHmd_CreateDebug is useless. Assigning result is missing.

    Same for calling ovrHmd_ConfigureTracking several lines below - virtual device does not support tracking and sample will exit with error "Failed to configure tracking".
    Inspiring
    May 26, 2015
    Can you provide the log files from this post (either attach the files or post w/ code tags)?

    viewtopic.php?f=34&t=23521
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV