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

Aperta
#1,037 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux

Direzione di ricerca

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.

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

Descrizione

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
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.