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

Aperta
#1,083 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
linux

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Shell
Stelle
1.2k
Fork
58
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ValveSoftware/SteamVR-for-Linux

Tutte le issue di ValveSoftware/SteamVR-for-Linux

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.