Present: blend the second present plane (the Series S interface) over the first, fixing the black boot and missing prompts #1081
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1081
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1081"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@KyleS98 on GitHub · 2026-11-25 18:44 UTC · original
KyleS98:fix/series-s-interface-plane→main· +338 −5 · 4 files · 2 commits · openWhat
With
--console series-sthe title presents two planes, not one:[0, 0, 1.0, 1.0](the whole screen)[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:
With
--console series-xthe title presents one 3840x2160 plane with everything in it, which is why the X profile shows them.Change
crates/victory-gpu/src/compose.rsadds 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.CopyResourceas before.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=straightswitches to straight alpha.VICTORY_PLANES=0turns the blend off.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:d510ee4plus 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.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=straightis 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.
@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 (
maind510ee4,--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):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.
@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.
@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,
diagbuild withdiagnostics,--console series-s, this PR merged onto79cfdd9together 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.)@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: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 .
46bf535); the module list keeps both new modules 08ab04187c@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:
VICTORY_PLANE_ALPHA=straightstays only as a test switch.The branch is merged up to
main46bf535(head08ab041; 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
mainthe 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 (plain46bf535shows 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).
@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:
mainata20809d+ #856 (Agility on Windows 10) + this PR + #798, release,--console series-s. Switches: thetiming-runset fromdiagnostics/README.mdwithoutGPU_TIMING/DRED, plusVICTORY_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.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 inHost::presentpresents and returns right afterCompose::record, so it skipscrate::fpsbox::draw(and, in diagnostics builds,capture::read_back/capture::probe), which the one-plane branch runs after itsCopyResource. Drawing the box onto the back buffer after the blend would keep both profiles' readings comparable.AI-assisted (Claude Code).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.