OpenXR-SDK-Source icon indicating copy to clipboard operation
OpenXR-SDK-Source copied to clipboard

Core Validation: xrCreateSession doesn't recognise XR_TYPE_GRAPHICS_BINDING_EGL_MNDX

Open amalon opened this issue 1 month ago • 1 comments

When using EGL with the XR_MNDX_egl_enable extension (e.g. Monado and SteamVR on Linux), if the XR_APILAYER_LUNARG_core_validation API layer is enabled then xrCreateSession fails with the following validation error:

[V - VUID-xrCreateSession-next-parameter - xrCreateSession]: Invalid number of graphics binding structures provided.  Expected 1, but received 0.

and returns XR_ERROR_GRAPHICS_DEVICE_INVALID, even though a valid graphics binding has been provided with type XR_TYPE_GRAPHICS_BINDING_EGL_MNDX.

The validation layer should permit this graphics binding type, at least when the XR_MNDX_egl_enable extension is enabled.

amalon avatar Nov 22 '25 00:11 amalon

An issue (number 2646) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2646 ), to facilitate working group processes.

This GitHub issue will continue to be the main site of discussion.

rpavlik-bot avatar Dec 01 '25 16:12 rpavlik-bot