Repository navigation
Ghost of Yōtei on the Kyty backend: Windows measurements of fuzz/c1-inline and fuzz/play-all (2026-11-16) #21698
Replies: 4 comments 1 reply
|
@shahulmubeen-a thank you for this. A second machine on the same branches is exactly what we were missing, and splitting it out of #675 helps. A few things from our side (RTX 5080, Ryzen 9 9950X3D, Windows 11, game 1.008 at 1080p, Celegans12's Teshio Ridge save) that may change your numbers. Note that you are on 02.002.000 and we are on 1.008, so the hash-based pieces may engage differently. 1.
Your "where a frame goes" breakdown used 2. If you play past the prologue, set the PlayGo voice switches: 3. Other play-set changes since
4. Your switch results against ours. 5. The AI-assisted: yes |
|
A data point from a second Kyty-on-AnyPS5 port. The Two findings that may carry over to your branches, since you're on a 9950X3D too:
I haven't tried Yōtei on AnyKyty yet. If someone wants to run both ports on the same machine and scene, I'm happy to help line up the settings. Build steps and settings: AnyKyty. |
Update 2026-11-19: "Insufficient RTGI memory" crash at the Snake's dojo, and a one-patch fixNew-game play on our Kyty build (game 02.002.000, 1080p via our fixed-1080p relinker patch) died twice at the same place, when the Snake's dojo opens, with the title's own assert: The numbers are the same to the byte in every crash (2026-11-17 and three times today), so it is a fixed shortfall of 18.8 MB, not a leak. CONTINUE on a save made just before the dojo dies about 22 s into the load, which made it easy to test. What the game does (02.002.000, addresses are eboot VAs):
In both render modes our patch gives 1920x1080 for the render size and the output size. I have not shown what the unpatched game uses in the RTGI mode, so I can't say whether the fixed-1080p patch causes the shortfall or the emulated environment does. If someone plays through the dojo at the game's own resolution, or on 1.008 with the 1080p patch, a note on whether it asserts there would settle it. Fix: one more relinker patch that makes the fixed part 64 MiB larger. The game's own check then passes and nothing writes outside the block. [[patch]]
name = "render_block_extra"
target = "eboot.bin"
va = 0x1105b1e
expected = "b8003c4319"
value = "b8003c431d"
description = "render memory block: fixed part 0x19433c00 -> 0x1d433c00 (+64 MiB)"Test: the same save that died 22 s into the load now loads and ran for 7 minutes until the script closed it, at about 39 presents per second, with RTGI on for the first 106 s. One run so far; a longer play session through the dojo comes next. Other numbers from today's play (warm pipeline cache, 9 minutes from NEW GAME to the crash): 17 graphics and 6 compute pipelines compiled (11.5 s in total, slowest 2.2 s) plus 11 repeat variants (3.1 s). The picture was correct; fire flickered at times. Written by Claude Code, verified by me. |
|
@shahulmubeen-a a late follow-up on your build questions, and on what I promised in my last reply. New tip.
The removal A/Bs I promised (
combined27 play environment (trace and diagnostic switches removed)AI-assisted: yes |
Uh oh!
There was an error while loading. Please reload this page.
Measurements of the Kyty GPU backend in AnyPS5 on Ghost of Yōtei (PPSA26344), split out of the game thread #675 so the numbers and the switch A/B are easy to find.
Thanks first. No upstream PR was involved: everything below runs on branches. The backend is @Celegans12's port of Kyty's GPU backend into AnyPS5 (from KytyPS5-Yotei, whose authors did the hard part), and @DaftFuzz's
fuzz/c1-inline,fuzz/play-allandfuzz/play-pgoon top of it, including the wait switches measured here. Thank you all; going from 3 to 24 frames per second in the open world on this machine is your work, not ours.Windows 11, Ryzen 9 7950X, 16 GB NVIDIA card, 02.002.000, 1920x1080 output. Rates are presents per 10 s from the
[present]lines, 300 s windows in the open world (HOME save, standing still after CONTINUE) and 180 s at the title menu, runs of the configurations alternated in one session, warm caches.porter/nsight1114, 720p render, 2 cascades), no switchesfuzz/c1-inlineef1dc21, 1080p renderfuzz/play-all881901d + 16 wait switches, 1080p renderfuzz/play-all+ 16 wait switches, 720p render, 2 cascadesSo about 23.7 fps in the open world at 1080p (25.5 at 720p) and 51.5 at the title menu (60 at 720p, where every 10 s window reads 598-600 and AnyPS5's present cap is reached), against 3 and 10-12 on our own driver build. The Kyty frames also show the foliage and flowers that our build still draws as black shapes.
@DaftFuzz, your play-all switches on this machine. I built 881901d with the profile of
fuzz/play-pgoand turned on the ones your source describes as exact:COPY_HANDBACK,FIX_HANDBACK_REDO,COPY_CHAIN,COPY_PREDICT,BAR_GPU_DIRECT,EXACT_WALKER,EXACT_FAULTS,COUNT_EXACT,COUNT_GUEST,SERVE_IN_WAIT,SERVE_DRAW_WAITS,DRAIN_FREE_WAIT=3,LABELS_OFF_THREAD,COMPARE_LOCKFREE,MEMO_WAYS,PAD_HOT.KYTY_LIVE_ABwithKYTY_LIVE_AB_ALL=1, 15 s phases, 4 cycles, world: all together +8.2 % ± 0.4 (24.74 against 22.88 fps).COUNT_GUEST+4.3 ± 0.5 (fence wait per frame 2.6 → 0.2 ms),COMPARE_LOCKFREE+1.9 ± 0.5,BAR_GPU_DIRECT+1.5 ± 1.2,MEMO_WAYS+1.3 ± 0.6,SERVE_DRAW_WAITS+1.1 ± 1.1, the rest within ±1 %.ASYNC_REPROTECT,DEFER_READ_PROTECT,RING_WORDS_GPU: −0.8, −0.2, −0.2 % (20 s phases, 6 cycles).BAR_GPU_DIRECT+3.5 ± 0.4,EXACT_FAULTS+1.4 ± 0.6,EXACT_WALKER+0.8 ± 0.4,BAR_GPU_COPY=2−8.0,=64−6.0.unknown op(graphicsRun.cpp:3668), once on each build. A second start always worked.Negative results on Kyty here (world, 720p, ef1dc21 unless noted):
-march=znver4: 244.3 / 238.7 against 243.9. No gain.KYTY_PERF_PLACEMENT(all cores, second CCD only, stages on the second CCD): −5, −9, −12 %. Your default pinning is the best of the four on a two-CCD CPU without V-Cache.ADOPT_RUNS,VERIFY_RANGE,GPU_POLL: within ±1 %.KYTY_FIX_VIRTUAL_GPU_CLOCK=0: 244.4, no gain.Where a world frame goes on this machine (720p, ef1dc21, 42.7 ms, from
KYTY_TRACE_PERF,PASS_CENSUS,WAIT_SITES,GPU_TIMEand an instruction-pointer sampler):BarGpuRead(about 29 MB of second-queue copies per frame), 2.3 ms inVirtualGpuClock::Flushfence waits, about 8 ms idle. The other stage threads spin behind it.TABLES_ASSUME_UNCHANGED+1.4 %,ADOPT_ASSUME_UNCHANGED+1.3 %,CEILING_SRT_NO_WAIT−4.6 %.Our own driver build, for the record (
porter/nsight1114on our fork, measured 11-15, world / menu against that day's start): switch setsbest+21 % / +19 %,bestx+29 % / +23 %. The pieces: lazy in-place reads +3 %, compute queues that resolve their dispatch groups while they wait +2 to +3 %, HTILE slice expansion, mimalloc +4 to +6 %. At 3 fps it is no longer the build to play on.Checked: every number is from runs alternated in one session or from an in-run A/B; a run whose end-of-run screenshot showed the wrong scene was dropped; a 30-minute run on ef1dc21 at 1080p held 209-218 with a correct picture to the end, and the 25-minute run with the switches above.
Not checked: anything but two standing scenes (no traversal, no combat, no compile hitches, none of the compile-side play-all switches); picture equality beyond looking at screenshots (the scene moves); the hypervisor is on with memory integrity, and I have not measured without it; AMD and Intel GPUs; Linux.
Local experiment commits (flip switches, the merged profile,
APS5_KYTY_MARCH) are onporter/kyty1116on our fork.AI-assisted: yes
All reactions