RX 9070 XT + Ryzen 5 5600X: A/B results of launch options, CPU profile and light issues (v26.11.19) #402
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?
Imported from PastiiJay/klbf-lab. Originally posted by Zensura6427 on 2026-12-01T03:45:50Z.
KLBF Lab v26.11.19 on RX 9070 XT + Ryzen 5 5600X: A/B results and a CPU profile
Machine and method
b7f96e4), Profile S, FSR 3.1, frame generation off, 60 fps cap, Graphics High, ray tracing off, RDNA 4 card profile on.Launch options, official build
VICTORY_ASK_EARLY=2VICTORY_AHEAD_SEARCH=1KLBF_PAGE_PROTECT=1KLBF_WC_HOST_SKIP=1VICTORY_CLEAN_STAMP=1KLBF_REFRESH_COALESCE=1VICTORY_ASK_EARLY=2 VICTORY_AHEAD_SEARCH=1VICTORY_MEMORY_MAP=0(2:00, B/A)The same settings vary by about ±0.7 fps from one run to the next (see the reference build below), so none of these is a clear win on this machine.
AHEAD_SEARCHhad the best 1 % low and the fewest freezes, in a single run.KLBF_PAGE_PROTECT=1finds nothing here. Its line reads0 askings, 0.00 ms, 0 blocks of 64 KiB found writtenfor the whole run, and the write-watch askings go from about 430 to 5,841 per frame (19 → 49 ms).Where the submitting thread's frame goes (diag log, no options)
From
host: preparing per frame, the submitting threadandcopystat, gameplay averages:copystat: watches): about 430-480 calls, 19-26 ms. 11,070 MB are checked per frame, and 11,009 MB of them are unchanged (99.5 %).ReadProcessMemory): 16-19 mscopy_stale: 770 walks over 58,400 pages, taking 1,485 (2.5 %)Helper thread count (local build of
b7f96e4+ a small patch)wide_threads()isavailable_parallelism()/4, clamped to 2..6, which gives 3 on a 12-thread CPU. The patch addsKLBF_WIDE_THREADS(default unchanged). The shader fingerprint is the same as the release (737ade6b88ac8104).More helpers trim the refreshes by only about 4 ms, and the frame rate does not move beyond noise. With 8 helpers the preparing thread still stands about 30 ms per frame in 84
wide()calls.To see whether that time was waking and waiting or real work, the patch also adds
KLBF_WIDE_MIN=n(spreads of fewer than n pieces run on the calling thread) and a log line that splits the timewide()takes on the preparing thread:KLBF_WIDE_MIN=8KLBF_WIDE_MIN=64So about 26 of the 30 ms is the preparing thread's own share of the work, and only about 6 ms is waiting. Spreading it over more or fewer threads does not change the frame rate. On this machine the cost is in the refresh work itself:
copy_stalewalking about 58k pages to take 1.5k, write-watch askings over 11 GB per frame, and theReadProcessMemorymoves.The patch is attached (
perf-6core.diff,crates/victory-gpu/src/shadow.rsonly). Both switches are off by default, and the tests pass (cargo test -p victory-gpu --lib shadow::wide). It is offered for measuring, not as a speed-up.Image issues seen with no launch option
a texture picked by index changed after its upload with nothing to tell of it(90-200 per run),GPU-only stale case (safety net: a stale copy)andVICTORY_GPU_ONLY=N safety net: a stale GPU-only copy found.VICTORY_RT_RESOLVE=0) andVICTORY_NAN_GUARD_STORES=1.Attachments
bench-results, for the official build and the local build.perf-6core.diffcapturas/). They are from one bench with no launch options (local build, run 03:19), so the bench timer is visible on each:captura-01at 0:38 (sparkles and burnt light),captura-10at 3:41 (washed out), and the rest between those times.KLBF-Lab-report-20261201-0430.zip
perf-6core.txt
bench-cards.zip
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T03:47:57Z.
wow, thank you @Zensura6427, this is one of the most thorough reports we've had: 19 certified runs, the noise band measured, and a per-frame breakdown of the submitting thread. the write-watch numbers and the PAGE_PROTECT finding are especially useful, and the patch is a nice touch for measuring.
the team will go through all of it. one thing: you're on v26.11.19, and there have been several pre-releases since (v26.11.24 now, tick Show pre-releases in the Updates tab), so if you run more, doing them on .24 would help us compare with other testers.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T03:48:23Z.
a quick follow-up from the team @Zensura6427: your numbers match what we see. most of the frame goes into checking the game's memory (11 GB a frame, almost all unchanged), which is our main work right now, and your PAGE_PROTECT figures confirm why we took that test out.
the WIDE_THREADS / WIDE_MIN idea also fits something we found tonight: that split should depend on the CPU, not the card. could you open it as a pull request? that's the easiest way for us to review it and run it through our checks.
Imported from PastiiJay/klbf-lab. Originally posted by Zensura6427 on 2026-12-01T03:55:34Z.
Thanks a lot, glad it helps!
Next steps on my side:
v21, rebased on v26.11.24 (the patch applies cleanly). Both switches are off by default (KLBF_WIDE_THREADS,KLBF_WIDE_MIN), so nothing changes unless they are set, and the shadow tests pass. I'll link it here.KLBF_LOOK=coasting, for the brightness / indoor lighting items on your list. I'll post side-by-side comparisons here.If there's any other test you'd like on an RX 9070 XT + 5600X, just tell me.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T03:57:01Z.
thank you @Zensura6427, that plan is perfect. since you asked, three tests would help a lot on your 5600X. each one as A (nothing), B (with it), then A again, from the same save, because a second run alone gains 6-19 % from warm-up:
KLBF_HEAP_SKIP=1: +8 % on an RX 7800 XT with a clean picture, we need a second card. watch for textures that don't update.KLBF_PRIORITY=1: a big gain on a slower CPU, neutral on a fast one, so yours is the right test.VICTORY_GUARD_REST=30000: aims straight at your 19-26 ms of write-watch. nobody has measured it yet.Imported from PastiiJay/klbf-lab. Originally posted by Zensura6427 on 2026-12-01T04:54:54Z.
Done on v26.11.24 (
92aa6f4), same save, A-B-A chained (each B between two plain runs), all CERTIFIED:KLBF_HEAP_SKIP=1KLBF_PRIORITY=1VICTORY_GUARD_REST=30000KLBF_HEAP_SKIP=1: average within the neighbours, but the fewest freezes and a better 1 % low. No stale textures seen.KLBF_PRIORITY=1: the same pattern, average flat, with the fewest freezes of the series (6) and the best 1 % low.VICTORY_GUARD_REST=30000: about 15 % slower. From the diag log, write-watch askings stay the same (~418 calls, 19.3 ms vs 17.8-19.0 in the plain runs), butcopystatmoves double (32.4 ms a frame vs 14.8-16.9) and refreshes go from 28-31 to 36.3 ms. So on this machine it moves time into copies instead of cutting the asking.Per-frame averages from each run's log (moves / watches / refreshes, ms): 16.9/19.0/28.9, 16.6/18.8/26.8, 16.2/17.5/29.0, 16.8/17.8/27.6, 16.4/19.0/27.9, 32.4/19.3/36.3, 14.8/17.8/31.1.
Cards attached.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T04:57:51Z.
thanks a lot, that's a really clean series, and the per-frame split from the logs is exactly what the team needs to read it. passing it on now.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T04:59:08Z.
the team's read, and this series settles three things:
KLBF_HEAP_SKIP=1andKLBF_PRIORITY=1don't move your average, but both make it clearly smoother (1 % low up, freezes down from ~20 to 6-8). together with the other AMD cards that tried them, they're among our most promising leads.VICTORY_GUARD_REST=30000costs about 15 % on your PC (the copies take twice as long), so that test has been taken out of the missions.your numbers did that, thank you.
Imported from PastiiJay/klbf-lab. Originally posted by Zensura6427 on 2026-12-01T05:01:19Z.
Great to hear it helped! It's late here, so I'm off to bed now. Tomorrow I'll do the lighting comparison I mentioned (same bench save, screenshots at 0:38 / 2:26 / 2:59 / 3:41 with no options, with "Skip unused ray tracing passes" and with
KLBF_LOOK=coasting) and post the side-by-side images here. If there's anything else you'd like me to run on the RX 9070 XT + 5600X in the meantime, just leave it here and I'll add it to tomorrow's list.Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T05:03:40Z.
good night, and thanks again! one small thing for tomorrow: we keep content from any game out of this repo, so please don't post the side-by-side screenshots here. send them with "Send to KLBF Lab" (Pick screenshots) or via WeTransfer to [email protected], then just say "sent" here with what you saw in words. bench cards like today's are fine to keep posting.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T05:03:56Z.
one more from the team for tomorrow, if it fits: two extra settings at the same timestamps (0:38 / 2:26 / 2:59 / 3:41) would help a lot:
VICTORY_NAN_GUARD_STORES=1(our lead for lights that burn out).and if you have time,
KLBF_HEAP_SKIP=1+KLBF_PRIORITY=1together in the same A-B-A as tonight, to see if the smoothness gains add up. no rush at all.Imported from PastiiJay/klbf-lab. Originally posted by Zensura6427 on 2026-12-01T16:05:23Z.
Back with today's runs (v26.11.24
92aa6f4, same save, all CERTIFIED). Screenshots are not posted here: the side-by-side comparisons are sent via Send to KLBF Lab (runs of 16:15, 16:21, 16:27, 16:36).1.
KLBF_HEAP_SKIP=1+KLBF_PRIORITY=1together (A-B-B-A, no screenshots except the last A):About +5 % on the average, but not smoother together: freezes went up, not down. So the two don't add up here. Note: today's plain runs sit lower than last night (9.5 vs 10.6-11.7), now with FSR 4 Quality picked by Auto on .24.
2. Lighting, screenshots at 0:38 / 2:26 / 2:59 / 3:41 (one change each vs A):
KLBF_LOOK=coasting. D: "Indoor light" On.3.
VICTORY_NAN_GUARD_STORES=1: that run is invalid. Its shaders had to be translated during the bench ("compiling 2595 shaders", 1.8 fps, mostly black). I'll play with it on until the translation finishes and redo it on v26.12.3.bench-results.zip
Imported from PastiiJay/klbf-lab. Originally posted by Zensura6427 on 2026-12-01T16:10:12Z.
KLBF Lab report KR-6E1301 https://klbf-reports.pastiijay.workers.dev/r/2026-12-01/2738e77c-KLBF-report-KR-6E1301.klbfr
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-12-01T16:11:10Z.
thank you @Zensura6427, that's a great set of certified runs, and sending the screenshots through Send to KLBF Lab is exactly right 🙏 they're with the team. when you can, the newest pre-release (Updates tab → "Show pre-releases") has the same missions with Auto, which runs and sends them by itself.
Imported from PastiiJay/klbf-lab. Originally posted by Zensura6427 on 2026-12-01T16:14:09Z.
Thanks! Sent. I'll use Auto on v26.12.3 for the benchmark missions, a few at a time when the PC is free, so results will keep coming in through the day. The driving ones I'll leave for now: at ~5-10 fps the game isn't stable enough for 20 minutes of driving. The NAN_GUARD_STORES lighting run is still on my list, once its shaders are translated.