protonscr

steamvr error on slackware 15

steamvropen bug
ValveSoftware/SteamVR-for-Linux#525 · opened 2022-07-09 by floppaselfbot · updated 2023-04-16 · 1 comments · github
Ffloppaselfbot 2022-07-09 github

Describe the bug
When i open steamvr on slackware 15 it says "SteamVR setup is incomplete, some features might be missing. See /tmp/SteamVRLauncherSetup.log for details." and when i look at the file it tells me to read it says that getcap is required to use steamvr. I already have getcap installed and i even went and installed the multilib 32bit compatible version of libcap and that didnt fix it either

To Reproduce
Steps to reproduce the behavior:

  1. open steamvr on slackware 15
  2. see error

Expected behavior
steamvr opens with no error

System Information (please complete the following information):

Mmohammad-matini 2023-04-16 github

You need to add /sbin to PATH:

export PATH="$PATH:/sbin"

and then run steam from the terminal (for easier debugging), and launch SteamVR. It may ask for root permissions, and pop up a visual sudo prompt, or request root permissions on the command line if you're running on terminal.

You may get another error after this one, and need to manually set capabilities as mentioned in https://github.com/ValveSoftware/SteamVR-for-Linux/issues/234#issuecomment-523975015 as a work-around; run the following as root, replacing your-user-name with the appropriate path to your home directory (or replacing the whole path with the appropriate steam path on your machine, if you're not using default directories):

setcap CAP_SYS_NICE+ep /home/your-user-name/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher

I think this issue is not a problem on SteamVR's side, but caused by Slackware simply not exposing system administration tools on PATH by default. There's probably not much SteamVR can do without hard-coding paths and such. This can probably be closed I think.

Nothing extracted yet.