GPU Memory Leak Fix + 4070 Profile #62

Closed
github-bot wants to merge 3 commits from github-bot/gh-62 into main AGit
Owner

@⁠zzzz-26 on GitHub · 2026-11-26 20:42 UTC · original
zzzz-26:main → main · +123 −8 · 3 files · 3 commits · closed without merging

RTX 4070 performance work

The 4070 launcher profile targets the RTX 4070 / Ryzen 7 7800X3D / 32 GB
machine. Auto selection recognizes RTX 4070 adapters. It keeps the console
selection (Series X by default), output mode, texture mip policy, and the
four-shader wave64 allowlist unchanged.

Changes:

  • Eight recording, six under-write, four landing, one mapping and three
    pipeline compilation workers instead of the 16-core 4090 machine's counts.
  • A 64 KiB minimum for GPU-resident title buffers, a 1536 MiB buffer budget,
    and a separate 1024 MiB budget for memory windows read by shaders.
  • Texture admission reserves explicit buffer budgets in full and includes
    unused window budgets. Windows may use that reserved room under the same
    97% limit as buffers. Previously, a larger buffer setting reserved at most
    1 GiB, and windows were refused at 80% occupancy without any reservation.

This trades some texture admission headroom for fewer shader accesses over
PCIe and fewer CPU snapshots. It does not remove rendering passes, change
wave64 semantics, lower loop limits, or enable changed-word-only uploads.
-Machine 4090 restores the original launcher profile; -Safe leaves out
the new memory settings. -More can override individual settings.

**@⁠zzzz-26** on GitHub · 2026-11-26 20:42 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/62) `zzzz-26:main` → `main` · +123 −8 · 3 files · 3 commits · closed without merging # RTX 4070 performance work The `4070` launcher profile targets the RTX 4070 / Ryzen 7 7800X3D / 32 GB machine. Auto selection recognizes RTX 4070 adapters. It keeps the console selection (Series X by default), output mode, texture mip policy, and the four-shader wave64 allowlist unchanged. Changes: - Eight recording, six under-write, four landing, one mapping and three pipeline compilation workers instead of the 16-core 4090 machine's counts. - A 64 KiB minimum for GPU-resident title buffers, a 1536 MiB buffer budget, and a separate 1024 MiB budget for memory windows read by shaders. - Texture admission reserves explicit buffer budgets in full and includes unused window budgets. Windows may use that reserved room under the same 97% limit as buffers. Previously, a larger buffer setting reserved at most 1 GiB, and windows were refused at 80% occupancy without any reservation. This trades some texture admission headroom for fewer shader accesses over PCIe and fewer CPU snapshots. It does not remove rendering passes, change wave64 semantics, lower loop limits, or enable changed-word-only uploads. `-Machine 4090` restores the original launcher profile; `-Safe` leaves out the new memory settings. `-More` can override individual settings.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:47:17 +00:00
github-bot closed this pull request 2026-11-27 00:42:17 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-26 21:27 UTC · original

The new budgets can reserve up to 2.5 GiB before textures are admitted. The current Rust changes also raise the window limit and change reservation for existing overrides on other GPUs. I’m preparing an explicit -Machine 4070 preset and an opt-in for the new reservation policy so people can test it without changing their current profile.

The reported Series X frame times justify a follow-up. A Series S comparison on the same route and cache, with private RAM, DXGI budget and pending/refused texture counts over time, would show whether the new budgets reduce copy work while keeping textures present.

**@⁠TaynanGT** on GitHub · 2026-11-26 21:27 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/62#issuecomment-7203750625) The new budgets can reserve up to 2.5 GiB before textures are admitted. The current Rust changes also raise the window limit and change reservation for existing overrides on other GPUs. I’m preparing an explicit `-Machine 4070` preset and an opt-in for the new reservation policy so people can test it without changing their current profile. The reported Series X frame times justify a follow-up. A Series S comparison on the same route and cache, with private RAM, DXGI budget and pending/refused texture counts over time, would show whether the new budgets reduce copy work while keeping textures present.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-26 21:36 UTC · original

The scoped version is in #69 with your tuning and authorship preserved. The launcher configuration passed for automatic selection, -Machine 4070, -Safe, and a -More override. Windows CI is running on the scoped version.

**@⁠TaynanGT** on GitHub · 2026-11-26 21:36 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/62#issuecomment-7203881493) The scoped version is in #69 with your tuning and authorship preserved. The launcher configuration passed for automatic selection, `-Machine 4070`, `-Safe`, and a `-More` override. Windows CI is running on the scoped version.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-26 21:41 UTC · original

The RTX 4070 tuning is now on main through #69 as an explicit preset. Windows CI and the launcher configuration checks passed. The next useful measurement is a matched Series S run showing frame time, texture admission, and memory over the same route.

**@⁠TaynanGT** on GitHub · 2026-11-26 21:41 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/62#issuecomment-7203961881) The RTX 4070 tuning is now on main through #69 as an explicit preset. Windows CI and the launcher configuration checks passed. The next useful measurement is a matched Series S run showing frame time, texture admission, and memory over the same route.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.