Series S: the title keeps its own upscaler, not FSR 4 (world frames were black) #798
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!798
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-798"
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 08:14 UTC · original
KyleS98:fix/series-s-own-upscaler→main· +209 −6 · 3 files · 1 commits · openWith
--console series-sthe world now renders. Before, every world frame was black. On this branch alone, on an RTX 3090 Ti with no switches, the prologue runs at 5.5 fps steady. With the texture-check changes of #768 on top it reaches 6.2 fps, against 4.7 to 4.8 fps on the Series X profile of that same build. This addresses the black-screen reports in #13, #176, #425 and #616.Why the frames were black
The title chooses its upscaler from the console it believes it is on. A static look at the executable, kept outside the repository, shows:
0x60Series S,0x64Series X) and maps it to a device type.FSR 4's output never reaches the screen under VIctory. Its ACO pipelines do not deserialize (#13), and its passes do not produce a picture here. Holding back
amd_fidelityfx_upscaler_xbox.dlldoes not help either: the title still picks FSR 4, its context creation fails, and the title divides by zero inside the FSR 4 wrapper.The change
victory-game:KnownBuildgetspatches: &[CodePatch]. Each patch is an RVA, a short signature that must be there, and our own replacement bytes. The asset policy allows per-build offsets and byte signatures. The replacement ismov eax, 6; ret. The one known build, added by its BLAKE3 hash, makes both functions that choose the upscaler return 6. A Series S then keeps its own render profile, with the upscaler that works.victory-loader:PreparedImage::patchchecks every expected run before writing anything, so a patch made for another build changes nothing and is an error. A patched copy has a file name of its own (victory-image-<hash>-p<patches>.dll), so the patched and plain copies never stand in for each other.run: applies the known build's patches.VICTORY_TITLE_PATCHES=0turns them off (for whoever brings FSR 4 up, as in #86, #188, #258 and #423).VICTORY_TITLE_PATCH=<rva>:<old hex>:<new hex>,...adds more for experiments.Series X is unchanged. There the chooser already returns 6.
Tested
RTX 3090 Ti, Windows 11,
diagbuild of this branch (on8dd30ab),--console series-s, no switches. Input wasVICTORY_KEYSonly.cargo test -p victory-game -p victory-loader: 29 passed, including the newtitle_patches_check_before_they_writeandknown_builds_are_well_formed.cargo xtask policy: 171 files ok.🤖 Generated with Claude Code
@HLVM04 on GitHub · 2026-11-25 09:26 UTC · original
Another NVIDIA card, for comparison with the black screen above: on an RTX 5070 Ti (16 GB, wave32 only, NVIDIA 616.64, Windows 11), this PR merged onto
9376fd6with the Series S profile renders the world. The first gameplay scene (the window scene) is lit and correct, with no device loss. The band of blocks along the bottom edge that the Series X profile shows on the same tree is gone; a few blocky spots show early on.Same tree, one run each, about 4.5 minutes into the first gameplay scene:
I don't have the plane count or present format from these runs, so this only says the patched path can reach a visible world on a second NVIDIA card.
@cdomergue on GitHub · 2026-11-25 09:42 UTC · original
Update after loading finished: the 3D scene is visible on my RTX 4070 SUPER in Series S. I could see a character inside a vehicle and the environment outside. My earlier conclusion that the world stayed black was premature. The profile selector still appears black.
The visible scene was on #798 merged onto
9376fd6, Windows, NVIDIA driver 616.92, with the Series S settings file and a diagnostic build. Both upscaler patches were applied. The initial run on the PR head alone (c750c57, release build) had reached dialogue while the window was still black. I haven't verified the same post-loading scene on that release build.For the menu, the diagnostic captures at frames 128 and 256 showed two planes supplied to PresentX. The presenter selected the first plane's single 1920 × 1080 RGBA8 resource (DXGI format 28). Its captured RGB values were all zero. In the same frames, a separate 3840 × 2160 RGBA8 render target contained the profile-selector text and controller prompts. So the menu is being drawn, and its visible content is missing from the image selected for display.
@KyleS98 on GitHub · 2026-11-25 09:52 UTC · original
Thanks @cdomergue for the careful check, and @HLVM04 for the second card.
What the 3090 Ti presents. None of my earlier logs had this, so I added a log line to the present: it prints the plane count, the first plane's resources, and the format and size of the resource we show whenever they change. A run with it (this patch on top of
9376fd6and my other branches, diag build,--console series-s, 8 minutes through the cutscene, the cell and the corridor) printed one line, at frame 1, and never changed:So that's two planes, one resource in the first,
DXGI_FORMAT_R8G8B8A8_UNORM, 1920×1080, from the first present on. Everything we show goes through that first plane. The second plane is never shown, as you said.What the same run looked like. Window grabs every 10 s (of the window itself, not the screen): the client area is black for the first ~90 s here too (boot, logos, the player select that
VICTORY_KEYSpresses through, at 4 to 8 draws a frame). The first picture is the "Nine months ago" card about 100 s in, then the cutscene, then the lit cell and corridor. So on this machine a black logo and menu don't predict a black world either. What separates your run from mine is the world staying black.Things that would narrow it down on your PC:
(N being made)count shows that, and it should fall to 0. A second run on the same cache rules that out.--console series-x. You saw a picture on Series X with another revision. If this revision shows the world there, the difference is in what the Series S profile changes (render sizes, the second plane, budgets). If Series X is black too, it's the revision.cannot present this format,no swap chain,swap chain not resized.RUST_LOG=warn,victory_gpu::queue=info. If your first plane differs (another format or size, orformat=-1for no host copy), that points straight at the cause.@timorjay on GitHub · 2026-11-25 10:10 UTC · original · edited 2026-11-25 10:16 UTC
I reproduced the Series S display fix on an RTX 5090 D v2 (24 GB), driver 617.42, Ryzen 7 9800X3D, Windows Sandbox on Windows 11 Pro build 26300.
I compared release builds of
9376fd60and the same commit with onlyc750c57fapplied. Both used--console series-s,VICTORY_LEVELS_ON_DEMAND=1, copies of the same local prologue save/settings, and separate, initially empty VIctory caches. The compatibility layer identified the title and logged both built-in upscaler changes on the patched run.The patched run had 75 application-frame-time samples over 90 seconds at the fixed window view, with FPS P10/P90 of 2.04/4.31. The shirt and wall rendered, but Lucia's facial skin and neck were still missing on this launch. I did not see the movement hint that the Series X profile draws. Neither run logged device removal before I stopped it. The useful change in this pair is that the rendered world actually reached the window.
A second launch in a freshly created offline Sandbox also cleared the black opening screens with menu input and reached the prison view. I verified the fixed view against the first run at three successive checks. This second run checked launch reproducibility.
The
victory-gameandvictory-loadertest targets passed locally (32 tests including integration tests). Hardware run and write-up assisted by Codex.@KyleS98 on GitHub · 2026-11-25 10:17 UTC · original
Thanks @timorjay, that's a clean pair. About five minutes to the first world frame on an empty cache also fits point 1 above: the opening screens stay black while the world's pipelines are made, so a black screen in the first minutes of a first run says little either way.
On the missing facial skin and neck: I think that's
9376fd6itself, not this PR. I see the same thing on9376fd6merged with my other branches, and it followsVICTORY_HEAP_SYNC(the mirroring of byte-copied descriptor records added ina26859f). Runs on an RTX 3090 Ti, Series S, warm cache, 8 minutes each (A and B on one tree; C on that tree plus #799):VICTORY_HEAP_SYNC=0 VICTORY_VIEW_OWN_COPY=0a26859fVICTORY_HEAP_SYNC=0onlyThat's one run each, so it's a lead, not a proof. If you have the save handy,
VICTORY_HEAP_SYNC=0on your patched build would show whether Lucia's face comes back on the 5090 D too. I'll take it up witha26859fseparately so it doesn't clutter this PR.@MamaLeVrai on GitHub · 2026-11-25 10:20 UTC · original
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head
c750c57intomain9376fd6in a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with exactly the errorsmainitself has on this machine (placed_filler_twinsnever used,depth_writtennever read, invictory-gpu); with--all-featuresit fails with the same number of errors asmain(4). This PR adds none and removes none.cargo test --workspace --locked: 542 passed, 0 failed, 10 ignored, two runs (mainalone: 540 passed, 0 failed, 10 ignored). The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
@ofc0urse on GitHub · 2026-11-25 11:47 UTC · original
Confirmed on an 8 GB card. RTX 4060 Ti 8 GB (driver 621.24), i5-14400F, 32 GB, Windows 11, diagnostics build.
Tree:
mainat9376fd6+ #610 (68e6f6a) + #802 + this PR (c750c57, clean cherry-pick).VICTORY_TEXTURE_DROP_MIPS=1,VICTORY_TEXTURE_NO_WAIT=1, warm shader cache, the same automated walk into the first room.--console series-sBefore this PR,
--console series-son this machine removed the device about 2 minutes in, right after the FSR 4 path started.One more observation, in case it is useful to someone: the static blocky patches in the lower corners of the first room that I see in most Series X runs with
DROP_MIPS=1(described on #610) did not appear in the Series S captures (frames 3600 and 5000 of one run). One run is too few to call it.Not tested: past the first room, without #610/#802.
🤖 Generated with Claude Code
@EgoraWyn on GitHub · 2026-11-25 14:41 UTC · original
Test report from an RTX 3060 Laptop 6 GB (Series S profile, title build 1.0.2.1, Windows 11) — the thread has 8 GB and larger cards, so this is the small-card data point.
The world renders with this change on this card. One 210 s world run, no crash and no device loss, frames inspected.
No timing claim: the run it would be compared against showed different scenes, and I did not record whether the shader cache was warm for it, so take this as a render-and-stability data point only. 210 s is also short next to the 8–14 minute runs reported above.
One thing I want to keep separate: we do see missing skin here, but we see it with this change and without it, so nothing in our runs points at this PR for that.
Written with Claude Code (model claude-opus-5).
@LeonardoS11 on GitHub · 2026-11-25 17:11 UTC · original
This fixes the Series S profile on an RTX 3080 Ti too, and it is the fastest way to run the title here.
diagbuild withdiagnostics. This PR's commit carried on branches of ours over9376fd6,f85101b,a253706,0b0074eand465b94f(it applied cleanly on each).--console series-sentered the world and the picture faded to black. With it the first room is complete — walls, the mesh in the window, the lit shirt, no blocks along the bottom — in every Series S launch since (about 25), checked from the window's contents at 245 / 275 / 295 s.9376fd6; 120 to 134 ms on0b0074ewith other open PRs. The same builds in the Series X profile give 167 to 230 ms. In Series S the wait for the card is 3 to 13 ms a frame, so what is left there is processor time.No device loss in any of those launches. (Runs by me on the hardware above; written with Claude Code.)
@KyleS98 on GitHub · 2026-11-25 18:45 UTC · original
Follow-up for anyone here who sees a black screen at boot or no loading screens with
--console series-s: the cause is separate from this PR, and #1081 fixes it.With the Series S profile the title presents two planes: the game at 1920x1080, plus a 3840x2160 interface plane with the account picker, logos, loading art and prompts. VIctory only showed the first plane. #1081 blends the interface plane over the game. On my RTX 3090 Ti the boot now shows the account picker and the loading art instead of a black screen for a minute or more, and the in-game prompts appear. The frame rate didn't change (6.7 fps in the cell with and without it).
Thanks also to @MamaLeVrai, @ofc0urse, @EgoraWyn and @LeonardoS11 for the reports on the RX 6950 XT, 4060 Ti 8 GB, 3060 Laptop 6 GB and 3080 Ti.
AI-assisted (Claude Code, Claude Opus 5.5).
@Dathinel on GitHub · 2026-11-25 19:04 UTC · original
A 4 GB data point, since the thread so far goes down to 6 GB: RTX 3050 Laptop 4 GB (driver 610.62, 32-lane waves), Ryzen 7 7435HS, Windows 11 26200, title build 1.0.2.1.
diagbuild withdiagnosticsofd510ee4with this PR and #1081 merged (both apply cleanly),--console series-s, no other switches. Keys pressed throughVICTORY_KEYS(Enter every 8 to 15 s from 40 s on).One 235 s run, stopped by me:
0x80070057(the wave-64 ones on a 32-lane card).Not tested: this PR without #1081, the Series X profile on the same build, anything past 235 s, and any of the texture budget switches, which is where I will look next on this card.
AI-assisted (Claude Code). No game data attached.
@LeonardoS11 on GitHub · 2026-11-25 19:06 UTC · original
One thing this does not cover, noticed by playing rather than by my timed runs: in the Series S profile the menus and the loading screen stay black here — the window's contents at 30 s and at 60 s after launch are fully black — and the picture appears when the 3D world starts. The same build in the Series X profile shows the menus. Input still reaches the title (the usual presses get through to the world), so it is only the 2D screens' picture. RTX 3080 Ti, this PR on
465b94fwith other open PRs; I have not checked whether plainmainwith this PR alone does the same. (Seen while playing and confirmed from two saved frames; written with Claude Code.)@KyleS98 on GitHub · 2026-11-25 19:36 UTC · original
@LeonardoS11 that's a separate bug, and #1081 fixes it.
With
--console series-sthe title presents two planes:VIctory only showed the first plane, so in the S profile every 2D screen stayed black until the 3D world started. The X profile draws everything into one plane, which is why it shows the menus. #1081 blends the interface plane over the game at present.
On an RTX 3090 Ti the S profile now shows the account picker and the loading art from about 20 s, and the "Move around" prompt in the cell. The frame rate doesn't change. #1081 applies cleanly on top of this PR.
Thanks @Dathinel for the 4 GB RTX 3050 Laptop run with both merged. Your result (menus at 30 fps with the interface visible, no device loss while 0.5 GB over budget) is the first confirmation from someone else's machine.
AI-assisted (Claude Code, Claude Opus 5.5).
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.