[BUG] Half-Life: Alyx (native Linux): in-game videos render with a green tint and distortion; fine under Proton

Abierto
#1,037 2 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux

Línea de trabajo

The report identifies videos under game/hlvr/panorama/videos/ and points to the native Linux video decode and upload path. Start by reproducing the issue with the Russell call, then compare native playback with Proton and inspect how the affected VP8 and VP9 files are decoded and uploaded. Done means these videos render with correct colours and without distortion in the native build.

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

Descripción

Describe the bug

In the native Linux build of Half-Life: Alyx, every in-game surface that plays a video file shows a strong green tint
and distorted image: the early video call with Russell, the wall projections and the Combine screens. The same scenes
look correct when the game runs under Proton (I have tried the proton Experimental version) on the same machine.

The affected videos are the files in game/hlvr/panorama/videos/. Both codecs used there are affected:

  • intro_world_heist.webm: VP8, 720×405, yuv420p
  • combinescreen.webm, citadel_building_recruitment.webm and others: VP9, yuv420p

The files themselves are fine: ffmpeg decodes them with correct colours. In game the picture is not just tinted: it
is broken into large blocks and smeared patches, many of them saturated yellow-green. Saturated green is what YUV
data of all zeros turns into after conversion to RGB, so parts of the decoded frames seem to be empty or never
written. The smearing looks like later frames building on those broken frames. The fault seems to be in the native
build's video decode/upload path rather than in the assets or a specific codec.

To reproduce

  1. Run Half-Life: Alyx native (no compatibility tool forced).
  2. Start a new game; reach the first video call with Russell.
  3. The video is green and distorted.
  4. Force Proton Experimental and repeat: the video looks correct.

Expected behavior

Videos render with correct colours, as they do under Proton.

System information

  • Distribution: Arch Linux, kernel 7.2.11-arch1-1, KDE Plasma (Wayland)
  • GPU: NVIDIA GeForce RTX 5090, driver 615.78.08 (open kernel module)
  • CPU: AMD Ryzen 7 9800X3D
  • SteamVR: 2.18.4 (beta branch)
  • Headset: Steam Frame (streaming)
  • Half-Life: Alyx build ID 25487405

Additional context

  • Video calls happen early in the game, so this is easy to reproduce.
  • Photo of the desktop mirror during the first video call (Russell's lab): attached (alyx-video-green.jpg). I took the photo with my phone from the game window but i see the exact same thing in the headset as well.
Image
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.