I’m running into a number of issues with getting SteamVR running with an HTC Vive.
The first one is steamvr throwing an error saying it needs superuser access. The errorlog reads
Mon Oct 21 01:01:01 EDT 2019 - Error: setcap of vrcompositor-launcher failed.
Launching Steam via a terminal to read the error it spits out:
getcap: symbol lookup error: getcap: undefined symbol: cap_get_nsowner + [[ '' == *\c\a\p\_\s\y\s\_\n\i\c\e* ]]
Doing some googling led to this git issue, and those troubleshooting steps didn’t work for me. Trying to set the permissions manually with the following command failed too:
sudo setcap CAP_SYS_NICE+ep ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher
with steamvr saying “A key component of SteamVR isn’t working correctly. Please reinstall SteamVR.” This went away when removing all permissions from the same file.
It also throws this error:
/home/kristian/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
even though I have libcap installed.
The one time I did manage to get it to actually start, it would fail to load the tutorial, and not proceed until that was completed. The error reading:
Failed to change directory in process '/home/kristian/.local/share/Steam/steamapps/common/tools/steamvr_environments/game/bin/steamtours': 2 Failed to execute process '/home/kristian/.local/share/Steam/steamapps/common/tools/steamvr_environments/game/bin/steamtours': 2
I’ve googled and hacked at this as best as I can, and I can’t think of anything else to try. I can post my .nix files if needed, but otherwise I hope someone here can give me a hand.