cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL core context crash when dismissing HSW

jimbo00000
Explorer
When building with an openGL core profile(GLFW_OPENGL_CORE_PROFILE), I'm getting a driver crash(NVidia 347.09) in glDrawElements on dismissal of the HSW while SDK rendering(between ovrHmd_BeginFrame and ovrHmd_EndFrame). The client path works fine and the warning can be dismissed while using that path, but the crash occurs on a switch back to SDK rendering. Running in a compatibility context the crash doesn't occur.

in both Direct and Extended display mode
in both Debug and Release modes in VS2010 Express
NVidia 780Ti, driver 347.09

Project source and CMake variable core context toggle here:
https://github.com/jimbo00000/RiftSkeleton/blob/master/CMakeLists.txt#L19

*Edit*
After more testing, I can provide some more info on this.

In a GL core context, Calling GLError() yields a GL Error: invalid operation on the first VAO bind after calling ovrHmd_DismissHSWDisplay on both AMD(HD 6670) and NVIDIA(780Ti).

In compatibility context, The NVIDIA driver seems to let this one through and everything works fine. On AMD, I see smearing on any pixels that haven't been written to by scene's display(i.e., the black background from the glClear(COLOR|DEPTH) done on the render target).
0 REPLIES 0
Still need help?

Did this answer your question? If it didn’t, use our search to find other topics or create your own and other members of the community will help out.

If you need an agent to help with your Meta device, please contact our store support team here.

Having trouble with a Facebook or Instagram account? The best place to go for help with those accounts is the Facebook Help Center or the Instagram Help Center. This community can't help with those accounts.

Check out some popular posts here:

Getting Help from the Meta Quest Community

Tips and Tricks: Charging your Meta Quest Headset

Tips and Tricks: Help with Pairing your Meta Quest

Trouble With Facebook/Instagram Accounts?