SteamVR-for-Linux icon indicating copy to clipboard operation
SteamVR-for-Linux copied to clipboard

[BUG] Graphics driver crash (??) with AMD/Mesa, every time when starting VR - Also occurs when pairing Index controller

Open 0x199x opened this issue 2 years ago • 5 comments

Describe the bug Graphics driver crash (presumably) when starting VR. I don't know for sure if this is a driver crash, but I assume that's what it is. This occurs every time I try to launch VR (see Additional Context) .. and it also happens when I pair an Index controller.

Let me know if there are other logs I should attach.

To Reproduce Steps to reproduce the behavior:

  1. Open Steam
  2. Click the VR button
  3. Wait a few moments
  4. Display goes haywire (see photo)

OR (when I was still able to start VR)

  1. Press and hold B button and Menu button to pair Index controller
  2. Pair successful
  3. Display instantly goes haywire

Expected behavior Anything but this

System Information (please complete the following information):

  • Distribution: EndeavourOS (Arch-based)
  • SteamVR version: 1.23.4 I think (I'm not sure where to find this, and I can't open SteamVR). Build ID 8855498
  • Steam client version: June 27, 2022 at 21:00:03
  • Opted into Steam client beta?: Yes
  • Graphics driver version: Mesa 22.1.3
  • Gist for SteamVR System Information: https://gist.github.com/0x199x/c46f9b9e386483843a2bea7d90286f85

Screenshots image

Additional context I've had this issue on and off for about 2 years now, but it has historically been more random and not necessarily caused by starting SteamVR. Recently, it has started occurring every time I try to launch VR.

Before this problem started happening every time I start SteamVR, I noticed that pairing my Index controller would cause this graphics crash to happen. I don't know why pairing would cause that, but it did, three times in a row.

I've verified file integrity for the SteamVR package

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

0x199x avatar Jul 13 '22 20:07 0x199x

I am experiencing a similar crash when launching games via Steam VR Home, via the overlay or by pressing "View All" in the overlay.

I get the following popup briefly before all my monitors look similar to OPs image & I have to restart my PC:

The file or folder /home/username/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/"steam://open/bigpicture/games?backstack_token=system.dashboard.quicklaunch" does not exist

  • Distribution: EndeavourOS (Arch-based)
  • Steam client version: Jun 7 2022, at 03:18:43
  • SteamVR version: 1.23.5 (1657751899)
  • Opted into Steam client beta?: No
  • Graphics driver version: Mesa 22.1.3
  • Gist for SteamVR System Information: https://gist.github.com/pfych/0158f2cadc3d3458b04bd125acd04520

Can confirm that while https://github.com/ValveSoftware/SteamVR-for-Linux/issues/469 fixes some GPU issues, it does not fix this one for me.

pfych avatar Jul 14 '22 11:07 pfych

Same issue since mesa update to 22.0.5 version I've tested at some kernel versions: linux-5.4.195-gentoo linux-5.10.117-gentoo linux-5.18.10-gentoo linux-5.18.11-gentoo and mesa versions 22.0.5^t ~22.1.2^t ~22.1.3 VERY stable bug. In Xorg its totally crush gpu driver on Wayland i have 307 steamvr error code and segfault on vrcompositor [23746.211908] vrcompositor[112826]: segfault at 10 ip 00007f8239af2da0 sp 00007ffd421c1218 error 4 in libc.so.6[7f8239a90000+16b000]

mesa ver 21.. is work

Mother: MAG B550 TORPEDO (MS-7C91) AMD Ryzen 7 2700 Eight-Core Processor 32gb RAM AMD Radeon RX 5500 XT (navi14, LLVM 14.0.4, DRM 3.46, 5.18.10-gentoo-x86_64) Mesa 22.0.5 8192 GPURAM "Gentoo Base System release 2.8" x64 5.18.10-gentoo-x86_64 steam-runtime_0.20220601.1 VR device HTC Vive

Swinec avatar Jul 16 '22 14:07 Swinec

temporary solution: run steamvr, take a crash. go to tty terminal, kill user session, relogin, enjoy vr until next reboot. Waiting for resolve this mesa bug - https://gitlab.freedesktop.org/drm/amd/-/issues/1980

Swinec avatar Jul 18 '22 08:07 Swinec

Can confirm this works but (index) controllers are unable to connect now for some reason. Re-pairing won't help and connecting while being connected to a charging cable only allows them to hold connection for a few seconds.

heregoesmarcel avatar Jul 20 '22 19:07 heregoesmarcel

update for templorary solution: run steamvr, immediately close them, run again, enjoy vr until next reboot.

Swinec avatar Aug 15 '22 11:08 Swinec