Labels
No labels
accessibility
bench-bm-v1
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/PastiiJay--klbf-lab#86
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?
@clems206 on GitHub · 2026-11-26 14:59 UTC · original
Hardware and software
beta-2at74a7e38,cargo build --release(rustc 1.98.1), no local changesplay.ps1with its defaults (Series S + FSR, textures capped at 1024 px);-FfxDirpointing at FidelityFX SDK 2.4signedbin(upscaler DLL 4.1.2.4555)Pre-build (
play.ps1 -Prebuild)VICTORY_SKIP_PIPELINES.Frame rate
Not the MEASUREMENT.md route (my save was further along): an early outdoor boat sequence in mangroves and the shore after it, controller. Figures are the layer's own per-frame lines, keeping only frames with more than 500 draws (world frames, not menus or loading).
_Prevfix) measured 5.3 fps average (median 5.3, slowest 10 % 3.1). Lab 62 is about 3x faster here.Stability
What looks right
What looks wrong
Faces and eyes: right only about half the time. In some close-ups the face and eyes look natural, in others the eyes glow white and faces come out wrong again, as in earlier Labs. It is not one or the other for a whole session: it changes from shot to shot.
Water surface: never drawn at all. Not in rectangles or flickering tiles as described in #73: in both sessions the sea is completely absent from every camera angle I tried, so the boat moves over the visible sea floor (sand, roots). Boat physics are fine (it floats and steers). Maybe a useful extra data point for #73: on this RX 9070 non-XT with the default
play.ps1settings it is "never", not "some tiles".Sky and sand somewhat overexposed in bright daylight.
Log notes (per session)
926c46bab3b86bd6("a lane mask holding lanes elsewhere read as data is not supported", cf. Marvisak/VIctory#3253). No visible effect noticed.Happy to run a specific test or settings A/B for the water if that helps. No game data in this report.
@PastiiJay on GitHub · 2026-11-26 15:09 UTC · original
Thanks @clems206, this is an exceptionally careful report, and the "water never drawn" on a non-XT 9070 with default settings is a real extra data point for #73. Since you offered an A/B for the water: the most useful one would be the same boat stretch twice, once as you ran it and once with
VICTORY_TEXTURE_MAX_DIM=0(no texture cap), to rule the cap in or out for the missing sea. Same scene, a minute each, and the log lines around the water are enough.@clems206 on GitHub · 2026-11-26 15:35 UTC · original
Thanks! Here is the A/B, same save, same boat stretch (the dialogue on the boat in the mangroves, then driving it towards the bridge), same build
74a7e38, onlyVICTORY_TEXTURE_MAX_DIMchanged (everything else fromplay.ps1).Result: the cap is part of it, but not the whole story.
play.ps1default (cap 1024)VICTORY_TEXTURE_MAX_DIM=0In B it looked all-or-nothing per shot on my screen: either the whole sea was there or none of it; I did not notice the screen-space rectangles from #73. The exact same dialogue shot had no water at all in A and full water in B.
Log lines that differ
1707628854aa2241, pixel7933d968ca095766) is created and bound in both runs (A: first bind at frame 6825, B: frame 2904), so the draws are issued in both.the texture queue is refused, the card has no room: ~11,400 MB in use, 417 MB kept for render targets not made yet, ~808 MB kept for card copies of title buffers not made yet, against a line of 12,524 MB(5 times, at world load), 10 times in A.501 alive (5,200 made so far), 278 MB of the card given to 7,755 levels; B1,102 alive (6,474 made so far), 587 MB of the card given to 10,323 levels, 2,186 MB not allocated for levels the title does not hold.the card has no room for more; they waitfor textures picked by index, and the same untranslatable compute shader926c46bab3b86bd6.Happy to run another variant (for example
VICTORY_TEXTURE_MAX_DIM=0together withVICTORY_CLAMP_AHEAD=0) on the same stretch if useful. No game data in this comment.@PastiiJay on GitHub · 2026-11-26 15:39 UTC · original
This is a great A/B, thank you @clems206: the same dialogue shot going from no water to full water with only the cap changed points straight at texture levels the water samples, and the pipeline log rules out a missing draw. Next step that would narrow it further: the same stretch with the cap at
2048, to see whether it is a size threshold (water back everywhere) or something the cap only makes more likely.@MalarkZA on GitHub · 2026-11-26 18:39 UTC · original
Additional data point on RX 6900 XT 16 GB (RDNA2), driver
32.0.21045.29003, Windows 11, beta-2 Lab 63.2 (3a2c4dd), using the bundled launcher with-LowMemory -SkipMovies end(Series S + FSR).In the early prison scenes, faces/hair are not merely shaded incorrectly: large, hard-edged rectangular patches containing enlarged face, eye and hair imagery appear over characters and surrounding parts of the image. Bodies and much of the room remain recognizable. Observed in both the cell/dormitory scene and the corridor with the guard, at approximately 5 FPS.
I have local screenshots documenting this, but am keeping them local per the project's no-game-screenshots policy. Full console capture is available from startup, with build/driver metadata. Reporting here because it overlaps with the face/eye corruption, although I cannot confirm it has the same cause.
@PastiiJay on GitHub · 2026-11-26 18:46 UTC · original
Thanks @MalarkZA, and thanks for keeping the screenshots local. Big hard-edged rectangles with enlarged face and hair imagery sound like the right textures landing in the wrong place, which is a useful distinction from plain wrong shading. Next step: attach the full console capture as a .txt file; the lines around the first prison scene, plus any
renderer port 2or texture warnings, are what we want to read.@MalarkZA on GitHub · 2026-11-26 18:53 UTC · original
Attached is the full console capture from startup through the ongoing session, including the two prison scenes where I observed the rectangular face/hair artifacts. It includes the renderer port 2, texture-queue and memory messages, not just selected excerpts.
This is Lab 63.2 (
3a2c4dd), RX 6900 XT 16 GB, driver 32.0.21045.29003, Windows 11, with -LowMemory -SkipMovies end (Series S + FSR). There is an idle period near the beginning because I stepped away after launch. The game was still running when this snapshot was taken.No screenshots or game assets are attached. The screenshots were taken at 18:32:47 and 18:34:26 UTC
issue86-console-20261126-205125.txt
@PastiiJay on GitHub · 2026-11-26 18:57 UTC · original
Thanks @MalarkZA, the full capture is exactly what we needed. One thing stands out:
-LowMemorycaps sampled textures at 512 (limiting the host size of sampled placed BC textures max_dim=512), and in #86 lifting that cap already brought back missing water for clems206. Your card has 16 GB, so the cap isn't needed there. Next step: run the same two prison scenes without-LowMemory(or with$env:VICTORY_TEXTURE_MAX_DIM='0') and tell us whether the rectangles stay or disappear.@HandshakeHackin on GitHub · 2026-11-26 18:58 UTC · original
For the A/B on
3a2c4dd, dropping-LowMemorychanges the launcher cap from 512 to 1024. That is a clean first comparison. One detail for a fully uncapped run: this revision ofplay.ps1clears inheritedVICTORY_TEXTURE_MAX_DIMand sets its own value, so setting it to0before calling the launcher still leaves the launcher's cap in effect. The startupmax_dimline is worth recording with the result.I also aligned the two screenshot times to the capture. In the ten seconds centered on each timestamp, the literal
found by the fallback; made nowwarning appears 191 times around 18:32:47 UTC and 2 times around 18:34:26 UTC. The nearest texture-queue summaries report 2,186 of 2,430 and 2,059 of 2,300 slots partially uploaded, respectively. The tester saw the rectangles in both scenes despite the difference in warning frequency. The log does not identify the texture bound to the affected draw.@PastiiJay on GitHub · 2026-11-26 19:07 UTC · original
Good catch @HandshakeHackin, and thanks for lining the warnings up with the screenshot times. You're right:
play.ps1sets its own cap, so myVICTORY_TEXTURE_MAX_DIM='0'hint does nothing through the launcher. @MalarkZA, please ignore that part. The clean first A/B is simply the same two prison scenes without-LowMemory(cap 1024). Post the startupmax_dimline with your result so we know which cap was active.@MalarkZA on GitHub · 2026-11-26 19:27 UTC · original
Completed the requested 512 -> 1024 comparison: the rectangular face/hair artifacts remain in both prison scenes without
-LowMemory.Same Lab 63.2 (
3a2c4dd) binary, RX 6900 XT 16 GB, driver32.0.21045.29003, Windows 11, Series S + FSR, and-SkipMovies end. The launcher was invoked without-LowMemory; no uncapping environment override was used.Startup confirmation (ANSI formatting removed):
-LowMemory)I replayed from a fresh start to reach the same scenes, since the existing autosave was already past the prison. This is a scene-level comparison, not a frame-identical save/camera replay. The new local screenshots again show oversized, hard-edged texture patches over heads and surrounding areas; screenshots remain local per policy.
The 1024-cap screenshots show approximately 5-6 FPS, but this was not a controlled performance benchmark. Raising the cap to 1024 did not eliminate the visual problem; this does not establish what an uncapped run would do or rule out other texture-level issues.
The session was manually stopped after documenting both scenes, not terminated by a crash. Full console output was captured from startup; I have prepared
issue86-cap1024-console.txtfor a separate attachment.@MalarkZA on GitHub · 2026-11-26 19:28 UTC · original
issue86-cap1024-console.txt
@PastiiJay on GitHub · 2026-11-26 19:51 UTC · original
Thanks @MalarkZA, that settles one thing: the texture cap isn't the cause, since the rectangles survive at 1024. The console is useful too. The
found by the fallback; made nowwarning that HandshakeHackin flagged appears thousands of times in it, so that path is now the main suspect. Next step, if you have a moment: is the corruption already there in the very first scene before the prison, or does it only start in the cell? That tells us whether it's tied to those scenes or present from the start.@MalarkZA on GitHub · 2026-11-26 19:55 UTC · original
It starts immediately from the beginning of the jail sequence where Lucia is staring out the window, and the artifacts on her are a frozen shot of her before she turns away from the window. The artifacts on the other faces and hands seem correlated.
@PastiiJay on GitHub · 2026-11-26 19:57 UTC · original
Thanks @MalarkZA, that detail matters: the patches show a frozen earlier shot of the same character, so they look like old frame content left in a buffer rather than wrong textures. Another RDNA 2 tester described "artifacts of old frames" today too. Next step: during the scene, do those frozen patches ever refresh to a newer image, or do they stay exactly the same until the scene changes?
@MalarkZA on GitHub · 2026-11-26 20:05 UTC · original
I did observe a partial update at a later time which also appears to be a still frame. But it is partial in that not all the artifacts updated. Another observation captured in the local screenshots seem to indicate that the frozen shot artifacts stick to a specific location on the screen and pop up on hands and faces occupying that part of the screen.
@PastiiJay on GitHub · 2026-11-26 20:07 UTC · original
Thanks @MalarkZA, screen-anchored patches that only partly refresh point to regions of the image not being redrawn, rather than anything tied to the characters. Next step: roughly when (UTC) did you see that partial update? With the time we can line it up against your cap-1024 console.
@MalarkZA on GitHub · 2026-11-26 20:10 UTC · original
I did not observe it in the cap-1024 run (perhaps with it being a shorter run), but can confirm it updated between the two screenshots during the earlier
-LowMemoryrun, between18:32and18:34UTC.@HandshakeHackin on GitHub · 2026-11-26 20:13 UTC · original
I lined up the newly confirmed partial-refresh interval with the original 512-cap capture. Between 18:32:47.258 and 18:34:25.902 UTC, the cumulative fallback count went from 34,931 to 36,578 (1,647 missed view records). This counter includes records omitted from the rate-limited warning lines.
There is a second signal in the same interval. I summed the 17 complete
slots whose view a newer view made stalereporting periods between 18:32:49.453 and 18:34:22.417 UTC. They recorded 2,269 keeps of an old texture, 2,308 replacements by the new view, and 212 expirations to null. These count events across the heap, so a slot can contribute more than once. The log has no screen coordinates or exact refresh frame.If the same shot is repeatable, one discriminating test would be to keep the 512-cap settings and set
VICTORY_STALE_KEEP_MS=0inside a local copy of the launcher after its environment cleanup. That makes a stale view go null immediately. A frozen patch turning blank until its replacement arrives would help distinguish this from a region of the final frame that was never redrawn. Stale-view behavior in 3a2c4dd@PastiiJay on GitHub · 2026-11-26 20:16 UTC · original
Thanks @HandshakeHackin, lining the fallback and stale-view counters up with MalarkZA's two screenshots is exactly the cross-check we needed. @MalarkZA, if you're comfortable editing a local copy of
play.ps1, theVICTORY_STALE_KEEP_MS=0run he describes is the cleanest next test. If the frozen patches turn blank instead, we know it's the stale-view path.@narimantos on GitHub · 2026-11-26 21:52 UTC · original
Data point from an RX 9070 XT (RDNA 4), same driver as the original report.
beta-2atbedecd6(Lab 63.1 plus four commits, the last one before the Agility SDK requirement),--profile diag --features diagnostics, rustc 1.100.0, no local changesplay.ps1(compared line by line), Series S + FSR, upscaler DLL 4.1.2.4555,max_dim=1024Pre-build: one pass, 15 min 20 s, no driver crash: 27,097/27,097 pipelines, 23,669 made, 3,421 found in the library. Same skip counts as in the original report.
Frame rate (the layer's own lines, frames with more than 500 draws):
Stability: no device removal and no ERROR line in three runs (two of 330 s, one of ~9 min).
Picture, prison cell and corridor: no hard-edged rectangles or frozen patches like the ones reported above on RDNA 2. Faces and eyes looked right in the 12 captured frames I checked from the scripted run; that is a small sample, not a claim that they are always right.
Differs from the original report: draws are dropped here. The frame lines report "dropped N without a host pipeline" at about 275 a frame on average in free play and about 460 in the scripted run, although the pre-build finished completely.
Log counts (free play / scripted run): 1,578 / 2,636
found by the fallback; made now; 325 / 12the texture queue is refused; 16 / 14a wait for a memory value was not met; 1 / 1the card has no room for more; 2 / 2title memory not in place.One more observation: Series S without
VICTORY_FSR_DLL(whichplay.ps1does not allow) runs but presents only black frames; the title's ownamd_fidelityfx_upscaler_xbox.dllis refused by the host policy.Not tested: the boat stretch and the water, my save is not that far. No game data in this comment.
@PastiiJay on GitHub · 2026-11-26 21:56 UTC · original
Thanks @narimantos, a careful RDNA 4 control run is exactly what #86 needed. No rectangles on your card while the
found by the fallbackcount is also in the thousands tells us the fallback count alone isn't the trigger, and the frozen patches stay an RDNA 2 thing. The dropped draws stand out, though, since your pre-build finished cleanly. Next step: could you post the pipeline hashes behind the "dropped N without a host pipeline" lines (the top few by count) from the free-play log?@narimantos on GitHub · 2026-11-26 22:03 UTC · original
Thanks @PastiiJay
Here are the hashes you asked for, plus two corrections to my comment above.
Dropped draws (free-play log, 64 reporting periods in the world). The log already splits them by reason, and none of them is a pipeline the pre-build missed; I worded that badly.
a stage of the ray-tracing structure builder, which is offskipped shader a73284b60aa303edskipped shader 76cfc8733e521f35(7 periods only)skipped shader a4df980a1c65fdbeskipped shader 7b956e1f6d56609fd2c52fcd936985b4,a1266cc7391ae0d6,3fa1fda35402c93f,1c02f8131c508c75,1b20028fc5fae124,072f5fe96efd27e1,501f0865fdf45dfdskipped shader 39f0e9aeb156a61cAll twelve hashes are in
docs/klbf/skip-amd.txt, so this is the launcher's own skip list plus the ray-tracing builder being off.Correction 1, where the free-play session was. "From an early save" was vague: it was in and around the male lead's house after the prologue (save at 3 %), not the prison. Only the scripted 330 s run went through the prison scenes, and my remark about faces refers to that run.
Correction 2, the water. I wrote "not tested". That was wrong: the sea is right next to that house. I recorded it in a new run: same build (
bedecd6), Series S + FSR,max_dim=1024, 330 s from that save, walking to the jetty, swimming, then driving a boat towards the bridge, with a frame captured every 8th world frame (469 frames).So on this RX 9070 XT with the default cap it is "depends on the view", not "never" as on the non-XT at 1024. I can count the frames with and without water more exactly, or repeat the stretch with another cap, if that helps.
No game data in this comment.
@PastiiJay on GitHub · 2026-11-26 22:06 UTC · original
Thanks @narimantos, both corrections make the picture clearer. The drops are just the skip list plus the ray-tracing builder being off, so nothing is missing from the pre-build. The water run is the most useful part: all-or-nothing per view, tied to camera direction, and 3 of 16 captures without the surface on Series S. That's the same bug as #73. Next step, if you're up for it: the same 330 s stretch from the same save with
-SeriesX, so we can see whether the missing views disappear when only the profile changes.@narimantos on GitHub · 2026-11-26 22:25 UTC · original
@PastiiJay
beta-amd(2177f15), same card: built from source, Series X, defaultplay.ps1settings. In an 11-minute free session around the same house the sea was drawn in every direction I looked. World frames: median 15.5 fps, slowest 10 % 12.6, fastest 10 % 18.9, no ERROR line, no driver compiler crash. The first start showed mostly black or badly lit frames while pipelines were compiling, as the README says; the second start was fine.@PastiiJay on GitHub · 2026-11-26 22:26 UTC · original
Thanks @narimantos, sea in every direction for 11 minutes on Series X is a clean result, and the first-start black frames match what the README warns about. Next step, if you have the save for it: one BM-v1 bench run on the same build, so the result sits on the board next to the Series S runs.
@akimfomin on GitHub · 2026-11-26 23:02 UTC · original
narimantos's stable Series X run and the earlier missing water on Series S used different launcher and renderer versions. I compared
bedecd6and2177f15:beta-amdchanged 156 launcher lines (92 additions, 64 removals), and its default launcher changed the memory hooks as well as the console profile.bedecd6already accepts-SeriesX. Earlier launcher ·beta-amdlauncher.@narimantos, the smallest way to reuse your existing Series S result is one run on
bedecd6with-SeriesX, the same texture cap, save and camera route. That holds the executable and route fixed. It still changes both profile and upscaler, which PastiiJay's no-upscaler control and the pending render-mode-only pair in #73 separate. Thebeta-amdobservation remains a useful separate coverage point. PortBridge · AI-assisted source comparison.@PastiiJay on GitHub · 2026-11-26 23:03 UTC · original
New AMD beta is up on the
beta-amdbranch: a different base, Series X by default, and the sea fixed. If you have a moment, could you replay the same two prison scenes and tell us whether the frozen patches are still there? A BM-v1 run is a bonus.Build once with
cargo build --profile diag -p victory --features diagnostics --locked, then start with.\play.ps1 -Game <your dump folder>(see the branch README).Honest note: this base hasn't been tested on RX 6000 (RDNA 2) yet, so your run would be the first one.