shnee
shnee
SXStardust XR
Created by shnee on 2/3/2025 in #support
XRT_ERROR_NOT_IMPLEMENTED When Running Server w/ WiVRn
I'm attempting to run stardust-xr-server and connect via WiVRn with my MQ3. I've tried different permutations of X11, Wayland, server installed via the AUR or compiled from source. I get the same error each time. Here is an excerpt:
LOG in xrCreateInstance: Instance created
<snip>

LOG in xrCreateInstance: Selected devices
<snip>

ERROR [ipc_compositor_get_reference_bounds_rect] ipc_call_compositor_get_reference_bounds_rect failed: XRT_ERROR_NOT_IMPLEMENTED [/home/shnee/.local/share/envision/wivrn/build/_deps/monado-src/src/xrt/ipc/client/ipc_client_compositor.c:868]
ERROR [ipc_receive] recvmsg(41) failed: '104' 'Connection reset by peer'!
ERROR [ipc_client_hmd_update_inputs] ipc_call_device_update_input failed: XRT_ERROR_IPC_FAILURE [/home/shnee/.local/share/envision/wivrn/build/_deps/monado-src/src/xrt/ipc/client/ipc_client_hmd.c:149]
XR_ERROR_INSTANCE_LOST in xrSyncActions: Call to oxr_action_sync_data failed
LOG in xrCreateInstance: Instance created
<snip>

LOG in xrCreateInstance: Selected devices
<snip>

ERROR [ipc_compositor_get_reference_bounds_rect] ipc_call_compositor_get_reference_bounds_rect failed: XRT_ERROR_NOT_IMPLEMENTED [/home/shnee/.local/share/envision/wivrn/build/_deps/monado-src/src/xrt/ipc/client/ipc_client_compositor.c:868]
ERROR [ipc_receive] recvmsg(41) failed: '104' 'Connection reset by peer'!
ERROR [ipc_client_hmd_update_inputs] ipc_call_device_update_input failed: XRT_ERROR_IPC_FAILURE [/home/shnee/.local/share/envision/wivrn/build/_deps/monado-src/src/xrt/ipc/client/ipc_client_hmd.c:149]
XR_ERROR_INSTANCE_LOST in xrSyncActions: Call to oxr_action_sync_data failed
I am able to run other XR apps. Any ideas on how I can troubleshoot this further? EDIT: The solution for me was 2 steps: 1. Apply this https://discord.com/channels/647222689777582080/659858947896770590/1306426347647668256 patch to WiVRn by placing it in pathces/monado before building. 2. Provide the following env vars when running the server, env __GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink stardust-xr-server Thanks to @Schmarni for all the help! It sounds like this issue only appears in the 550 Nvidia driver.
15 replies