Closed DataBeaver closed 6 years ago
I think it's a steam client beta issue. The same happens with csgo to me, so I don't think it's even SteamVR specific. Opting out of the Steam client beta probably helps.
Edit: Never mind, it did happen for me on stable steam client too.
Completely ignoring the fact that you can't click on exit because the overlay dropdown disappears, I've had this happen. Look for stale vrserver / vrcompo* processes. For whatever reason if vrserver gets confused, it won't always shutdown properly. Switching between direct and indirect mode for example sometimes caused it. Regardless though, the Steam client thinks SteamVR is still running even though it really isn't. For all I know it's a byproduct of some dbus fuckery in qt. When I've seen it happen, the process was blocked on signals, didn't trace much further beyhond that.
ex:
$ pstree -pacl |grep -i vr
|-vrserver,104411 -waitformonitor
| |-{vrserver},104414
| |-{vrserver},104415
| |-{vrserver},104416
| `-{vrserver},104418
There's no parent nor vrmonitor yet steam still thought it was running.
Another thing to look for are stale shm pipes, steam isn't cleaning those up properly either:
# ls -al /dev/shm/u1000-* | wc -l
116
~]# ipcs -a c steamvm | wc -l
199
~]# lsof /dev/shm/* |grep steam | wc -l
36
I wouldn't kill them all since there's no easy way to tell which are still valid and not or look for ones that are growing.
Since recently this doesn't happen anymore for me. Can this be closed?
I can confirm that the problem appears to be fixed in the Steam client build from 2018-02-14 16:01:48.
Closing per the last couple comments.
Your system information
Please describe your issue in as much detail as possible:
Clicking the VR icon in the Steam client title bar works find and starts SteamVR. However, even after I exit SteamVR the icon stays green. Trying to click it again has no immediate effects but after a short while the Steam client crashes.