Forum Discussion
lorond
10 years agoHonored Guest
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.
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
- lorondHonored GuestI 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?
- cyberealityGrand ChampionSo I take it you don't actually have any headsets and are just testing the SDK?
- lorondHonored Guest
"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". - cyberealityGrand ChampionCan you provide the log files from this post (either attach the files or post w/ code tags)?
viewtopic.php?f=34&t=23521
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 3 months ago
- 3 years ago