03-31-2021 02:24 AM
Hello,
I am working on our game to include VR support using OpenXR. Everything is set up and working fine, and now I'd like to add support for ASW. I use the XR_KHR_composition_layer_depth extension, and provide the depth buffer in the XrCompositionLayerDepthInfoKHR structure as the next parameter of the XrCompositionLayerProjectionView for the runtime as in the docs. I am using D3D11, my depth swap chain is in DXGI_FORMAT_D32_FLOAT format, and I use reversed depth.
As the result, all I can see is blocks, all around the screen. I can't post shots for legal reasions, but I have managed to reproduce this with one of the Microsoft sample applications for OpenXR: OpenXR-MixedReality/samples/BasicXrApp at main · microsoft/OpenXR-MixedReality · GitHub
Here I get the following result which practically producing the same artifacts as in our game:
Interestingly here it only affects the left eye, but in our game it is present for both eyes.
If I disable ASW in the mirror app, then it is all good:
Is there a known issue about this, or am I (and the Microsoft sample) doing something wrong?
Thank you.
Laci
Solved! Go to Solution.
04-27-2021 07:25 AM
Hello @johnkearney
It looks like it was the oculus runtime in the end. I havent updated VGA drivers since the last try, only the oculus update happened.
Now the issue is gone for the BasicXrApp, and also with our game.
For the record, my CPU is an i7-9700K, with 32 GB of ram, and an RTX 2060 Super with 8 GB of ram. I was trying the Win32 version of the BasicXrApp.
Thank you
Laci
04-07-2021 11:51 PM
Have anyone seen something like this?
04-12-2021 11:44 PM
Can someone from Oculus react to this please?
04-23-2021 12:45 PM
@perneky.laszlo - I've attempted to replicate this using the latest version (f471c9473f) of the BasicXrApp using the latest Oculus PC Runtime (v28) but I cannot replicate it using Rift CV1, Rift S or Oculus Link. Could you help me understand what is different in your environment?
04-23-2021 10:21 PM
Hello @johnkearney ,
I was using the runtime which was the latest version 3 weeks ago (not sure what the version number was). Also I was using an OQ2 with Link, running from PC. Other than that, I have just checked out the repo (master 3 weeks ago) with the BasicXrApp, and built it without any modifications.
I know that since then, there was an update to the runtime, I'll try it with the latest one on monday.
Laci
04-26-2021 11:50 AM
@perneky.laszlo I suspect that you will see the same behavior with the latest runtime vs the prior runtime as there have been no changes in this area.
I believe I will need some extra information to try to narrow this down? Are you using the UWP or native version of BasicXrApp? What CPU / GPU combo are you seeing this behavior with?
Thanks,
John
04-27-2021 07:25 AM
Hello @johnkearney
It looks like it was the oculus runtime in the end. I havent updated VGA drivers since the last try, only the oculus update happened.
Now the issue is gone for the BasicXrApp, and also with our game.
For the record, my CPU is an i7-9700K, with 32 GB of ram, and an RTX 2060 Super with 8 GB of ram. I was trying the Win32 version of the BasicXrApp.
Thank you
Laci
04-27-2021 09:22 AM
@perneky.laszlo Thanks. And thanks for the system specs - it sounds like a standard configuration that our QA team would be using.