protonscr

Steam continues to count SteamVR usage time after quitting SteamVR

steamopen Steam client
ValveSoftware/steam-for-linux#7072 · opened 2020-04-26 by opl- · updated 2022-03-29 · 3 comments · github
Oopl- 2020-04-26 github

Your system information

  • Steam client version (build number or date): April 8th 2020 20:52:25
  • Distribution (e.g. Ubuntu): Debian Bullseye
  • Opted into Steam client beta?: Yes
  • Opted into SteamVR beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Steam continues to count SteamVR usage time after quitting SteamVR until the Steam client is restarted.

I ran ps -AHo "pid,user,group,args" to log the running processes before running SteamVR, while running it, and after closing it, and then compared the outputs using git diff. It doesn't appear that any of the SteamVR processes stay running after quitting it, which to me suggests that the issue is somewhere in the Steam client.

The issue does not happen for any other apps launched through Steam, whether VR, non-VR, native, or ran through Proton.

Steps for reproducing this issue:

  1. Write down the usage time for SteamVR shown in the library.
  2. Start SteamVR through Steam.
  3. Click the "Quit" option in SteamVR Status. The Steam client should no longer show SteamVR as running.
  4. Wait for x hours.
  5. Restart Steam. (The usage time shown doesn't seem to be visually updated in the library while the app is not running.)
  6. The hours played is now x hours higher than it was at the beginning, despite SteamVR not running during that time.
Oopl- 2020-04-27 github

I just started SteamVR after closing it earlier without restarting the Steam client, and the usage time this time went down by an hour when it launched. No idea what to make of that.

Using the April 23rd 2020 00:53:55 beta build this time.

Oopl- 2020-05-14 github

I noticed earlier that vrstartup was left running together with a "defunct" vrserver after I exit SteamVR. I'm not sure if this would've been counted to usage time since I now got into the habit of restarting Steam after exiting SteamVR.

Additionally I talked about this a few days ago with a friend running Windows and they mentioned having seen vrserver running when it shouldn't be, so I'm starting to think that this might be a general SteamVR issue after all.

Output of the same ps command as above:

 172381 opl      opl        /home/opl/.steam/debian-installation/steamapps/common/SteamVR/bin/linux64/vrstartup -startupreason watchdog_controller
 172522 opl      opl          [vrserver] <defunct>```
SScrumplex 2022-03-29 github

I have this issue currently. It seems to track even if I am not running Steam at all.

Nothing extracted yet.