Skip to content

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

Done

Description

@NiiRoZz

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

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.

Activity

  1. Cattn commented on Nov 23, 2026

    @Cattn
    Contributor

    #283 fixes this here. RTX 4070, Windows 11: the intro video plays with it, and every frame is 0xff008700 without it. Details are in #283 (comment).

    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 KernelX: GPU-visible title memory outside the windows is write-watched (retail menu text complete) #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 KernelX / title textures: a GPU view of the title's CPU memory reads the CPU view (retail intro video, no green screen) #283 uses.
  2. mariuslozo-boop commented on Nov 23, 2026

    @mariuslozo-boop

    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 #283 (comment).

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

  3. ivall commented on Nov 23, 2026

    @ivall
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions