Series S: refuse VICTORY_OUTPUT other than 1920x1080 before the run (the title's FidelityFX divides by zero at +0x28f03e8) #379

Open
github-bot wants to merge 1 commit from github-bot/gh-379 into a-publier AGit
Owner

@⁠TuxiKhan on GitHub · 2026-11-26 22:56 UTC · original
TuxiKhan:fix/series-s-output-size → a-publier · +59 −1 · 3 files · 1 commits · open

What

victory run --execute --console series-s now stops before the title starts when VICTORY_OUTPUT asks for an output size other than 1920x1080, with a message that says why and what to do instead, as -Fsr4K already does for Series S:

Error: VICTORY_OUTPUT=1280x720 does not work on Series S: its FidelityFX takes 1920x1080 output only, and the title divides by zero at +0x28f03e8 on entering the world. Leave VICTORY_OUTPUT unset or 1920x1080 (Series S renders at 1280x720 inside anyway), or use --console series-x
  • crates/victory-loader/src/resolution.rs: series_s_refuses(output, upscaler) (pure, unit-tested) and check_series_s(). The module's notes get the case next to the VICTORY_FFX_SCALE=0.5 one, which ends at the same instruction.
  • apps/victory/src/run.rs: the check next to the AVX2 one, Series S and --execute only.
  • README.md: one sentence in the VICTORY_OUTPUT row.

VICTORY_UPSCALER=6 (the title's own upscaler instead of FidelityFX) is not refused; I have not run that combination.

Why (measured)

RTX 3050 Laptop 4 GB, 15.2 GB RAM, Windows 11, a-publier cd8dfc0, diag build, play.ps1 -Safe's values plus VICTORY_RESIDENCY=1, VICTORY_PORT_CONSTANTS=1:

run console VICTORY_OUTPUT result
run2 Series S 1280x720 at start the title's FidelityFX reports that its shipped configuration takes 1920x1080 only; story files opened 22:09:55, then unhandled exception 0xc0000094 at victory-image-…+0x28f03e8 at 22:10:42 (47 s), backtrace +0x28f03e8 → +0x290b103 → +0x17be987 …
run3 Series S unset same settings otherwise: no such report at start, past the same point into the world (ended later on an unrelated fault, #143)

So a run with this combination is lost about a minute after the menus, with nothing on the command line pointing at the switch. Series S already renders at 2/3 of its 1920x1080 output (1280x720), so the switch saves little there.

Only 1280x720 was run. The other sizes in MODES are refused too, because the title's own check names 1920x1080 as the only size; I have not run them.

Checks (on 4eb6cfd)

  • New test resolution::tests::series_s_takes_only_1920x1080_output; cargo test --workspace --locked: 1065 passed, 0 failed.
  • cargo clippy --workspace --all-targets --locked -- -D warnings, default and --all-features: clean.
  • cargo xtask policy: 271 files ok (also run by the pre-commit hook).
  • In the game, diag build of this branch: Series S + 1280x720 stops with the message above (exit 1); Series X + 1280x720 and Series S + 1920x1080 go on as before; Series S without the switch starts and presents frames.

AI-assisted: yes (Claude Code). Measured on the machine above.

🤖 Generated with Claude Code

**@⁠TuxiKhan** on GitHub · 2026-11-26 22:56 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/379) `TuxiKhan:fix/series-s-output-size` → `a-publier` · +59 −1 · 3 files · 1 commits · open ## What `victory run --execute --console series-s` now stops before the title starts when `VICTORY_OUTPUT` asks for an output size other than 1920x1080, with a message that says why and what to do instead, as `-Fsr4K` already does for Series S: ``` Error: VICTORY_OUTPUT=1280x720 does not work on Series S: its FidelityFX takes 1920x1080 output only, and the title divides by zero at +0x28f03e8 on entering the world. Leave VICTORY_OUTPUT unset or 1920x1080 (Series S renders at 1280x720 inside anyway), or use --console series-x ``` - `crates/victory-loader/src/resolution.rs`: `series_s_refuses(output, upscaler)` (pure, unit-tested) and `check_series_s()`. The module's notes get the case next to the `VICTORY_FFX_SCALE=0.5` one, which ends at the same instruction. - `apps/victory/src/run.rs`: the check next to the AVX2 one, Series S and `--execute` only. - `README.md`: one sentence in the `VICTORY_OUTPUT` row. `VICTORY_UPSCALER=6` (the title's own upscaler instead of FidelityFX) is not refused; I have not run that combination. ## Why (measured) RTX 3050 Laptop 4 GB, 15.2 GB RAM, Windows 11, `a-publier` `cd8dfc0`, diag build, `play.ps1 -Safe`'s values plus `VICTORY_RESIDENCY=1`, `VICTORY_PORT_CONSTANTS=1`: | run | console | `VICTORY_OUTPUT` | result | |---|---|---|---| | run2 | Series S | 1280x720 | at start the title's FidelityFX reports that its shipped configuration takes 1920x1080 only; story files opened 22:09:55, then `unhandled exception 0xc0000094 at victory-image-…+0x28f03e8` at 22:10:42 (47 s), backtrace `+0x28f03e8 → +0x290b103 → +0x17be987 …` | | run3 | Series S | unset | same settings otherwise: no such report at start, past the same point into the world (ended later on an unrelated fault, #143) | So a run with this combination is lost about a minute after the menus, with nothing on the command line pointing at the switch. Series S already renders at 2/3 of its 1920x1080 output (1280x720), so the switch saves little there. Only 1280x720 was run. The other sizes in `MODES` are refused too, because the title's own check names 1920x1080 as the only size; I have not run them. ## Checks (on `4eb6cfd`) - New test `resolution::tests::series_s_takes_only_1920x1080_output`; `cargo test --workspace --locked`: 1065 passed, 0 failed. - `cargo clippy --workspace --all-targets --locked -- -D warnings`, default and `--all-features`: clean. - `cargo xtask policy`: 271 files ok (also run by the pre-commit hook). - In the game, diag build of this branch: Series S + 1280x720 stops with the message above (exit 1); Series X + 1280x720 and Series S + 1920x1080 go on as before; Series S without the switch starts and presents frames. AI-assisted: yes (Claude Code). Measured on the machine above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The title's FidelityFX, which Series S uses, takes 1920x1080 output only;
with VICTORY_OUTPUT=1280x720 the title divided by zero at +0x28f03e8 47 s
after the story's files were opened. Stop such a run at start with a
message, as -Fsr4K does on Series S; VICTORY_UPSCALER=6 is left alone.

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

@⁠Dathinel on GitHub · 2026-11-27 01:15 UTC · original

RTX 3050 Laptop 4 GB, Ryzen 7 7435HS, 24 GB RAM, Windows 11, Series S profile, title 1.0.2.1, a cool_fox-lineage tree. The same stop here: VICTORY_OUTPUT=1280x720 and VICTORY_FFX_SCALE=0.5 both end in 0xc0000094 at title+0x28f03e8, 49 to 90 s in. On VICTORY_UPSCALER=6, which the description leaves unrun: with the output unset, VICTORY_RENDER_SCALE=0.5 ran (5.2 to 7.0 fps against 4.4 to 4.5), and VICTORY_RENDER_SCALE=1.0 stopped the title at 0x80000003, title+0x2219650. Single runs per setting. Not checked: VICTORY_UPSCALER=6 together with VICTORY_OUTPUT=1280x720, so this does not say whether the refusal should let that pair through.

https://github.com/Dathinel/victory-4gb/issues/4

No game files or captures attached. Written with AI assistance (Claude Code).

**@⁠Dathinel** on GitHub · 2026-11-27 01:15 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/379#issuecomment-7207142329) RTX 3050 Laptop 4 GB, Ryzen 7 7435HS, 24 GB RAM, Windows 11, Series S profile, title 1.0.2.1, a cool_fox-lineage tree. The same stop here: `VICTORY_OUTPUT=1280x720` and `VICTORY_FFX_SCALE=0.5` both end in 0xc0000094 at title+0x28f03e8, 49 to 90 s in. On `VICTORY_UPSCALER=6`, which the description leaves unrun: with the output unset, `VICTORY_RENDER_SCALE=0.5` ran (5.2 to 7.0 fps against 4.4 to 4.5), and `VICTORY_RENDER_SCALE=1.0` stopped the title at 0x80000003, title+0x2219650. Single runs per setting. Not checked: `VICTORY_UPSCALER=6` together with `VICTORY_OUTPUT=1280x720`, so this does not say whether the refusal should let that pair through. https://github.com/Dathinel/victory-4gb/issues/4 No game files or captures attached. Written with AI assistance (Claude Code).
This pull request can be merged automatically.
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/379/head:github-bot/gh-379'
git switch 'github-bot/gh-379'

Merge

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