-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALVR+SteamVR broken on latest unstable #352304
Comments
Hey! Can you confirm that it actually still works for you on #352004 or #351928 on their latest commits/force-pushes? Switching my system to those don’t fix SteamVR/ALVR at all for me! Aditionally: while fb4afaa does work, it does not seem to be the parent commit of #341219 (git is weird). If I get the parent of the first commit in that PR (which is 273673e according to github, it seems to have been merged into unstable before fb4afaa - but its parents are way more recent than fb4afaa), SteamVR is already broken there so it feels weird for the decimate pr to be the cause. If my observations are correct, I imagine that the culprit for the breakage should be somewhere between 273673e’s parent and fb4afaa’s parent commits (but I have no idea how to check those commits if github history page isn’t reliable enough for that). |
A few days ago I also opened alvr-org/ALVR#2476 and ValveSoftware/SteamVR-for-Linux#748. If this is a NixOS-only issue, as it seems to be, maybe I should close them? Anyway, there’s some extra context for this issue available on those issues (such as a nix store diff between a working alvr generation and a broken alvr generation) in case anyone wants that for extra troubleshooting |
Could you confirm that it works on the commit before #341219 and is broken after? |
No. As I mentioned on the above comment, it is broken on a3ccb7f but also broken on 273673e. It works fine on fb4afaa, which on nixos-unstable commit history is immediately before the decimate pr commits, but while fb4afaa was merged after 273673e into nixos-unstable, fb4afaa’s parents are older than 273673e ones. Due to that I assume that the ALVR breaking culprit is not actually the decimate PR, but some commit between 273673e’s parent and fb4afaa’s parent commit. As I mentioned on my above comment:
|
Just retested it to make sure, and that's still true for me:
Unsure how helpful this is, but here's a result of a store diff between fb4afaa (newest known working for now) and 273673e (oldest known broken for now): alvr-gen-diff4.txt I was talking with @eyJhb on the nix gaming room on Matrix, and we have no idea how to do the bisect thing to figure out which commits exist between 273673e’s parent and fb4afaa’s parent so we could try those and know exactly which commit broke ALVR. If there's a way of listing that on GitHub or something, or if someone better at git could try doing the bisect, that'd be very helpful |
Apparently this might do the job: fb4afaa...273673e I got some college stuff to do rn, but later today or friday I'll take a closer look at those and try some of them out |
fb4afaa is a commit on master, not staging-next. Though staging-next did contain it because master is periodically merged into it, it's not relevant here. As far as this bug is concerned, fb4afaa should behave the same as the branch-off point of that staging cycle which is the merge of the last staging-next (fb4afaa). Could you please verify that assertion and then do a quick first-parent bisect between 28e9b6d (good) and 273673e (bad)? If it lands you on that cycle's staging merge (3cafcf5), you need to bite the bullet and bisect from that staging merge's second parent as the bad commit in order to find the cause. At that point I'd advise you to debug this because bisecting staging is anything but fun with such a huge closure even on a fast machine. |
This DOES work for me. Full rebuild, reboot, and I can get the SteamVR inside my headset. AFAIK all the times I've ran the bisect wit h |
So it appears @eyJhb's case is different from @LuNeder and this is indeed fixed by #351928. @LuNeder please create a separate issue and do this bisect: #352304 (comment) |
Also confirming that this statement is correct for me as well.
(all tested, all fully rebooted) |
also tried xfwm4 --replace to substitute compiz before launching steamvr, did not fix it (Might be a different issue than NixOS/nixpkgs#352304 then? Probably should keep alvr-org/ALVR#2476 and ValveSoftware/SteamVR-for-Linux#748 open for now, not sure if this actually is a nix problem or something else since the nix problem was fixed but steamvr remains broken for me...)
…args, to slight different problem - cherry-picked alvr into latest master - now steamvr 'works fine' without launch args! tracking works and the vr preview window works... but no image in the headset - when using the required vrmonitor launch args on steamvr, steamvr crashes as soon as headset is connected to alvr ;-; - steamvr settings continue broken when using launch args, so launch args need to be removed in order to reenable plugins before retesting NixOS/nixpkgs#352304 ValveSoftware/SteamVR-for-Linux#748 alvr-org/ALVR#2476
Describe the bug
Using ALVR + SteamVR on latest unstable will not work, and it will crash as soon as a headset is connected.
This is likely introduced here #341219 , and there is a fix here #351928 (this cannot be cherry picked, there are more things in staging-next that is required for this to work according to k900).
Running that PR has worked for me without any issues.
It is also possible to run revision fb4afaa before the decimate of Steam.
There is also another PR trying to "un-decimate" Steam here #352004 .
This issue can be closed once either #351928 or #352004 has been merged into unstable latest, and confirmed to be working in there.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
That it works, and I can see SteamVR in my headset.
This issue is made to move the discussion away from the PR here #308097
The text was updated successfully, but these errors were encountered: