Forum Discussion
Anonymous
11 years agoNo sRGB inside HMD (OpenGL, SDK 0.4.3)
Hello, Here is my experience with the DK2 so far. I work with SDL2, OpenGL 3.3 in default profile (compatibility ?) and Windows 7 64 bits for now. I was surprised to get the Direct HMD mode working...
HartLabs
11 years agoHonored Guest
"sth" wrote:
Sounds like you're calling SwapBuffers manually. This is already done by ovrHmd_EndFrame().
I had this problem when I first implemented the SDK back in 0.4, and the symptoms are identical but there are no extra SwapBuffers in my code. My present code works fine in extended which I would imagine would not be the case if I had an extra swap buffer somewhere.
Any idea how an extra Swap call might be made while in Direct? It seems to me it might have to do with the mirror somehow, but like I said I crash if I attempt to turn it off. I am rendering to a singe shared texture, I could see that somehow causing it as well maybe?
I tried turning off timewarp, dynamic prediction, only rendering one eye, turning off vsync everywhere possible, no change. Seems kind of strange it is not affected if I turn off Vsync.
Hmmm just noticed another weird symptom. If I unplug my second monitor my program hangs. Plugging it back in and it runs. But now plugged back in it has no output even though the system recognizes it.
I am creating a borderless fullscreen window, tried full windowed, fullscreen, no change.
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
- 9 months ago
- 2 months ago
- 5 months agoAnonymous