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 Kai10mo ago
that's really weird i've never seen that
hellholesys (lily)
hellholesys (lily)OP10mo ago
stardust works better on our hp emmc laptop that cant even do alvr than this 2018 gaming laptop
Saphira Kai
Saphira Kai10mo ago
@Nova have you seen this before?
hellholesys (lily)
hellholesys (lily)OP10mo ago
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 Kai10mo ago
i wonder if it's related to multigpu, but i feel like someone would have caught that by now
hellholesys (lily)
hellholesys (lily)OP10mo ago
yeah idk
Saphira Kai
Saphira Kai10mo ago
that's my only guess
hellholesys (lily)
hellholesys (lily)OP10mo ago
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
Nova10mo ago
so... which version of stardust is this?
hellholesys (lily)
hellholesys (lily)OP10mo ago
tried latest release as well as building from source both fail
Nova
Nova10mo ago
this is definitely a stereokit issue i have nothing else that even can segfault in stardust :p
hellholesys (lily)
hellholesys (lily)OP10mo ago
huh
Saphira Kai
Saphira Kai10mo ago
that's what i was thinking too lol everything else is rust
Nova
Nova10mo ago
any chance you could pop it open in a debugger and see where it segfaults on a debug build?
hellholesys (lily)
hellholesys (lily)OP10mo ago
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
Nova10mo 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
Nova10mo ago
ohh huh
hellholesys (lily)
hellholesys (lily)OP10mo ago
i cant see anything fatally wrong here it just..runs and then dies
Nova
Nova10mo ago
try cargo run -- -f
hellholesys (lily)
hellholesys (lily)OP10mo ago
works fine
Nova
Nova10mo ago
it shows a window and everything?
hellholesys (lily)
hellholesys (lily)OP10mo ago
yep
Nova
Nova10mo ago
steamvr is broken
hellholesys (lily)
hellholesys (lily)OP10mo ago
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
Nova10mo ago
well, it's possible (after all, stereokit does just pick /dev/dri/renderD128)
hellholesys (lily)
hellholesys (lily)OP10mo ago
oh, then that's gotta be it alright, lemme try
Nova
Nova10mo 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 (lily)
hellholesys (lily)OP10mo ago
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
Nova10mo ago
yea, i get why people want it though
hellholesys (lily)
hellholesys (lily)OP10mo ago
yeah in our case, this machine is our only fully working system as an example
Saphira Kai
Saphira Kai10mo ago
damn did i actually call it xD
hellholesys (lily)
hellholesys (lily)OP10mo ago
yeah
Saphira Kai
Saphira Kai10mo ago
wasn't expecting to be right
hellholesys (lily)
hellholesys (lily)OP10mo ago
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 Kai10mo ago
it was the only thing that looked unusual in your setup based on hyfetch
hellholesys (lily)
hellholesys (lily)OP10mo ago
wish me luck
Saphira Kai
Saphira Kai10mo ago
good luck!
hellholesys (lily)
hellholesys (lily)OP10mo ago
i think i screwed myself over maybe either that or long boot nope, long boot. plymouth showed oh huh
Nova
Nova10mo ago
last i checked nvidia-prime should work with stardust btw if i remember correctly
hellholesys (lily)
hellholesys (lily)OP10mo ago
right im dumb
Nova
Nova10mo ago
no clue tbh i tried stardust on a multigpu system like once
hellholesys (lily)
hellholesys (lily)OP10mo ago
oh wait this is prob why games run so..okay fast but not as fast as a 1060 should do
hellholesys (lily)
hellholesys (lily)OP10mo ago
wait im gonna try a bit of a stupid thing installing vulkan-intel
Nova
Nova10mo ago
for the record, stardust uses opengl since stereokit does
hellholesys (lily)
hellholesys (lily)OP10mo ago
ah, right using prime-run just gets me flatscreen
Nova
Nova10mo 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