Forum Discussion
Anonymous
9 years agoBest way to handle ovrError_DisplayLost ? ( PC SDK 1.6 )
Hi, ok this is the story, you do all the stuff, all works, you call ovrResult result = ovr_SubmitFrame(ovr_session, frameIndex, nullptr, &layers, 1); and you get the above : ovrError_DisplayLost N...
Anonymous
9 years agoHi,
turns out after I gave the code to some people to test it "it works and recover" with CV1.
You don't really need IMHO to completely destroy the whole DX11 device, it's sufficient you destroy the session and the various textures/buffer, poll for when the HMD is on again then re-create session and texture again.
People telling me they literally yanked the cable out, all pauses, they put the cable back in and the game continued as normal.
So I guess what I am seeing here is probably a just DK2 related problem, not a CV1 problem.
Cheers.
turns out after I gave the code to some people to test it "it works and recover" with CV1.
You don't really need IMHO to completely destroy the whole DX11 device, it's sufficient you destroy the session and the various textures/buffer, poll for when the HMD is on again then re-create session and texture again.
People telling me they literally yanked the cable out, all pauses, they put the cable back in and the game continued as normal.
So I guess what I am seeing here is probably a just DK2 related problem, not a CV1 problem.
Cheers.
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
- 5 months ago
- 4 years ago