Size the Series S back buffer pool for outputs above 1080p (first step toward 1440p) #224
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!224
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-224"
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?
@Smoodie7 on GitHub · 2026-11-27 11:00 UTC · original
Smoodie7:loader/series-s-pool-above-1080p→main· +62 −1 · 1 files · 1 commits · draftSplit out of #217, and opened as a draft: this is a step toward Series S above 1080p, and 1440p is not playable with it yet.
What it fixes:
VICTORY_OUTPUT=2560x1440on Series S stopped before the first frame. The 82 MiB back-buffer pool (mov eax, 82 MiBat+0x247ad45,cmovneagainst Series X's 64 MiB) runs out in its allocator (int3at+0x56a2afd, from+0x247aeb6). Above 1920x1080, the Series S size grows by 16 B a pixel past 1080p, rounded to 2 MiB: 108 MiB at 1440p, 178 MiB at 4K. The left-over check at+0x247af25goes with it.VICTORY_SERIES_S_POOL_MBsets the size by hand. 720p and 1080p are untouched.int3at+0x56a2afd, pool exhaustedThe next stop: a 2 MiB, 64 KiB-aligned request fails in
+0x4fac3c0: its first try (+0x104070) returns null, and the failure report+0x2219620ends inint3at+0x2219650. The allocator object is at+0x71c2808(rbx), with+0x71be5d8beside it. The request comes from+0x193e243(call +0x2474690, a fixed heap). Just before it, that function can take a direct path (+0x193e212:call +0x5f3fcc0with0x20003000/ protect0x283, the XMem-style allocation), but only whenbpl & 0x40and[rsi+0x45] & 4are both set. So this is the next arena whose size depends on the console. It is the next thing to size, or to route to the direct path, for outputs above 1080p.cargo test -p victory-loader --lockedpasses, includingthe_series_s_pool_grows_only_past_its_own_output. Clippy is clean.@TaynanGT on GitHub · 2026-11-27 11:08 UTC · original
@Smoodie7 The larger pool gets 1440p past back-buffer setup and into DLSS context creation. Keep this draft while we identify the owner of the later 2 MiB request. The useful comparison is the same Series S startup at 1080p and 1440p, with the request size and allocator recorded at that point. That separates the next allocation from the pool change.
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.