GPU time in the world on NVIDIA is spread over ordinary draws (45–120 ms each), not copies or wave64 #3026

Open
opened 2026-11-26 03:52:29 +00:00 by kawaii-shakal · 6 comments
kawaii-shakal commented 2026-11-26 03:52:29 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by kawaii-shakal on 2026-11-26T03:52:29Z.


On an RTX 5070 Ti (Windows 11, native D3D12), GTA VI in the world runs at 0.4–0.8 fps. With VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1 (diagnostics build), the GPU takes 1.1–1.8 s per frame and the CPU 0.1–0.4 s. The GPU time is spread over ordinary draws. The wave64 compute programs (console flow, #439) are not where it goes.

Costliest commands, ms per frame (several 5 s windows):

command ms/frame calls/frame
draw [vertex 58d926085fca4999, pixel edc1cad8ffb79bc9] 45–123 2–4
indirect [mesh b7a81f5b96f4ca93, pixel 43e24028d4a1faef] 72–96 30–157
indirect [vertex 4e35b816f2f91d68, pixel 659fe9cae59dbd88] 19–122 9–27
draw [vertex 1ce8ba2fe12072c1, pixel 4dd4a3d69c1bd8ca] ~61 1
draw [vertex c5310733d58458c8, pixel 5460ce5f3b925eee] 20–59 7
dispatch [compute a7eeed0646be1ab7] ~48 1

Moving host copies into GPU upload heaps does not change these numbers. That covers buffers (#2870) and, in a local change, the loose windows as well, in the spirit of #2875: 5.2 GB of copies sat in video memory against 1.3 GB before, and the per-draw times stayed the same. So these draws are not bound by shaders reading the copies across PCIe. A single draw at ~61 ms points at the translated shaders themselves, or at what they index: the paged view heap (#2121), descriptor reads, or texture paths.

I can run more diagnostics builds or dump specific shaders if someone has a lead.

🤖 Generated with Claude Code (Claude Opus 5.5)

<!-- greyfinch-sync:Marvisak/VIctory:issue:6619119391 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3028). Originally posted by [kawaii-shakal](https://github.com/kawaii-shakal) on 2026-11-26T03:52:29Z. --- On an RTX 5070 Ti (Windows 11, native D3D12), GTA VI in the world runs at 0.4–0.8 fps. With `VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1` (diagnostics build), the GPU takes 1.1–1.8 s per frame and the CPU 0.1–0.4 s. The GPU time is spread over ordinary draws. The wave64 compute programs (console flow, #439) are not where it goes. Costliest commands, ms per frame (several 5 s windows): | command | ms/frame | calls/frame | |---|---|---| | draw `[vertex 58d926085fca4999, pixel edc1cad8ffb79bc9]` | 45–123 | 2–4 | | indirect `[mesh b7a81f5b96f4ca93, pixel 43e24028d4a1faef]` | 72–96 | 30–157 | | indirect `[vertex 4e35b816f2f91d68, pixel 659fe9cae59dbd88]` | 19–122 | 9–27 | | draw `[vertex 1ce8ba2fe12072c1, pixel 4dd4a3d69c1bd8ca]` | ~61 | 1 | | draw `[vertex c5310733d58458c8, pixel 5460ce5f3b925eee]` | 20–59 | 7 | | dispatch `[compute a7eeed0646be1ab7]` | ~48 | 1 | Moving host copies into GPU upload heaps does not change these numbers. That covers buffers (#2870) and, in a local change, the loose windows as well, in the spirit of #2875: 5.2 GB of copies sat in video memory against 1.3 GB before, and the per-draw times stayed the same. So these draws are not bound by shaders reading the copies across PCIe. A single draw at ~61 ms points at the translated shaders themselves, or at what they index: the paged view heap (#2121), descriptor reads, or texture paths. I can run more diagnostics builds or dump specific shaders if someone has a lead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) (Claude Opus 5.5)
HLVM04 commented 2026-11-26 04:06:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by HLVM04 on 2026-11-26T03:56:18Z.


A same-card comparison from the fxceless fork (not upstream main), RTX 5070 Ti, Windows 11, native D3D12, so the card itself isn't what limits these draws:

  • Fork 9376fd6, Series X profile, VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1, one run: the frame line said 185.8 ms on the GPU, and the per-command sums were 119.7 ms (indirect 72.4 ms over 5,165 commands, dispatch 39.0 over 3,853, mesh 4.1, alias copy 1.9). The heaviest single dispatch was 7.2 ms, the heaviest indirect mesh group 6.3 ms over 197 commands.
  • On the Series S profile with several fork PRs on top, means after 60 s were 90 ms preparing, 43 ms on the GPU and 69 ms copying back. The card waited about 1 ms a frame, so the frame is processor-bound there.

So the same title and card take 0.04–0.19 s of GPU time a frame on that tree, against your 1.1–1.8 s. That points at something in this tree's handling of those draws rather than at the hardware. Diffing how the fork treats them could help. Different scenes and trees, one or a few runs each.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7182152542 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3028#issuecomment-7182152542). Originally posted by [HLVM04](https://github.com/HLVM04) on 2026-11-26T03:56:18Z. --- A same-card comparison from the fxceless fork (not upstream main), RTX 5070 Ti, Windows 11, native D3D12, so the card itself isn't what limits these draws: - Fork 9376fd6, Series X profile, `VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1`, one run: the frame line said 185.8 ms on the GPU, and the per-command sums were 119.7 ms (indirect 72.4 ms over 5,165 commands, dispatch 39.0 over 3,853, mesh 4.1, alias copy 1.9). The heaviest single dispatch was 7.2 ms, the heaviest indirect mesh group 6.3 ms over 197 commands. - On the Series S profile with several fork PRs on top, means after 60 s were 90 ms preparing, 43 ms on the GPU and 69 ms copying back. The card waited about 1 ms a frame, so the frame is processor-bound there. So the same title and card take 0.04–0.19 s of GPU time a frame on that tree, against your 1.1–1.8 s. That points at something in this tree's handling of those draws rather than at the hardware. Diffing how the fork treats them could help. Different scenes and trees, one or a few runs each.
Ingenioeren commented 2026-11-26 07:01:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Ingenioeren on 2026-11-26T06:42:58Z.


I checked an accounting detail that affects the pipeline totals in this report. On main at 63bcca4, the per-command table only aggregates submissions containing more than one host-list group. In a synthetic Windows WARP test with VICTORY_GPU_TIMING=1 and VICTORY_D3D12_DRED=1, a one-list submission produced a readable timestamp entry but no aggregate entry. Submitting two lists with one note each produced one aggregate entry per list. The test used empty command lists and did not load the title. Aggregation gate · Timestamp readback

The frame's submission time still includes the one-list groups, so the per-command totals can omit work. A comparison between upstream and a fork that splits submissions differently can therefore change what appears in this table. PR #1735 already proposes reporting each timed list. This result confirms the coverage gap on main and does not identify the cause of the long draws.

AI-assisted synthetic verification by OpenAI Codex.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7184709640 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3028#issuecomment-7184709640). Originally posted by [Ingenioeren](https://github.com/Ingenioeren) on 2026-11-26T06:42:58Z. --- I checked an accounting detail that affects the pipeline totals in this report. On `main` at `63bcca4`, the per-command table only aggregates submissions containing more than one host-list group. In a synthetic Windows WARP test with `VICTORY_GPU_TIMING=1` and `VICTORY_D3D12_DRED=1`, a one-list submission produced a readable timestamp entry but no aggregate entry. Submitting two lists with one note each produced one aggregate entry per list. The test used empty command lists and did not load the title. [Aggregation gate](https://github.com/Marvisak/VIctory/blob/63bcca43c6a00a758510398fa43096ce7e4f7df0/crates/victory-gpu/src/host.rs#L1255-L1303) · [Timestamp readback](https://github.com/Marvisak/VIctory/blob/63bcca43c6a00a758510398fa43096ce7e4f7df0/crates/victory-gpu/src/host.rs#L1713-L1736) The frame's submission time still includes the one-list groups, so the per-command totals can omit work. A comparison between upstream and a fork that splits submissions differently can therefore change what appears in this table. PR #1735 already proposes reporting each timed list. This result confirms the coverage gap on main and does not identify the cause of the long draws. AI-assisted synthetic verification by OpenAI Codex.
Marvisak commented 2026-11-26 07:01:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-26T06:45:04Z.


Automated triage for the maintainers.

Run report: RTX 5070 Ti, Windows 11, native D3D12, diagnostics build, in the world at 0.4–0.8 fps with 1.1–1.8 s of GPU time a frame spread over ordinary draws (single draws of 45–120 ms), and unchanged when the host copies were moved into upload heaps. The frame time in the world on this card is discussed in #400 (same card, where the ~0.8 s per frame go, and the copy PRs measured against main); please add further measurements there. The paged view heap mentioned (#2121) is open and compared in #1627 and #1760.

Two details that place this exactly are missing: the VIctory commit this was built from (and whether #2870 and the local change were on top of it), and the NVIDIA driver version.

The comment below compares a third-party fork on the same card; forks can't be checked from this tracker.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7184744113 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3028#issuecomment-7184744113). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-26T06:45:04Z. --- <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-26T03:56:18Z at=2026-11-26T07:05:00Z --> Automated triage for the maintainers. Run report: RTX 5070 Ti, Windows 11, native D3D12, diagnostics build, in the world at 0.4–0.8 fps with 1.1–1.8 s of GPU time a frame spread over ordinary draws (single draws of 45–120 ms), and unchanged when the host copies were moved into upload heaps. The frame time in the world on this card is discussed in #400 (same card, where the ~0.8 s per frame go, and the copy PRs measured against `main`); please add further measurements there. The paged view heap mentioned (#2121) is open and compared in #1627 and #1760. Two details that place this exactly are missing: the VIctory commit this was built from (and whether #2870 and the local change were on top of it), and the NVIDIA driver version. The comment below compares a third-party fork on the same card; forks can't be checked from this tracker. --- _Generated by [Claude Code](https://claude.ai/code)_
bittertea0323 commented 2026-11-26 15:02:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by bittertea0323 on 2026-11-26T14:44:07Z.


## The same draw costs 0.0 ms on the GPU in a tree that renders the world — and the hash is in our log too

@kawaii-shakal, your top row is the one I can speak to, because the same pipeline pair appears in our own translation log:

yours:  draw [vertex 58d926085fca4999, pixel edc1cad8ffb79bc9]   45-123 ms/frame, 2-4 calls
ours:   shader translated stage="vertex" hash=58d926085fca4999
        shader translated stage="pixel"  hash=edc1cad8ffb79bc9

So this is not a shader that only exists on your tree. What differs is what the frame line says about where the time goes.

Our numbers, same title, 12 GB NVIDIA, Windows 10

Frame lines from a tree that draws the world correctly (crates/victory-gpu with the capped-heap split), 1280x720, --console series-x:

draws/frame frame preparing on the GPU picture
4,142 96.9 ms — 0.0 ms correct
5,900 160 ms ~40 ms 0.0 ms correct
7,178 250 ms ~60 ms 0.0 ms correct

0.0 on the GPU is what the frame line prints on every world frame here. The whole frame is CPU-side preparation. Your 1.1-1.8 seconds on the GPU, against our 0.0 ms with the same shaders translated and the same draw issued, is the largest difference between the two trees I have seen and it is not explained by hardware (5070 Ti vs 4070 SUPER is one tier).

What that suggests, and what it does not

It points away from "the translated shader is expensive" and towards something the draw indexes being different between the trees — which is the direction you already suspected (paged view heap, descriptor reads, texture paths). Two specific things I would check, both cheap:

1. Is the draw actually drawing anything? Ours issues the same draw and the world appears. If yours spends 45-123 ms on 2-4 calls against a picture that does not reach the output, the cost may be in a path that ours never walks — a stand-in texture, a format twin, or a view whose contents are null. VICTORY_GPU_TIMING will not say which; a target dump at the draw's bound RTV will.

2. Descriptor path. On our tree the whole 1,245,184-slot heap is written to at 92,113 addresses in a run and the heap is split 393,215 title / 606,784 dynamic. If your tree pages instead (#2121), every draw that touches a reclaimed page re-places it — and that cost lands inside the draw, which is exactly the shape of your table (a few calls, tens of ms each).

The control I would run if I had your card

Same scene, same save, both trees, one run each, with VICTORY_GPU_TIMING=1:

  • main + your stack: expect the 45-123 ms you measured
  • any tree with the capped split and no paging: expect 0.0 on the GPU

If the second shows 0.0, the GPU time is the heap layout, not the shaders, and the fix is in the descriptor path. I cannot run this myself — no 5070 Ti, and the paged path draws black on my 12 GB card, so I have only the one side.

Not measured by me

Your card, your Windows 11, and main at your commit. Everything above is one machine: RTX 4070 SUPER 12 GB, driver 591.74, Windows 10.0.19045, Ryzen 7 7800X3D, 31 GB. The write-up and the raw frame lines are at https://github.com/bittertea0323/gta6-win10-notes — no title content in it.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7195246191 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3028#issuecomment-7195246191). Originally posted by [bittertea0323](https://github.com/bittertea0323) on 2026-11-26T14:44:07Z. --- ## The same draw costs 0.0 ms on the GPU in a tree that renders the world — and the hash is in our log too @kawaii-shakal, your top row is the one I can speak to, because the same pipeline pair appears in our own translation log: ``` yours: draw [vertex 58d926085fca4999, pixel edc1cad8ffb79bc9] 45-123 ms/frame, 2-4 calls ours: shader translated stage="vertex" hash=58d926085fca4999 shader translated stage="pixel" hash=edc1cad8ffb79bc9 ``` So this is not a shader that only exists on your tree. What differs is what the frame line says about where the time goes. ### Our numbers, same title, 12 GB NVIDIA, Windows 10 Frame lines from a tree that draws the world correctly (`crates/victory-gpu` with the capped-heap split), 1280x720, `--console series-x`: | draws/frame | frame | preparing | on the GPU | picture | |---:|---:|---:|---:|---| | 4,142 | 96.9 ms | — | **0.0 ms** | correct | | 5,900 | 160 ms | ~40 ms | **0.0 ms** | correct | | 7,178 | 250 ms | ~60 ms | **0.0 ms** | correct | `0.0 on the GPU` is what the frame line prints on every world frame here. The whole frame is CPU-side preparation. Your 1.1-1.8 **seconds** on the GPU, against our 0.0 ms with the same shaders translated and the same draw issued, is the largest difference between the two trees I have seen and it is not explained by hardware (5070 Ti vs 4070 SUPER is one tier). ### What that suggests, and what it does not It points away from "the translated shader is expensive" and towards **something the draw indexes being different between the trees** — which is the direction you already suspected (paged view heap, descriptor reads, texture paths). Two specific things I would check, both cheap: **1. Is the draw actually drawing anything?** Ours issues the same draw and the world appears. If yours spends 45-123 ms on 2-4 calls against a picture that does not reach the output, the cost may be in a path that ours never walks — a stand-in texture, a format twin, or a view whose contents are null. `VICTORY_GPU_TIMING` will not say which; a target dump at the draw's bound RTV will. **2. Descriptor path.** On our tree the whole 1,245,184-slot heap is written to at 92,113 addresses in a run and the heap is split 393,215 title / 606,784 dynamic. If your tree pages instead (#2121), every draw that touches a reclaimed page re-places it — and that cost lands **inside the draw**, which is exactly the shape of your table (a few calls, tens of ms each). ### The control I would run if I had your card Same scene, same save, both trees, one run each, with `VICTORY_GPU_TIMING=1`: - `main` + your stack: expect the 45-123 ms you measured - any tree with the capped split and no paging: expect `0.0 on the GPU` If the second shows 0.0, the GPU time is the heap layout, not the shaders, and the fix is in the descriptor path. I cannot run this myself — no 5070 Ti, and the paged path draws black on my 12 GB card, so I have only the one side. ### Not measured by me Your card, your Windows 11, and `main` at your commit. Everything above is one machine: RTX 4070 SUPER 12 GB, driver 591.74, Windows 10.0.19045, Ryzen 7 7800X3D, 31 GB. The write-up and the raw frame lines are at https://github.com/bittertea0323/gta6-win10-notes — no title content in it.
neonbyte1 commented 2026-11-26 17:08:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by neonbyte1 on 2026-11-26T17:08:19Z.


@Ingenioeren the single-list gap you found on WARP: #3313 fixes it. gpu_times() now runs for every submission while timing is on. On an RTX 5090 under Wine, GPU timing: lists now matches the fps line's on the GPU (742–766 against 751–797 ms/frame); without it, about 100 ms/frame was missing from the summary. You're credited there.

AI-assisted (Claude); measured on my machine, no game data shared.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7198554736 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3028#issuecomment-7198554736). Originally posted by [neonbyte1](https://github.com/neonbyte1) on 2026-11-26T17:08:19Z. --- @Ingenioeren the single-list gap you found on WARP: #3313 fixes it. `gpu_times()` now runs for every submission while timing is on. On an RTX 5090 under Wine, `GPU timing: lists` now matches the fps line's `on the GPU` (742–766 against 751–797 ms/frame); without it, about 100 ms/frame was missing from the summary. You're credited there. _AI-assisted (Claude); measured on my machine, no game data shared._
upipibi commented 2026-11-27 22:20:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by upipibi on 2026-11-27T22:20:53Z.


A map of the open PRs that move host copies of title memory into video memory, since #3312 says it addresses part of this. The numbers are the authors' or testers' own, and the PR links are the sources. My own runs are tests only, no title.

PR What moves to video memory Default Reported (card)
#3312 Shadow allocations, the title-memory page table and dirty bitmaps, in DEFAULT heaps up to 25 % of the local budget on, on discrete GPUs GPU 297.6 → 90.5 ms a frame (RTX 4070). Tester: frame 1,743 → 530 ms, GPU 1,482 → 150 ms (RTX 5080)
#2993 copies of title buffers, admitted under a quarter of the DXGI budget (=1 vertex/index/constant, =2 written heaps) off (VICTORY_VRAM_COPIES) frame mean 910 → 817 ms; GPU / preparing / copy-back 316 / 295 / 121 → 216 / 268 / 130 ms (RTX 5070)
#2705 a DEFAULT-heap side for copies of title buffers off (VICTORY_CARD_COPIES) frame 578 → 565 ms, GPU 270 → 222 ms, while drawing 2,749 vs 2,081 draws
#3102 copies of title buffers and title memory, simulated in video memory on where the GPU reports upload heaps (all copies on NVIDIA, read-only buffers on AMD/Intel); unchanged without them RX 7900 XTX: no gain (zed6000's run)
#2734 hot title buffers used in place, 60 % of the budget off; stacked on #2112, conflicts with main —
#2875 loose windows into GPU upload heaps off (VICTORY_LOOSE_IN_GPU_UPLOAD) non-local segment 104 % (pinned) → 55 %
#3228 upload buffers into GPU upload heaps, indirect arguments into DEFAULT follows GPUUploadHeapSupported commit −291 MB, RSS −1.1 GiB

Overlap. I merged each one locally onto #3312 (576188a1). #2993, #2705, #2734, #3102, #2875 and #3228 all conflict with it (shadow.rs, and host.rs or memory.rs). So does #3318, the quadratic-snapshot fix. #3470 and #3440 merge cleanly. Whichever of these lands first, the others need rework.

Two observations from the numbers above:

  1. Where a PR reports both, GPU time falls a lot but the frame stays bound by the CPU: #2993's preparing time is still 268 ms, and #2705's frame moves 13 ms on 48 ms less GPU. After the copies move, per-frame CPU preparation is most of what is left.
  2. The no-gain reports used GPU upload heaps: this issue's local change put 5.2 GB in video memory with unchanged per-draw times, and #3102 showed none on the RX 7900 XTX. The large GPU gains (#3312, #2705, and #2130 via #2993) are from DEFAULT-heap copies. That is a correlation in five reports, not a measured cause.

From a fork, for the sizing: trustno1-coder/VIctory-NVIDIA has commit 22035389 (readmet3xt-lab). It changes a 512 MB cap on card copies of title buffers to 18 % of the budget (512 to 2048 MB), plus 9 % (at most 1024 MB) for windows. On an RTX 4070 SUPER it reports the opening's six heaviest compute passes going from 20-42 ms each to 0.2-0.4 ms, and gameplay from 3 to 21-25 fps. #3505's 8 GB laptop result (VICTORY_MEMORY_CARD_MB 1024 → 2048, about 6×, from another fork) points the same way. The forks' code is GPL-3.0 like this repo.

My RTX 3070 8 GB test run of #3312 is in #3312: no regressions against main, and its VRAM path is used on an 8 GB card.

AI-assisted (Claude Code, Claude Opus 5.5 compiled the table, ran the merges and checked the numbers against each PR).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7229250999 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3028#issuecomment-7229250999). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-27T22:20:53Z. --- A map of the open PRs that move host copies of title memory into video memory, since #3312 says it addresses part of this. The numbers are the authors' or testers' own, and the PR links are the sources. My own runs are tests only, no title. | PR | What moves to video memory | Default | Reported (card) | |---|---|---|---| | #3312 | `Shadow` allocations, the title-memory page table and dirty bitmaps, in DEFAULT heaps up to 25 % of the local budget | on, on discrete GPUs | GPU 297.6 → 90.5 ms a frame (RTX 4070). Tester: frame 1,743 → 530 ms, GPU 1,482 → 150 ms (RTX 5080) | | #2993 | copies of title buffers, admitted under a quarter of the DXGI budget (`=1` vertex/index/constant, `=2` written heaps) | off (`VICTORY_VRAM_COPIES`) | frame mean 910 → 817 ms; GPU / preparing / copy-back 316 / 295 / 121 → 216 / 268 / 130 ms (RTX 5070) | | #2705 | a DEFAULT-heap side for copies of title buffers | off (`VICTORY_CARD_COPIES`) | frame 578 → 565 ms, GPU 270 → 222 ms, while drawing 2,749 vs 2,081 draws | | #3102 | copies of title buffers and title memory, simulated in video memory | on where the GPU reports upload heaps (all copies on NVIDIA, read-only buffers on AMD/Intel); unchanged without them | RX 7900 XTX: no gain (zed6000's run) | | #2734 | hot title buffers used in place, 60 % of the budget | off; stacked on #2112, conflicts with `main` | — | | #2875 | loose windows into GPU upload heaps | off (`VICTORY_LOOSE_IN_GPU_UPLOAD`) | non-local segment 104 % (pinned) → 55 % | | #3228 | upload buffers into GPU upload heaps, indirect arguments into DEFAULT | follows `GPUUploadHeapSupported` | commit −291 MB, RSS −1.1 GiB | **Overlap.** I merged each one locally onto #3312 (`576188a1`). #2993, #2705, #2734, #3102, #2875 and #3228 all conflict with it (`shadow.rs`, and `host.rs` or `memory.rs`). So does #3318, the quadratic-snapshot fix. #3470 and #3440 merge cleanly. Whichever of these lands first, the others need rework. **Two observations from the numbers above:** 1. Where a PR reports both, GPU time falls a lot but the frame stays bound by the CPU: #2993's preparing time is still 268 ms, and #2705's frame moves 13 ms on 48 ms less GPU. After the copies move, per-frame CPU preparation is most of what is left. 2. The no-gain reports used GPU upload heaps: this issue's local change put 5.2 GB in video memory with unchanged per-draw times, and #3102 showed none on the RX 7900 XTX. The large GPU gains (#3312, #2705, and #2130 via #2993) are from DEFAULT-heap copies. That is a correlation in five reports, not a measured cause. **From a fork, for the sizing:** trustno1-coder/VIctory-NVIDIA has commit `22035389` (readmet3xt-lab). It changes a 512 MB cap on card copies of title buffers to 18 % of the budget (512 to 2048 MB), plus 9 % (at most 1024 MB) for windows. On an RTX 4070 SUPER it reports the opening's six heaviest compute passes going from 20-42 ms each to 0.2-0.4 ms, and gameplay from 3 to 21-25 fps. #3505's 8 GB laptop result (`VICTORY_MEMORY_CARD_MB` 1024 → 2048, about 6×, from another fork) points the same way. The forks' code is GPL-3.0 like this repo. My RTX 3070 8 GB test run of #3312 is in #3312: no regressions against `main`, and its VRAM path is used on an 8 GB card. AI-assisted (Claude Code, Claude Opus 5.5 compiled the table, ran the merges and checked the numbers against each PR).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory#3026
No description provided.