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

Abierto
#1,083 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
linux

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Shell
Estrellas
1.2k
Forks
58
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ValveSoftware/SteamVR-for-Linux

Todos los issues de ValveSoftware/SteamVR-for-Linux

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.