Closed PARKBONG closed 1 year ago
Hi @PARKBONG
Could you please try with this compiled files (unfortunately I don' have the VR equipment with me this week)
Unpack them in the semu.xr.openxr/bin
folder.
Those binaries apply the following change (select the first available swapchain) in case current swapchains are not in the default list:
if((selectedSwapchainFormats == -1) && swapchainFormats.size())
selectedSwapchainFormats = swapchainFormats[0];
I guess I found the reason.
The problem was xrlib_p
on your code, compile_pybind11.bash
#!/bin/bash
# delete old files
. clean_compiled_files.bash
rm ../bin/xrlib_p*
# compile code
python3 pybind11_ext.py build_ext --inplace
# copy compiled file
cp xrlib_p* ../bin/xrlib_p.so
I changed the interpreter
#!/bin/bash
# delete old files
. clean_compiled_files.bash
rm ../bin/xrlib_p*
# compile code
~/.local/share/ov/pkg/code-2022.2.0/kit/python/bin/python3 pybind11_ext.py build_ext --inplace pybind11_ext.py build_ext --inplace
# copy compiled file
cp xrlib_p* ../bin/xrlib_p.so
I compiled it and copy & paste xrlib_p.so
from ~/semu.xr.openxr/src/semu.xr.openxr/bin
to ~/Documents/Kit/shared/exts/semu.xr.openxr/bin
I checked no error occurs anymore, I will connect HMD device and check if it works soon.
Hi, @Toni-SM
I tried to setup your extension on the workstation, but I faced the Swapchain error. If you know about this, can you help me?
here is my system requirement
and here is CLI Log
Error message occurs at the this line
Official Document : XR_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED
I have also tried
xrlib_c
, but the result was the same (as setting self._use_ctypes = True).Thank you for reading this!