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

未关闭
#1,037 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
Shell
星标
1.2k
派生
58
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/SteamVR-for-Linux 的其他 Issue

查看 ValveSoftware/SteamVR-for-Linux 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。