Stardust fails due to broken pipe

I'm trying to run Stardust XR on my NixOS setup, unfortunately it fails due to broken pipe. As far as I understand from the discord message log it seems that broken pipe results from the server connection being broken by another error. I'm not sure however if XRT_ERROR_COMPOSITOR_FUNCTION_NOT_IMPLEMENTED seems to be critical here or not. The monado service is running, and xrgears work flawlessly
44 Replies
Schmarni
Schmarni2mo ago
Nvidia?
noisersup
noisersupOP2mo ago
Intel, integrated gpu also not sure why it tries to run xwayland instead of just directly on wayland
Schmarni
Schmarni2mo ago
huh, does the runtime (monado/wivrn) crash? Also the not implemented error (if its the one i think) is not at all critical
noisersup
noisersupOP2mo ago
The monado service seems to be unaffected and still running
Schmarni
Schmarni2mo ago
also what is wayland/xwayland even doing in the log? is it manifold failing to start or something Wha? huh
noisersup
noisersupOP2mo ago
Pastebin
Dec 27 16:34:43 framework monado-service[3413]: ###################...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Schmarni
Schmarni2mo ago
Okay the broken pipe crash is not in the server, it's in the hexagon_launcher, sorry for the confusion on my part
Nova
Nova2mo ago
whaa
noisersup
noisersupOP2mo ago
Ah, well I'm completely new into the XR related stack so it wasn't clear for me aswell
Nova
Nova2mo ago
ok uhh are both main branch
noisersup
noisersupOP2mo ago
The stardust flake? Or monado aswell?
Nova
Nova2mo ago
ohhh flakes are you using the flakes or the nixpkgs?
noisersup
noisersupOP2mo ago
I'm using the startdust flake directly nix run github:StardustXR/telescope
Nova
Nova2mo ago
ok that's weird that should work I am no nix expert tho
Schmarni
Schmarni2mo ago
It seems the server also crashes because of a broken pipe? maybe? What repo could /build/source/src/server/mod.rs:713 be referring to? Idk of anything that has a server module
Nova
Nova2mo ago
wait what
Schmarni
Schmarni2mo ago
xwayland-satilite!
Nova
Nova2mo ago
whaa?
noisersup
noisersupOP2mo ago
¯_(⊙︿⊙)_/¯
Schmarni
Schmarni2mo ago
(The error with the path i didn't know is from xwayland-satillite)
Nova
Nova2mo ago
oh
Schmarni
Schmarni2mo ago
The only other issue i can see in the logs is the whole 'xwayland_process > failed to bind extensions' thing
noisersup
noisersupOP2mo ago
anything I can do to make the debugging easier?
Schmarni
Schmarni2mo ago
but like, what even uses xwayland, manifold? are you running a graphical desktop env? telescope might not work in headless idk
noisersup
noisersupOP2mo ago
yeah, hyprland As far as I understand telescope should work with another wayland compositor running on the host, right?
Schmarni
Schmarni2mo ago
that's even wayland? now I'm just more confused, the only thing i can think of is that hyprland broke xwayland support and stereokit (the thing stardust uses for rendering and xr(at least rn)) is still creating a x11 window even though the server has connected to monado, and crashing on the specific type of error returned
noisersup
noisersupOP2mo ago
yeah hyprland is wayland compositor umm I guess I could try to run different compositor then?
Schmarni
Schmarni2mo ago
sure, try that, might help
noisersup
noisersupOP2mo ago
tried on plasma6 (wayland): https://pastebin.com/XZx97pC1
Pastebin
❯ nix run github:StardustXR/telescope[SK info] Before init >>>LOG i...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
noisersup
noisersupOP2mo ago
The first run resulted in connection reseted by peer as in logs the second attempt resulted in broken pipe aand monado is still active
Schmarni
Schmarni2mo ago
yeah, i don't think this has anything to do with monado, on nvidia there is an issue where minado dies and the server spams broken pipe errors, i thought it might be that
noisersup
noisersupOP2mo ago
I see
Schmarni
Schmarni2mo ago
Do you know what version of xwayland satellite you're using? Are you on nix unstable?
noisersup
noisersupOP2mo ago
im on unstable, will check the versions in a moment, although from what I understand about flakes, as I run the nix run it fetches the latest github version
Schmarni
Schmarni2mo ago
xwayland-satillite is still pulled in from pkgs It looks like its this line https://github.com/Supreeeme/xwayland-satellite/blob/v0.4/src/server/mod.rs#L713 Idk why it disconnects tho wait... how exactly does the server crash from that?! It's not using xwayland-satillite
noisersup
noisersupOP2mo ago
well it seems that it fetches xwayland-satellite 0.4, while globally (outside of flake) I'm able to fetch 0.5 This is weird... but maybe that's just my understanding of flakes lul I'll try to bump everything
noisersup
noisersupOP2mo ago
I've bumped both my machine and nixpkgs input in telescope flake, but it still doesn't work https://pastebin.com/Wckif4zR
Pastebin
/telescope main*❯ nix run .#warning: Git tree '/home/user/telescope...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
noisersup
noisersupOP2mo ago
However this change shouldn't be neccessary if the same flake worked on somebody else machine as pkgs version is locked by flake
Nova
Nova2mo ago
I think nix telescope is borken try the nixpkgs or server/client flakes?
noisersup
noisersupOP2mo ago
I've fetched the StartdustXR/server repo and ran nix run .# against the main branch, but the build is failing....
noisersup
noisersupOP2mo ago
noisersup
noisersupOP2mo ago
oops, it doesnt show up as I've expected, lemme pastebin it
noisersup
noisersupOP2mo ago
Pastebin
Running phase: unpackPhase@nix { "action": "setPhase", "phase": "un...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Nova
Nova2mo ago
augh not again idk how to fix the nix flakes

Did you find this page helpful?