Skip to content

GPU diagnostics: VICTORY_PRESENT_1440P=WxH picks the world target size (1280x720 for Series S) - #16

Open
some-du6e wants to merge 1 commit into
r4tedx:integration/testersfrom
some-du6e:present-size-wxh
Open

some-du6e wants to merge 1 commit into
r4tedx:integration/testersfrom
some-du6e:present-size-wxh

Conversation

@some-du6e

@some-du6e some-du6e commented Nov 24, 2026 •

Copy link
Copy Markdown

#10's VICTORY_PRESENT_1440P fallback only looks for 2560x1440 color targets, the Series X world size. With --console series-s the title draws its world into 1280x720 targets (two thirds of its 1080p output, the same ratio as 2560x1440 to 2160p), so on Series S the fallback can't pick them, and in a Series S run with it unset the captured world frames were black. Series S is the mode that gets furthest on low-memory machines: on a 6 GB card with 8 GB of RAM, Series X ran out of GPU memory during the world load (387 E_OUTOFMEMORY, then a device removal).

VICTORY_PRESENT_1440P now also takes a size. VICTORY_PRESENT_1440P=1280x720 picks 1280x720 color targets, in the same formats as before (28, 29, 87, 91). Any other value, such as 1, keeps 2560x1440, so existing setups behave as before. The change is one file, crates/victory-gpu/src/capture.rs: a present_size() parser read once, next to present_1440p_on(), and note_target compares against it.

Tested in a diagnostics build on an RTX 3050 6 GB (driver 621.14), Ryzen 5 4500, 7.9 GB RAM, Windows 11, with --console series-s, VICTORY_NO_WATCHDOG=1 and VICTORY_SHADER_LOOP_LIMIT=32. The tree was integration/testers at update 8 (da605bc) plus Xeltax/VIcky's fork commits, Marvisak#431 and this commit; later runs added Marvisak#472, Marvisak#492 and a 1 MiB title-memory window change, and the two 20-minute runs also a texture-staging change that isn't in any PR.

  • With VICTORY_PRESENT_1440P=1280x720, the fallback's log line reports width=1280 height=720 format=28 (its fixed text, in queue.rs, still says 2560x1440), and world geometry (fences, wires) shows in the window in false color. Without it, the seven world frames captured in a Series S run were black, apart from a thin lit strip near the bottom edge of one.
  • In the first three runs with it, 13 of the 15 captures taken after the world started drawing had about 8-14% of 2,304 sample points lit, with values up to full brightness; the other two were black.
  • Eight runs used it, the longest 29 minutes, and none ended because of this path.

The commit is rebased onto update 10 (4744af9), where it applies cleanly; I haven't rebuilt it there. Frames aren't attached because they're game content.

Note

Filed by Opus 5.5 using Claude Code.

…e (1280x720 for Series S)

With --console series-s the title draws its world into 1280x720 targets
(two thirds of its 1080p output, as 2560x1440 is of Series X's 2160p), so
the fallback never found a target there and the window stayed black. A
WxH value now picks the size; any other value keeps 2560x1440.

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

r4tedx commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Thanks for this, and for the Series S measurements. I read the diff: present_size() parses WxH once, any other value keeps 2560x1440, and note_target compares against it, so existing setups behave as before. I see nothing wrong in it. I did not build or run it.

I am not merging it, for a reason that has nothing to do with the change: integration/testers is frozen at 4744af9. Upstream main moved 319 commits past this tree's base overnight and now has its own form of much of what the tree collected, so no further update goes onto the old base (note on Marvisak#293, comment 7152739120).

VICTORY_PRESENT_1440P itself exists only in this tree; main at 940d32f has no such switch, and its README says the world is drawn and shown there. If a combined tree on main still needs the fallback, this commit is the form to carry, and I will leave the PR open until that is decided. If Series S world frames are black on plain main, that is worth reporting upstream on its own.

Nothing was run for this comment and no game data was used. AI-assisted.

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.

2 participants