[wpe-webkit] Status of WebXR on OpenXR

Imanol Fernandez ifernandez at igalia.com
Thu Feb 25 08:22:45 PST 2021


Hi Jakob,

I'm Imanol Fernandez, and I'm currently working on the WPE WebXR and 
OpenXR platform implementation. We are using Monado to test the OpenXR 
runtime (using a HTC Vive), thanks for your great job on the runtime!

We have landed several base functionality patches and WPE is already 
passing the XRReferenceSpace, getPose, getViewerPose and RAF related 
tests. We are currently working on all the rendering stuff and getting 
the Opaque Framebuffer implementation correctly rendering into OpenXR. 
Here [1] is a video of the tracking working on a hacked inline session.

If you want to test the current implementation you can compile the main 
WPE branch, enable the webxr pref, and apply this patch 
(https://bugs.webkit.org/show_bug.cgi?id=222173). I recommend that you 
wait for the upcoming OpaqueFramebuffer patch though, because I've been 
using some locally modified WebXR sample for the tests, and that code is 
not on the repository. The Opaque FBO patch should be ready for review 
in the next few days and with that patch applied you should be able to 
run the first WebXR samples without any modification.

One thing that would be great to have from Monado is the support for 
direct HMD rendering in Wayland. From what I tested using some native 
openxr-samples, Monado only supports direct rendering when using X11. 
WPE is expected to run on Wayland, so if we can have that support on 
Monado it would be really nice to get the best WebXR experience on 
Linux. Could you share the status or plans on that support?

[1] 
https://www.dropbox.com/s/natdozbo0v6o32b/webxr_inline_and_tracking.mkv?dl=0

On 2/25/21 4:03 PM, Jakob Bornecrantz wrote:
> Hello
>
> A short introduction I'm Jakob Bornecrantz working on the Monado[1]
> project aiming to implement a complete open source OpenXR runtime on
> Linux. We just recently officially became a conformant OpenXR
> implementation.
>
> One thing we are missing is a browser that support WebXR on Linux that
> uses OpenXR. I have seen some patches float by in the commits
> mentioning OpenXR and WPE, so I'm wondering what the status of
> WebXR/OpenXR is on Linux? What is the easiest way to try this out? Are
> there any opportunities for collaboration?
>
> Cheers, Jakob.
>
> [1] https://monado.freedesktop.org/
>   _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> webkit-wpe mailing list      (webkit-wpe at lists.webkit.org)
> Help/Unsubscribe/Update your Subscription:
> https://lists.webkit.org/mailman//listinfo/webkit-wpe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-wpe/attachments/20210225/9e07d344/attachment.htm>


More information about the webkit-wpe mailing list