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

Đang mở
#1,037 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
audio-video-rtc

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Shell
Star
1.2k
Fork
58
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/SteamVR-for-Linux

Tất cả issue của ValveSoftware/SteamVR-for-Linux

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.