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
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD#546
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@rpmaster2 on GitHub · 2026-11-27 10:53 UTC · original
RX 9070 XT, 32 GB: a-publier
4eb6cfd,CARD_STEPS=2+THIN=1are worth ~20%,series-sloses the character skin, memory sits at the 32 GB ceiling, andVICTORY_OUTPUTcrashes.Setup
host wave lanes min=32 max=64a-publierat4eb6cfd,cargo build --locked --profile diag -p victory --features diagnostics--console series-xorseries-sas noted,VICTORY_PRESENT_TARGET=1x1:1,VICTORY_TEXTURE_STORE=1everywhere, scripted keysHow the caches were prepared (the fork has no
translate --cache)warmrecorded one compiler fault intowarm-bad.txton 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.
VICTORY_CARD_STEPS=2VICTORY_THIN=1CARD_STEPS=2alone is stable and worth ~8 ms;THIN=1swings (one 73.6 ms line in five minutes); together they are ~11 ms, about 20%, and just as stable asCARD_STEPSalone. 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_STEPSrows 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:
series-sseries-xBoth 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):CARD_STEPSonlySampled every 20 s during one series-x run:
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.logwhat ends it, that would settle it.Things that break
VICTORY_OUTPUT=1920x1080crashes: 13.9 fps / 72 ms for the first minute, thenno shared bufferwarnings and a longPlaced(...)dump, process gone. Not usable here.warmcan fix.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
4f62c2a(2026-11-26)a-publier(2026-11-27), long session, ~4,550 drawsa-publier+ both switches, series-s, ~3,000 drawsSo 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) orseries-s(faster, skin can miss). Happy to re-run anything on request, including a series-x run withVICTORY_D3D12_DEBUG=1if 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 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()incrates/victory-gpu/src/pipeline/make.rsprintsrefused [stages]whenCreatePipelineStatefailed 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 --listover 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
warmcannot 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 withVICTORY_D3D12_DEBUG=1would 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: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:34 such lines, 34 entries in
warm-bad.txt, 34 distinct hashes in the drop summaries — the same set. So noCreatePipelineStatewas attempted for them (which is why aVICTORY_D3D12_DEBUG=1run of 2.5 minutes printed nothing), the shaders themselves translate (2,682 of 2,682 compute in atranslate --listcensus atVICTORY_HOST_WAVE=64 VICTORY_HOST_RDNA=1), and my earlier sentence "the host refuses them" was wrong.The diagnostics are what misled me:
missing()incrates/victory-gpu/src/pipeline/make.rsreturnsrefused [stages]for anymade = Nonewhose shaders all translated, and a bad-key skip is exactly that. Oneifon theis_bad_keypath 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 ignoreswarm-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:26 UTC · original
VICTORY_WARM_BAD=0on this card: the 34 entries ofwarm-bad.txtare stale — they compile, nothing crashes.Run: 4 minutes (240 s),
a-publier4eb6cfd,--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.So on this driver (
32.0.32029.2010) those 34 compute pipelines are made without the compiler dying, and therefused [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.txtneeds 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 foundVICTORY_WARM_BAD=0. A per-entry timestamp or awarm --retry-badwould be enough; I can test either on this card.VICTORY_WARM_BAD=0to my own recipe for now, and will report if a run does die on one of them so the entry can go back.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:31 UTC · original
A visual datapoint to go with the
VICTORY_WARM_BAD=0numbers: 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):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 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=0as the base):VICTORY_UPSCALER=6VICTORY_THIN=1VICTORY_CARD_STEPS=2THIN+CARD_STEPS, no upscalerTwo separate things, as far as I can tell:
VICTORY_UPSCALER=6they 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, andUPSCALER=6removes it. This one looks solved by a switch and I would keep it in the recipe forseries-s.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 storehits 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=156.0-77.6 ms,VICTORY_LATE_WAIT=355.9-93.8 ms,VICTORY_JOIN_COPIES=155.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 13:32 UTC · original
Two findings from today's
series-s/series-xwork, one of them probably worth a code look rather than another switch.1.
series-sartifacts are the title's own FSR pathThe observation from this side: on console, Series S runs the title's FSR and Series X uses TAA. Choosing
--console series-stherefore 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=6removes them (art-thin,art-cardruns), and addingVICTORY_FSR_4K=performanceon top brings artifacts back earlier, which fits the same family.Numbers, RX 9070 XT,
a-publier4eb6cfd, 4-minute runs, same save:TEXTURE_STORE+WARM_BAD=0)UPSCALER=6THIN=1CARD_STEPS=2And
series-x+ full recipe +VICTORY_FSR_4K=performance, withVICTORY_FIDELITYFX_DIRpointing at the signed DLLs of the FidelityFX SDK (the game's folder only has the Xbox one):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 withoutCARD_STEPS, and once with all three; in one of two identicalseries-sruns 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
18.9-21.9 fps, 45.7-53.0 ms in the scene above, GPU near idle, 27-28 GB private.
series-xis 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 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:The cost is the expected one:
VICTORY_LATE_WAIT=0That 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=6seemed 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:
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.
@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=2andTHIN=1like 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:
VICTORY_CARD_BUFFERS_MIN_KB=64+VICTORY_CARD_BUFFERS_MB=4096On 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):
WC_NO_BACK), morningWINDOWS_BAR_MB=2048,WIDE_SPIN=200Things 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.