weird issue running stardust

trying to screw with stardust stuff on our newly fixed up old gaming laptop since it's decently powerful, and for some reason stardust just..outputs
before init
after init
before init
after init
and then dies when running it. building from source and running with cargo run yields the process from that ending with a seg fault. everything else seems to work fine, just not stardust. system info is in attached hyfetch screenshot.
No description
48 Replies
Saphira Kai
Saphira Kai11mo ago
that's really weird i've never seen that
hellholesys (melody)
stardust works better on our hp emmc laptop that cant even do alvr than this 2018 gaming laptop
Saphira Kai
Saphira Kai11mo ago
@Nova have you seen this before?
hellholesys (melody)
i could get stardust working better by running it in a remote x session with turbovnc on our pc with a 2080 that refuses to output than this ..somehow i just wanna try stuff out now that we have a stable machine that isnt our steam deck with bad ram is there any way to get anything to give like..debug output?
Saphira Kai
Saphira Kai11mo ago
i wonder if it's related to multigpu, but i feel like someone would have caught that by now
hellholesys (melody)
yeah idk
Saphira Kai
Saphira Kai11mo ago
that's my only guess
hellholesys (melody)
the other screen is literally just plugged in for me to test having that running exclusively to see it def isnt multigpu since i disabled keyboard screen and the hdmi port is wired up to the 1060 it still fails
Nova
Nova11mo ago
so... which version of stardust is this?
hellholesys (melody)
tried latest release as well as building from source both fail
Nova
Nova11mo ago
this is definitely a stereokit issue i have nothing else that even can segfault in stardust :p
hellholesys (melody)
huh
Saphira Kai
Saphira Kai11mo ago
that's what i was thinking too lol everything else is rust
Nova
Nova11mo ago
any chance you could pop it open in a debugger and see where it segfaults on a debug build?
hellholesys (melody)
you will have to walk me through this the most we can do with technical stuff is writing cc lua and ts stuff to go with it as a backend
Nova
Nova11mo ago
ok, so build the thing with cargo then do gdb ./target/debug/stardust-xr-server or lldb in place of gdb then type run
Nova
Nova11mo ago
ohh huh
hellholesys (melody)
i cant see anything fatally wrong here it just..runs and then dies
Nova
Nova11mo ago
try cargo run -- -f
hellholesys (melody)
works fine
Nova
Nova11mo ago
it shows a window and everything?
hellholesys (melody)
yep
Nova
Nova11mo ago
steamvr is broken
hellholesys (melody)
maybe it is multigpu it would be jank but i could blacklist i915 did this in a previous install on this machine, its slightly funky but it works
Nova
Nova11mo ago
well, it's possible (after all, stereokit does just pick /dev/dri/renderD128)
hellholesys (melody)
oh, then that's gotta be it alright, lemme try
Nova
Nova11mo ago
then that's my bad lol idk how to do better on that part i use gdm to open an egl context from the card
hellholesys (melody)
i'd assume the igpu is getting loaded by the kernel i915 driver and that nvidia is loaded much later and so the igpu is card0 and renderD128 multigpu like this for a project like this is a MASSIVE edge case
Nova
Nova11mo ago
yea, i get why people want it though
hellholesys (melody)
yeah in our case, this machine is our only fully working system as an example
Saphira Kai
Saphira Kai11mo ago
damn did i actually call it xD
hellholesys (melody)
yeah
Saphira Kai
Saphira Kai11mo ago
wasn't expecting to be right
hellholesys (melody)
eh, i was expecting multigpu to be the issue at least its intel+nvidia and not amd+amd alright, booting back up now
Saphira Kai
Saphira Kai11mo ago
it was the only thing that looked unusual in your setup based on hyfetch
hellholesys (melody)
wish me luck
Saphira Kai
Saphira Kai11mo ago
good luck!
hellholesys (melody)
i think i screwed myself over maybe either that or long boot nope, long boot. plymouth showed oh huh
Nova
Nova11mo ago
last i checked nvidia-prime should work with stardust btw if i remember correctly
hellholesys (melody)
right im dumb
Nova
Nova11mo ago
no clue tbh i tried stardust on a multigpu system like once
hellholesys (melody)
oh wait this is prob why games run so..okay fast but not as fast as a 1060 should do
hellholesys (melody)
wait im gonna try a bit of a stupid thing installing vulkan-intel
Nova
Nova11mo ago
for the record, stardust uses opengl since stereokit does
hellholesys (melody)
ah, right using prime-run just gets me flatscreen
Nova
Nova11mo ago
maybe it just doesn't work with steamvr https://discord.gg/wskGgzac ask them about wivrn that might work better
Want results from more Discord servers?
Add your server