Open nhobson99 opened 2 years ago
Put openvr_driver.h from openvr/headers to samples directory. Compile with make.sh works for me, but after starting SteamVR I get error 307.
You can just install openvr
package instead and it will be in global include directory. Detailed instructions in this fork.
Install and run VR Server
In terminal install system dependencies:
yay -S ffmpeg openvr
yay -S xorg-xwd xorg-xwininfo # for Ubuntu: `sudo apt install x11-apps`
clone this repo:
cd ~/projects # or wherever you keep your repos
git clone --depth 1 https://github.com/MyrikLD/LinusTrinus
cd LinusTrinus
Install Python dependencies:
python3 -m venv .venv # optional to install locally
source .venv/bin/activate # and not in `/usr/lib/python*/blah/...`
pip install frame-generator wand
Compile and install driver for SteamVR:
cd samples
./make.sh
cd ..
Run server:
python3 main.py # with virtual environment still active
I suggest a few change (note some extra dependencies to be covered for newbies and avoiding yay
):
# From within Steam install SteamVR:
# https://store.steampowered.com/app/250820/SteamVR/
pacman -S ffmpeg openvr xorg-xwd xorg-xwininfo python-pipenv git
git clone https://github.com/MyrikLD/LinusTrinus
cd LinusTrinus
pipenv install frame-generator wand
# Compile and install driver for SteamVR:
cd samples
pipenv run ./make.sh
cd ..
pipenv run python main.py
To make my point clear, I know that I need to download openvr_driver.h from Valve's SDK repository, but I'm not sure what directory to put it in. I'm also not sure if I'm meant to run make.sh, or manually run cmake as per the README. Regardless, I can't get anything to become of running cmake, even with the openvr driver header file downloaded, so do I need more than that? Do I also need the rest of the SDK, or just the header files? And what are the prerequisites for building?
If I could get some more direction, I'd love to be able to run this and possibly even contribute, but as of right now, I have no idea where to start. This is such an inspiring project! Just please, give us a better README!
Sincerely, Some guy on the Internet