-
Notifications
You must be signed in to change notification settings - Fork 58
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
Connect to VR server failed (301) #5
Comments
Found the reason for this. Infinite loop in vrserver due to a typo in a nested loop:
vr::HmdMatrix34_t OSVRTrackedDevice::GetHeadFromEyePose(vr::Hmd_Eye eye)
{
vr::HmdMatrix34_t matrix;
// TODO
// Return an identity matrix for now
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 4; ++i) {
matrix.m[i][j] = (i == j ? 1.f : 0.f);
}
}
return matrix;
} Edit: There is another identical infinite loop on line 628 in Now connects but get no head pose. Not sure if this function needs to be implemented properly first? PS: Why does this header file have so much implementation in it? |
Thanks for noticing this! I've pushed changes that resolve that loop issue and all similar ones (by using an object/expression-based method of converting math types, as well as the Eigen math library). |
I have not experienced this issue; can someone else test and close if fixed? |
you can play steamVR game using osvr hmd now? these 2 are interacting normally for you? |
@pavlo1031: I was able to, at least up until a recent build which seems to have changed the SteamVR driver API (without updating the "OpenVR" headers), so I'm stuck until this is resolved. Try previous versions in the betas tab for SteamVR, but be warned — the steamvr server may not start automatically if you're on Mac OS or Linux. |
i'm using the driver "Windows alpha binaries: Download Windows Alpha", still trying and the issue is still there, which has the only directory "drivers" in it. do i have to rebuild this project for my own driver on my computer? |
@pavlo1031: what issue are you experiencing exactly? You shouldn't have to rebuild it. What you may have to do is downgrade the SteamVR software in Steam (on the Betas tab in SteamVR properties). |
i downgraded steamVR and it does not crash now but still shows warning messagebox that says "VR_Init failed with Unable to initialize necessory OpenVR interfaces." Then i ran Team Fortress 2. Screen direction was changed by hovering the mouse right & left, but i don't know if the osvr HMD is really interacting with steam. What does it look like when they interacts normally? rotating the hmd by an angle can change screen direction in the game? (for now it cannot) Could you please tell me how to know if steam and osvr hmd are interacting normally? |
I'm also unable to get SteamVR working properly with my hmd. I'm using v1448479831 of SteamVR but I'm getting a timeout on the VR_Pipe instead. |
@pavlo1031 how to downgrade steamvr? Steam will update the software automatically. |
I'm having a hard time getting this to work with any current version of SteamVR. I'm sorry there isn't more progress, but it's not in my hands at this point. |
Finally, my elder colleague sort of solved it 1). Please upgrade/downgrade SteamVR to the version "v1444268063". 2). Before you run steam app (hellovr_sdl.exe or other steam games), please confirm your pc's resolution is set to exactly 1920x1080. 3). Start SteamVR. 4). Start the game. 5). After entering the game (for example, Team Fortress 2), open the "option" window, enable Virtual Reality mode, and go back to TF2's homescreen, you'll see a button P.S. If the button "Activate virtual Reality Mode" doesn't show, set launch parameter "-vr" After doing all of these everything works fine, hope it helps :) !! |
Just got the files to build on Win 10, no longer getting a crash with latest SteamVR beta and latest Core, but now Its back to not reconizing the HMD. Progress :-) |
What core version Tyhpoid? Im pretty sure I have the latest.. SteamVR doesnt crash anymore, but still isnt detecting my osvr. |
version "v1444268063" doesn't work for me(latest driver). The error is not recognizing the HDM. But v1448479831 works. |
Nice. Kind of half way working. Still says Not Ready, and my left and right's seem to be backwards. even though when i look at the screen under the lenses its not. I put it on and theyre backwards. its weird. Keeps telling me Compositor is not fullscreen as well, when it is. |
Yup, looks pretty typical as of late. |
When I look at my screen under the lenses it looks just like that. But when I put it on I can see the left side in my right eye and the right side in my left eye... So confusing. |
@pavlo1031 which versions of core and plugin do you use? |
Downloaded v0.6-740-g0195020 and updated to the latest SteamVR beta on Win 10. Works like a friggin charm. Having some camera height calibration issues, but I think I can work through that with the config file. Also using latest core snapshot. |
@typhoidcoma Also using latest core snapshot. do you mean the latest plugin? |
Yes latest plugin as well. On Mon, Jan 11, 2016 at 12:04 AM zhengjiezxxy notifications@github.com
|
@typhoidcoma Thanks. It work on me(windows7), I can run the demo(hellovr_sdl.exe ), but when I play Team Fortress 2, I cannot find "Virtual Reality" mode, and there is a message box that says " Init failed with unable to initialize necessary OpenVR interface. |
Is your HMD / HDK display on portrait or landscape, and is it to the left On Mon, 11 Jan 2016 09:12 zhengjiezxxy notifications@github.com wrote:
|
Hmm... I think it's because your main window is not 1920 pixels wide... Can On Mon, 11 Jan 2016 09:20 zhengjiezxxy notifications@github.com wrote:
|
Ok all, u can get this working by doing the following - This works for me and I can run hl2, I'm testing more this week |
We've just released an updated SteamVR-OSVR driver that should work with the current release of SteamVR. Please give it a try and report back if you encounter any problems. |
I'm closing this isssue due to a lack of information. If you are the original filer of this issue and still encounter this problem, feel free to reopen this issue. If you're not the original filer of this issue, please open a new issue instead. |
When I run Steam VR, the control panel reports that it couldn't connect to the VR server (error 301) and therefore it couldn't find an HMD. (This appears to be a step backward from a couple versions where it would detect the HMD but complained that it wasn't receiving pose updates.)
I've attached some log files as well. In the
vrserver.txt
file, you can see where the OSVR driver reports having an available HMD. (The messages prefixed byosvr
' are emitted by my driver.)The
vrclient_vrmonitor.txt
log file shows the following two messages at the end:Per Joe of Valve Software:
vrserver.txt
vrmonitor.txt
vrclient_vrmonitor.txt
The text was updated successfully, but these errors were encountered: