Retail game on NVIDIA: the intro movie is one flat green (its YUV planes read as zeros) #280

Closed
opened 2026-11-26 04:18:31 +00:00 by github-bot · 3 comments
Owner

@⁠NiiRoZz on GitHub · 2026-11-23 22:18 UTC · original

Game and package version: the newer retail game of the README's Games table, package version 1.0.2.1

GPU and driver: NVIDIA GeForce RTX 5090 (32 GB), 621.35 (32.0.16.2135), 32-lane waves. XCL's log names it as the backend; the machine's integrated GPU is not used.

Windows: Windows 11 Pro 26300

XCL: release builds of main 7a033c8 and 9ab7d76, DXC 1.9.2602.17, run with XCL_NETWORK=0.

What happens

Pressing A on the first menu (the account prompt) starts the title's intro movie. For the movie's whole length (about 15 s, ~450 frames at 30 fps) every presented frame is one flat green. With XCL_FRAME_DUMP=60, each dump in that span logs

present: frame 620 raw texels (most common): 0xff008700×518400

that is, all 518,400 samples of the 3840x2160 target. 0xff008700 is R 0, G 135, B 0: what a BT.601 YUV → RGB conversion gives for Y = U = V = 0. So the title's own conversion shader runs and covers the screen, but reads zeros for all three planes: the movie's plane textures hold no data on the GPU, or the shader reaches them through an empty view.

Expected: the movie's picture.

The menus before it and the screens after it draw their picture. During the movie the log shows no device removal and no crash, and the frame loop is steady: activity (2 s): 60 presents, 300 submits, 360 draws, 60 dispatches (6 draws and 1 dispatch a frame). bink2scarlett.dll is loaded and has a thread running.

To reproduce without a person at the controls

XCL_NETWORK=0 XCL_PRESS_A_AT=30 XCL_FRAME_DUMP=60 XCL_RUN_SECONDS=70

The first menu is up by ~15 s, A is pressed at 30 s, and the green frames are ~600 to ~1050. Seen in every run so far (4 of 4), on a fresh profile and on one that has finished the first-boot setup.

Not known yet

  • Whether it also happens on AMD. #260 mentions a green picture on an RTX 5070 Ti.
  • Which path the planes take: Bink decoding on the CPU into textures in title memory that are not uploaded, or Bink's GPU-assisted path through compute shaders.

Update

#283 fixes this (the planes sit in a GPU-only view of memory the CPU decoder writes through another view; confirmed there on NVIDIA and AMD). I am not writing a separate fix: I will post a test report on #283 from the RTX 5090. What remains after it is the movie's frame rate, which the reports on #283 put at 5 to 12 fps.

report.json and xcl.log are not attached because they hold file paths of my PC; I can paste any part that helps. No game files are attached.

AI-assisted.

**@⁠NiiRoZz** on GitHub · 2026-11-23 22:18 UTC · [original](https://github.com/xcl-dev/xcl/issues/280) **Game and package version:** the newer retail game of the README's Games table, package version 1.0.2.1 **GPU and driver:** NVIDIA GeForce RTX 5090 (32 GB), 621.35 (32.0.16.2135), 32-lane waves. XCL's log names it as the backend; the machine's integrated GPU is not used. **Windows:** Windows 11 Pro 26300 **XCL:** release builds of main `7a033c8` and `9ab7d76`, DXC 1.9.2602.17, run with `XCL_NETWORK=0`. ### What happens Pressing A on the first menu (the account prompt) starts the title's intro movie. For the movie's whole length (about 15 s, ~450 frames at 30 fps) every presented frame is one flat green. With `XCL_FRAME_DUMP=60`, each dump in that span logs ``` present: frame 620 raw texels (most common): 0xff008700×518400 ``` that is, all 518,400 samples of the 3840x2160 target. `0xff008700` is R 0, G 135, B 0: what a BT.601 YUV → RGB conversion gives for Y = U = V = 0. So the title's own conversion shader runs and covers the screen, but reads zeros for all three planes: the movie's plane textures hold no data on the GPU, or the shader reaches them through an empty view. Expected: the movie's picture. The menus before it and the screens after it draw their picture. During the movie the log shows no device removal and no crash, and the frame loop is steady: `activity (2 s): 60 presents, 300 submits, 360 draws, 60 dispatches` (6 draws and 1 dispatch a frame). `bink2scarlett.dll` is loaded and has a thread running. ### To reproduce without a person at the controls ``` XCL_NETWORK=0 XCL_PRESS_A_AT=30 XCL_FRAME_DUMP=60 XCL_RUN_SECONDS=70 ``` The first menu is up by ~15 s, A is pressed at 30 s, and the green frames are ~600 to ~1050. Seen in every run so far (4 of 4), on a fresh profile and on one that has finished the first-boot setup. ### Not known yet - Whether it also happens on AMD. #260 mentions a green picture on an RTX 5070 Ti. - Which path the planes take: Bink decoding on the CPU into textures in title memory that are not uploaded, or Bink's GPU-assisted path through compute shaders. ### Update #283 fixes this (the planes sit in a GPU-only view of memory the CPU decoder writes through another view; confirmed there on NVIDIA and AMD). I am not writing a separate fix: I will post a test report on #283 from the RTX 5090. What remains after it is the movie's frame rate, which the reports on #283 put at 5 to 12 fps. `report.json` and `xcl.log` are not attached because they hold file paths of my PC; I can paste any part that helps. No game files are attached. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:18:31 +00:00
Author
Owner

@⁠Cattn on GitHub · 2026-11-23 22:38 UTC · original

#283 fixes this here. RTX 4070, Windows 11: the intro video plays with it, and every frame is 0xff008700 without it. Details are in https://github.com/ivall/xcl/pull/283#issuecomment-7116010282.

What I traced before finding it, in case it helps:

  • Where the planes are: the title makes nine R8 plane textures, three buffers of Y 3840×2160 and Cr/Cb 1920×1080 each, before sign-in. They are placed at addresses inside a 24 GB (0x600000000) reservation that was only reserved, never committed. It is outside XCL's windows, and #252 already write-watches it.
  • How that range is mapped: the title maps that range for the GPU with command queue #31 of the newer layout (ID3D12CommandQueue::#31 (newer layout) in called_stubs). Its arguments are batches of { address, range count, ranges of (1 map / 2 unmap, pool page, count) }, plus a page pool address and its page count.
  • Why the pool doesn't work as a source: translating those pool pages to pool + page × 64 KiB gives unreadable addresses with no physical page there. That isn't where the data is.
  • Where the data is: the decoder writes the same offset in the reservation of the same size next to it, 0x6_0000_0000 away. That's the pairing #283 uses.
**@⁠Cattn** on GitHub · 2026-11-23 22:38 UTC · [original](https://github.com/xcl-dev/xcl/issues/280#issuecomment-7116010630) #283 fixes this here. RTX 4070, Windows 11: the intro video plays with it, and every frame is `0xff008700` without it. Details are in https://github.com/ivall/xcl/pull/283#issuecomment-7116010282. What I traced before finding it, in case it helps: - **Where the planes are:** the title makes nine R8 plane textures, three buffers of Y 3840×2160 and Cr/Cb 1920×1080 each, before sign-in. They are placed at addresses inside a 24 GB (`0x600000000`) reservation that was only reserved, never committed. It is outside XCL's windows, and #252 already write-watches it. - **How that range is mapped:** the title maps that range for the GPU with command queue `#31` of the newer layout (`ID3D12CommandQueue::#31 (newer layout)` in `called_stubs`). Its arguments are batches of { address, range count, ranges of (1 map / 2 unmap, pool page, count) }, plus a page pool address and its page count. - **Why the pool doesn't work as a source:** translating those pool pages to `pool + page × 64 KiB` gives unreadable addresses with no physical page there. That isn't where the data is. - **Where the data is:** the decoder writes the same offset in the reservation of the same size next to it, `0x6_0000_0000` away. That's the pairing #283 uses.
Author
Owner

@⁠mariuslozo-boop on GitHub · 2026-11-23 22:41 UTC · original

Fixed by #283 here too. RTX 5070 Ti (16 GB), driver 616.92, Ryzen 7 7700X, Windows 11 Pro 26300, main 9ab7d76 + #283 (head 2a64505) + #244, XCL_NETWORK=0. Someone watched the run: the intro movie plays with its real picture instead of flat green, and the title goes on past it.

Without #283, on the same machine, every movie frame is 0xff008700. While the movie plays the frame rate is lower (4.6 fps over frames 600 to 900), as #283 says. Details and the per-build table are in https://github.com/ivall/xcl/pull/283#issuecomment-7116002958.

AI-assisted: Claude Code (Claude Opus 5.5) wrote this comment from our runs.

**@⁠mariuslozo-boop** on GitHub · 2026-11-23 22:41 UTC · [original](https://github.com/xcl-dev/xcl/issues/280#issuecomment-7116069341) Fixed by #283 here too. RTX 5070 Ti (16 GB), driver 616.92, Ryzen 7 7700X, Windows 11 Pro 26300, main `9ab7d76` + #283 (head `2a64505`) + #244, `XCL_NETWORK=0`. Someone watched the run: the intro movie plays with its real picture instead of flat green, and the title goes on past it. Without #283, on the same machine, every movie frame is `0xff008700`. While the movie plays the frame rate is lower (4.6 fps over frames 600 to 900), as #283 says. Details and the per-build table are in https://github.com/ivall/xcl/pull/283#issuecomment-7116002958. AI-assisted: Claude Code (Claude Opus 5.5) wrote this comment from our runs.
Author
Owner

@⁠ivall on GitHub · 2026-11-23 23:40 UTC · original

Fixed by #283 (merged in 21b8723): GPU views of the title's CPU memory read the CPU view, so the movie's plane textures get their data. Closing - please reopen if the intro is still green on current main.

**@⁠ivall** on GitHub · 2026-11-23 23:40 UTC · [original](https://github.com/xcl-dev/xcl/issues/280#issuecomment-7117232654) Fixed by #283 (merged in 21b8723): GPU views of the title's CPU memory read the CPU view, so the movie's plane textures get their data. Closing - please reopen if the intro is still green on current main.
This discussion has been locked. Commenting is limited to contributors.
No description provided.