yayyyyy your nix flake worked ALMOST

yayyyyy your nix flake worked ALMOST flawlessly. I had to enable dbus in systemd (i'm on WSL). i did it through a NixOS configuration option but not sure how you want to handle; if it doesnt go there it might be worth a byline in the docs
34 Replies
schlich
schlichOP•4w ago
some console errors i'm getting that dont seem to be blocking the program but i'm reporing anyways:
Nova
Nova•4w ago
i am shocked this works tbh especially in WSL but uhhh yay!!!
schlich
schlichOP•4w ago
RROR [ipc_compositor_get_reference_bounds_rect] ipc_call_compositor_get_reference_bounds_rect failed: XRT_ERROR_COMPOSITOR_FUNCTION_NOT_IMPLEMENTED [/build/source/src/xrt/ipc/client/ipc_client_compositor.c:868] ERROR [ipc_compositor_get_reference_bounds_rect] ipc_call_compositor_get_reference_bounds_rect failed: XRT_ERROR_COMPOSITOR_FUNCTION_NOT_IMPLEMENTED [/build/source/src/xrt/ipc/client/ipc_client_compositor.c:868]
Nova
Nova•4w ago
are you using it with an XR headset or just flatscreen?
schlich
schlichOP•4w ago
flatscreen; i have a meta quest pro but havent quite gotten there yet; can do next This did not throw an error but it seems like one:
2025-03-07T06:39:44.414Z INFO xwayland_process > MESA-LOADER: failed to open vgem: /run/opengl-driver/lib/dri/vgem_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
2025-03-07T06:39:44.414Z INFO xwayland_process > MESA-LOADER: failed to open vgem: /run/opengl-driver/lib/dri/vgem_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
actually pretty much everything wayland fails; maybe i have that misconfiged, stand by
Nova
Nova•4w ago
oof uh probably due to a lack of a /dev/renderd128 at a guess
schlich
schlichOP•4w ago
i'm just gonna try some nixOS / home manager settings till it works lol
Nova
Nova•4w ago
haha yay
schlich
schlichOP•4w ago
oh shit it might just be xwayland which i dont even remember installing even better wait unless that was telescope wait, the flake should be bypassing any op[tions i have in my machine's nix/home-manager configs right? if so, maybe this should go in the nixConfiguration options after all? gonna keep investigating if nothing is jumping out at you
Nova
Nova•4w ago
i have no clue
schlich
schlichOP•4w ago
ok it looks like installing xwayland on my end got rid of most of those warnings. do you try to install wayland or is it sidestepping me for X11? ah i see you have xwayland-satellite :10 & in the startup script
Nova
Nova•4w ago
xwayland is good you prob want it here
schlich
schlichOP•4w ago
so you dont have a pure wayland setup? i could be reading wrong but it seems like xwayland is just the x11 package with wayland-compatible wrappers
Nova
Nova•4w ago
nah i use xwayland too not... really
schlich
schlichOP•4w ago
hmmm ok. i'm gonna see if i can get this working w pure wayland for funsies but my takeaway msg is the flake should probs include xwayland dependency if you want to unambiguously stick w x11, which i'd get from a compat perspective i can put together a PR if you're open to including it as a runtime option e.g. nix run github:StardustXR/telescope#wayland
Nova
Nova•4w ago
yea i am open to it
schlich
schlichOP•4w ago
ah ok so i see you are calling wayland-satellite which basically just reroutes xwayland back to wayland
Nova
Nova•4w ago
yes
schlich
schlichOP•4w ago
cool, i'm gonna put a pin in this one for now lol drawing the line at digging into the server code. just happy its working! i got laid off on friday so this is now my full time job haha
Nova
Nova•4w ago
oh yikes are you ok?
schlich
schlichOP•4w ago
yeah i have like no savings but got a month of severance... and while i'm def still looking for new opportunities right now i really want to do the crazy thing and lean all-in on my xr app idea... i believe in it
Nova
Nova•4w ago
yea!!!
schlich
schlichOP•4w ago
the company was awesome and the pay was good but it just wasnt a good fit. They wanted an engineer but didnt want to do engineering things also like i can door dash if i need to haha
Nova
Nova•4w ago
ah ooof what's your app idea again?
schlich
schlichOP•4w ago
i wanna make immersive educational experiences about computing/physics. so like 3blue1brown level animations dropped into a game. once people know how to write their own compilers by scratch, next phase would be to have ppl building their own worlds that way so like hand in hand with it will be UI controls for a full IDE experience, and that's what i want to use stardust for
Nova
Nova•4w ago
oooh right yea!
schlich
schlichOP•4w ago
interestingly yesterday i came across these guys who kind of seem to have the same idea https://primitive.io/
Primitive
Primitive
The future of software development
schlich
schlichOP•4w ago
i sent the founder a message on linkedin to see if they wanna hire me but i'll beat 'em if i have to 😄 so i think the server is working but the hexagon launcher is not. keep you posted
Nova
Nova•4w ago
explain what you mean by "not working"?
schlich
schlichOP•4w ago
The application panicked (crashed). Message: called Result::unwrap() on an Err value: MessengerError { e: ReceiverDropped }
Nova
Nova•4w ago
whaa ok
schlich
schlichOP•4w ago
i think this is probably related to me messing with my wayland settings though, i'm not seeing those little eyes like i was before. i'm actually not sure what i'm supposed to be seeing at all can you drop a screenshot of the launch display plz
Nova
Nova•4w ago
uhhh for telescope?
schlich
schlichOP•4w ago
yeah

Did you find this page helpful?