ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

Steam and SteamVR crash on driver run

Open Crystal-Kitty opened this issue 10 months ago • 14 comments

Description

I've seen at least 6 people report this exact issue with these two errors attached so it seems common even with different hardware and driver setups

There are 2 errors that seem to be related (they could be caused by different things that happened at the same time: Steam Client update for the 10048 error and SteamVR update for the C0000005 error)

  • SteamVR crashes with a C0000005 error when the driver is run Unhandled exception: C0000005 Stack trace (most recent call last): #5 Object "", at 00007FF9139A7374, in BaseThreadInitThunk #4 Object "", at 00007FF8ACA3EEBD, in set_device_openvr_props #3 Object "", at 00007FF8AC5EA560, in set_device_openvr_props #2 Object "", at 00007FF8AC5EC6CA, in set_device_openvr_props #1 Object "", at 00007FF8ACB0F9E0, in set_device_openvr_props #0 Object "", at 00007FF8ACB1ECD6, in set_device_openvr_props

  • SteamVR crashes with a 10048 error C:\Users\runneradmin\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\hyper-0.14.32\src\server\server.rs:81:13: error binding to 0.0.0.0:8082 (This one was tested with several Web Server Ports and it seemed that steam is seeing some reason to bind and crash itself and the ALVR driver)

General Troubleshooting

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

Environment

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload

CPU: Intel I5-4670

GPU: NVIDIA GTX 1060 6GB GPU Driver Version: 581.80 Audio: I use alot :P

  • Main (Headphones and speaker): High Definition Audio Device
  • VR: Steam Streaming Microphone and Steam Streaming Speakers

Installation

ALVR Version: 20.14.0 and 20.14.1 tested with same result ALVR Settings File: Default and edited cause the same issue SteamVR Version: 2.14.0 (i recommend testing 2.12.14 "previous release" as it shouldn't have the C0000005 error.) Install Type:

  • [x] Packaged (exe, deb, rpm, etc)
  • [ ] Portable (zip)
  • [ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): Windows 10 PRO (most recent version)

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

Was planning to post that here but immedietly forgot =^=

Crystal-Kitty avatar Jan 08 '26 20:01 Crystal-Kitty

Affected here, Windows 10, ALVR 20.14.1, SteamVR - latest. I didn't find a workaround, it's just that sometimes I manage to start SteamVR. I haven't found any pattern yet.

What do you folks think is the appropriate workaround then? Downgrading SteamVR or ALVR?

OnkelTem avatar Jan 09 '26 17:01 OnkelTem

Update to the update: doing a bit more research this is definately causing these issues gemini is telling me (i know ai, take this with like 3 grams of salt) steam did a security update to check what drivers are currently registered in steamvr and this is causing ALVR to detect as running when steam is open and what is causing both errors because the port is already taken because of the steam client and ALVR is trying to pass device info to the steam client which doesnt wanna take it this is WAY out of my scope to fix

Update: looking through symptoms of the error and my error logs it seems that the Steam client is starting the driver even though steamvr is not opened unsure if this is just my system but this may be why steam crashes when i have alvr open on my headset havent found any reason why this could be happening but its a step in the right direction i think (this is mainly just a problem update for people working on ALVR)

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

I downgraded my SteamVR to the "previous" (in terms of Steam) which is I believe - 2.12.14. As the result I can now sometimes run ALVR. But in like 80-90% of times I continue gettings this in the logs:

Image

OnkelTem avatar Jan 11 '26 21:01 OnkelTem

Good news! i have found a consistent workaround and posted it to the discord help forum the title is "SteamVR crashing when trying to use ALVR Fix" so if yall could try that and let me know if it works so i can look further into how we can make it a full fix :3

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

Is there any update on a fix for this, either with a Singleton instance or an automatic remove/add driver based on steamvr state.

I'm getting working results by manually add / remove driver, after steam is open, but add before / remove after steamvr.

JollyWizard avatar Feb 25 '26 20:02 JollyWizard

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 Apr 27 '26 00:04 github-actions[bot]

I dont know if this will help with fixing the issue entirely, but for me the problem appeared after my pc crashed or my gpu crashed. I dont know which one it was, but after that the error started appearing. The workaround that @Crystal-Kitty provided seems to work for me but i have to restart steam and do entire process all over again if i want to restart steamvr. Also is there a way for the developer to know about this? I found other threads on this exact problem: #3277 and #3177

Halucyneq avatar May 01 '26 11:05 Halucyneq

Has anyone here checked to see if this is a windows 10 specific error. I've seen a few reports about this but all of them seem to be attached to win 10. I'm going to be running on windows 11 for a bit but I'd love to see if anyone reports this on win 11 or if for some reason win 11 doesn't have such an issue.

TechnoWolf2 avatar May 06 '26 18:05 TechnoWolf2

Necroposting, but I retrieved the instructions @Crystal-Kitty posted:

Hai this is for anyone getting the recently common error of SteamVR crashing when run -# this will also fix steam client crashing when ALVR is open on the headset. there are 2 parts to the fix, the one time file edit, and the main workaround

File Edit:

  • Open your ALVR folder/directory (Launcher has a button for this)
  • Right click the file "driver.vrdrivermanifest"
  • Click "Edit with notepad"
  • Add this line somewhere in the file (i recommend below "redirectsDisplay"): "enableappcontainers" : true, -# The comma is needed and it must be lined up with the rest of them as seen in the first screenshot
  • Save the file (ctrl+s) and close notepad Well done you did the hard part :3

Main Workaround:

This is much more simple any time you are not using SteamVR make sure the ALVR driver is unregistered -# your ALVR installations tab should look the same as the second screenshot Before you open SteamVR register the driver using the "Register ALVR Driver" button in the installations tab After you are done with vr: Unregister/Delete the ALVR driver using the "Remove" button next to it (also seen in the second screenshot)

unregister the driver open steam register the driver open steamvr

-# Extras: This may not work for everyone but it works every time for me

skel101 avatar May 12 '26 16:05 skel101

The "file edit" method did not work for me, but the "Main Workaround" did. I believe I've streamlined and clarified the method a bit. Note that I'm closing and opening SteamVR manually and not through the ALVR dashboard. I'm also using wired ALVR

Doing a full reset (only have to do this once, it's mainly so everyone starts at the same place because when I already had errors doing the workaround by itself would lead me to a separate panik using same socket error):

  1. Exit ALVR and Steam
  2. Unregister driver from ALVR dashboard
  3. Open SteamVR
  4. Close SteamVR

The Workaround (do this every time you want to boot up SteamVR):

  1. Make sure SteamVR is closed
  2. Open ALVR and register driver
  3. Open SteamVR
  4. Hopefully it should now be connected and everything should be working, play your games
  5. Close your game but keep SteamVR open
  6. Unregister driver from ALVR dashboard
  7. Close SteamVR

I've been trying to figure out a way to reproduce the error but it's been inconsistent. Maybe not waiting long enough while closing/opening SteamVR while doing a certain order of actions?? I dont know, I can't reproduce the errors anymore so oh well. Before I would have to do The Workaround everytime, but now for some reason I don't have to and can just use ALVR with SteamVR as it was originally intended.

gary2245 avatar May 27 '26 05:05 gary2245

Has anyone here checked to see if this is a windows 10 specific error. I've seen a few reports about this but all of them seem to be attached to win 10. I'm going to be running on windows 11 for a bit but I'd love to see if anyone reports this on win 11 or if for some reason win 11 doesn't have such an issue.

did it work ?

elbouziyt avatar Jul 03 '26 17:07 elbouziyt

Has anyone here checked to see if this is a windows 10 specific error. I've seen a few reports about this but all of them seem to be attached to win 10. I'm going to be running on windows 11 for a bit but I'd love to see if anyone reports this on win 11 or if for some reason win 11 doesn't have such an issue.

did it work ?

While this appears to work at first... sadly it does relapse into the same issue after a while. Keep using it and you'll need to unregister the driver again to get steam to start, I've heard there may be an alternative fix (I'd have to find it again) but for now base install is buggy and no one has said anything about fixing it. :/

TechnoWolf2 avatar Jul 03 '26 17:07 TechnoWolf2

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 Sep 02 '26 00:09 github-actions[bot]