FirefoxReality icon indicating copy to clipboard operation
FirefoxReality copied to clipboard

WebXR incorrect IPD/FOV on Quest 2

Open enovikov11 opened this issue 3 years ago • 1 comments

Configuration

Firefox Reality version: 12.2 (2020-12-15) Firefox Reality build ID: 5f700c82 (AC 51.0.0) this is freshest version available in oculus store

Hardware: Oculus Quest 2 firmware 30.1.0.61.350.300158191

Steps to Reproduce

  1. move lens from centered position to wide (change IPD)
  2. open https://immersive-web.github.io/webxr-samples/inline-session.html or any other webxr site
  3. click enter VR
  4. rotate your head

it reproduces in both sitting and standing positions

Current Behavior

image is distorted: 3d in static position is ok, center point is ok, but while rotating head there is effect like image is moving faster than you. If change to middle IPD, all ok. Opening in built-in oculus browser is ok with any IPD

Expected Behavior

image will be not distorted

Possible Solution

fix rendering engine to correctly set eyes positions. Maybe there is outdated oculus's ovr_mobile VrApi. Maybe there is bad modeParams of m.ovr while entering VR, maybe there is bug with other transforms

Context

I cant use WebXR in Mozilla Reality, solution now is to use oculus browser. I also made some research by debugging IPD and this value is changing, but comparing with WebXR API Emulator extension there is not only dx component, but also dy and dz.

Error Logs and Stack Traces

no logs

enovikov11 avatar Aug 01 '21 19:08 enovikov11

Would like to add that moving lens from center IPD position ("2") to narrow position ("1") on the Quest 2 does also produce a distortion. But the effect is a widened image (so objects look flattened) The effect when going to wide position ("3") is a narrowed image (so objects look too skinny)

yinchy avatar Sep 11 '21 22:09 yinchy