Lubosz Sarnecki
June 30, 2020
Reading time:
The recent improvements in Monado like out of process compositing and multi-layer rendering released with v0.2 prepared the requirements to implement OpenXR's XR_EXTX_overlay extension.
By implementing this extension we are exposing Monado's multi-application support, which was recently merged to master.
In the video below you can see Monado compositing the rendering of Blender's VR view and the xrgears demo displaying a XrCompositionLayerProjection
as overlay. The demo also showcases Monado's ability to deal with multiple graphics APIs as Blender uses OpenGL and xrgears Vulkan to submit its frames.
To enable the extension in xrgears only this small change was required, which enables the XR_EXTX_overlay
extension and passes the XrSessionCreateInfoOverlayEXTX
struct to the graphics bindings `next` field.
The branch of xrgears running as an overlay can be found here.
Thank you Pluto VR for making this work possible!
If you would like to learn more about Monado or OpenXR, or would like some assistance integrating either in your platform, please contact us.
15/11/2024
The Linux Foundation Member Summit is an opportune time to gather on the state of open source. Our talk will address the concerns and challenges…
14/11/2024
Today, we are delighted to announce a growing collaboration with MediaTek which will enable Collabora to introduce, improve, and maintain…
06/11/2024
Join us at electronica 2024! In partnership with Renesas, Collabora will be showcasing GStreamer open source AI video analytics on the Renesas…
Comments (1)
mittorn:
Feb 09, 2024 at 06:06 PM
Overlay demo application is broken
```
XR_ERROR_VALIDATION_FAILURE: xrEnumerateViewConfigurationViews(views[0]->type == 0x026ab8dc) expected 0x00000029
Failed to enumerate view configuration views! [XR_ERROR_VALIDATION_FAILURE]
[e] main.cpp:343 | OpenXR graphics initialization failed.
[Inferior 1 (process 12479) exited with code 0377]
```
Reply to this comment
Reply to this comment
Add a Comment