FS#68652 - [blender] please enable OpenXR support

Attached to Project: Community Packages
Opened by Nickolay (neothefox) - Tuesday, 17 November 2020, 18:14 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 November 2020, 02:05 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The current build in the community doesn't have OpenXR enabled in it, is there a reason for that?
The VR view inspection is an addon that comes with Arch build, but it's not working. Instead, a message about being built without OpenXR support pops up.
All it takes to enable this feature is having "WITH_XR_OPENXR=ON" at build time. I've tested this support with blender-git aur package and SteamVR and it works without any issues.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 22 November 2020, 02:05 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Wednesday, 18 November 2020, 03:52 GMT
@neothefox what package provided the XR_OPENXR_SDK when you built blender with OpenXR support?
Just enabling the option produced the following and the option was disabled:
CMake Warning at build_files/cmake/platform/platform_unix.cmake:433 (message):
OpenXR-SDK not found, disabling WITH_XR_OPENXR
Comment by Nickolay (neothefox) - Wednesday, 18 November 2020, 09:13 GMT
I just checked the cmake logs and turns out it looks for /usr/lib/libopenxr_loader.so, on my system, it is provided by openxr-loader-git. It's not in the repos yet, I don't remember installing it, probably got it as a dependency for another package.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 21 November 2020, 21:49 GMT
Should be fixed, please check.
Comment by Nickolay (neothefox) - Saturday, 21 November 2020, 22:47 GMT
Can confirm, the VR View works well now! Thank you!