SteamOS-specific
This will probably take an hour or so to complete sync.
This sets up the development tools to compile OpenHMD.
If you hit anerror: failed to commit transaction (invalid or corrupt package)
then do it one package at a time, reinstalling if necessary until you hit whichever one halts it. Do another sudo pacman -Sc
then try to locate the offending package from archlinux.org, download from their mirror, and install it with sudo pacman -U
Pick a location to store the git, I opted to mkdir /home/LGVR
and cd
to that location.
This is unfortunately based on OpenHMD 0.3.0.
Github user ChristophHaag has rolled up patches since 2019 into a new branch hopefully based on 0.7.0, additional installations were needed, test at your own pace.
At this point, we should be ready to compile by following the readme. https://github.com/OpenHMD/OpenHMD/tree/LG-R100
We need to make a small tweak for R100.
OR
Please pick one and stick to it. Don't waste time using both Meson/Ninja and Cmake.
If all has gone well you should now be ready to try the R100. If you are on Deck, this is a good time to get a bluetooth keyboard and mouse going.
Plug the R100 in, use one of the lens covers or a wad of paper to cover the proximity sensor, then cd build
and then sudo ./openhmd_opengl_example
You should now see the screens come alive, and the example program! What's better, the R100 should send movement data to OpenHMD, and your viewport should move with 3 whole degrees of freedom! Geometric!
From this point, you can now begin to try other things. Like run SteamVR.
References used
https://forum.xda-developers.com/t/lg-360-vr-openhmd-journey-linux-mac-windows-bsd-support-and-steamvr.3810873/
https://wiki.archlinux.org/title/Pacman/Package_signing#Upgrade_system_regularly
https://christitus.com/unlock-steam-deck/