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 flawlessly44 Replies
Nvidia?
Intel, integrated gpu
also not sure why it tries to run xwayland instead of just directly on wayland
huh, does the runtime (monado/wivrn) crash?
Also the not implemented error (if its the one i think) is not at all critical
The monado service seems to be unaffected and still running
also what is wayland/xwayland even doing in the log? is it manifold failing to start or something
Wha? huh
https://pastebin.com/WShVnTBq The monado logs
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.
Okay the broken pipe crash is not in the server, it's in the hexagon_launcher, sorry for the confusion on my part
whaa
Ah, well I'm completely new into the XR related stack so it wasn't clear for me aswell
ok uhh are both main branch
The stardust flake? Or monado aswell?
ohhh flakes
are you using the flakes or the nixpkgs?
I'm using the startdust flake directly
nix run github:StardustXR/telescope
ok that's weird that should work
I am no nix expert tho
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
wait what
xwayland-satilite!
whaa?
¯_(⊙︿⊙)_/¯
(The error with the path i didn't know is from xwayland-satillite)
oh
The only other issue i can see in the logs is the whole 'xwayland_process > failed to bind extensions' thing
anything I can do to make the debugging easier?
but like, what even uses xwayland, manifold? are you running a graphical desktop env?
telescope might not work in headless idk
yeah, hyprland
As far as I understand telescope should work with another wayland compositor running on the host, right?
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
yeah hyprland is wayland compositor
umm I guess I could try to run different compositor then?
sure, try that, might help
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.
The first run resulted in connection reseted by peer as in logs
the second attempt resulted in broken pipe
aand monado is still active
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
I see
Do you know what version of xwayland satellite you're using? Are you on nix unstable?
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 versionxwayland-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
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
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.
However this change shouldn't be neccessary if the same flake worked on somebody else machine as pkgs version is locked by flake
I think nix telescope is borken
try the nixpkgs or server/client flakes?
I've fetched the StartdustXR/server repo and ran
nix run .#
against the main branch, but the build is failing....oops, it doesnt show up as I've expected, lemme pastebin it
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.
augh not again
idk how to fix the nix flakes