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.
26/03/2025
The kernel release emphasizes the continuing growth and maturity of the Linux ecosystem and delivers new features, improvements, and optimizations…
26/03/2025
Collabora is thrilled to see its partner, Hololight, join the Khronos Group and become an active member of the OpenXR Working Group. We…
11/03/2025
Using Mesa 25.1, Nouveau users will default to Zink+NVK instead of the old OpenGL driver, shifting towards an OpenGL on Vulkan.
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