cancel
Showing results for 
Search instead for 
Did you mean: 

OpenXR, Quest and Vulkan

rvkennedy
Explorer

I've managed to set up a native Quest app running Vulkan via OpenXR. It renders (clears the screen to a colour) - but only in Cast - the view from the headset remains black. No crashes, Vulkan validation errors, or OpenXR errors.
What could I be missing?

1 REPLY 1

anders.rein
Explorer

I'm not working for Oculus or anything so this is just a guess, but could it be that you've submitted the incorrect projection/eye transformation when setting up the projection layer in the submit frame composition?

 

My reason for thinking it is something like this is that maybe when you cast you are actually just streaming one of the eye texture meaning that casting would still work even if the eye texture was misplaced in the composition (by it would not work when looking inside the headset).