Add an RTX 4070 Ti SUPER machine profile with Resizable BAR windows #278

Manually merged
github merged 2 commits from github-bot/gh-278 into gh-pr/278/base 2026-11-27 14:02:18 +00:00 AGit
Owner

@⁠j-rally on GitHub · 2026-11-27 13:30 UTC · original
j-rally:machine/4070-ti-super → main · +20 −3 · 2 files · 2 commits · merged 2026-11-27 13:58 UTC

What

A -Machine 4070tisuper profile in scripts/play.ps1, asked for explicitly (-Machine auto is unchanged), plus a README row.

It keeps the 4070 profile's threads and card budgets and adds VICTORY_WINDOWS_BAR_MB=4096. With Resizable BAR on, up to 4 GB of windows outside buffers live in card memory the CPU maps (D3D12_HEAP_TYPE_GPU_UPLOAD), with no CPU-side copy in RAM. Without Resizable BAR, mapped_card_memory() reports the heap unsupported and the setting does nothing, so windows stay as on the 4070 profile.

Why

On a 16 GB card with 32 GB of RAM, the 4070 profile left the card at about 6.6 GB of a 15.3 GB budget while RAM ran short: about 6.3 GB of the PC's memory was shared with the card, most of it windows that shaders read over the bus.

Measured: 4070 against 4070tisuper, Resizable BAR on in both

Setup: RTX 4070 Ti SUPER 16 GB (driver 32.0.16.2140), Ryzen 7 9850X3D, 32 GB, Windows 11. Series S profile, windowed, diagnostics build, the prison walk. Only frame reports with 1,000 or more draws and no pipelines being made are counted: the 4070 run from 168 s, after the about 1,270 pipelines it built, and the 4070tisuper run from 80 s, with its pipelines already in the library. Memory comes from the log's memory line and a 20 s sampler.

4070 4070tisuper
Frame reports 31 33
ms/frame median / p90 / p99 33.3 / 33.4 / 37.0 33.3 / 34.3 / 35.0
Reports over 33.4 ms 10% 27%
Preparing, median / p90 (ms) 25.2 / 25.9 23.8 / 26.0
Copying back, median / p90 (ms) 12.1 / 14.1 10.5 / 13.3
Card memory in use 6.7 GB 9.3 GB
PC memory shared with the card 6.3 GB 2.9 GB
Private memory 21.7 GB 20.6 GB
Free RAM 2.3 GB 3.5 GB

So the window budget moves about 3.4 GB of shared memory to the card. The process's private memory falls by about 1.2 GB, and free RAM rises by the same 1.2 GB. Frame times stay at the title's 33.3 ms pacing in both. Preparing and copying back are 1.4–1.6 ms lower medians with the profile. More reports run past 33.4 ms, though by under 1 ms (p90 34.3 against 33.4), and the worst one is lower (35.0 against 37.0). The two windows cover different stretches of the walk, so the frame-time differences are within what I would call noise. The memory difference is the result.

An earlier version of this description compared the profile with BAR on to the 4070 profile with BAR off. That mixed the two changes, and its p10 gain (27.8 → 29.2 fps) did not hold up against the BAR-on control above.

Doubling the card budgets instead (3 GB buffers, 4 GB windows, BAR off) took the card to 9.3 GB with the same frames and about 2.5 GB more private memory, since a card copy keeps its CPU side. That is why the profile keeps the 4070 budgets.

Notes

  • The runs used a local build of main with several open PRs merged on top. This PR changes only the launcher and the README.
  • No rendering setting changes: no in-place buffers (VICTORY_INPLACE), no 64 KiB windows, no approximate shader modes.

🤖 Generated with Claude Code

**@⁠j-rally** on GitHub · 2026-11-27 13:30 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/278) `j-rally:machine/4070-ti-super` → `main` · +20 −3 · 2 files · 2 commits · merged 2026-11-27 13:58 UTC ### What A `-Machine 4070tisuper` profile in `scripts/play.ps1`, asked for explicitly (`-Machine auto` is unchanged), plus a README row. It keeps the 4070 profile's threads and card budgets and adds `VICTORY_WINDOWS_BAR_MB=4096`. With Resizable BAR on, up to 4 GB of windows outside buffers live in card memory the CPU maps (`D3D12_HEAP_TYPE_GPU_UPLOAD`), with no CPU-side copy in RAM. Without Resizable BAR, `mapped_card_memory()` reports the heap unsupported and the setting does nothing, so windows stay as on the 4070 profile. ### Why On a 16 GB card with 32 GB of RAM, the 4070 profile left the card at about 6.6 GB of a 15.3 GB budget while RAM ran short: about 6.3 GB of the PC's memory was shared with the card, most of it windows that shaders read over the bus. ### Measured: `4070` against `4070tisuper`, Resizable BAR on in both Setup: RTX 4070 Ti SUPER 16 GB (driver 32.0.16.2140), Ryzen 7 9850X3D, 32 GB, Windows 11. Series S profile, windowed, diagnostics build, the prison walk. Only frame reports with 1,000 or more draws and no pipelines being made are counted: the `4070` run from 168 s, after the about 1,270 pipelines it built, and the `4070tisuper` run from 80 s, with its pipelines already in the library. Memory comes from the log's memory line and a 20 s sampler. | | `4070` | `4070tisuper` | |---|---|---| | Frame reports | 31 | 33 | | ms/frame median / p90 / p99 | 33.3 / 33.4 / 37.0 | 33.3 / 34.3 / 35.0 | | Reports over 33.4 ms | 10% | 27% | | Preparing, median / p90 (ms) | 25.2 / 25.9 | 23.8 / 26.0 | | Copying back, median / p90 (ms) | 12.1 / 14.1 | 10.5 / 13.3 | | Card memory in use | 6.7 GB | 9.3 GB | | PC memory shared with the card | 6.3 GB | 2.9 GB | | Private memory | 21.7 GB | 20.6 GB | | Free RAM | 2.3 GB | 3.5 GB | So the window budget moves about 3.4 GB of shared memory to the card. The process's private memory falls by about 1.2 GB, and free RAM rises by the same 1.2 GB. Frame times stay at the title's 33.3 ms pacing in both. Preparing and copying back are 1.4–1.6 ms lower medians with the profile. More reports run past 33.4 ms, though by under 1 ms (p90 34.3 against 33.4), and the worst one is lower (35.0 against 37.0). The two windows cover different stretches of the walk, so the frame-time differences are within what I would call noise. The memory difference is the result. An earlier version of this description compared the profile with BAR on to the 4070 profile with BAR off. That mixed the two changes, and its p10 gain (27.8 → 29.2 fps) did not hold up against the BAR-on control above. Doubling the card budgets instead (3 GB buffers, 4 GB windows, BAR off) took the card to 9.3 GB with the same frames and about 2.5 GB more private memory, since a card copy keeps its CPU side. That is why the profile keeps the 4070 budgets. ### Notes - The runs used a local build of `main` with several open PRs merged on top. This PR changes only the launcher and the README. - No rendering setting changes: no in-place buffers (`VICTORY_INPLACE`), no 64 KiB windows, no approximate shader modes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
-Machine 4070tisuper (and -Machine auto on that card) keeps the 4070
profile's threads and card budgets, and adds VICTORY_WINDOWS_BAR_MB=4096:
with Resizable BAR on, up to 4 GB of windows outside buffers live in card
memory the CPU maps, with no copy in RAM. Without Resizable BAR the GPU
upload heap is unsupported and the setting does nothing.

Measured in the Series S prison walk on an RTX 4070 Ti SUPER, Ryzen 7
9850X3D, 32 GB: memory the PC shares with the card 6.4 GB -> 3.0 GB, free
RAM about 1-2 GB -> 3.5 GB, frames median 30 with p10 27.8 -> 29.2.
Doubling the card budgets instead gave the same frames and 2.5 GB more
private memory, so the profile does not.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 13:34:45 +00:00
-Machine auto picks the vendor defaults again, as on main; the profile is
used only with -Machine 4070tisuper (review on #278).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 13:37 UTC · original

@⁠j-rally The BAR-on control is the useful start for the lower shared-memory result. Keep 4070tisuper explicit for now and compare it with 4070 while BAR is on in both runs. That separates the new window budget from turning BAR on, and the 30 FPS cap makes memory and frame times the better comparison.

**@⁠TaynanGT** on GitHub · 2026-11-27 13:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/278#issuecomment-7219732087) @⁠j-rally The BAR-on control is the useful start for the lower shared-memory result. Keep `4070tisuper` explicit for now and compare it with `4070` while BAR is on in both runs. That separates the new window budget from turning BAR on, and the 30 FPS cap makes memory and frame times the better comparison.
Author
Owner

@⁠j-rally on GitHub · 2026-11-27 13:44 UTC · original

Thanks. Done in 77fa1e4: -Machine auto is back to main's vendor defaults, and 4070tisuper is used only when asked for.

I ran -Machine 4070 with BAR on as the control and put both runs in the description, counting only frames after pipeline building. The window budget moves about 3.4 GB of shared memory to the card (6.3 → 2.9 GB), and private memory and free RAM each change by about 1.2 GB. Frame times stay at 33.3 ms in both, with sub-millisecond differences either way, so I withdrew the earlier p10 claim. It came from comparing with a BAR-off run.

🤖 Generated with Claude Code

**@⁠j-rally** on GitHub · 2026-11-27 13:44 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/278#issuecomment-7219894854) Thanks. Done in 77fa1e4: `-Machine auto` is back to main's vendor defaults, and `4070tisuper` is used only when asked for. I ran `-Machine 4070` with BAR on as the control and put both runs in the description, counting only frames after pipeline building. The window budget moves about 3.4 GB of shared memory to the card (6.3 → 2.9 GB), and private memory and free RAM each change by about 1.2 GB. Frame times stay at 33.3 ms in both, with sub-millisecond differences either way, so I withdrew the earlier p10 claim. It came from comparing with a BAR-off run. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot changed target branch from main to gh-pr/278/base 2026-11-27 14:02:15 +00:00
github manually merged commit 77fa1e427b into gh-pr/278/base 2026-11-27 14:02:18 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 13:48 UTC · original

@⁠j-rally The same-BAR control gives a useful memory result: shared usage falls from 6.3 to 2.9 GB, and both runs remain near 33.3 ms per frame. Keeping the profile explicit is the right scope. I’ll verify the current launcher diff against those settings.

**@⁠TaynanGT** on GitHub · 2026-11-27 13:48 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/278#issuecomment-7219965332) @⁠j-rally The same-BAR control gives a useful memory result: shared usage falls from 6.3 to 2.9 GB, and both runs remain near 33.3 ms per frame. Keeping the profile explicit is the right scope. I’ll verify the current launcher diff against those settings.
Author
Owner

@⁠Smoodie7 on GitHub · 2026-11-27 16:36 UTC · original

Data point for this preset on a second 4070 Ti SUPER (Ryzen 7 7700, 32 GB, driver 621.40): 55 minutes of Series S play on main 5e588e8d, 1080p, DLSS Quality + FG, no crash. Compared with -Machine 4070 at the end of a session: RAM in use 14.7 GB vs 20.5 GB, free RAM 3.6 GB vs 0.7 GB, card memory in use 11.0 GB vs 7.6 GB, shared memory 3.5 GB vs 6.6 GB. Rendered FPS stayed in the same range at matched draw counts. Details in #212.

**@⁠Smoodie7** on GitHub · 2026-11-27 16:36 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/278#issuecomment-7223464120) Data point for this preset on a second 4070 Ti SUPER (Ryzen 7 7700, 32 GB, driver 621.40): 55 minutes of Series S play on `main` `5e588e8d`, 1080p, DLSS Quality + FG, no crash. Compared with `-Machine 4070` at the end of a session: RAM in use 14.7 GB vs 20.5 GB, free RAM 3.6 GB vs 0.7 GB, card memory in use 11.0 GB vs 7.6 GB, shared memory 3.5 GB vs 6.6 GB. Rendered FPS stayed in the same range at matched draw counts. Details in #212.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 16:58 UTC · original

@⁠Smoodie7 That’s a second 4070 Ti SUPER showing the same memory shift. Shared memory went from 6.6 to 3.5 GB at the two endpoints, with rendered FPS in the same range by draw band. -Machine 4070tisuper is now an explicit preset on main. #212 has the route and build details for the 55-minute run.

**@⁠TaynanGT** on GitHub · 2026-11-27 16:58 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/278#issuecomment-7223886805) @⁠Smoodie7 That’s a second 4070 Ti SUPER showing the same memory shift. Shared memory went from 6.6 to 3.5 GB at the two endpoints, with rendered FPS in the same range by draw band. `-Machine 4070tisuper` is now an explicit preset on `main`. #212 has the route and build details for the 55-minute run.
This discussion has been locked. Commenting is limited to contributors.
No description provided.