[BUG] libc SEGFAULT during high-bitrate/complex scenes on AMD RADV

Đang mở
#1,083 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
computer-graphics

Hướng nghiên cứu

The crash is in vrlink-encwait ([VideoVulkan-EncodeWaitThread]) inside libc.so.6 with an out-of-bounds read, triggered by high-bitrate HEVC encoding on AMD RADV. Start with the attached minidumps and steam-logs archives to locate the faulting frame, then try to reproduce with a high targetBandwidth and a dense scene. Done would mean the encode wait thread survives those spikes without the SegFault or SteamVR teardown. This needs real driver and encoder knowledge, so it is not a good first task.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Describe the bug
When streaming wirelessly via the Quest 3 Steam Link app on Linux (AMD RDNA 3 + Mesa RADV), vrlink-encwait ([VideoVulkan-EncodeWaitThread]) intermittently segfaults inside libc.so.6 (error 4 out-of-bounds read) during visually dense, high-entropy scenes (such as heavy particle and custom shader bursts in Beat Saber).

When this happens, the game continues running normally on the desktop monitor, while vrcompositor and vrserver tear down the Steam Link encode backbuffers and SteamVR exits with a "Critical Error" popup.

To Reproduce
Steps to reproduce the behavior:

  1. Connect a Meta Quest 3 to a Linux PC (AMD RX 7800 XT, Mesa RADV Vulkan Video VK_KHR_video_encode_h265) via the Steam Link app using default/high streamFormatWidth (1152+) and targetBandwidth (100+ Mbps).
  2. Launch a visually dense VR scene with sudden intra-frame complexity spikes (e.g., Beat Saber modded map Extra Sensory 2 - Luminescent).
  3. Play through a dense shader/particle transition until the encoded HEVC frame size spikes.
  4. vrlink-encwait segfaults in libc.so.6, freezing the headset feed and closing SteamVR with a "Critical Error" and closing the game shortly after (steamvr closing with a critical error happens sometimes, but not every time. Sometimes it just locks up.)

Expected behavior
driver_vrlink (vrlink-encwait) should be capable of handling high-complexity frame spikes without overflowing/reading past its buffer or locking up / crashing SteamVR.

System Information (please complete the following information):
Please use the latest Steam beta client and SteamVR beta for your bug reports!

  • Steam client version (build number or date): 1794536281 Build Date: Fri, Nov 13, 2026 10:00 AM UTC +08:00

  • SteamVR version: 2.19.4 Beta

  • Distribution (e.g. Ubuntu): Fedora KDE 45

  • Steam runtime diagnostics: [generate via Help -> Steam Runtime Diagnostics in the Steam client]
    steam-runtime-info.txt

  • Steam and SteamVR logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs]

  • Minidumps: [run the following command: tar -zcvf ~/Desktop/steam-minidumps.tar.gz /tmp/dumps]

steam-minidumps.tar.gz
steam-logs.tar.gz

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

Additional context
Add any other context about the problem here.
(AI WAS used for the "To reproduce" and "Bug Description". Please don't be annoyed over this, i'm not that great at computing and knowledge of Segmentation Faults and driver issues. Looking at the logs didn't make much sense to me.)
I don't believe this is similar to any of the other issues on here so far. If it is please let me know as i am openly looking for solutions to the problem.
Adding on, every branch (previous, linux-test, release and beta) all had the same issues.

Ngôn ngữ chính
Shell
Star
1.2k
Fork
58
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/SteamVR-for-Linux

Tất cả issue của ValveSoftware/SteamVR-for-Linux

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.