ALVR: GPU crashes sometimes before streaming started

Description

On every 5-10 launch GPU hangs in vrcompositor.real process when connecting headset:

[  140.325221] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring comp_1.0.0 timeout, signaled seq=2, emitted seq=4
[  140.325295] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process vrcompositor.re pid 5468 thread vrcomposit:cs0 pid 5477

on 6600 XT, if steamvr home enabled, gfx ring hang detected before comp ring as comp has higher hang timeout, on 580 gfx ring does not hang, so desktop still usable if gpu recovery disabled

It possibly related to vulkan layer, maybe some sync issues. hang frequency is depended on bitrate Release build from source crashes almost every time, ubuntu nightly build not so often, but maybe it just luck

General Troubleshooting

  • [ *] I carefully followed the instructions in the README and successfully completed the setup wizard
  • [ *] I read the ALVR Wikis here and here

Environement

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload https://linux-hardware.org/?probe=73773b7de6 CPU: AMD Ryzen 1600X GPU: RX580, RX6600 XT Audio: jack2 daemon routing alvr playback to capture inputs and playback outputs to alvr capture

Installation

ALVR Version: 16 release, 17 nightly, current git, git revision from current nightly SteamVR Version: 1.14 Install Type:

  • Packaged (exe, deb, rpm, etc)
  • [*] Portable (zip)
  • [*] Source

zip and source, release build from source has higher possibility to crash OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): Gentoo Linux, mesa git, Linux 5.14, SteamVR on HDD, so reading of some files may be delayed

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (1 by maintainers)

Most upvoted comments

@mittorn it would help if you could explain to others how you are patching a binary file, since SteamVR isn’t open-source and vrcompositor is an ELF executable binary file. Saying “patching X fixes the issue” without any extra information doesn’t help others who may not know what you’re talking about.

Could you explain to me how to actually do any of this? Because Steamvr is currently crashing my gpu.