[BUG] SteamVR 2.19.3+ beta: vrcompositor SIGSEGV in RenderThread when an app submits a Vulkan overlay texture
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- linux
調査の方向性
Start by comparing Vulkan overlay texture submission through IVROverlay::SetOverlayTexture with VRVulkanTextureData_t on SteamVR 2.19.3 beta and 2.18.4. The crash occurs in vrcompositor's RenderThread on the first texture upload, with a reported Vulkan UNKNOWN_ERROR in vulkanrenderer.cpp at line 3719. Use the supplied crash logs and coredumps to trace the regression; done means Vulkan overlay textures are accepted and displayed without crashing.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
On SteamVR 2.19.3 beta (build 26655409, v1794604515) and 2.19.4 beta
(build 26793788), vrcompositor segfaults as soon as an OpenVR overlay application submits its first Vulkan overlay texture via IVROverlay::SetOverlayTexture with VRVulkanTextureData_t.
Reproduced with WayVR (an OpenVR overlay app that renders with wgpu and calls set_image_vulkan()). The crash is immediate and consistent: vrcompositor dies in RenderThread, and WayVR then receives EVROverlayError(24): InvalidTexture for every subsequent overlay.
The same WayVR builds work on 2.18.4. The crash is identical with all three WayVR screen-capture backends (wlr-screencopy GPU, wlr-screencopy CPU, and PipeWire GPU), so neither DMA-BUF nor the capture path is involved — the common element is the Vulkan texture handoff itself.
To Reproduce
- Use SteamVR 2.19.3+ beta on Linux with an NVIDIA GPU and a Wayland compositor.
- Start WayVR (wayvr-git 26.8.0.r158.2df0c63, or release 26.8.0).
- Open the WayVR dashboard / screen overlay so it submits an overlay texture.
vrcompositorsegfaults within about a second. SteamVR reports the compositor crash; WayVR logsInvalidTexturefrom then on.
The compositor can also die before the screen capture stream produces a frame: in a PipeWire run, vrcompositor crashed 12 seconds before WayVR received its first PipeWire buffer, on the first texture upload from a toast overlay.
Expected behavior
Vulkan overlay textures submitted via VRVulkanTextureData_t are accepted and displayed, as they are on SteamVR 2.18.4.
System Information
- SteamVR 2.19.4 beta, build 26793788 — crashes, same signature at +0x42f595
- SteamVR: 2.19.3 beta, build 26655409 (v1794604515) — crashes
- SteamVR 2.18.4 (public, build 25998080) — same WayVR sessions work
- SteamVR 2.19.2 (linux-temp) — separate display-shaking regression, not usable as a workaround
- Headsets: Valve Index (lighthouse) and Steam Frame (vrlink wireless) — both reproduce the crash
- GPU: NVIDIA GeForce RTX 4080, driver 615.78.08 (open kernel module)
- Distro: Omarchy 4.5 / Arch, kernel 7.2.15-1-omarchy
- Desktop: Umbriel 0.1.0.r1585 (wlroots 0.20), xdg-desktop-portal-umbriel
- WayVR: wayvr-git 26.8.0.r158.2df0c63-1 and wayvr 26.8.0-1
Additional context
Crash signature is always the same:
Signal: 11 (SEGV), si_code: SEGV_MAPERR
Thread: RenderThread
#0 vrcompositor + 0x42be15 <-- call *0x18(%rax)
#1 vrcompositor + 0x1d94fe
#2 vrcompositor + 0x29d17b
#3 vrcompositor + 0x2a3e19
#4 vrcompositor + 0x2a62d8
#5 vrcompositor + 0x2dfec2
#6 libc.so.6 + 0x98042
#7 libc.so.6 + 0x12072c
Kernel log from the ScreenCopy GPU run:
RenderThread[160944]: segfault at 7f00d4029 ip 000055e1677fee15
sp 00007f008f7f65c0 error 4 in vrcompositor[42ae15,...+399000]
The fault address is a corrupted pointer and the faulting instruction is an indirect call through [rax+0x18], i.e. the compositor is calling through a bad object/vtable pointer. The binary is stripped, so the coredump cannot be symbolized locally.
Before the RenderThread crash, some 2.19.3 attempts also logged:
Fatal : VkResult is "UNKNOWN_ERROR" in
/data/src/common/vrcommon/vrrenderer/vulkanrenderer.cpp at line 3719
This happened with the older WayVR 26.8.0 release as well, immediately before its compositor crash, so the failure is not specific to the current wayvr-git build.
The same crash occurs on both headsets — Valve Index over DisplayPort and Steam Frame over vrlink wireless — so it is not specific to either headset's display or streaming path.
Breakpad crash IDs: bp-774c2020-5ab0-4fc5-bbcb-eb6ff2261119, bp-6d62bf61-f519-451d-a449-f8cfa2261118, bp-1c9d940a-e445-4ed8-b751-548df2261118, bp-3da78aa5-0456-4ad6-acfe-845392261118
I can provide the full vrcompositor-linux.txt, steamsysinfo.txt, coredumpctl info output, or the coredumps/minidumps if useful.
- 主要言語
- Shell
- スター
- 1.2k
- フォーク
- 58
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ValveSoftware/SteamVR-for-Linux のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ValveSoftware/SteamVR-for-Linux#981 · コメント 4 件 · リアクション 1 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
ValveSoftware/SteamVR-for-Linux#1097 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ValveSoftware/SteamVR-for-Linux#1095 · コメント 2 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
ValveSoftware/SteamVR-for-Linux#1094 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ValveSoftware/SteamVR-for-Linux#1093 ·
ValveSoftware/SteamVR-for-Linux の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
flathub/cc.arduino.IDE2#168 ·
-
area:docs community needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NetSparkleUpdater/NetSparkle#759 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sidebandstudio/clawtrate#1114 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100