Forum Discussion
ScottieBizzle
11 years agoExplorer
Swapchain presenting to window, yet no blue light
My display mode is set to "Direct HMD Access from Apps" and the OculusRoomTiny sample works fine. It initializes, then on the 3rd or so call to ProcessAndRender ( specifically the RParams.pSwapChain->...
kojack
11 years agoMVP
"ScottieBizzle" wrote:
So in the tiny sample, what exactly prompts the device to know the swap chain is setup for the HMD? I was assuming it was the ovrHmd_AttachToWindow(HMD, window, NULL, NULL), call and the fact the swap chain is also set to that window.
AttachToWindow doesn't actually do the attaching itself. It sends a network packet (RPC call) to the ovr service which will then do the actual work.
Sadly, the service is closed source, so we can't debug what it's doing.
I'm in a similar situation, trying to get client rendering working in direct rift mode (in Ogre3D), but all I can get is one of two outcomes:
- nothing happens, app runs like normal on the monitor (when rift init is after directx9)
- IDirect3D9::CheckDeviceMultiSampleType fails with an error saying 3d in not available (when rift init is before directx9)
Looking at the vs debug info, it seems in the second case the IDirect3D9 device has been hijacked by OVRDisplayRT64.dll.
Shame we can't debug that since it's all closed source too.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device