Series S: both upscaler choices return the title's own upscaler on the known build #123
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/TaynanGT--Vice-Tay!123
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-123"
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?
@Geckomacabre on GitHub · 2026-11-27 03:09 UTC · original
Geckomacabre:pr/series-s-upscaler→main· +242 −9 · 4 files · 2 commits · draftOn a Series S launch the title can choose AMD FidelityFX (type 7) instead of its own upscaler (type 6). FidelityFX's output never reaches the screen here and its DLL is refused by the host policy (
a host DLL outside the host policy: refused amd_fidelityfx_upscaler_xbox.dll), so the world stays black.VICTORY_UPSCALER=6patches the picker (+0x7e93f0), but the title asks a per-frame copy of it (+0x5400190) every frame.KNOWN_BUILDSgets the master build's hash (the BLAKE3 only).--console series-son that build, both sites return 6, each compared byte for byte first (the per-frame copy compares 32 bytes).VICTORY_UPSCALER=<kind>still overrides, now at both sites;VICTORY_TITLE_PATCHES=0leaves the title's choice,=1applies it on any console.resolution: upscaler picker (the per-frame copy) (returns 6) ... Done.Tested on an RTX 4090 (Series S): the first launch of
544bff7here was black with the log line above; with both sites patched the picture has been right in every launch since (several builds on this tree's line). Both sites as in fxceless/victory-fork #798 (KyleS98). This may explain part of #98 / #86 on Series S: their stderr would show the refused FidelityFX DLL.Checks:
cargo check -p victory --features diagnostics --testspasses on this branch. Unit tests (victory-loader,victory-game,victory: the known-build and patch tests) are pending; results will follow as a comment.🤖 Generated with Claude Code
On a Series S the title can pick AMD FidelityFX (type 7) instead of its own upscaler (type 6). FidelityFX's output never reaches the screen here and its DLL is refused by the host policy ("a host DLL outside the host policy: refused amd_fidelityfx_upscaler_xbox.dll"), so the world stays black. VICTORY_UPSCALER=6 patched only the picker (+0x7e93f0); the title asks a per-frame copy of it (+0x5400190) again every frame. - KNOWN_BUILDS gets the master build's hash. - With --console series-s and that build, the picker and its per-frame copy (now a site of its own, 32 bytes compared) return 6. VICTORY_UPSCALER=<kind> still overrides, now at both sites; VICTORY_TITLE_PATCHES=0 leaves the title's choice, =1 applies it on any console. - Log: 'resolution: upscaler picker (the per-frame copy) (returns 6) ... Done'. From fxceless/victory-fork #798 by KyleS98 (both sites). Co-Authored-By: Claude Opus 5.5 <[email protected]>@TaynanGT on GitHub · 2026-11-27 03:13 UTC · original
Thanks, @Geckomacabre. I tested
ce8cd00against currentmain. All six loader resolution tests, the known-build test and the console switch test passed. The asset and documented-switch checks passed too.Both of Henry's logs in #98 contain the host-policy warning, followed by a successful mapping of the same DLL through the title loader with zero missing imports. The
c00root-signature errors also persist. That leaves a useful upscaler hypothesis to test separately.Could you make the default change apply as a pair, as KyleS98's original patch does? The current loop can change the first picker and leave the per-frame picker alone if its signature differs. Please check both signatures before writing either, and cover a mismatched second site in a test. The docs could also clarify that
VICTORY_TITLE_PATCHES=0disables the automatic choice and an explicitVICTORY_UPSCALERstill takes precedence.For the picture check, could you compare two Series S launches from the same cache snapshot with
VICTORY_UPSCALERunset, one withVICTORY_TITLE_PATCHES=0and one with the default? The picker results, the first visible world frame and the HUD size would help. #115 reported a HUD sizing issue with the older single-picker override.@Geckomacabre on GitHub · 2026-11-27 03:34 UTC · original
Test results for this branch (Windows 11, RTX 4090, toolchain 1.98.1,
--test-threads=1):cargo check -p victory --features diagnostics --tests: clean.cargo test -p victory-loader -p victory-game -p victory -- --test-threads=1 resolution known title_patches: all passed (victory 1, victory-game 1, victory-loader 7; 0 failed), includingknown_builds_are_well_formed,title_patches_follow_the_console_and_the_switch,series_s_takes_the_titles_own_upscaler_unless_asked,a_site_is_written_only_over_its_bytesand the existing resolution tests.🤖 Generated with Claude Code
@TaynanGT on GitHub · 2026-11-27 04:02 UTC · original
Thanks for the targeted tests, @Geckomacabre. I approved CI for
ce8cd00, and the full Windows workflow passed. The remaining case is a mismatch at only the per-frame picker: both sites should be checked before either is changed. A regression test for that case plus the matched Series S launch comparison would cover the open review points. CI run@Geckomacabre on GitHub · 2026-11-27 04:07 UTC · original
Thanks for the review. Pushed
64e9806:write_all()compares both sites before writing either; if a site cannot be made writable after the first was written, the first gets its old bytes back. The picker and its per-frame copy go through it as one pair, so a build where only one site matches is left with neither changed (one warning names the site that stopped it).the_upscaler_pair_is_written_whole_or_not_at_all(mismatched second site: nothing written) anda_failed_write_after_the_first_site_puts_the_first_back(writer injected, fails on the second write).docs/this-fork.mdnow saysVICTORY_TITLE_PATCHES=0turns the automatic choice off and an explicitVICTORY_UPSCALERtakes precedence (written to both sites).Status:
cargo checkand the unit tests of this revision are not run yet; I will post them here after the next build window.On #98: agreed, Henry's logs map the DLL through the title loader afterwards, so this is at most a separate hypothesis there.
Matched Series S pair: I don't have it yet and won't guess numbers. What we can record from two launches of the same build, same cache snapshot, same save,
VICTORY_UPSCALERunset, one withVICTORY_TITLE_PATCHES=0and one with the default:resolution:lines for both picker sites (patched / not patched) and whetherrefused amd_fidelityfx_upscaler_xbox.dllappears;I'll post the results here once that run is done.
🤖 Generated with Claude Code
@Geckomacabre on GitHub · 2026-11-27 04:13 UTC · original
Results for
64e9806(Windows 11, RTX 4090, toolchain 1.98.1,--test-threads=1):cargo check -p victory --features diagnostics --tests: clean, no warnings.cargo test -p victory-loader -p victory-game -p victory -- --test-threads=1 resolution known title_patches: 11 passed, 0 failed (victory 1, victory-game 1, victory-loader 9), including the newthe_upscaler_pair_is_written_whole_or_not_at_allanda_failed_write_after_the_first_site_puts_the_first_back.The matched Series S pair is next.
🤖 Generated with Claude Code
@TaynanGT on GitHub · 2026-11-27 04:18 UTC · original
Thanks for adding the two-site checks, @Geckomacabre. I carried your patch into draft #149 with the writable-page preflight completed before either picker is written. The Windows regression test covers a reserved second page and confirms that both the original bytes and page protection are preserved. The matched Series S HUD and first-picture comparison is the remaining validation.
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.