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

Please help: Everything breaks on this->AddDevice #8

Closed
KimihikoAkayasaki opened this issue Apr 13, 2020 · 3 comments
Closed

Please help: Everything breaks on this->AddDevice #8

KimihikoAkayasaki opened this issue Apr 13, 2020 · 3 comments

Comments

@KimihikoAkayasaki
Copy link

Hello!
I was trying to use CMAKE version, built with visual studio,
(second time i just used cmake)
and everything was fine until i ran steamvr.
it just crashes.
But...
When i comment out lines with this->addevice etc. in init functon,
driver runs just fine (cause it have nothing to do)
But when i uncomment just single operation, it's just unrealiable to launch svr with it.
i have tried using those headers and adding them to normal vcxproj dll project,
but same actions there.
(I am trying to add base stations, so i don't really need any input files,
but it is not connected with issue with orginal buil;d with cmakelists)
so then..
please share something, that could be helpful.
i have even tried manual initialization of class, but still nothing to do with it.
Thanks for possible help!

@terminal29
Copy link
Owner

terminal29 commented Apr 14, 2020

Ok just a couple questions:

  • Does it throw an exception or is it a segfault?
    • If yes, please send the log.
  • Does it crash on every addDevice call (hmd, controller, base station, tracker) ?
  • Does it crash every time or only randomly ?
  • What line does it crash on ? (I suspect it might be vr::VRServerDriverHost()->TrackedDeviceAdded but I'm not sure)

@terminal29
Copy link
Owner

terminal29 commented Apr 14, 2020

Could you also include the vrserver.txt log file from C:\Program Files (x86)\Steam\logs

@KimihikoAkayasaki
Copy link
Author

KimihikoAkayasaki commented Apr 14, 2020

Idk what was it, but it just doesn't work (i think it's my fault, idk using newest cmake, new svr?).
It was crashing on trackeddeviceadded, every time, so i think it could be wrong openvr sdk version.
But i have used hipstersloth version (psmovesteamvrbridge) and it just works.
Thank you for fast help.
Cosing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants