Steam and SteamVR crash on driver run
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)
Was planning to post that here but immedietly forgot =^=
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?
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)
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:
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
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.
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.
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
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.
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
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):
- Exit ALVR and Steam
- Unregister driver from ALVR dashboard
- Open SteamVR
- Close SteamVR
The Workaround (do this every time you want to boot up SteamVR):
- Make sure SteamVR is closed
- Open ALVR and register driver
- Open SteamVR
- Hopefully it should now be connected and everything should be working, play your games
- Close your game but keep SteamVR open
- Unregister driver from ALVR dashboard
- 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.
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 ?
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. :/
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.