Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Slin's avatar
Slin
Expert Protege
8 years ago

Dash flickering whenever ASW kicks in and some more depth related questions...

I'm having an issue with Dash not deciding if it is behind or in front of things in my Scene. The left eye is fine but the right one is flickering badly. This only happens at < 90fps and only if ASW is enabled (I tried the different modes using the Oculus Debug Tool).

Based on the things I checked, I don't think it's me doing something wrong, but then again there aren't really any frame debuggers that work without compromises :(
Also I can't reproduce this with the tiny room d3d12 sample after hacking depth support into it.
Any ideas on this would be great!

Is there any way I can view the depth buffer submitted to the Oculus runtime?
Is it okay to use the same index into both color and depth swap chain buffers? (I'd think so and tried both without any change for my problem)
Is there any advantage or disadvantage in providing a multisample depth buffer to the SDK? (Currently I resolve it on my side)
Not Oculus related, but I'm having problems with resolving a 24 depth 8 stencil multisample buffer, the same code works perfectly for 32bit float buffers and the debug layer is not complaining, it just doesn't seem to work (renderdoc shows all black in the resolved texture). Any ideas on what my problem could be?

I'm using custom D3D12 rendering...
Thanks!

4 Replies

  • Slin's avatar
    Slin
    Expert Protege
    Here is a video of the flickering: https://youtu.be/rhtgWyL2MOc
  • Dirp's avatar
    Dirp
    Honored Guest
    Hi there, I have something similar with my right screen. How do you manage to capture the problem?
  • Slin's avatar
    Slin
    Expert Protege
    Using the mirror, which is part of the oculus debug tools: https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-compositor-mirror/
  • Dirp's avatar
    Dirp
    Honored Guest
    Thanks! I have a similar problem, but I dont see it on the Mirroring version. In my  right Oculus screen have  flickering striped image sometimes. I think is some kind of interference.