FirefoxReality
FirefoxReality copied to clipboard
WebXR incorrect IPD/FOV on Quest 2
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
- move lens from centered position to wide (change IPD)
- open https://immersive-web.github.io/webxr-samples/inline-session.html or any other webxr site
- click enter VR
- 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
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)