Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenXR Tools for Windows Mixed Reality should not be sandboxed #114

Open
fredemmott opened this issue Oct 18, 2022 · 1 comment
Open

OpenXR Tools for Windows Mixed Reality should not be sandboxed #114

fredemmott opened this issue Oct 18, 2022 · 1 comment

Comments

@fredemmott
Copy link

fredemmott commented Oct 18, 2022

The sandboxing means that OpenXR Tool's information does not reflect the user's real configuration, so can be a very misleading debugging tool.

Missing API layers

OpenKneeboard by default installs an OpenXR API layer via HKCU, to avoid unneeded elevation. OpenXR Tools will not include it in the list of API layers - for example, in this screenshot, OpenXR Toolkit is installed via HKLM and appears in both OpenXR tools and OpenXR Explorer, however OpenKneeboard is installed via HKCU and only shows up in OpenXR Explorer:

image

Unrepresentative ACLs

If an 'everyone'-readable/executable API layer is installed, but it is not readable by the restricted package users (which are not part of everyone), OpenXR Tools will hard-fail - for example, if OpenKneeboard is set to install OpenXR for 'all users', the layer files are in C:\ProgramData which does not have the restricted app ACLs, leading to this:

image

@fredemmott
Copy link
Author

In the latter case, DbgView shows:

[22956] Error [GENERAL |  | OpenXR-Loader] : Unknown failure: exists: Access is denied.: "C:\ProgramData\OpenKneeboard\OpenKneeboard-OpenXR.json"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant