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:
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.11 Replies
what gpu are you using? if its nvidia, what driver version are you using?
I'm using the RTX 4070 and the driver version is 550.144.03
ah, are you able to easily update to 565? if not you need to patch monado by dropping a patch file into a folder and rebuilding wivrn
What's the issue with the driver? This looks more like an error with the IPC.
on older drivers stardust crashes the runtime which causes the ipc errors here
looks like im stuck on 550 for now. Is this the patch I need? https://discord.com/channels/647222689777582080/659858947896770590/1306426347647668256
yes that one, just drop that in patches/monado and rebuild
it might give you subpar performance when compared to an updated driver, but at least it works
awesome. i will give that a shot and report back. Thank you
After applying the patch the server no longer crashes. However, I can't see anything in the headset. I admit I don't really know what I'm doing trying to launch apps in stardust. I created a script that mimics telescope and I run the server with
stardust-xr-server -o 1 -e ./telescope-manual.sh
. This is the output I get:
Any ideas?can you try to put
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
infront of your command? that is needed under 565 under wayland for some reason, never needed it before thooh joy this again
can't wait to bevy this
SUCCESS! Thanks a ton @Schmarni!