Skip to content

Series S: the title keeps its own upscaler, not FSR 4 (world frames were black) - #798

Open
KyleS98 wants to merge 1 commit into
fxceless:mainfrom
KyleS98:fix/series-s-own-upscaler
Open

KyleS98 wants to merge 1 commit into
fxceless:mainfrom
KyleS98:fix/series-s-own-upscaler

Conversation

@KyleS98

@KyleS98 KyleS98 commented Nov 25, 2026 •

Copy link
Copy Markdown

With --console series-s the 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:

  • One function reads the console mode (0x60 Series S, 0x64 Series X) and maps it to a device type.
  • The upscaler chooser returns 7 (FSR 4) only on a Series S that reports the FidelityFX capability. Every other case returns 6, the title's own upscaler, which is what a Series X runs.
  • The per-frame size query has a second, inlined copy of the same choice.

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.dll does 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

Series X is unchanged. There the chooser already returns 6.

Tested

RTX 3090 Ti, Windows 11, diag build of this branch (on 8dd30ab), --console series-s, no switches. Input was VICTORY_KEYS only.

build          Xbox Series master (b99f876b…)
title patch    +0x7e93f0 upscaler choice: 4883ec28803d -> b806000000c3
title patch    +0x5400190 upscaler choice (the per-frame copy): 4883ec28488b -> b806000000c3
build profile picture steady fps on the GPU
this branch Series S intro cutscene, then the lit prologue: cell, window, the yard with inmates 5.5–5.6 91–96 ms
same commit with #768 and other local changes Series S, before (FSR 4) prologue card, then black 6.4 69 ms
same commit with #768 and other local changes Series S, after lit prologue 6.1–6.4 72–74 ms
same commit with #768 and other local changes Series X lit prologue 4.7–4.8 ~125 ms
  • cargo test -p victory-game -p victory-loader: 29 passed, including the new title_patches_check_before_they_write and known_builds_are_well_formed.
  • cargo xtask policy: 171 files ok.

🤖 Generated with Claude Code

…e black)

The title chooses its upscaler by console: on a Series S with the
FidelityFX capability, FSR 4 (type 7); otherwise its own (type 6, as on a
Series X). FSR 4's output never reaches the screen under VIctory, so every
world frame was black with `--console series-s`, and holding its DLL back
makes the title divide by zero in the FSR 4 wrapper.

The known build now carries code patches (victory-game: per-build RVA, a
short signature checked before anything is written, our own bytes): both
functions that make the choice return 6. The prepared copy is patched
before it is mapped and gets a file name of its own.
VICTORY_TITLE_PATCHES=0 turns them off; VICTORY_TITLE_PATCH=<rva>:<old>:<new>
adds more.

In game (RTX 3090 Ti, Series S, no switches): the prologue renders, 6.1 to
6.4 fps steady (about 73 ms on the GPU), against 4.7 to 4.8 fps on the
Series X profile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HLVM04

HLVM04 commented Nov 25, 2026

Copy link
Copy Markdown

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 9376fd6 with 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:

profile median ms a frame peak commit
Series X 257 (~3.9 fps) 27.4–28 GB
Series S with this PR 169 (~5.9 fps) 23.7 GB

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

Copy link
Copy Markdown

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants