ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.02k stars 1.27k forks source link

Unable to unblock Add-on after crash #1661

Open gwburger opened 2 years ago

gwburger commented 2 years ago

I am developing a driver, and during a recent test made a mistake that caused SteamVR to crash. Previously, I would be able to go to Settings->Startup/Shutdown->Manage Add-ons to re-enable my driver, then restart SteamVR to get it to load again. Since updating SteamVR to 1.22.12, this no longer works. SteamVR 1.12.13 also has this issue. I can select the option to unblock and load my driver, but after resetting SteamVR the driver does not load, and the settings have been reverted back to blocking my driver.

Some steps that I have tried include:

The plugin works as expected if I place it onto a different PC that did not crash yet.

A log from one of my attempts to start SteamVR: vrserver.txt

okawo80085 commented 2 years ago

The problem is your driver, SteamVR goes into safe mode when one of the drivers crash, in your case it is most likely your driver segfaulting, SteamVR keeps going into safe mode and disabling addons because your driver keeps crashing on startup.

okawo80085 commented 2 years ago

Also the "deleting my driver" part, don't do it like that, check the vrpathreg registry if it tries to load any additional drivers, verify the integrity of SteamVR files and never ever touch the drivers that are shipped with SteamVR.