protonscr

[BUG] Steam VR hangs system on exit

steamvropen bug
ValveSoftware/SteamVR-for-Linux#555 · opened 2022-12-24 by aaronw2 · updated 2023-02-20 · 5 comments · github
Aaaronw2 2022-12-24 github

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Open Steam
  2. Start Neos VR
  3. Exit Neos VR
  4. Close SteamVR by clicking X on upper right

Expected behavior
A clear and concise description of what you expected to happen.
I expect it to close without crashing

System Information (please complete the following information):

  • Distribution: [Arch/Manjaro/Ubuntu/etc.] OpenSUSE 15.4
  • SteamVR version: 1.24.7 (1671750570)
  • Steam client version: Dec 15, 2022 21:27:25
  • Opted into Steam client beta?: [Yes/No] No
  • Graphics driver version: [run nvidia-settings or vulkaninfo | grep driverInfo: nVidia RTX3060 525.60.11
  • Gist for SteamVR System Information: [See instructions]
    https://gist.github.com/aaronw2/cd3344d3764c390176bdde980cbef00c
    Screenshots
    If applicable, add screenshots to help explain your problem.

Additional context
When SteamVR exits my system will hang. I have not been able to capture a stack trace, but I did manage to see that the nVidia driver crashed on all cores and all CPUs were pegged with nVidia driver interrupts when I managed to ssh in from my laptop, however, networking was extremely flaky, presumably due to the never-ending flood of interrupts.

I might also add that Steam VR does not start in VR mode but only desktop mode.
This is with an old HTC Vive setup.

Steam has been rather unstable for me. Most games refuse to even start, including Doita, Fallout Shelter, and Wanted Raccoon. Quake II RTX does work.

Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.

Kkisak-valve maintainer 2022-12-24 github

Possible duplicate of #554. This issue should also be mentioned to your video driver vendor.

MmSparks43 2023-02-02 github

very similar behaviour with X-Plane 12.
Fedora 37, SteamVR beta and non beta, nvidia drivers 525.85.05, RTX3070, AMD5900X
But when its not crashing the entire desktop on exit, or vrcompositor randomly crashing with 307 errors - #277 is now actually fixed.

Kkiosion 2023-02-17 github

Experiencing this on Arch, but inconsistently - next time it happens I'll check journalctl and post my findings here.
It seems to be freezing more than just Xorg though, since I can't even switch over to another TTY, or kill Xorg using SSH from another device. The whole system locks up upon exiting SteamVR.

MmSparks43 2023-02-19 github

My 80% guess for what is happening here is the problem stems from something like steamvr not properly releasing some asset when it shuts down or crashes, then the nvidia driver exploding when it tries to do it automatically.

This guess is based on it seeming to heavily depend on how steamVR is shutdown and what it was doing at the time.

steamvr crashing nukes everything.
close things in one order and everything is fine
close/disconnect things in some other order and "The whole system locks up upon exiting SteamVR."

Kkiosion 2023-02-20 github

@mSparks43 Something like that seems plausible. Most of the time if I close it through Steam's right-click menu it closes with no issues - But closing the SteamVR window directly or closing it w/ pkill causes it to lock up the system. Definitely something weird going on.

Nothing extracted yet.