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

[BUG] SteamVR initialization failed

Open 2l47 opened this issue 9 months ago • 4 comments

Describe the bug

SteamVR failed initialization with error code VRInitError_IPC_CompositorInvalidConnectResponse: "Shared IPC Compositor Invalid Connect Response (307)"
Please verify SteamVR is properly installed and try again.

Kernel: 6.1.0-12-amd64 GPU: AMD Radeon 7900 XTX

[ 3664.112134] RenderThread[29616]: segfault at 88 ip 000055f60f8f9267 sp 00007f7718abe230 error 4 in vrcompositor[55f60f6b0000+48a000] likely on CPU 6 (core 6, socket 0)
[ 3664.112143] Code: 00 00 00 45 85 ed 0f 84 8f 0f 00 00 4c 8d 35 a0 dd 15 00 45 31 e4 0f 1f 44 00 00 4a 8b b4 e3 78 09 00 00 48 63 8b b8 01 00 00 <80> be 88 00 00 00 00 0f 84 9c 00 00 00 80 be 98 00 00 00 00 0f 84
[ 3666.825355] RenderThread[29887]: segfault at 88 ip 000055c410845267 sp 00007faf60fc5230 error 4 in vrcompositor[55c4105fc000+48a000] likely on CPU 14 (core 6, socket 0)
[ 3666.825363] Code: 00 00 00 45 85 ed 0f 84 8f 0f 00 00 4c 8d 35 a0 dd 15 00 45 31 e4 0f 1f 44 00 00 4a 8b b4 e3 78 09 00 00 48 63 8b b8 01 00 00 <80> be 88 00 00 00 00 0f 84 9c 00 00 00 80 be 98 00 00 00 00 0f 84
[ 3669.334732] RenderThread[30039]: segfault at 88 ip 000055a18d058267 sp 00007f3fb83c7230 error 4 in vrcompositor[55a18ce0f000+48a000] likely on CPU 3 (core 3, socket 0)
[ 3669.334741] Code: 00 00 00 45 85 ed 0f 84 8f 0f 00 00 4c 8d 35 a0 dd 15 00 45 31 e4 0f 1f 44 00 00 4a 8b b4 e3 78 09 00 00 48 63 8b b8 01 00 00 <80> be 88 00 00 00 00 0f 84 9c 00 00 00 80 be 98 00 00 00 00 0f 84
[ 3669.615693] vrwebhelper[30072]: segfault at 39 ip 00007f024a603824 sp 00007fffa15049b0 error 6 in libcef.so[7f024a4ec000+7770000] likely on CPU 4 (core 4, socket 0)
[ 3669.615700] Code: 00 00 00 48 01 df 31 f6 4c 89 f2 e8 b6 27 65 07 49 01 de 4d 89 b7 88 17 00 00 eb 82 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <c6> 04 25 39 00 00 00 21 5d c3 cc cc 55 48 89 e5 53 50 48 89 fb 48
[ 3669.812342] vrwebhelper[30199]: segfault at 39 ip 00007f024a603824 sp 00007fffa1504890 error 6 in libcef.so[7f024a4ec000+7770000] likely on CPU 1 (core 1, socket 0)
[ 3669.812350] Code: 00 00 00 48 01 df 31 f6 4c 89 f2 e8 b6 27 65 07 49 01 de 4d 89 b7 88 17 00 00 eb 82 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <c6> 04 25 39 00 00 00 21 5d c3 cc cc 55 48 89 e5 53 50 48 89 fb 48
[ 3669.909292] vrwebhelper[30235]: segfault at 39 ip 00007f024a603824 sp 00007fffa1504890 error 6 in libcef.so[7f024a4ec000+7770000] likely on CPU 2 (core 2, socket 0)
[ 3669.909301] Code: 00 00 00 48 01 df 31 f6 4c 89 f2 e8 b6 27 65 07 49 01 de 4d 89 b7 88 17 00 00 eb 82 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <c6> 04 25 39 00 00 00 21 5d c3 cc cc 55 48 89 e5 53 50 48 89 fb 48
[ 3672.365816] RenderThread[30320]: segfault at 88 ip 000055ce6c2f3267 sp 00007fe348fc6230 error 4 in vrcompositor[55ce6c0aa000+48a000] likely on CPU 13 (core 5, socket 0)
[ 3672.365824] Code: 00 00 00 45 85 ed 0f 84 8f 0f 00 00 4c 8d 35 a0 dd 15 00 45 31 e4 0f 1f 44 00 00 4a 8b b4 e3 78 09 00 00 48 63 8b b8 01 00 00 <80> be 88 00 00 00 00 0f 84 9c 00 00 00 80 be 98 00 00 00 00 0f 84

To Reproduce Steps to reproduce the behavior:

  1. Install Steam from the system package manager, i.e. apt install steam-installer
  2. Install SteamVR
  3. Launch SteamVR
  4. See error

Expected behavior Something like this :P

System Information (please complete the following information):

  • Distribution: Debian bookworm, previously known as testing, released as stable on June 10th, 2023
  • SteamVR version: 1.27.5
  • Steam client version: 1694466342, Mon, Sep 11 15:49 UTC -08:00
  • Opted into Steam client beta?: No
  • Graphics driver version: Mesa 22.3.6 (LLVM 15.0.6)
  • Gist for SteamVR System Information: https://gist.githubusercontent.com/2l47/3ebab935657fe15109fe4b62413cdf5d/raw/de750dbf7210a61dcc3dc987b24bf62347f29189/gistfile1.txt

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

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

2l47 avatar Sep 17 '23 06:09 2l47

Possible dupe of #24, though I don't see any relevant mention of lighthouse in vrserver.txt. Not sure what I could try besides update mesa.

2l47 avatar Sep 17 '23 06:09 2l47

After backporting kernel 6.4.0-0.deb12.2-amd64, I was able to proceed with Room Setup in spite of the segfaults below:

[  814.073703] steam-runtime-l[29404]: segfault at 0 ip 0000000000000000 sp 00007fffbb23ede8 error 14 in steam-runtime-launcher-service[400000+23000] likely on CPU 14 (core 6, socket 0)
[  814.073712] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[  816.154814] steam-runtime-l[29499]: segfault at 0 ip 0000000000000000 sp 00007ffdd8b62bc8 error 14 in steam-runtime-launcher-service[400000+23000] likely on CPU 9 (core 1, socket 0)
[  816.154823] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[  818.232574] steam-runtime-l[29605]: segfault at 0 ip 0000000000000000 sp 00007ffd79e3a6d8 error 14 in steam-runtime-launcher-service[400000+23000] likely on CPU 13 (core 5, socket 0)
[  818.232585] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[  839.544877] vrwebhelper[30679]: segfault at 39 ip 00007fc1a4603824 sp 00007ffe74db8720 error 6 in libcef.so[7fc1a44ec000+7770000] likely on CPU 14 (core 6, socket 0)
[  839.544889] Code: 00 00 00 48 01 df 31 f6 4c 89 f2 e8 b6 27 65 07 49 01 de 4d 89 b7 88 17 00 00 eb 82 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <c6> 04 25 39 00 00 00 21 5d c3 cc cc 55 48 89 e5 53 50 48 89 fb 48
[  839.765272] vrwebhelper[30845]: segfault at 39 ip 00007fc1a4603824 sp 00007ffe74db8600 error 6 in libcef.so[7fc1a44ec000+7770000] likely on CPU 7 (core 7, socket 0)
[  839.765283] Code: 00 00 00 48 01 df 31 f6 4c 89 f2 e8 b6 27 65 07 49 01 de 4d 89 b7 88 17 00 00 eb 82 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <c6> 04 25 39 00 00 00 21 5d c3 cc cc 55 48 89 e5 53 50 48 89 fb 48
[  839.966289] vrwebhelper[30883]: segfault at 39 ip 00007fc1a4603824 sp 00007ffe74db8600 error 6 in libcef.so[7fc1a44ec000+7770000] likely on CPU 0 (core 0, socket 0)
[  839.966303] Code: 00 00 00 48 01 df 31 f6 4c 89 f2 e8 b6 27 65 07 49 01 de 4d 89 b7 88 17 00 00 eb 82 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <c6> 04 25 39 00 00 00 21 5d c3 cc cc 55 48 89 e5 53 50 48 89 fb 48

I then succeeded in getting to SteamVR Home, but Steam crashed along with the following segfault when I tried to launch VRChat:

[ 1945.425253] UIEngineRenderT[30520]: segfault at 28 ip 00000000f5bd7014 sp 000000009772b8b0 error 6 in radeonsi_dri.so[f5634000+1061000] likely on CPU 15 (core 7, socket 0)
[ 1945.425264] Code: 24 14 85 c0 0f 44 c6 83 ec 08 8b 93 a0 01 00 00 83 c6 70 ff 74 24 18 55 57 ff 74 24 7c 50 53 ff d2 8b 5c 24 30 8b 13 83 c4 20 <89> 72 28 c6 42 2c 00 8b 54 24 3c 65 2b 15 14 00 00 00 0f 85 da 02
[ 1952.736319] traps: steamwebhelper[29123] trap invalid opcode ip:7fca77cc01fb sp:7fff1d9c2900 error:0 in libcef.so[7fca73aef000+7770000]

I was delighted to see however that the "Desktops" tab in the dashboard now appears to work reliably. Just waiting for an on-screen keyboard now ;)

2l47 avatar Sep 17 '23 07:09 2l47

A second attempt and VRChat launches successfully :)

2l47 avatar Sep 17 '23 07:09 2l47

Hello @2l47, Regarding your kernel, I think you might find https://github.com/ValveSoftware/SteamVR-for-Linux/issues/598 informative. SteamVR requiring to be quit and then started again is a known issue - just open steamvr, let it see hmd, it will crash, quit, restart the SteamVR - after restart you should expect it to be fine, keep in mind that the crash might make headset be red, so restart headset (I do a powercycle on hmd) before restarting SteamVR. For me there is like 1 in 20 chance that VRChat will start, but it will not attach itself to HMD.

Danielduel avatar Sep 19 '23 09:09 Danielduel