Skip to content
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

Driver won't load in SteamVR #17

Open
inkuxuan opened this issue Mar 6, 2022 · 4 comments
Open

Driver won't load in SteamVR #17

inkuxuan opened this issue Mar 6, 2022 · 4 comments
Labels
Priority: Normal The default priority Status: Help Wanted Needs some help to make progress Type: Bug Something isn't working

Comments

@inkuxuan
Copy link

inkuxuan commented Mar 6, 2022

v0.1.1 driver is installed in the SteamVR/drivers, but SlimeVR driver won't start.
Developer console of SteamVR shows

SlimeVR: [SlimeVR] Activating SlimeVR Driver...
error VRInitError_Driver_Failed when initing driver SlimeVR from C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\slimevr\bin\win64\driver_SlimeVR.dll.
Unable to load driver SlimeVR because of error VRInitError_Driver_Failed(200). Skipping.
SlimeVR: [SlimeVR] Activating SlimeVR Driver...
error VRInitError_Driver_Failed when initing driver SlimeVR from C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\slimevr\bin\win64\driver_SlimeVR.dll.
Unable to load driver SlimeVR because of error VRInitError_Driver_Failed(200). Skipping.

And SlimeVR trackers won't spawn, HMDTracker shows "disconnected"
Using Windows MR

@inkuxuan
Copy link
Author

inkuxuan commented Mar 6, 2022

Tried:

  • Restart PC
  • Reinstalling SteamVR
  • Reinstalling SlimeVR Driver
  • Disabling SteamVR startup ("owoTracker" and "Gamepad Support" for me)

None of the above resolves the problem.

@inkuxuan
Copy link
Author

inkuxuan commented Mar 6, 2022

More info:
I recalled SlimeVR Server and driver probably used to work when I use the owoTracker App to connect.
The only thing I can think of which is different is that I updated my OS.
I'm currently on Windows 10 20H2 (19042.1503).

@inkuxuan
Copy link
Author

inkuxuan commented Mar 6, 2022

Update: Reverting the SlimeVR Driver to release version v0.1.0 has resolved this problem.
However I'll leave this issue open since it IS an issue.

@kitlith
Copy link
Member

kitlith commented Sep 4, 2022

I'm about 6 months late to this issue, but it looks... interesting.

I can't reproduce on my own system, as the current release of the driver works fine on my system (both windows 10, and after i updated to windows 11)

I wondered if the required modules were different between the two versions (though i think the error manifests more loudly if there's a missing library?), and there doesn't appear to be any difference. (my thought was that maybe a different compiler version was used and a different vc++ redistributable was required or something, but that appears to not be the case)

I also checked if there were any places where we might return VRInitError_Driver_Failed, and the only place I can see is:

if (vr::EVRInitError init_error = vr::InitServerDriverContext(pDriverContext); init_error != vr::EVRInitError::VRInitError_None) {
return init_error;
}

... which also hasn't changed since before 0.1.0.

I'm not sure what to tell you, @inkuxuan, but if 0.1.1 still doesn't work for you, then maybe we can arrange a debugging session to try to figure out what's going wrong.

@TheButlah TheButlah added the Status: Unlabeled A maintainer has not yet labeled this label Oct 5, 2022
@ButterscotchV ButterscotchV added Type: Bug Something isn't working Status: Help Wanted Needs some help to make progress Priority: Normal The default priority and removed Status: Unlabeled A maintainer has not yet labeled this labels May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal The default priority Status: Help Wanted Needs some help to make progress Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants