Present: blend the second present plane (the Series S interface) over the first, fixing the black boot and missing prompts #1081

Open
github-bot wants to merge 2 commits from github-bot/gh-1081 into main AGit
Owner

@⁠KyleS98 on GitHub · 2026-11-25 18:44 UTC · original
KyleS98:fix/series-s-interface-plane → main · +338 −5 · 4 files · 2 commits · open

What

With --console series-s the title presents two planes, not one:

plane what size placement
0 the game 1920x1080 R8G8B8A8 [0, 0, 1.0, 1.0] (the whole screen)
1 the interface 3840x2160 R8G8B8A8 [0, 0, 1.0, 1.0]

The plane descriptions are 72 bytes apart. I read them from title memory at present: token and count, then the resources, source rects, placement rects, and further fields.

We only showed plane 0. So with the Series S profile everything the title draws on its interface plane was missing:

  • the boot screens: the account picker, the Rockstar logo, the loading art. The screen stayed black for over a minute, which is the "black screen, no loading intro" people report;
  • the "NINE MONTHS AGO" card;
  • the in-game prompts ("Move around / Move the camera").

With --console series-x the title presents one 3840x2160 plane with everything in it, which is why the X profile shows them.

Change

  • A new crates/victory-gpu/src/compose.rs adds one small pass. A full-screen triangle samples plane 0 with a linear filter at the back buffer's size, then blends plane 1 over it with premultiplied alpha, which is what display planes take.
  • It runs only when the title presents a second plane. With one plane the present is the same CopyResource as before.
  • The pass compiles its HLSL with the existing host::compile (FXC, SM 5.1), like the depth-plane pass. It writes its descriptors into a 16-slot ring of its own.
  • VICTORY_PLANE_ALPHA=straight switches to straight alpha. VICTORY_PLANES=0 turns the blend off.
  • With VICTORY_ASYNC_PRESENT, a two-plane present isn't sent behind the queue's line. It falls back to the present in line, which blends.

Tested

RTX 3090 Ti, Windows 11, warm shader cache, --console series-s, grabs every 5 to 8 s:

  • This branch (upstream d510ee4 plus this commit): the account picker shows within 15 s and stays up, because main has no scripted input. On plain main plus #835 the same boot was black for the whole 240 s.
  • With our other branches (#798 and the Neo defaults), scripted Enter presses, 7-minute run:
    • The loading art (jungle, flamingos, the Lucia and Jason posters) shows from about 20 s.
    • Then "NINE MONTHS AGO" over the cutscene, then the cell with the "Move around / Move the camera" prompt.
    • The cell runs at 6.7 fps (150 ms a frame) with and without the pass, so it costs nothing visible.
    • Before this, the same build was black until the world rendered, and the prompts never appeared.

I haven't confirmed whether the console blends premultiplied or straight. Interface pixels that are fully opaque or fully transparent come out the same either way. If someone sees dark or light fringes around interface text, VICTORY_PLANE_ALPHA=straight is the A/B to try.

AI-assisted (Claude Code, Claude Opus 5.5); runs and grabs on my machine; no game data in the change.

**@⁠KyleS98** on GitHub · 2026-11-25 18:44 UTC · [original](https://github.com/fxceless/victory-fork/pull/1081) `KyleS98:fix/series-s-interface-plane` → `main` · +338 −5 · 4 files · 2 commits · open ## What With `--console series-s` the title presents **two planes**, not one: | plane | what | size | placement | |---|---|---|---| | 0 | the game | 1920x1080 R8G8B8A8 | `[0, 0, 1.0, 1.0]` (the whole screen) | | 1 | the interface | 3840x2160 R8G8B8A8 | `[0, 0, 1.0, 1.0]` | The plane descriptions are 72 bytes apart. I read them from title memory at present: token and count, then the resources, source rects, placement rects, and further fields. We only showed plane 0. So with the Series S profile everything the title draws on its interface plane was missing: - the boot screens: the account picker, the Rockstar logo, the loading art. The screen stayed black for over a minute, which is the "black screen, no loading intro" people report; - the "NINE MONTHS AGO" card; - the in-game prompts ("Move around / Move the camera"). With `--console series-x` the title presents one 3840x2160 plane with everything in it, which is why the X profile shows them. ## Change - A new `crates/victory-gpu/src/compose.rs` adds one small pass. A full-screen triangle samples plane 0 with a linear filter at the back buffer's size, then blends plane 1 over it with **premultiplied alpha**, which is what display planes take. - It runs only when the title presents a second plane. With one plane the present is the same `CopyResource` as before. - The pass compiles its HLSL with the existing `host::compile` (FXC, SM 5.1), like the depth-plane pass. It writes its descriptors into a 16-slot ring of its own. - `VICTORY_PLANE_ALPHA=straight` switches to straight alpha. `VICTORY_PLANES=0` turns the blend off. - With `VICTORY_ASYNC_PRESENT`, a two-plane present isn't sent behind the queue's line. It falls back to the present in line, which blends. ## Tested RTX 3090 Ti, Windows 11, warm shader cache, `--console series-s`, grabs every 5 to 8 s: - **This branch** (upstream `d510ee4` plus this commit): the account picker shows within 15 s and stays up, because main has no scripted input. On plain main plus #835 the same boot was black for the whole 240 s. - **With our other branches** (#798 and the Neo defaults), scripted Enter presses, 7-minute run: - The loading art (jungle, flamingos, the Lucia and Jason posters) shows from about 20 s. - Then "NINE MONTHS AGO" over the cutscene, then the cell with the "Move around / Move the camera" prompt. - The cell runs at **6.7 fps (150 ms a frame) with and without the pass**, so it costs nothing visible. - Before this, the same build was black until the world rendered, and the prompts never appeared. I haven't confirmed whether the console blends premultiplied or straight. Interface pixels that are fully opaque or fully transparent come out the same either way. If someone sees dark or light fringes around interface text, `VICTORY_PLANE_ALPHA=straight` is the A/B to try. AI-assisted (Claude Code, Claude Opus 5.5); runs and grabs on my machine; no game data in the change.
With the Series S profile the title presents two planes: the game at
1920x1080 and its interface at 3840x2160, both placed over the whole screen
(plane descriptions 72 bytes apart). Only the first was shown, so the boot
(logos, account picker, loading screens) stayed black for over a minute and
the in-game prompts were missing. A pass now draws the game plane to the
back buffer and the interface over it with premultiplied alpha
(VICTORY_PLANE_ALPHA=straight: straight alpha; VICTORY_PLANES=0: the first
plane only, as before). With two planes a present is not sent behind the
queue's line (VICTORY_ASYNC_PRESENT): the present in line blends them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:57:09 +00:00
Author
Owner

@⁠Dathinel on GitHub · 2026-11-25 18:55 UTC · original

Test report from the small end: RTX 3050 Laptop 4 GB (driver 610.62, 32-lane waves), Ryzen 7 7435HS, Windows 11 26200, title build 1.0.2.1. Release build, no VICTORY_* switches, window on a 1920x1080 screen.

Before (main d510ee4, --console series-s): the window stays black through boot. A desktop screenshot 42 s in is fully black while the caption reads 30 fps and 11 draws/frame; the log shows every draw run, textures uploaded and nothing dropped. The same binary without --console (Series X) shows the loading art at that moment, so it is the profile, not the build.

After (local merge of this PR and #798 onto d510ee4, both apply cleanly; --console series-s):

  • 45 s in: the interface is there (the profile and player prompts at the bottom right).
  • 62 s in: the intro video fills the window, 30 fps, 4 draws/frame.

So the black boot is fixed on this card. The log still has the slot=0x218 "pipeline creation method that is not implemented" lines, as before; no new warnings.

Not tested: the world (the run was stopped at 75 s), so nothing here about #798's effect or about video memory, which is what I expect to bite first on 4 GB; this PR alone without #798; Series X with this PR.

AI-assisted (Claude Code). No game data attached.

**@⁠Dathinel** on GitHub · 2026-11-25 18:55 UTC · [original](https://github.com/fxceless/victory-fork/pull/1081#issuecomment-7171580707) Test report from the small end: RTX 3050 Laptop 4 GB (driver 610.62, 32-lane waves), Ryzen 7 7435HS, Windows 11 26200, title build 1.0.2.1. Release build, no `VICTORY_*` switches, window on a 1920x1080 screen. **Before** (`main` d510ee4, `--console series-s`): the window stays black through boot. A desktop screenshot 42 s in is fully black while the caption reads 30 fps and 11 draws/frame; the log shows every draw run, textures uploaded and nothing dropped. The same binary without `--console` (Series X) shows the loading art at that moment, so it is the profile, not the build. **After** (local merge of this PR and #798 onto d510ee4, both apply cleanly; `--console series-s`): - 45 s in: the interface is there (the profile and player prompts at the bottom right). - 62 s in: the intro video fills the window, 30 fps, 4 draws/frame. So the black boot is fixed on this card. The log still has the `slot=0x218` "pipeline creation method that is not implemented" lines, as before; no new warnings. Not tested: the world (the run was stopped at 75 s), so nothing here about #798's effect or about video memory, which is what I expect to bite first on 4 GB; this PR alone without #798; Series X with this PR. AI-assisted (Claude Code). No game data attached.
Author
Owner

@⁠HLVM04 on GitHub · 2026-11-25 18:56 UTC · original

On the open question (premultiplied or straight): on the Series X profile the title composites its interface layer into the single plane itself, and that final draw uses blend one / one-minus-source-alpha. So the title's own compositing is premultiplied, which matches this PR's default.

Independent data point, RTX 5070 Ti, Series S profile: we see the same two planes (plane 0 the 1920x1080 world, plane 1 a 3840x2160 format 28 layer with menus, loading art, the intro video and the HUD's control hints; descriptions 0x48 bytes apart). A local pass of ours that draws planes 1-3 over the window buffer with one / one-minus-source-alpha (source rect, linear sampler, scaled full-window quad) brings back the intro video and the in-world control hints. No video texture was refused or dropped in those runs, so the black boot is the missing plane, not a texture format. We haven't run this PR's code itself.

**@⁠HLVM04** on GitHub · 2026-11-25 18:56 UTC · [original](https://github.com/fxceless/victory-fork/pull/1081#issuecomment-7171611668) On the open question (premultiplied or straight): on the Series X profile the title composites its interface layer into the single plane itself, and that final draw uses blend one / one-minus-source-alpha. So the title's own compositing is premultiplied, which matches this PR's default. Independent data point, RTX 5070 Ti, Series S profile: we see the same two planes (plane 0 the 1920x1080 world, plane 1 a 3840x2160 format 28 layer with menus, loading art, the intro video and the HUD's control hints; descriptions 0x48 bytes apart). A local pass of ours that draws planes 1-3 over the window buffer with one / one-minus-source-alpha (source rect, linear sampler, scaled full-window quad) brings back the intro video and the in-world control hints. No video texture was refused or dropped in those runs, so the black boot is the missing plane, not a texture format. We haven't run this PR's code itself.
Author
Owner

@⁠LeonardoS11 on GitHub · 2026-11-25 19:56 UTC · original

This fixes it on an RTX 3080 Ti as well. Windows 11, 64 GB RAM, diag build with diagnostics, --console series-s, this PR merged onto 79cfdd9 together with other open PRs (#798 among them). Before it the window stayed black through the boot screens and the loading screen until the 3D world started (frames saved at 30 s and 60 s were fully black; I had noted that on #798). With it the loading art is there at 60 s and the boot sequence shows, as the person at the keyboard confirmed without being asked. The world's picture is unchanged in the first room. Not checked yet: the in-game prompts and the pause menu. (Frames saved by me on the hardware above; written with Claude Code.)

**@⁠LeonardoS11** on GitHub · 2026-11-25 19:56 UTC · [original](https://github.com/fxceless/victory-fork/pull/1081#issuecomment-7172975169) This fixes it on an RTX 3080 Ti as well. Windows 11, 64 GB RAM, `diag` build with `diagnostics`, `--console series-s`, this PR merged onto 79cfdd9 together with other open PRs (#798 among them). Before it the window stayed black through the boot screens and the loading screen until the 3D world started (frames saved at 30 s and 60 s were fully black; I had noted that on #798). With it the loading art is there at 60 s and the boot sequence shows, as the person at the keyboard confirmed without being asked. The world's picture is unchanged in the first room. Not checked yet: the in-game prompts and the pause menu. (Frames saved by me on the hardware above; written with Claude Code.)
Author
Owner

@⁠rafaconvaitis on GitHub · 2026-11-25 23:39 UTC · original

An RTX 4070 Series S datapoint on Flamingo 63d976b (native Windows/D3D12, driver 616.64). This pin has its own multi-plane implementation. I added an opt-in metadata trace and compared the two pause states in the same running title:

  • At the playable prison window the pause menu and Retry Checkpoint were visible. 85?92 draws/frame, zero dropped for missing host pipelines.
  • During the playable shop tutorial the pause showed a blurred game background and no menu entries. 48 draws/frame, zero dropped for missing host pipelines. The aiming prompt resurfaced upon returning to play.
  • In both pause states the title passed two planes inline. Both had valid host resources and the compositor completed. Plane 0 was 1920x1080 and plane 1 was 3840x2160, both format 28, flags 0, full source rectangles. The same two planes also carried visible boot UI in this launch.

This confirms a narrower shop-pause case even when two planes are admitted to composition. The trace did not read the contents of the UI render target. There is an earlier Series S blank-pause comparison at #86 .

**@⁠rafaconvaitis** on GitHub · 2026-11-25 23:39 UTC · [original](https://github.com/fxceless/victory-fork/pull/1081#issuecomment-7177871367) An RTX 4070 Series S datapoint on Flamingo `63d976b` (native Windows/D3D12, driver 616.64). This pin has its own multi-plane implementation. I added an opt-in metadata trace and compared the two pause states in the same running title: - At the playable prison window the pause menu and Retry Checkpoint were visible. 85?92 draws/frame, zero dropped for missing host pipelines. - During the playable shop tutorial the pause showed a blurred game background and no menu entries. 48 draws/frame, zero dropped for missing host pipelines. The aiming prompt resurfaced upon returning to play. - In both pause states the title passed two planes inline. Both had valid host resources and the compositor completed. Plane 0 was 1920x1080 and plane 1 was 3840x2160, both format 28, flags 0, full source rectangles. The same two planes also carried visible boot UI in this launch. This confirms a narrower shop-pause case even when two planes are admitted to composition. The trace did not read the contents of the UI render target. There is an earlier Series S blank-pause comparison at https://git.gtahub.st/github/fxceless--victory-fork/pulls/86 .
Author
Owner

@⁠KyleS98 on GitHub · 2026-11-26 08:52 UTC · original · edited 2026-11-26 08:57 UTC

Thank you all for testing this. Where it stands:

  • Confirmed fixing the black boot on an RTX 3050 Laptop 4 GB (@⁠Dathinel), an RTX 3080 Ti (@⁠LeonardoS11) and my RTX 3090 Ti; @⁠HLVM04 sees the same two planes on an RTX 5070 Ti and gets the video and hints back with an independent pass.
  • @⁠HLVM04, thanks for the evidence on the blend: the title's own Series X composite uses one / one-minus-source-alpha, so premultiplied stays the default here and VICTORY_PLANE_ALPHA=straight stays only as a test switch.
  • @⁠rafaconvaitis, your shop-pause case (both planes admitted and composited, a blurred background and no menu entries) reads to me as the entries not being in plane 1 at that moment, which would be the content of the interface target and not the composition. This PR does not address it; I have not reproduced it.

The branch is merged up to main 46bf535 (head 08ab041; the conflict was only the module list).

Re-checked on the RTX 3090 Ti, Series S profile, 280 s from boot: the loading art and boot screens are shown as before.

Edit, correcting what I first wrote here: with this PR alone on main the Series S world still goes black a few seconds after the prologue's title card. That is not a new regression and not from this PR; it is the upscaler problem #798 is for (plain 46bf535 shows the same black world, Series X is fine, and my build that carries both PRs shows the cell). So on Series S the two belong together: this one for the boot screens and prompts, #798 for the world.

AI-assisted (Claude Code, Claude Fable 5.2).

**@⁠KyleS98** on GitHub · 2026-11-26 08:52 UTC · [original](https://github.com/fxceless/victory-fork/pull/1081#issuecomment-7187126047) · edited 2026-11-26 08:57 UTC Thank you all for testing this. Where it stands: - Confirmed fixing the black boot on an RTX 3050 Laptop 4 GB (@⁠Dathinel), an RTX 3080 Ti (@⁠LeonardoS11) and my RTX 3090 Ti; @⁠HLVM04 sees the same two planes on an RTX 5070 Ti and gets the video and hints back with an independent pass. - @⁠HLVM04, thanks for the evidence on the blend: the title's own Series X composite uses one / one-minus-source-alpha, so premultiplied stays the default here and `VICTORY_PLANE_ALPHA=straight` stays only as a test switch. - @⁠rafaconvaitis, your shop-pause case (both planes admitted and composited, a blurred background and no menu entries) reads to me as the entries not being in plane 1 at that moment, which would be the content of the interface target and not the composition. This PR does not address it; I have not reproduced it. The branch is merged up to `main` `46bf535` (head `08ab041`; the conflict was only the module list). Re-checked on the RTX 3090 Ti, Series S profile, 280 s from boot: the loading art and boot screens are shown as before. Edit, correcting what I first wrote here: with this PR alone on `main` the Series S world still goes black a few seconds after the prologue's title card. That is not a new regression and not from this PR; it is the upscaler problem #798 is for (plain `46bf535` shows the same black world, Series X is fine, and my build that carries both PRs shows the cell). So on Series S the two belong together: this one for the boot screens and prompts, #798 for the world. AI-assisted (Claude Code, Claude Fable 5.2).
Author
Owner

@⁠hadrianhola on GitHub · 2026-11-26 17:56 UTC · original

Tested together with #798 on an 8 GB card, where the Series S profile turns out to be the better way to play:

Machine: RTX 4060 8 GB desktop, driver 610.88, HAGS on · i7-5820K (6C/12T) · 32 GB · Windows 10 22H2 19045.
Build: main at a20809d + #856 (Agility on Windows 10) + this PR + #798, release, --console series-s. Switches: the timing-run set from diagnostics/README.md without GPU_TIMING/DRED, plus VICTORY_CARD_HASH_LEN=1 VICTORY_LOOKUP_CACHE=1 VICTORY_HEAP_WORKER=1 VICTORY_SETTLE_ROOM=1 VICTORY_PARALLEL_REFRESH=1. Unattended, 600 s from launch, idle at the cell window.

  • This PR alone (without #798): the account picker, the loading art and "NINE MONTHS AGO" show; the world is black, while the log shows it running at 6.5–6.9 fps with ~4,300 draws a frame. That is #798's case.
  • With #798: the bar cutscene, the cell, the yard and the "Move around / Move the camera" prompt all show. Numbers in the #798 comment.

One gap: with two planes the corner box is not drawn, and its load line (the machine's load over the last second) never appears in the log. The two-plane branch in Host::present presents and returns right after Compose::record, so it skips crate::fpsbox::draw (and, in diagnostics builds, capture::read_back / capture::probe), which the one-plane branch runs after its CopyResource. Drawing the box onto the back buffer after the blend would keep both profiles' readings comparable.

AI-assisted (Claude Code).

**@⁠hadrianhola** on GitHub · 2026-11-26 17:56 UTC · [original](https://github.com/fxceless/victory-fork/pull/1081#issuecomment-7199872475) Tested together with #798 on an **8 GB card**, where the Series S profile turns out to be the better way to play: **Machine:** RTX 4060 8 GB desktop, driver 610.88, HAGS on · i7-5820K (6C/12T) · 32 GB · Windows 10 22H2 19045. **Build:** `main` at `a20809d` + #856 (Agility on Windows 10) + this PR + #798, release, `--console series-s`. Switches: the `timing-run` set from `diagnostics/README.md` without `GPU_TIMING`/`DRED`, plus `VICTORY_CARD_HASH_LEN=1 VICTORY_LOOKUP_CACHE=1 VICTORY_HEAP_WORKER=1 VICTORY_SETTLE_ROOM=1 VICTORY_PARALLEL_REFRESH=1`. Unattended, 600 s from launch, idle at the cell window. - **This PR alone** (without #798): the account picker, the loading art and "NINE MONTHS AGO" show; the world is black, while the log shows it running at 6.5–6.9 fps with ~4,300 draws a frame. That is #798's case. - **With #798:** the bar cutscene, the cell, the yard and the "Move around / Move the camera" prompt all show. Numbers in the #798 comment. One gap: **with two planes the corner box is not drawn, and its load line (`the machine's load over the last second`) never appears in the log.** The two-plane branch in `Host::present` presents and returns right after `Compose::record`, so it skips `crate::fpsbox::draw` (and, in diagnostics builds, `capture::read_back` / `capture::probe`), which the one-plane branch runs after its `CopyResource`. Drawing the box onto the back buffer after the blend would keep both profiles' readings comparable. _AI-assisted (Claude Code)._
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1081/head:github-bot/gh-1081'
git switch 'github-bot/gh-1081'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1081'
git switch 'github-bot/gh-1081'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1081'
git switch 'github-bot/gh-1081'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1081'
git switch 'main'
git merge --squash 'github-bot/gh-1081'
git switch 'main'
git merge --ff-only 'github-bot/gh-1081'
git switch 'main'
git merge 'github-bot/gh-1081'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.