Forum Discussion
dee
11 years agoHonored Guest
wglDXRegisterObjectNV failed
Hello,
what could be wrong with this sequence?
ovrHmd_CreateDebug
start my renderer (create opengl context)
ovrHmd_CreateSwapTextureSetGL 2x
ovrHmd_CreateMirrorTextureGL
rendering without problems...
ovrHmd_DestroyMirrorTexture
ovrHmd_DestroySwapTextureSet 2x
close my renderer (delete opengl context)
start my renderer (create new opengl context in the same window)
ovrHmd_CreateSwapTextureSetGL <--------- fails with
OVR Error:\n OVRTime: 264260.753780\n Time: 2015-06-22 20:49:14 [606:129:800]\n Code: -3000 -- ovrError_Initialize\n Description: wglDXRegisterObjectNV failed
and then Access violation reading location 0x00000000 still inside ovrHmd_CreateSwapTextureSetGL.
what could be wrong with this sequence?
ovrHmd_CreateDebug
start my renderer (create opengl context)
ovrHmd_CreateSwapTextureSetGL 2x
ovrHmd_CreateMirrorTextureGL
rendering without problems...
ovrHmd_DestroyMirrorTexture
ovrHmd_DestroySwapTextureSet 2x
close my renderer (delete opengl context)
start my renderer (create new opengl context in the same window)
ovrHmd_CreateSwapTextureSetGL <--------- fails with
OVR Error:\n OVRTime: 264260.753780\n Time: 2015-06-22 20:49:14 [606:129:800]\n Code: -3000 -- ovrError_Initialize\n Description: wglDXRegisterObjectNV failed
and then Access violation reading location 0x00000000 still inside ovrHmd_CreateSwapTextureSetGL.
4 Replies
- deeHonored GuestSimplified sequence:
ovrHmd_CreateDebug
start my renderer (create opengl context)
ovrHmd_CreateSwapTextureSetGL 2x
rendering without problems...
ovrHmd_DestroySwapTextureSet 2x
close my renderer (delete opengl context)
start my renderer (create new opengl context in the same window)
ovrHmd_CreateSwapTextureSetGL <--------- fails
Tested with SDK 0.6.0.0 beta and win7 x64 - cyberealityGrand ChampionLast time I checked it, ovrHmd_CreateDebug wasn't working.
Do you not have a headset to test with? - deeHonored GuestI usually work with headset disconnected, but I just connected it and it fails even with ovrHmd_Create().
- deeHonored GuestIt works with inserted code in bold:
ovrHmd_Create
start my renderer (create opengl context)
ovrHmd_CreateSwapTextureSetGL 2x
rendering without problems...
ovrHmd_DestroySwapTextureSet 2x
close my renderer (delete opengl context)
ovrHmd_Destroy
ovrHmd_Create
start my renderer (create new opengl context in the same window)
ovrHmd_CreateSwapTextureSetGL <--------- works
But it's slower and if ovrHmd_Create fails and I call ovrHmd_CreateDebug instead, it always fails on second ovrHmd_CreateDebug.
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
- 3 years ago
- 4 years ago
- 11 months ago