Some more details:
Overall games work great (working: Lutris/Epic Store/Rocket League, Steam:CS:GO/Quake Champions among others).
Vulkan and OpenGL is configured correctly, tested display using Refresh2025_Linux.
Machine did not crash until SteamVR issue, at least on kernels 5.10, 5.11.
There is second Nvdia 960 GPU installed but not used by host - using vfio module for pass-through.
mkinitcpio.conf contains: MODULES="crc32c vfio_pci vfio vfio_iommu_type1 vfio_virqfd amdgpu"
xorg.conf.d contains only 00-keyboard
uname -a
Linux too-pc 5.11.16-2-MANJARO #1 SMP PREEMPT Thu Apr 22 09:53:11 UTC 2021 x86_64 GNU/Linux
cat /etc/modprobe.d/*
blacklist nvidia
options usb-storage quirks=0bc2:ab38:u
options kvm ignore_msrs=Y
options kvm report_ignored_msrs=N
options vfio-pci ids=10de:1401,10de:0fba,10de:10d8,10de:0be3
I suspect the issue is related to some amdgpu driver issue but I don't set any explicit settings for it.
Update: I tried different Window Managers - Cinnamon, Cinnamon (Software), Gnome, XFCE (my default) - crash happens randomly for all, sometimes it might take a 1-2 minutes to crash.
Most of the time HMD shows a pink pattern, sometimes monitor switches off. I have seen checkerboard pattern with noise as well.
Eureka update: kernels 5.11 and 5.10 cause the same problem yet using fallback kernel 5.11 or 5.10 fixed the crash.
In my case problem was that amdgpu was last in MODULES section of mkinitcpio.conf - for some reason amdgpu driver did not like it when using VR. After the change, vfio for GPU pass-through of Nvidia GPU is still working fine.
The fix:
edit mkinitcpio.conf:
MODULES="amdgpu crc32c vfio_pci vfio vfio_iommu_type1 vfio_virqfd"
mkinitcpio -P linux511
Nothing extracted yet.
I finally decided to report this issue after trying to set up HTC Vive Pro for the past 2 days, after fighting with other issues like 2 installed Vulkan drivers (MESA and AMD) causing error 307, never being able to update base stations (not supported anyway)/controllers/HMD hardware - did that on son's Windows machine, not having right udev rules.
The issue is simple, both beta and non-beta SteamVR crashes between 1 and 20 seconds since start. Sometimes HMD display is left with a noise, sometimes monitor switches off but most of the time there is no HMD display and the monitor display freezes with 100% cpu on one core. Interestingly, SteamVR small window is not shown - I can only get it to show with HTC Vive Pro switched off when launching SteamVR.
I can see vrserver log containing NUL characters at the end - Linux crashes before logger is able to append some more relevant information - no core dump is available.
Obviously the headset works flawlessly on Windows.
Steps to reproduce the behavior
Expected behavior
VR room opens.
System Information (please complete the following information):
Screenshots
noise