protonscr

SteamVR can fail to start with unavailable semaphore

steamvropen
ValveSoftware/SteamVR-for-Linux#212 · opened 2019-07-19 by ChristophHaag · updated 2019-07-19 · 0 comments · github
CChristophHaag 2019-07-19 github

This is similar to #193 except that the startup of SteamVR gets blocked by a semaphore of the same user, so SteamVR could clean it up without fiddling with permissions, it just doesn't.

Symptoms: starting vrcompositor like this

LD_LIBRARY_PATH=$HOME/.local/share/Steam/steamapps/common/SteamVR/bin/linux64  strace ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor --keepalive 

Shows that it fails to start because

semop(5242881, [{0, -1, IPC_NOWAIT}], 1) = -1 EAGAIN (Resource temporarily unavailable)

Simultaneously the same thing happened to vrmonitor here and I had to remove both semaphores myself before SteamVR started again (ipcrm -s 5242881).

It seems very rare to actually get the semaphores into this state, but as I just saw, it can happen.

Nothing extracted yet.