ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

ALVR panicking at nothing... (i think)

Open OfficalEndza opened this issue 10 months ago • 10 comments

so I fixed my first issue 2 days ago but now I have a new one that has happened a bunch of times but keeps appearing.

Image

I don't have much opened and I don't even have my VR headset connected to my PC yet. It panics when I launch steamvr and have no clue why, and it's pissing me off for no reason. When I plug the headset in, it closes steam program COMPLETELY and it says this:

Image Image Image

this has happened before but I fixed it by factory reseting my PC but I don't want to do that AGAIN for the 3rd time this week. It's upsetting me and making me feel like giving up on ALVR and VR completely until I get something new. Also it was working JUST FINE, about 3 hours ago when I was on some games.

OfficalEndza avatar Jan 11 '26 05:01 OfficalEndza

alto of people are having this issue currently im gonna look into ways around it and maybe (if i have the energy and motivation) why its happening and how it can be fixed (probably attempt to fix it, if i can't hopefully one of the better people working on ALVR can fix it but basically everyone is busy rn) this is what https://github.com/alvr-org/ALVR/issues/3174 is about so check in there if u wanna check on updates

Crystal-Kitty avatar Jan 11 '26 11:01 Crystal-Kitty

I think I know the issue, I haven't tested it since my VR died, but I think I understand it

[!WARNING] This hasn't been tested, take this with a grain of sand, but this shouldn't cause major errors

What I have observed is that the error comes from SteamVR, potentially meaning that the driver is trying to assign the port when the ALVR dashboard is already doing so, I have 2 fixes I propose until the bug has been patched (which I propose by using a less standard port for other reasons and instead of crashing, check if a port is open on another ALVR specific port, if open, don't crash, just merge)

Option A: Unregister driver

This should disable SteamVR from trying load the driver, which is complaining.
  1. Open the ALVR dashboard
  2. Select installation
  3. Unregister the driver
  4. Reboot steam (shut up, SteamVR is a part of steam)

Option B: Clear the port

This may work since the crash happens since the driver can't bind to it, this may be because the dashboard bound to it
  1. Close the dashboard
  2. Restart steam (same reason)

[!NOTE] These are not guaranteed to work, but please let me know if my theories do work.

IF THIS IS THE CAUSE

Here's an elaberation on what I meant before

Always open 2 ports

  • Port A: Manages SteamVR
  • Port B: Manages conflict
  • The first program opens port A and B
  • The second program tries to open port A, gets port in use error, so checks if port B is open
  • If port B is open, merge the 2 clients via port B instead of crashing
  • If port B is not open or is not expected configuration, crash

Enderman-brewer avatar Jan 15 '26 05:01 Enderman-brewer

hey :3 i also did some testing and also got similer results the only thing i got different is that the alvr driver is being started twice (the driver is what runs alvr, the dashboard is just a web server and doesnt do much) cant test your workarounds right now but i did post a workaround/fix into the discord if you wanna go look in there :3

Crystal-Kitty avatar Jan 15 '26 13:01 Crystal-Kitty

The strange observation that may help fixing the issue is that ALVR recognizes Steam client (not SteamVR) as running SteamVR. When I try to connect to it with the goggles, Steam crashes (as it's not SteamVR) and nothing connects, as SteamVR wasn't even on.

Image

Only after pressing "Restart SteamVR" in above situation, the real SteamVR runs and ALVR connects properly.

Edvardius avatar Jan 18 '26 13:01 Edvardius

ALVR seeing steam as steamvr is already known about steam is creating a sort of ghost driver so ALVR is thinking that steamvr is running this is also why steam crashes when the headset connects. the driver is trying to send data that doesnt exist

Crystal-Kitty avatar Jan 23 '26 10:01 Crystal-Kitty

Edit: After some more testing I found a semi reliable way to make it work. Launch ALVR -> launch SteamVR -> receive error :( -> go to SteamVR settings -> Startup/Shutdown -> Manage Add-ons -> disable alvr_server -> restart steam -> enable alvr_server -> restart steam. Need to do it every time after rebooting PC but at least it works for me.

proti1 avatar Jan 30 '26 01:01 proti1

Disabling my VPN and stopping any VPN related services and lastly disabling my firewall if the first two don't work, fixes this Error for me.

xops37 avatar Mar 03 '26 07:03 xops37

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar May 03 '26 00:05 github-actions[bot]

Edit: After some more testing I found a semi reliable way to make it work. Launch ALVR -> launch SteamVR -> receive error :( -> go to SteamVR settings -> Startup/Shutdown -> Manage Add-ons -> disable alvr_server -> restart steam -> enable alvr_server -> restart steam. Need to do it every time after rebooting PC but at least it works for me.

Since the malfunction was caused by Steam itself (not SteamVR), my solution is:

Launch ALVR -> launch SteamVR -> receive error :( -> go to SteamVR settings -> Startup/Shutdown -> Manage Add-ons -> disable alvr_server -> restart steam and steamvr -> enable alvr_server -> restart steamvr only.

sheep-realms avatar May 09 '26 17:05 sheep-realms

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 10 '26 00:07 github-actions[bot]