-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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: Steam crash or pitch black view in headset #359680
Comments
I want to add that the error after adding
If you Force Software encoder in Video settings, you can stream image. It seems to be an error related to Nvidia drivers in my case.
|
This is a known issue, see here. Currently, hardware encoding doesn't work for nvidia drivers on the nixpkgs derivation. Try forcing software encoding. |
I don't have nvidia drivers or hardware, not that I know of at least. Where did you see that error output? In ALVR log? |
Also enabling both force software decoding and encoding didn't help, still crashes |
|
Ah, sorry. @aboglioli added their error message, which is the result of nvidia HW encoding currently not working. But that issue has nothing to do with what you're struggling with. |
I have the same issue here. Been talking for a while in the nixos gaming Matrix channel, but haven’t been able to fix this. Related to alvr-org/ALVR#2476. Back then a kernel update had fixed it, but then after a few days and a flake update it broke again. |
I’d recommend changing the issue title tho. The black view without the vrmonitor launch args is a thing on ALVR. The NixOS issue here is that ALVR shouldn’t crash when you add the vrmonitor launch args thing. |
Same issue on NixOS unstable trying to connect a Quest 1. |
SteamVR seems to be all broken on nixos 😓 I'm able to connect my headset to alvr, but all I see is black in-headset and nothing on my monitor. no steamvr home window or anything. |
Describe the bug
After connecting the headset to ALVR and launching SteamVR the view in the headset goes completely black. The VR view on the laptop screen shows SteamVR and the image moves correctly with the movement of the headset and controllers.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
VR views should show on the headset
Additional context
I tried adding ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command% to SteamVR's launch settings as suggested in this comment but then SteamVR just ends up crashing every time the headset connects. I tried a couple of different settings in ALVR for resolution, refresh rate, encoding, sound, etc, but didn't try everything.
I realised that the ALVR version on my device is 20.11.1 but the one in nixpkgs unstable is 20.11.0 so I forked nixpkgs and bumped the version but the result was the exact same after adding my fork to my system flake and rebuild-switching.
My computer is a Tuxedo Pulse 14 Gen 4 laptop: AMD Ryzen 7 8845HS, no dedicated GPU, no nvidia
My nixpkgs is nixos-24.11 with some packages - like ALVR - pulled from nixos-unstable. Steam should come from 24.11 so it should not have the issue the one on unstable has, unless I misunderstood what is in 24.11 now.
I haven't used ALVR on NixOS before so I don't have a version that worked that I could bisect between.
Metadata
"x86_64-linux"
Linux 6.11.9-xanmod1, NixOS, 24.11 (Vicuna), 24.11.20241123.0c58267
yes
yes
nix-env (Nix) 2.24.10
/nix/store/fnbr9s78sy4islw83vsaf0hgf88hih5v-source
Notify maintainers
Tagging people participating in the source build PR or having similar issues
@jopejoe1
@NovaViper
@eyJhb
@DaRacci
@LuNeder
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: