Size the Series S back buffer pool for outputs above 1080p (first step toward 1440p) #224
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by Smoodie7 on 2026-11-27T11:00:41Z.
Split 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.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T11:08:27Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:15:35Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed