pushrax / OpenVR-SpaceCalibrator

Use tracked VR devices from one company with any other.
MIT License
628 stars 103 forks source link

WIP: Linux support #90

Open AngriestSCV opened 1 year ago

AngriestSCV commented 1 year ago

Working Linux support

It's a little rough, but now feels like time to start a conversation about if this kind of thing is valuable and how turn key it should be for Linux users.

The state as of generating the PR is that there are undocumented dependencies, automatic calibration does not work quite right, and the VR UI works incorrectly. The base functionality does work if you can get it built however.

pushrax commented 1 year ago

If someone volunteers to maintain Linux support, this seems like a valuable addition.

gyroninja commented 1 year ago

BTW I got my Linux port working a week ago https://github.com/gyroninja/OpenVR-SpaceCalibrator to work. It does require you to manually create the addon folder and use vrpathreg to add it.I do assume that ~/.config/OpenVR-SpaceCalibrator and "/.local/share/OpenVR-SpaceCalibrator exist.

I did not bother with keeping Windows support in my fork so props to you for doing this.

It's funny how we both did this at almost the name time despite this not having been ported for years.

AngriestSCV commented 1 year ago

@gyroninja Did you experience any bugs that are hard to explain? IIRC The in VR menu seems to have the "mouse" running the wrong way and the standard calibration is pretty far of on this one.

Going with those are you using ALVR?

AngriestSCV commented 1 year ago

At this point there are no known deficiencies in either the Windows or Linux build caused by this merge. Let me know if there's anything else I can do to push this forward.

galister commented 1 year ago

Build is failing as of a4151fc on the make step due to missing files imgui.h and imconfig.h. Workaround is to manually copy these to the build folder.

galister commented 11 months ago

Those looking for working Linux support, you can try this fork here: https://github.com/galister/OpenVR-SpaceCalibrator

It's pieced together from the contributors of this thread, and I plan on maintaining this, but not going to try and merge it upstream.