Skip to content
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

SteamVR errors when opened through ALVR #2476

Open
4 tasks done
LuNeder opened this issue Oct 27, 2024 · 6 comments
Open
4 tasks done

SteamVR errors when opened through ALVR #2476

LuNeder opened this issue Oct 27, 2024 · 6 comments

Comments

@LuNeder
Copy link

LuNeder commented Oct 27, 2024

Description

Whenever SteamVR is started through ALVR, it shows a "Something is wrong. A key component of SteamVR isn't working correctly. Please reinstall SteamVR. More info" window as soon as SteamVR is launched. This does not show up when SteamVR is launched from Steam.

Reinstalling SteamVR obviously does not fix the problem.

When headset is connected at this state, it just shows a black screen (the SteamVR VR View window is also black).

If I launch SteamVR with the "~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%" launch args, the error message will be different: "SteamVR Fail. A key component of SteamVR isn't working properly. Please quit SteamVR, then visit Task Manager and End any remaining SteamVR tasks before restarting the app. More info". Pressing More info shows a window "Failed to execute default Web Browser. Input/Output error." (tho this is probably an error launching firefox for some reason, not actually the error message for SteamVR - note that when using these launch args SteamVR settings also fail to launch). On this message, symptoms are similar to when the other error message is shown: When headset is connected at this state, it just shows a black screen (the SteamVR VR View window is also black).

Unsure if helpful, but steam-logs.tar.gz

General Troubleshooting

  • I carefully followed the instructions in the README and successfully completed the setup wizard
  • I read the ALVR GitHub Wiki

Environment

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload
https://linux-hardware.org/?probe=bb8f80dc95

CPU: 7950X3D

GPU: RTX 4090

GPU Driver Version: 560.35.03

Installation

ALVR Version: 20.11.0 and 20.11.1

ALVR Settings File: just retested to default, problem persists.

SteamVR Version: 2.8.6, as well as previous 2.5.5 and beta 2.8.6

Install Type:

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): NixOS 24.11 (Vicuna)

@LuNeder
Copy link
Author

LuNeder commented Oct 27, 2024

Returning to an older nixos generation (which had the same nvidia drivers, so that's not at blame) with the same SteamVR and ALVR versions fixes this. I'll try to figure out what exactly changed between working and not working, but it's possible some random library broke this - maybe on other rolling release distros too.

Edit: the aforementioned steamvr setting issue also breaks on the same system update. This may be caused by an entirely different library update or by the same one... who knows

@LuNeder
Copy link
Author

LuNeder commented Oct 27, 2024

I know this is not entirely helpful, but here's what changed between my newest working alvr system and my oldest not working alvr system: alvr-gen-diff.txt (update on oct20 after previous one on sep28). I'll do some more precise testing later today to try to discover exactly what was the problematic package update.

Aditionally, here's a diff between the above not working alvr system and my latest also not working alvr system (just so you know what changes/rollbacks did not fix the problem): alvr-gen-diff2.txt

I'll try to come up with something more specific and useful later today.

LuNeder added a commit to LuNeder/nixos-config that referenced this issue Oct 27, 2024
LuNeder added a commit to LuNeder/nixos-config that referenced this issue Oct 27, 2024
LuNeder added a commit to LuNeder/nixos-config that referenced this issue Oct 27, 2024
LuNeder added a commit to LuNeder/nixos-config that referenced this issue Oct 27, 2024
ugh, at this point I just give up. I'll try doing this a different method or something, why tf do some commits have two parents I hate git

NixOS/nixpkgs#308097
alvr-org/ALVR#2476
ValveSoftware/SteamVR-for-Linux#748
NixOS/nixpkgs#341219
LuNeder added a commit to LuNeder/nixos-config that referenced this issue Oct 27, 2024
LuNeder added a commit to LuNeder/nixos-config that referenced this issue Oct 31, 2024
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...)
@thevinter
Copy link

Just FYI I'm getting the same issue on Arch Linux. Funny thing is that I launched SteamVR and it was working for 5 minutes, then crashed and now I'm getting the same issue. Let me know if providing some logs would be helpful.

@DrearyDreams
Copy link

DrearyDreams commented Nov 5, 2024

Same I'm getting these same exact issues here on Ubuntu 24.10 and it happens more frequently when I have add-ons installed like Galister's OVR-Space Calibrator.

@emperorofmars
Copy link

I have the same issue on Windows10 with v20.11.1.
Previously I used v20.4.x, which worked fine, even with OVR Space Calibrator.

LuNeder added a commit to LuNeder/nixos-config that referenced this issue Nov 5, 2024
…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
@LuNeder
Copy link
Author

LuNeder commented Nov 5, 2024

it happens more frequently

We’re not talking about the same problem then

My problem happens every time, not sometimes

It might be, and it probably is, a nix-specific problem, however somehow a nixpkgs PR fixed it for everyone else while keeping it broken for me so I have no idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants