RX 9070 XT + Ryzen 5 5600, 32 GB on a-publier 4eb6cfd: CARD_STEPS+THIN are worth ~20%, series-s loses the character skin, memory lives at the 32 GB ceiling #546

Open
opened 2026-11-27 10:55:14 +00:00 by github-bot · 8 comments
Owner

@⁠rpmaster2 on GitHub · 2026-11-27 10:53 UTC · original

RX 9070 XT, 32 GB: a-publier 4eb6cfd, CARD_STEPS=2+THIN=1 are worth ~20%, series-s loses the character skin, memory sits at the 32 GB ceiling, and VICTORY_OUTPUT crashes.

Setup

GPU Radeon RX 9070 XT 16 GB (RDNA4), Adrenalin 26.11.2, driver 32.0.32029.2010, host wave lanes min=32 max=64
CPU / RAM Ryzen 5 5600 (6 cores / 12 threads), 32 GB DDR4-3600, page file 32-48 GB on the game NVMe
OS Windows 11 10.0.26100.9974
Build a-publier at 4eb6cfd, cargo build --locked --profile diag -p victory --features diagnostics
Settings --console series-x or series-s as noted, VICTORY_PRESENT_TARGET=1x1:1, VICTORY_TEXTURE_STORE=1 everywhere, scripted keys

How the caches were prepared (the fork has no translate --cache)

victory shaders --jobs 10 <the shader archive>   25,694 translated, 195 refused, 2.1-2.5 min
game run with VICTORY_PIPELINE_BOOK=1 (15 min)  known-pipelines.bin 48-49 MB
victory warm --used --jobs 8                    first: 2,273 of 83,557 known, 286 s
                                                later: 552 new in 3 s (2,322 already there, 34 bad)

warm recorded one compiler fault into warm-bad.txt on an earlier pass, which is the guard doing its job offline.

The two off-by-default switches, one scene, ~3,000 draws, 5 minutes each

All series-s, warm caches, same save.

config ms/frame fps GPU copies copy-back dropped
base 59.8-61.4 16.3-16.7 18-20 ms 12.5-13.2 ms, 74-76 MB 25-26 ms, 23 MB 43
VICTORY_CARD_STEPS=2 52.7-54.5 18.3-19.0 0-3 ms 11-13 ms, 72-81 MB 24.6-25.8 ms 41-50
VICTORY_THIN=1 50.8-73.6 13.6-19.7 4-9 ms 10-19 ms 23-31 ms 43
both 48.7-51.1 19.6-20.5 2-10 ms 10.7-11.1 ms, 57-63 MB 23.5-30.5 ms 41-43

CARD_STEPS=2 alone is stable and worth ~8 ms; THIN=1 swings (one 73.6 ms line in five minutes); together they are ~11 ms, about 20%, and just as stable as CARD_STEPS alone. Both are off by default in the README's "off by default while they are tested" set. On this card they look ready to be a default.

The GPU time in the CARD_STEPS rows reads 0-3 ms because the fills moved into the card steps and are counted elsewhere; the frame time is what improves.

Presets: series-s draws faster, series-x draws the skin

At ~3,450 draws, both switches on:

ms/frame fps copies copy-back GPU character skin
series-s 48.7-51.1 19.6-20.5 10.7-11.1 ms, 57-63 MB 23.5-30.5 ms 2-10 ms missing at times (Jason's face stayed empty while hair, eyes and clothing drew)
series-x 59.3-82.8 12.1-16.9 12 ms, 52 MB 6.9-38 ms 5-15 ms present, and by the end the scenes drew correctly with everything loading in time

Both were seen twice: series-s lost the skin on both runs, series-x drew it on both. It is not only a cold-cache effect either — the texture store reported 19,549 keys from earlier runs and only 35 textures hit (11 MB), so a returning character's skin still comes from streaming, and on series-s it sometimes never arrives.

Memory: the 32 GB machine lives at the edge, in both presets

The fork's own line, last of each run (MB private, PC free, commit left):

run private free RAM commit left
series-s + both switches 32,841 MB 2,332 MB 13,567 MB
series-s + CARD_STEPS only 28,317 MB 5,676 MB 18,921 MB
series-x + both switches 30,769 MB 3,531 MB 12,977 MB

Sampled every 20 s during one series-x run:

t= 20s priv=10.1 GB freeRAM=21.0 GB commitLeft=32.9 GB page=1241 MB
t= 60s priv=28.1 GB freeRAM= 4.9 GB commitLeft=14.7 GB page=1243 MB
t=120s priv=29.8 GB freeRAM= 3.6 GB commitLeft=13.0 GB page=1231 MB
t=220s priv=31.3 GB freeRAM= 2.1 GB commitLeft=11.4 GB page=1205 MB
t=300s priv=30.9 GB freeRAM= 2.7 GB commitLeft=11.7 GB page=1192 MB

That run survived the full five minutes and ended at 15-17 fps. Other series-x runs at the same memory ended after 2-3.5 minutes with no exception in the log, so the exit is not simply "out of memory": with the same numbers it also runs. A watchdog or an unlucky allocation is the better guess; if anyone can tell from a crashes.log what ends it, that would settle it.

Things that break

  • VICTORY_OUTPUT=1920x1080 crashes: 13.9 fps / 72 ms for the first minute, then no shared buffer warnings and a long Placed(...) dump, process gone. Not usable here.
  • 128 compute shaders are refused by the translator, 2 draws each: 41-46 dropped a frame at ~3,000 draws, 243-260 at ~4,500. Nothing the book or warm can fix.
  • The texture store barely hits: 19,549 keys, 35 textures kept (11 MB) — so most textures are converted again in every run.
  • A profile (VICTORY_PROFILE=25,180,10,file) of a settled run: phase 2 847 samples / phase 3 258 / phase 0 143, and the pipeline workers burn 89-104 s of CPU each in 155 s of wall time during streaming, so most of a streaming frame is waiting on pipeline compiles even with a warm library.

For scale, same scene, same machine

build ms/frame fps
4f62c2a (2026-11-26) 178 5.6
a-publier (2026-11-27), long session, ~4,550 draws 76-81 12.4-13.1
a-publier + both switches, series-s, ~3,000 draws 48.7-51.1 19.6-20.5

So the build plus the two switches is about 3.5x the frame rate of yesterday's on this card.

Reproduction is all env vars on top of the same binary: VICTORY_TEXTURE_STORE=1 VICTORY_CARD_STEPS=2 VICTORY_THIN=1, --console series-x (correct skin) or series-s (faster, skin can miss). Happy to re-run anything on request, including a series-x run with VICTORY_D3D12_DEBUG=1 if the exits are worth chasing.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; commits, counts, timings and the driver version only, no game files or paths.

**@⁠rpmaster2** on GitHub · 2026-11-27 10:53 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546) **RX 9070 XT, 32 GB: a-publier `4eb6cfd`, `CARD_STEPS=2`+`THIN=1` are worth ~20%, `series-s` loses the character skin, memory sits at the 32 GB ceiling, and `VICTORY_OUTPUT` crashes.** ## Setup | | | |---|---| | GPU | Radeon RX 9070 XT 16 GB (RDNA4), Adrenalin 26.11.2, driver 32.0.32029.2010, `host wave lanes min=32 max=64` | | CPU / RAM | Ryzen 5 5600 (6 cores / 12 threads), 32 GB DDR4-3600, page file 32-48 GB on the game NVMe | | OS | Windows 11 10.0.26100.9974 | | Build | `a-publier` at `4eb6cfd`, `cargo build --locked --profile diag -p victory --features diagnostics` | | Settings | `--console series-x` or `series-s` as noted, `VICTORY_PRESENT_TARGET=1x1:1`, `VICTORY_TEXTURE_STORE=1` everywhere, scripted keys | ## How the caches were prepared (the fork has no `translate --cache`) ``` victory shaders --jobs 10 <the shader archive> 25,694 translated, 195 refused, 2.1-2.5 min game run with VICTORY_PIPELINE_BOOK=1 (15 min) known-pipelines.bin 48-49 MB victory warm --used --jobs 8 first: 2,273 of 83,557 known, 286 s later: 552 new in 3 s (2,322 already there, 34 bad) ``` `warm` recorded one compiler fault into `warm-bad.txt` on an earlier pass, which is the guard doing its job offline. ## The two off-by-default switches, one scene, ~3,000 draws, 5 minutes each All series-s, warm caches, same save. | config | ms/frame | fps | GPU | copies | copy-back | dropped | |---|---|---|---|---|---|---| | base | 59.8-61.4 | 16.3-16.7 | 18-20 ms | 12.5-13.2 ms, 74-76 MB | 25-26 ms, 23 MB | 43 | | `VICTORY_CARD_STEPS=2` | 52.7-54.5 | 18.3-19.0 | 0-3 ms | 11-13 ms, 72-81 MB | 24.6-25.8 ms | 41-50 | | `VICTORY_THIN=1` | 50.8-73.6 | 13.6-19.7 | 4-9 ms | 10-19 ms | 23-31 ms | 43 | | **both** | **48.7-51.1** | **19.6-20.5** | 2-10 ms | 10.7-11.1 ms, 57-63 MB | 23.5-30.5 ms | 41-43 | `CARD_STEPS=2` alone is stable and worth ~8 ms; `THIN=1` swings (one 73.6 ms line in five minutes); together they are ~11 ms, about 20%, and just as stable as `CARD_STEPS` alone. Both are off by default in the README's "off by default while they are tested" set. On this card they look ready to be a default. The GPU time in the `CARD_STEPS` rows reads 0-3 ms because the fills moved into the card steps and are counted elsewhere; the frame time is what improves. ## Presets: series-s draws faster, series-x draws the skin At ~3,450 draws, both switches on: | | ms/frame | fps | copies | copy-back | GPU | character skin | |---|---|---|---|---|---|---| | `series-s` | 48.7-51.1 | 19.6-20.5 | 10.7-11.1 ms, 57-63 MB | 23.5-30.5 ms | 2-10 ms | **missing at times** (Jason's face stayed empty while hair, eyes and clothing drew) | | `series-x` | 59.3-82.8 | 12.1-16.9 | 12 ms, 52 MB | 6.9-38 ms | 5-15 ms | present, and by the end the scenes drew correctly with everything loading in time | Both were seen twice: series-s lost the skin on both runs, series-x drew it on both. It is not only a cold-cache effect either — the texture store reported 19,549 keys from earlier runs and only 35 textures hit (11 MB), so a returning character's skin still comes from streaming, and on series-s it sometimes never arrives. ## Memory: the 32 GB machine lives at the edge, in both presets The fork's own line, last of each run (`MB private`, PC free, commit left): | run | private | free RAM | commit left | |---|---|---|---| | series-s + both switches | 32,841 MB | 2,332 MB | 13,567 MB | | series-s + `CARD_STEPS` only | 28,317 MB | 5,676 MB | 18,921 MB | | series-x + both switches | 30,769 MB | 3,531 MB | 12,977 MB | Sampled every 20 s during one series-x run: ``` t= 20s priv=10.1 GB freeRAM=21.0 GB commitLeft=32.9 GB page=1241 MB t= 60s priv=28.1 GB freeRAM= 4.9 GB commitLeft=14.7 GB page=1243 MB t=120s priv=29.8 GB freeRAM= 3.6 GB commitLeft=13.0 GB page=1231 MB t=220s priv=31.3 GB freeRAM= 2.1 GB commitLeft=11.4 GB page=1205 MB t=300s priv=30.9 GB freeRAM= 2.7 GB commitLeft=11.7 GB page=1192 MB ``` That run survived the full five minutes and ended at 15-17 fps. Other series-x runs at the same memory ended after 2-3.5 minutes with no exception in the log, so the exit is not simply "out of memory": with the same numbers it also runs. A watchdog or an unlucky allocation is the better guess; if anyone can tell from a `crashes.log` what ends it, that would settle it. ## Things that break - **`VICTORY_OUTPUT=1920x1080` crashes**: 13.9 fps / 72 ms for the first minute, then `no shared buffer` warnings and a long `Placed(...)` dump, process gone. Not usable here. - **128 compute shaders are refused** by the translator, 2 draws each: 41-46 dropped a frame at ~3,000 draws, 243-260 at ~4,500. Nothing the book or `warm` can fix. - **The texture store barely hits**: 19,549 keys, 35 textures kept (11 MB) — so most textures are converted again in every run. - **A profile** (`VICTORY_PROFILE=25,180,10,file`) of a settled run: phase 2 847 samples / phase 3 258 / phase 0 143, and the pipeline workers burn 89-104 s of CPU each in 155 s of wall time during streaming, so most of a streaming frame is waiting on pipeline compiles even with a warm library. ## For scale, same scene, same machine | build | ms/frame | fps | |---|---|---| | `4f62c2a` (2026-11-26) | 178 | 5.6 | | `a-publier` (2026-11-27), long session, ~4,550 draws | 76-81 | 12.4-13.1 | | `a-publier` + both switches, series-s, ~3,000 draws | 48.7-51.1 | 19.6-20.5 | So the build plus the two switches is about 3.5x the frame rate of yesterday's on this card. Reproduction is all env vars on top of the same binary: `VICTORY_TEXTURE_STORE=1 VICTORY_CARD_STEPS=2 VICTORY_THIN=1`, `--console series-x` (correct skin) or `series-s` (faster, skin can miss). Happy to re-run anything on request, including a series-x run with `VICTORY_D3D12_DEBUG=1` if the exits are worth chasing. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; commits, counts, timings and the driver version only, no game files or paths.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:55:14 +00:00
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-27 11:04 UTC · original

One correction to my own tables above, found while preparing a census for upstream's refusal table: the 41-46 (and 243-260) draws a frame I called "refused compute shaders" are not translator refusals.

missing() in crates/victory-gpu/src/pipeline/make.rs prints refused [stages] when CreatePipelineState failed and none of the pipeline's shaders failed to translate; a translator failure is printed as the shader's stage and hash instead. So these 128 compute pipelines are refused by D3D12, not by the translator.

Evidence: victory translate --list over the same shader pack with the host set to what the game sees (VICTORY_HOST_WAVE=64, VICTORY_HOST_RDNA=1) gives 26,084 translated of 26,084, 0 refused — and the same with all five renderer ports on. Every dropped program translates.

So the book and warm cannot help with those 128 for the reason I gave (they are made but the host says no), and if anyone wants the reason, a run with VICTORY_D3D12_DEBUG=1 would print it from the debug layer; I can do that on this card if it is useful. Until then I would treat the drop counter as "host refused the pipeline", not "translator refused the shader".

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs.

**@⁠rpmaster2** on GitHub · 2026-11-27 11:04 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7216650845) One correction to my own tables above, found while preparing a census for upstream's refusal table: the 41-46 (and 243-260) draws a frame I called "refused compute shaders" are **not** translator refusals. `missing()` in `crates/victory-gpu/src/pipeline/make.rs` prints `refused [stages]` when `CreatePipelineState` failed and none of the pipeline's shaders failed to translate; a translator failure is printed as the shader's stage and hash instead. So these 128 compute pipelines are refused by **D3D12**, not by the translator. Evidence: `victory translate --list` over the same shader pack with the host set to what the game sees (`VICTORY_HOST_WAVE=64`, `VICTORY_HOST_RDNA=1`) gives **26,084 translated of 26,084, 0 refused** — and the same with all five renderer ports on. Every dropped program translates. So the book and `warm` cannot help with those 128 for the reason I gave (they are made but the host says no), and if anyone wants the reason, a run with `VICTORY_D3D12_DEBUG=1` would print it from the debug layer; I can do that on this card if it is useful. Until then I would treat the drop counter as "host refused the pipeline", not "translator refused the shader". AI-assisted: written by DeepSeek (OpenCode harness) from my run logs.
Author
Owner

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

Correction to the addendum above, and a diagnostics suggestion.

The 34 compute pipelines I first called "refused by D3D12" are not host refusals: they are the entries of warm-bad.txt. The log says it once per pipeline, at WARN:

WARN victory_gpu::pipeline::make: not made: the driver's compiler crashed on it before
     key="7dc2a872872951b2557491fbb1f5d2fb" shaders=[compute 842de0c32bc8dcc5]

34 such lines, 34 entries in warm-bad.txt, 34 distinct hashes in the drop summaries — the same set. So no CreatePipelineState was attempted for them (which is why a VICTORY_D3D12_DEBUG=1 run of 2.5 minutes printed nothing), the shaders themselves translate (2,682 of 2,682 compute in a translate --list census at VICTORY_HOST_WAVE=64 VICTORY_HOST_RDNA=1), and my earlier sentence "the host refuses them" was wrong.

The diagnostics are what misled me: missing() in crates/victory-gpu/src/pipeline/make.rs returns refused [stages] for any made = None whose shaders all translated, and a bad-key skip is exactly that. One if on the is_bad_key path would separate them, e.g. skipped: the compiler crashed on it before [stages], and then the drop line would say which of the two happened without reading the WARN line. Upstream's message has the same shape, so it may be worth the same change there.

Next measurement on my side: a run with VICTORY_WARM_BAD=0, which ignores warm-bad.txt, so those 34 are attempted again. If the compiler survives them now, the list is stale and about 40 dropped draws a frame come back; if it dies on them, the list is right and the cost is the AMD compiler, not the layer. I will post whichever it is, with the duration of the run stated.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs.

**@⁠rpmaster2** on GitHub · 2026-11-27 11:21 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7216982503) Correction to the addendum above, and a diagnostics suggestion. The 34 compute pipelines I first called "refused by D3D12" are **not** host refusals: they are the entries of `warm-bad.txt`. The log says it once per pipeline, at WARN: ``` WARN victory_gpu::pipeline::make: not made: the driver's compiler crashed on it before key="7dc2a872872951b2557491fbb1f5d2fb" shaders=[compute 842de0c32bc8dcc5] ``` 34 such lines, 34 entries in `warm-bad.txt`, 34 distinct hashes in the drop summaries — the same set. So no `CreatePipelineState` was attempted for them (which is why a `VICTORY_D3D12_DEBUG=1` run of 2.5 minutes printed nothing), the shaders themselves translate (2,682 of 2,682 compute in a `translate --list` census at `VICTORY_HOST_WAVE=64 VICTORY_HOST_RDNA=1`), and my earlier sentence "the host refuses them" was wrong. The diagnostics are what misled me: `missing()` in `crates/victory-gpu/src/pipeline/make.rs` returns `refused [stages]` for **any** `made = None` whose shaders all translated, and a bad-key skip is exactly that. One `if` on the `is_bad_key` path would separate them, e.g. `skipped: the compiler crashed on it before [stages]`, and then the drop line would say which of the two happened without reading the WARN line. Upstream's message has the same shape, so it may be worth the same change there. Next measurement on my side: a run with `VICTORY_WARM_BAD=0`, which ignores `warm-bad.txt`, so those 34 are attempted again. If the compiler survives them now, the list is stale and about 40 dropped draws a frame come back; if it dies on them, the list is right and the cost is the AMD compiler, not the layer. I will post whichever it is, with the duration of the run stated. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs.
Author
Owner

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

VICTORY_WARM_BAD=0 on this card: the 34 entries of warm-bad.txt are stale — they compile, nothing crashes.

Run: 4 minutes (240 s), a-publier 4eb6cfd, --console series-s, VICTORY_TEXTURE_STORE=1 VICTORY_CARD_STEPS=2 VICTORY_THIN=1 VICTORY_WARM_BAD=0. Memory 8.1 -> 27.6 GB private, 5.2 GB free RAM, 17.6 GB commit left; the process survived.

not made: ... (WARN lines)   0      (with the list in force, 34)
crashed                       0
warm-bad.txt                  34 lines, unchanged (only `warm` rewrites it)
frames                        15.3-17.5 fps, 57.3-65.3 ms, 869-1,605 draws
copies                        7.5-10.7 ms, 53-64 MB
copy-back                     27-35 ms, 30-35 MB
dropped                       118-146 a frame, all "a stage of the ray-tracing structure builder, which is off"

So on this driver (32.0.32029.2010) those 34 compute pipelines are made without the compiler dying, and the refused [compute ...] drops disappear: what is left in the drop summary is the ray-tracing builder, which is off by design.

What that implies, as I see it:

  • warm-bad.txt needs a way to expire. Its own documentation says entries are "retried automatically after a driver or translator change", but the fingerprint in this file has not changed across today's builds and driver state, so 34 stale entries cost ~40 dropped draws a frame until I found VICTORY_WARM_BAD=0. A per-entry timestamp or a warm --retry-bad would be enough; I can test either on this card.
  • I am adding VICTORY_WARM_BAD=0 to my own recipe for now, and will report if a run does die on one of them so the entry can go back.
  • If you want the list rebuilt from scratch on this machine, say so and I will clear it, run a long session, and post what genuinely crashes.

For the record, the run above also shows the drop summary is now dominated by a reason that is expected, which makes the line usable again as a signal.

AI-assisted: written by DeepSeek (OpenCode harness) from my run log; counts and the driver version only.

**@⁠rpmaster2** on GitHub · 2026-11-27 11:26 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7217076434) **`VICTORY_WARM_BAD=0` on this card: the 34 entries of `warm-bad.txt` are stale — they compile, nothing crashes.** Run: 4 minutes (240 s), `a-publier` `4eb6cfd`, `--console series-s`, `VICTORY_TEXTURE_STORE=1 VICTORY_CARD_STEPS=2 VICTORY_THIN=1 VICTORY_WARM_BAD=0`. Memory 8.1 -> 27.6 GB private, 5.2 GB free RAM, 17.6 GB commit left; the process survived. ``` not made: ... (WARN lines) 0 (with the list in force, 34) crashed 0 warm-bad.txt 34 lines, unchanged (only `warm` rewrites it) frames 15.3-17.5 fps, 57.3-65.3 ms, 869-1,605 draws copies 7.5-10.7 ms, 53-64 MB copy-back 27-35 ms, 30-35 MB dropped 118-146 a frame, all "a stage of the ray-tracing structure builder, which is off" ``` So on this driver (`32.0.32029.2010`) those 34 compute pipelines are made without the compiler dying, and the `refused [compute ...]` drops disappear: what is left in the drop summary is the ray-tracing builder, which is off by design. What that implies, as I see it: - `warm-bad.txt` needs a way to expire. Its own documentation says entries are "retried automatically after a driver or translator change", but the fingerprint in this file has not changed across today's builds and driver state, so 34 stale entries cost ~40 dropped draws a frame until I found `VICTORY_WARM_BAD=0`. A per-entry timestamp or a `warm --retry-bad` would be enough; I can test either on this card. - I am adding `VICTORY_WARM_BAD=0` to my own recipe for now, and will report if a run does die on one of them so the entry can go back. - If you want the list rebuilt from scratch on this machine, say so and I will clear it, run a long session, and post what genuinely crashes. For the record, the run above also shows the drop summary is now dominated by a reason that is expected, which makes the line usable again as a signal. AI-assisted: written by DeepSeek (OpenCode harness) from my run log; counts and the driver version only.
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-27 11:31 UTC · original

A visual datapoint to go with the VICTORY_WARM_BAD=0 numbers: with those 34 pipelines made, a cutscene shot flying over the city rendered the whole city for the first time on this machine — streets, blocks and rooftops in one frame, and afterwards the camera could be moved around freely in it.

Log from that shot in the same 4-minute run (no extra switches beyond VICTORY_TEXTURE_STORE=1 VICTORY_CARD_STEPS=2 VICTORY_THIN=1 VICTORY_WARM_BAD=0, series-s):

6.6-8.3 fps, 120.9-152.7 ms/frame, 1,912-2,743 draws/frame
preparing 65-108 ms (copies 14-22 ms / 86-100 MB, textures 4-51 ms)
GPU 29-34 ms, copy-back 50-54 ms / 28-31 MB
dropped 339-594 (pipeline book for this shot, plus the ray-tracing builder which is off)

So those compute programs were not only 40 dropped draws: without them the city could not be assembled at all, and that is the part I did not expect. The lower frame rate in that shot is the cost of drawing the city, not a regression — the earlier runs simply had less to draw.

AI-assisted: written by DeepSeek (OpenCode harness) from my run log; counts and versions only, no game files.

**@⁠rpmaster2** on GitHub · 2026-11-27 11:31 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7217167735) A visual datapoint to go with the `VICTORY_WARM_BAD=0` numbers: with those 34 pipelines made, a cutscene shot flying over the city rendered **the whole city for the first time on this machine** — streets, blocks and rooftops in one frame, and afterwards the camera could be moved around freely in it. Log from that shot in the same 4-minute run (no extra switches beyond `VICTORY_TEXTURE_STORE=1 VICTORY_CARD_STEPS=2 VICTORY_THIN=1 VICTORY_WARM_BAD=0`, `series-s`): ``` 6.6-8.3 fps, 120.9-152.7 ms/frame, 1,912-2,743 draws/frame preparing 65-108 ms (copies 14-22 ms / 86-100 MB, textures 4-51 ms) GPU 29-34 ms, copy-back 50-54 ms / 28-31 MB dropped 339-594 (pipeline book for this shot, plus the ray-tracing builder which is off) ``` So those compute programs were not only 40 dropped draws: without them the city could not be assembled at all, and that is the part I did not expect. The lower frame rate in that shot is the cost of drawing the city, not a regression — the earlier runs simply had less to draw. AI-assisted: written by DeepSeek (OpenCode harness) from my run log; counts and versions only, no game files.
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-27 12:03 UTC · original

Follow-up on artifacts on series-s, from a one-switch-at-a-time series (each run 4 minutes, same save, VICTORY_TEXTURE_STORE=1 VICTORY_WARM_BAD=0 as the base):

config fps ms/frame copy-back draws what was visible
base 8.3-11.0 91-120 41-42 ms 3,436-3,471 many black lines / a texture stretched over the screen at one particular spot
+ VICTORY_UPSCALER=6 16.9-17.8 56-59 19-21 ms 1,420-1,666 no lines at that spot; male faces missing, women's fine
+ VICTORY_THIN=1 13.6-15.1 66-74 19-21 ms 1,619-1,634 no lines; male faces still missing
+ VICTORY_CARD_STEPS=2 14.3-17.8 56-70 10-23 ms 918-1,628 male faces present; a couple of lines
THIN+CARD_STEPS, no upscaler 11.7-12.8 78-85 21-48 ms 2,889-2,919 male faces missing again

Two separate things, as far as I can tell:

  1. The lines are the Series S upscaler. With VICTORY_UPSCALER=6 they were gone at the same spot in two runs, and the copy-back halves (41 -> ~20 ms). That matches #279's note that the title's translated FSR4 passes on Series S leave stippling, and UPSCALER=6 removes it. This one looks solved by a switch and I would keep it in the recipe for series-s.
  2. The male faces are not switch-bound. They were missing with and without the upscaler, with and without CARD_STEPS, and present once with all three; women's faces were always there. So it behaves like the late skin streaming we saw on day one with Lucia, only it sometimes does not finish inside a 4-minute run. I do not have a reproducer beyond "start on this save, series-s, watch the prison scene for a few minutes", and I could not tie it to any of the five renderer ports or to the two performance switches.

If it is useful I can run the same save twice with identical settings and log texture store hits plus the dropped-draw reasons at the moment the faces are missing, so you have a before/after pair rather than my description. Otherwise I would file the male-face item separately once it reproduces deterministically, rather than mixing it into the performance thread.

Copy-back switches, for completeness, gave nothing here: VICTORY_RELAY_COPY=1 56.0-77.6 ms, VICTORY_LATE_WAIT=3 55.9-93.8 ms, VICTORY_JOIN_COPIES=1 55.7-103.2 ms, all within noise of the base.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; counts and versions only, no game files.

**@⁠rpmaster2** on GitHub · 2026-11-27 12:03 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7217794802) Follow-up on artifacts on `series-s`, from a one-switch-at-a-time series (each run 4 minutes, same save, `VICTORY_TEXTURE_STORE=1 VICTORY_WARM_BAD=0` as the base): | config | fps | ms/frame | copy-back | draws | what was visible | |---|---|---|---|---|---| | base | 8.3-11.0 | 91-120 | 41-42 ms | 3,436-3,471 | many black lines / a texture stretched over the screen at one particular spot | | + `VICTORY_UPSCALER=6` | 16.9-17.8 | 56-59 | 19-21 ms | 1,420-1,666 | no lines at that spot; **male** faces missing, women's fine | | + `VICTORY_THIN=1` | 13.6-15.1 | 66-74 | 19-21 ms | 1,619-1,634 | no lines; male faces still missing | | + `VICTORY_CARD_STEPS=2` | 14.3-17.8 | 56-70 | 10-23 ms | 918-1,628 | male faces present; a couple of lines | | `THIN`+`CARD_STEPS`, no upscaler | 11.7-12.8 | 78-85 | 21-48 ms | 2,889-2,919 | male faces missing again | Two separate things, as far as I can tell: 1. **The lines are the Series S upscaler.** With `VICTORY_UPSCALER=6` they were gone at the same spot in two runs, and the copy-back halves (41 -> ~20 ms). That matches #279's note that the title's translated FSR4 passes on Series S leave stippling, and `UPSCALER=6` removes it. This one looks solved by a switch and I would keep it in the recipe for `series-s`. 2. **The male faces are not switch-bound.** They were missing with and without the upscaler, with and without `CARD_STEPS`, and present once with all three; women's faces were always there. So it behaves like the late skin streaming we saw on day one with Lucia, only it sometimes does not finish inside a 4-minute run. I do not have a reproducer beyond "start on this save, `series-s`, watch the prison scene for a few minutes", and I could not tie it to any of the five renderer ports or to the two performance switches. If it is useful I can run the same save twice with identical settings and log `texture store` hits plus the dropped-draw reasons at the moment the faces are missing, so you have a before/after pair rather than my description. Otherwise I would file the male-face item separately once it reproduces deterministically, rather than mixing it into the performance thread. Copy-back switches, for completeness, gave nothing here: `VICTORY_RELAY_COPY=1` 56.0-77.6 ms, `VICTORY_LATE_WAIT=3` 55.9-93.8 ms, `VICTORY_JOIN_COPIES=1` 55.7-103.2 ms, all within noise of the base. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; counts and versions only, no game files.
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-27 13:32 UTC · original

Two findings from today's series-s / series-x work, one of them probably worth a code look rather than another switch.

1. series-s artifacts are the title's own FSR path

The observation from this side: on console, Series S runs the title's FSR and Series X uses TAA. Choosing --console series-s therefore puts the title on its FSR path, and its translated FSR passes are what produce the black lines / stretched texture at one spot. VICTORY_UPSCALER=6 removes them (art-thin, art-card runs), and adding VICTORY_FSR_4K=performance on top brings artifacts back earlier, which fits the same family.

Numbers, RX 9070 XT, a-publier 4eb6cfd, 4-minute runs, same save:

config fps ms/frame copy-back draws visible
series-s base (TEXTURE_STORE+WARM_BAD=0) 8.3-11.0 91-120 41-42 ms 3,436-3,471 many lines / a texture stretched across the screen
+ UPSCALER=6 16.9-17.8 56-59 19-21 ms 1,420-1,666 no lines
+ THIN=1 13.6-15.1 66-74 19-21 ms 1,619-1,634 no lines
+ CARD_STEPS=2 14.3-17.8 56-70 10-23 ms 918-1,628 no lines (a couple at most)
series-s, full recipe, two identical runs 18.9-21.9 45.7-53.0 21-26 ms 1,096-1,755 no lines in one, lines + lighting blotches in the other

And series-x + full recipe + VICTORY_FSR_4K=performance, with VICTORY_FIDELITYFX_DIR pointing at the signed DLLs of the FidelityFX SDK (the game's folder only has the Xbox one):

18.9 fps, 52.9-53.0 ms/frame at 3,366-3,439 draws
copies 9.9-10.1 ms / 43-46 MB, copy-back 30.9-31.2 ms / 4.5 MB, GPU 8.7-10.3 ms
private 9.5 -> 30.7 GB, 1.3-2.0 GB free at the end, survived the 300 s

So FSR 4K on X is worth ~1.5 fps and ~3 ms of GPU over X without it at the same draw count — but the picture suffers sooner, consistent with it being the S/FSR path again. I am not proposing it as a default.

2. The missing skin is the near-LOD material, and it is intermittent

New detail from watching the same save across runs: it is the near LOD that fails. In one frame the police officers at a distance had faces; when they came close, the skin disappeared. Women were fine in the same frames because they were further away; earlier, when we still reached the prison with everything cold, Lucia and the women lost it too, and now Lucia never does.

It is not switch-bound: it appeared with and without UPSCALER, with and without CARD_STEPS, and once with all three; in one of two identical series-s runs the protagonist's skin was missing from the first frame, in the other it was there. Remote LOD of the same character always draws.

If I were looking at the code, that is where I would look: the near-LOD skin material's pipeline or its texture does not make it on some runs, while the far-LOD variant of the same character does. A VICTORY_SHADER_SAVE/VICTORY_TEXTURE_STORE-style dump at the moment it is missing would say whether the shader translated and the texture uploaded, or whether the draw was dropped.

Known-good recipe on this machine, for the record

--console series-s (or series-x for the TAA path)
VICTORY_TEXTURE_STORE=1 VICTORY_WARM_BAD=0 VICTORY_CARD_STEPS=2 VICTORY_THIN=1 VICTORY_UPSCALER=6

18.9-21.9 fps, 45.7-53.0 ms in the scene above, GPU near idle, 27-28 GB private. series-x is 17.0-17.6 fps / 57-69 ms with the same switches and sits at 30.8-31.4 GB, i.e. at the 32 GB edge.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; counts, switches and versions only, no game files.

**@⁠rpmaster2** on GitHub · 2026-11-27 13:32 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7219616114) Two findings from today's `series-s` / `series-x` work, one of them probably worth a code look rather than another switch. ## 1. `series-s` artifacts are the title's own FSR path The observation from this side: on console, Series S runs the title's FSR and Series X uses TAA. Choosing `--console series-s` therefore puts the title on its FSR path, and its translated FSR passes are what produce the black lines / stretched texture at one spot. `VICTORY_UPSCALER=6` removes them (`art-thin`, `art-card` runs), and adding `VICTORY_FSR_4K=performance` on top brings artifacts back earlier, which fits the same family. Numbers, RX 9070 XT, `a-publier` 4eb6cfd, 4-minute runs, same save: | config | fps | ms/frame | copy-back | draws | visible | |---|---|---|---|---|---| | series-s base (`TEXTURE_STORE`+`WARM_BAD=0`) | 8.3-11.0 | 91-120 | 41-42 ms | 3,436-3,471 | many lines / a texture stretched across the screen | | + `UPSCALER=6` | 16.9-17.8 | 56-59 | 19-21 ms | 1,420-1,666 | no lines | | + `THIN=1` | 13.6-15.1 | 66-74 | 19-21 ms | 1,619-1,634 | no lines | | + `CARD_STEPS=2` | 14.3-17.8 | 56-70 | 10-23 ms | 918-1,628 | no lines (a couple at most) | | series-s, full recipe, two identical runs | 18.9-21.9 | 45.7-53.0 | 21-26 ms | 1,096-1,755 | no lines in one, lines + lighting blotches in the other | And `series-x` + full recipe + `VICTORY_FSR_4K=performance`, with `VICTORY_FIDELITYFX_DIR` pointing at the signed DLLs of the FidelityFX SDK (the game's folder only has the Xbox one): ``` 18.9 fps, 52.9-53.0 ms/frame at 3,366-3,439 draws copies 9.9-10.1 ms / 43-46 MB, copy-back 30.9-31.2 ms / 4.5 MB, GPU 8.7-10.3 ms private 9.5 -> 30.7 GB, 1.3-2.0 GB free at the end, survived the 300 s ``` So FSR 4K on X is worth ~1.5 fps and ~3 ms of GPU over X without it at the same draw count — but the picture suffers sooner, consistent with it being the S/FSR path again. I am not proposing it as a default. ## 2. The missing skin is the near-LOD material, and it is intermittent New detail from watching the same save across runs: it is the **near** LOD that fails. In one frame the police officers at a distance had faces; when they came close, the skin disappeared. Women were fine in the same frames because they were further away; earlier, when we still reached the prison with everything cold, Lucia and the women lost it too, and now Lucia never does. It is not switch-bound: it appeared with and without `UPSCALER`, with and without `CARD_STEPS`, and once with all three; in one of two identical `series-s` runs the protagonist's skin was missing **from the first frame**, in the other it was there. Remote LOD of the same character always draws. If I were looking at the code, that is where I would look: the near-LOD skin material's pipeline or its texture does not make it on some runs, while the far-LOD variant of the same character does. A `VICTORY_SHADER_SAVE`/`VICTORY_TEXTURE_STORE`-style dump at the moment it is missing would say whether the shader translated and the texture uploaded, or whether the draw was dropped. ## Known-good recipe on this machine, for the record ``` --console series-s (or series-x for the TAA path) VICTORY_TEXTURE_STORE=1 VICTORY_WARM_BAD=0 VICTORY_CARD_STEPS=2 VICTORY_THIN=1 VICTORY_UPSCALER=6 ``` 18.9-21.9 fps, 45.7-53.0 ms in the scene above, GPU near idle, 27-28 GB private. `series-x` is 17.0-17.6 fps / 57-69 ms with the same switches and sits at 30.8-31.4 GB, i.e. at the 32 GB edge. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; counts, switches and versions only, no game files.
Author
Owner

@⁠rpmaster2 on GitHub · 2026-11-27 14:01 UTC · original

Closing the loop on the two artifact reports above, because it turned out to be one cause, and it is not the preset.

With VICTORY_LATE_WAIT=0 (the relay off: no lists in the air past a slot rewrite) both symptoms disappear, in two consecutive 4-minute runs, everything else identical:

  • no black lines / stretched texture at the spot where they always appeared;
  • no missing near-LOD character skin (the "police at a distance have faces, close up they don't" case), including the runs where it used to be missing from the first frame.

The cost is the expected one:

frames ms/frame GPU
VICTORY_LATE_WAIT=0 6.9-8.8 fps 113.9-145.1 ms 37-40 ms
default relay 18.9-21.9 fps 45.7-53.0 ms 0-3 ms

That matches #545 (descriptor slots rewritten while lists in the air read them), and I have posted the in-game evidence there: #545

So my earlier statements in this thread — "the lines are the Series S upscaler", "the male faces are not switch-bound" — should be read as superseded: UPSCALER=6 seemed to remove the lines because those runs happened to be clean, and the face loss is the same descriptor-lifetime problem showing a neutral texture where a skin view should be.

For a usable configuration on this card there are now two honest options:

  • relay on: 18.9-21.9 fps / 45.7-53.0 ms, correct in most runs, artifacts in some;
  • relay off (VICTORY_LATE_WAIT=0): correct picture every time, ~7-9 fps / 114-145 ms.

Next thing I will try on this card: VICTORY_LATE_WAIT=1 (stage 2 off, every submission waits for everything), to see whether the lighter form of waiting still clears both symptoms at a smaller cost — that would be the useful middle ground.

AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; counts and versions only, no game files.

**@⁠rpmaster2** on GitHub · 2026-11-27 14:01 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7220229794) Closing the loop on the two artifact reports above, because it turned out to be one cause, and it is not the preset. With `VICTORY_LATE_WAIT=0` (the relay off: no lists in the air past a slot rewrite) **both symptoms disappear**, in two consecutive 4-minute runs, everything else identical: - no black lines / stretched texture at the spot where they always appeared; - no missing near-LOD character skin (the "police at a distance have faces, close up they don't" case), including the runs where it used to be missing from the first frame. The cost is the expected one: | | frames | ms/frame | GPU | |---|---|---|---| | `VICTORY_LATE_WAIT=0` | 6.9-8.8 fps | 113.9-145.1 ms | 37-40 ms | | default relay | 18.9-21.9 fps | 45.7-53.0 ms | 0-3 ms | That matches #545 (descriptor slots rewritten while lists in the air read them), and I have posted the in-game evidence there: https://git.gtahub.st/github/Belobug--VIctory-Belobug-AMD/issues/545 So my earlier statements in this thread — "the lines are the Series S upscaler", "the male faces are not switch-bound" — should be read as superseded: `UPSCALER=6` seemed to remove the lines because those runs happened to be clean, and the face loss is the same descriptor-lifetime problem showing a neutral texture where a skin view should be. For a usable configuration on this card there are now two honest options: - **relay on**: 18.9-21.9 fps / 45.7-53.0 ms, correct in most runs, artifacts in some; - **relay off** (`VICTORY_LATE_WAIT=0`): correct picture every time, ~7-9 fps / 114-145 ms. Next thing I will try on this card: `VICTORY_LATE_WAIT=1` (stage 2 off, every submission waits for everything), to see whether the lighter form of waiting still clears both symptoms at a smaller cost — that would be the useful middle ground. AI-assisted: written by DeepSeek (OpenCode harness) from my run logs; counts and versions only, no game files.
Author
Owner

@⁠luisaugustz on GitHub · 2026-11-27 14:59 UTC · original

Same card here, a different CPU: RX 9070 XT (Adrenalin 26.11.2), Ryzen 7 5800X, 32 GB, Windows 11. Build: a-publier 4eb6cfd + #477/#476, #512 and #374, Series X, PC FSR 4.1.2 balanced, RT off, CARD_STEPS=2 and THIN=1 like yours. All readings are 1 minute medians of the 5 s frame line after "0 being made", same save.

The biggest win on this card came from two switches that are already in the tree:

same spot (kitchen, ~7,500 draws) fps ms/frame preparing copy back
the build above, without them 15.9 63.0 50.1 16.3
VICTORY_CARD_BUFFERS_MIN_KB=64 + VICTORY_CARD_BUFFERS_MB=4096 20.5 48.8 36.2 5.5

On a 16 GB card the default only puts title buffers of 4 MiB and up on the card (2 GiB at most). Going down to 64 KiB took preparing from 50 to 36 ms. VRAM peaked at 11.3 GB of a ~14 GB budget indoors. I have not tried it with ray tracing, where it may not fit.

Outdoors, same balcony and same camera (8,500 draws):

fps p10 ms/frame preparing
a-publier + #477 (WC_NO_BACK), morning 13.0 9.0 77.1 49.9
+ the two switches above, WINDOWS_BAR_MB=2048, WIDE_SPIN=200 18.5 17.5 54.0 37.2

Things that did not help here, in case it saves someone a run:

  • VICTORY_HEAP_SYNC_EARLY=1: preparing unchanged (37.1 vs 37.2 ms).
  • VICTORY_WINDOW_KB=1024 + VICTORY_WINDOW_TAILS=1: windows went from 787 to 2,331 with the same 3.3 GB, and fps fell from 17.4 to 14.0.
  • VICTORY_TEXTURE_BUDGET_MB=6000: RAM still reached 28.6 GB after 3 minutes.

Memory looks like yours: 26-29 GB private, 2.5-5 GB free. Hitches come back whenever free RAM drops under about 3 GB.

**@⁠luisaugustz** on GitHub · 2026-11-27 14:59 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/546#issuecomment-7221480192) Same card here, a different CPU: RX 9070 XT (Adrenalin 26.11.2), Ryzen 7 5800X, 32 GB, Windows 11. Build: a-publier `4eb6cfd` + #477/#476, #512 and #374, Series X, PC FSR 4.1.2 balanced, RT off, `CARD_STEPS=2` and `THIN=1` like yours. All readings are 1 minute medians of the 5 s frame line after "0 being made", same save. The biggest win on this card came from two switches that are already in the tree: | same spot (kitchen, ~7,500 draws) | fps | ms/frame | preparing | copy back | |---|---|---|---|---| | the build above, without them | 15.9 | 63.0 | 50.1 | 16.3 | | `VICTORY_CARD_BUFFERS_MIN_KB=64` + `VICTORY_CARD_BUFFERS_MB=4096` | 20.5 | 48.8 | 36.2 | 5.5 | On a 16 GB card the default only puts title buffers of 4 MiB and up on the card (2 GiB at most). Going down to 64 KiB took preparing from 50 to 36 ms. VRAM peaked at 11.3 GB of a ~14 GB budget indoors. I have not tried it with ray tracing, where it may not fit. Outdoors, same balcony and same camera (8,500 draws): | | fps | p10 | ms/frame | preparing | |---|---|---|---|---| | a-publier + #477 (`WC_NO_BACK`), morning | 13.0 | 9.0 | 77.1 | 49.9 | | + the two switches above, `WINDOWS_BAR_MB=2048`, `WIDE_SPIN=200` | 18.5 | 17.5 | 54.0 | 37.2 | Things that did not help here, in case it saves someone a run: - `VICTORY_HEAP_SYNC_EARLY=1`: preparing unchanged (37.1 vs 37.2 ms). - `VICTORY_WINDOW_KB=1024` + `VICTORY_WINDOW_TAILS=1`: windows went from 787 to 2,331 with the same 3.3 GB, and fps fell from 17.4 to 14.0. - `VICTORY_TEXTURE_BUDGET_MB=6000`: RAM still reached 28.6 GB after 3 minutes. Memory looks like yours: 26-29 GB private, 2.5-5 GB free. Hitches come back whenever free RAM drops under about 3 GB.
This discussion has been locked. Commenting is limited to contributors.
No description provided.