Not displaying right eye when running Flatland (Pico 4/Wivrn/Endeavour)

(running latest Plasma/Wayland) I got Wivrn running finally (and XRGears too, twas just a missing Mesa driver!), though running Flatland/Stardust I'm only getting an image on the left eye. (System-related UI/visuals are unaffected.) XRGears comes through on both eyes, so I'm pretty sure it's not a Wivrn/Monado goof. Also, where should I be looking for debug logs for Stardust?
45 Replies
Nova
Nova•6mo ago
yeah, i've had that issue too and it's so so weird because afaik stardust wasn't ever the issue there?? are you using nvidia? and debug logs can be gotten by RUST_LOG=debug or such on the server
Blue Aster
Blue AsterOP•6mo ago
Huh, wack I'm all AMD; where would I add that debug statement? (smol boio here) I'm just assuming I have no clue what I'm doing 🤪
debug]$ RUST_LOG=debug ./stardust-xr-server
2024-07-04T01:58:11.026112Z INFO main stardust_xr_server: 89: Stardust socket created socket_path="/run/user/1000/stardust-0"
2024-07-04T01:58:11.026170Z INFO main stardust_xr_server: 106: Init client join loop
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: NameTaken
Location: src/main.rs:125

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
debug]$ RUST_LOG=debug ./stardust-xr-server
2024-07-04T01:58:11.026112Z INFO main stardust_xr_server: 89: Stardust socket created socket_path="/run/user/1000/stardust-0"
2024-07-04T01:58:11.026170Z INFO main stardust_xr_server: 106: Init client join loop
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: NameTaken
Location: src/main.rs:125

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Nova
Nova•6mo ago
you have 2 instances of the server running at once
Blue Aster
Blue AsterOP•6mo ago
Oh great, right how tf do we terminate it again
Nova
Nova•6mo ago
ctrl+c
Blue Aster
Blue AsterOP•6mo ago
Ah I launched it from the client init script you walked me through yesterday, how would I do it from commandline?
Nova
Nova•6mo ago
just do killall startup or something idk
Blue Aster
Blue AsterOP•6mo ago
startup referring to the script? since it didn't find anything there
Nova
Nova•6mo ago
yeah maybe you need to kill cargo?
Blue Aster
Blue AsterOP•6mo ago
Nope, nothing
Stardust]$ killall cargo
cargo: no process found
Stardust]$ killall cargo
cargo: no process found
jobs comes up with nothing Seems to open up alright now, I'm just not in XR atm I did have Envision open (but Monado was shut), closing that coulda done the trick Anyway I'm gonna be heading up to the grass-touching station, so I'll be AWOL for ~1hr
Nova
Nova•6mo ago
oh okey
Blue Aster
Blue AsterOP•6mo ago
Ah, that was a long ahh hour so likely tomorrow Thank you!
Nova
Nova•6mo ago
so sorry it's been such a pain
Blue Aster
Blue AsterOP•6mo ago
Such is the fun Regular desktop resists being made spatial
Blue Aster
Blue AsterOP•5mo ago
Blue Aster
Blue AsterOP•5mo ago
For those referencing later, this ended up being a Wivrn problem. At the moment there's something Wivrn ain't liking. Current suspects are Stereokit or OpenGL not playing nice
la criatura
la criatura•5mo ago
Can confirm i'm getting this issue too
Blue Aster
Blue AsterOP•5mo ago
Wivrn-over-network or something else?
la criatura
la criatura•5mo ago
yeah
Blue Aster
Blue AsterOP•5mo ago
I dropped a block of text in LVRA, but that was really late last night when approximately no one was on at least it wasn’t just over USB tunnel, that might have thwarted my evil plans
la criatura
la criatura•5mo ago
Though it's more that it seems to be displaying my right eye in my left and nothing in the right
Nova
Nova•5mo ago
someone borked an index somewhere
Blue Aster
Blue AsterOP•5mo ago
I thought I was getting flickers in the right as if it was an offset problem, but I'm likely coping
la criatura
la criatura•5mo ago
I do have issues with offset on chilloutVR, but there it feels more like the IPD is so high my eyes might as well be on the side of my head I have a pretty narrow IPD (somewhere around 59mm) so it definitely doesn't help lmao
Blue Aster
Blue AsterOP•5mo ago
I suspect that’s just openxr being jank and leaving implementations of basic functions to devs when it really shouldn’t How could you tell the right eye was ending up on the left side? Wonky center of rotation?
la criatura
la criatura•5mo ago
Something like that, though I could be wrong Just seemed about right
Schmarni
Schmarni•5mo ago
it's def the right eye being renderd to the left one, i was able to tell using handtracking https://github.com/StereoKit/StereoKit/issues/1039
Blue Aster
Blue AsterOP•5mo ago
Yeah it seems to not be a general issue with Stereokit, since the barebones demo displays fine
Schmarni
Schmarni•5mo ago
Did you use the develop branch? Since it does fail for me
Blue Aster
Blue AsterOP•5mo ago
Not devbranch, is it specific to that?
Schmarni
Schmarni•5mo ago
Ye
Nova
Nova•5mo ago
yeah that's where i updated stereokit on going past the double tall commit which is what wivrn gets tripped up on
Blue Aster
Blue AsterOP•5mo ago
Ah
Blue Aster
Blue AsterOP•5mo ago
hehe the sussy bits
No description
No description
Nova
Nova•5mo ago
we want to keep that in stereokit it's good to have it but we need wivrn to work with it
Blue Aster
Blue AsterOP•5mo ago
yup P much
Schmarni
Schmarni•5mo ago
i also have an issue on the WiVRn repo https://github.com/Meumeu/WiVRn/issues/89
Nova
Nova•5mo ago
:blobcatnod:
Schmarni
Schmarni•5mo ago
can someone test with a modified wivrn server? https://github.com/Meumeu/WiVRn/issues/89#issuecomment-2228136728 just change the true on line 255 to false in the file mentioned in the comment
Blue Aster
Blue AsterOP•5mo ago
Yup Doesn't fix it as far as I can tell, unless I have to specifically rebuild Wivrn itself (ie not through Envision, though doing that did preserve the change in-file)
Nova
Nova•5mo ago
@here pushed a bad stereokit hack onto the stardust server, get latest dev branch commit and try it out
Blue Aster
Blue AsterOP•5mo ago
What did ya add?
la criatura
la criatura•5mo ago
seems to fix the issue
Nova
Nova•5mo ago
a bad hack specifically making the stereokit buffer double wide instead of double tall
Blue Aster
Blue AsterOP•5mo ago
Whatever it was, it works! Pretty sure being able to set the tiling is intended behavior
Want results from more Discord servers?
Add your server