KhronosGroup / KhronosGroup/OpenXR-SDK-Source

hello_xr Wayland graphics bindings are improperly initialized

Open
#41 3 comments 0 reactions 0 assignees View on GitHub
bug in hello_xr low priority synced to gitlab
Dominant language
Python
Stars
825
Forks
306
Avg merge
1d 23h
Merged PRs (30d)
1

Description

See https://github.com/KhronosGroup/OpenXR-SDK/blob/master/src/tests/hello_xr/graphicsplugin_opengl.cpp#L106-L118

Wayland/xcb/xlib connections are all initialized to nonsense, and remaining fields (where applicable) are left entirely uninitialized. Testing on Monado seems to work anyway, at least on xlib, which further raises the question of whether this information is actually needed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read src/tests/hello_xr/graphicsplugin_opengl.cpp at lines 106-118 first, then trace how the Wayland, xcb, and xlib connection data is consumed. Done means the bindings no longer use nonsense or uninitialized fields, with the question of whether this information is needed resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.