RTX 4080 / Win10: 27.2 fps median (28.6 max, 0 stutters >55 ms) — reproducible NVIDIA recipe, PR stack, and 3 unused NVIDIA GPU leads #1265
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 fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T07:11:21Z.
Sharing reproducible RTX 4080 / Windows 10 measurements showing 27.2 fps median (28.6 fps max, 0 stutters >55 ms across 8 minutes of steady world gameplay) with native visuals (no blurry glass overlay, no black shards), plus three NVIDIA GPU leads that explain why the card still sits at ~100 W / 7% VRAM util.
Hardware & Test Setup
P0, 2,805 MHz GPU / 11,201 MHz VRAM) · Intel i5-13600K (6P+8E, 14c/20t) · Windows 10 (D3D12 Agility SDK)--execute --console series-s, prison cell opening world scene (~4,500 draws/frame), 10-minute full recorded runsVICTORY_RENDER_SCALE=0.6666667(720p internal → 1080pVICTORY_OWN_UPSCALER=1),VICTORY_COMPOSE=1, RT off (VICTORY_SKIP_PIPELINESskipping the 1,034 RT resolve/traced-shadow shaders), ambient lighting tuned (VICTORY_AMBIENT=0.75,VICTORY_AMBIENT_AIR=1.5,VICTORY_AMBIENT_MOST=2,VICTORY_AMBIENT_SHADE=1.1,0.6,VICTORY_AMBIENT_REFLECT=0.65,VICTORY_NAN_SCRUB=1)Recipe: PR Stack + Key Env Vars for 25–27+ FPS on NVIDIA
Built on
trustno1-coder/VIctory-NVIDIA(main, LTO + AVX2release) with the following cherry-picked PRs:avatarmanz/VIctory-7900XTXspeed wave (0a43566..85d5641),#105(VICTORY_PLACED_FORWARD),#107(VICTORY_ALIAS_CAST),#119(headroom-scaled VRAM spares — critical on 16 GB cards),#96(8-shard dynamic descriptor pool),#97(placed UAVs),#109(divergent wave32 barrier guard),#82(exact wave32 cascade shadows),#24/#42/#108/#114,fxceless#1044(phys-core dstorage),fxceless#1146(VICTORY_LAND_ASIDE=1),Marvisak#3037(kernel_writing),VertexGUARDSRwLock.fxceless#868(VICTORY_SKIP_WC_COMPARE=1,VICTORY_SKIP_WC_BACK=1) — cut card compare passes 71% (79 → 23), pieces compared 52% (11,862 → 5,670), hash passes ~25–36% (121–141 → 92–109); 100% stable over multiple 10-minute runs.fxceless#907(ForceEarlyDepthStencil) — completely eliminates the blurry window-glass square overlaying Lucia's hair in the prison cell.fxceless#1264(VICTORY_BAKE_SOURCES=1) — actively caught and uploaded 31–36 waiting character decoration-bake textures before their bake draws.fxceless#1210(preserve min-LOD on streamed texture views) +fxceless#1248(VICTORY_TABLE_SETTLE=1+ extendedRECHECK_FRAMES).PastiiJay/klbf-lab#41(DXIL pure LICM + canonical ptr-path non-aliasing LDS/private forwarding & DSE + adjacentdx.op.barrierdedup + canonical cmp/algebraic folds): +1.80 fps (-2.6 ms/frame) pure warm-cache GPU gain!play-nvidia.ps1):Measured Progression (10-min Runs, Same Scene,
release)fx#868(SKIP_WC_COMPARE=1)40.0 ms)fx#907(EarlyDepth) + Smart GPU Barriers39.3 ms)WAIT_MS=10000,STAGE_MS=500)klbf#41+klbf#50+fx#1264/1210/1248(cold cache, 16 normal workers)45.2 ms, CPU-bound compiling)36.7 ms, n=96 5s intervals)35.0 ms)nvidia-smi):P0, median 2,805 MHz GPU, 99.8 W (out of 320 W TDP), 99% GPU util, 7% VRAM util, max 12,809 MiB VRAM.klbf#50(refused 6 → 10):#50's stricter write-only WAW/cyclic rejection refused 4 additional compute shaders on NVIDIA (89d08e561897d4e5,55679a0547649d0b[skinning],1f1fbd86759b3da2,caf96a3229145fa6) that upstreamlds_meetingsaccepted cleanly. Reported directly onPastiiJay/klbf-lab#50.What Hurt or Didn't Help (Saved Re-Testing)
VICTORY_CARD_BUFFERS_MIN_KB=64(even withCARD_BUFFERS_MB=2048): caused 6 one-frame black shard flashes in 20 s (~18/min) vs 0 in 90 s atMIN_MB=1/1536 MB.VICTORY_CARD_WINDOWS_MB=3072: 0 ms GPU speedup, +3 GB VRAM, +10 MB/frame uploads.VICTORY_STREAM_COPY=1/VICTORY_STREAM_REFRESH=1(AVX2 non-temporal stores): +2.2 ms CPU regression on i5-13600K (L3 cache eviction on hot buffers).VICTORY_PIPELINE_WORKERS=16withVICTORY_PIPELINE_LOWEST=0: starved the submitting thread (that thread workedjumped from 24.4 ms → 41.7 ms) during cold-cache compiles.3 High-Leverage Unused GPU Leads on NVIDIA (Why RTX 4080 Sits at 100 W / 7% VRAM / 99% Util)
Even at 2,805 MHz and 99% GPU util, the RTX 4080 is only drawing ~100 W (31% TDP) and 7% VRAM bandwidth — classic warp-stall / SM-drain symptoms:
split_ldsbarrier storm on Wave32 (victory-shader/src/emit/lower.rs:5788): emits a fullGroupMemoryBarrierWithGroupSync(dx.op.barrier) before everyds_readandds_writein Wave64-split compute shaders, including consecutive read-after-read bursts and immediately after ans_barrier. Because loads sit between them, adjacent-barrier dedup (klbf#41) cannot drop them. Coalescing consecutiveds_reads and post-s_barrieraccesses within all-lane blocks is sound and should cutBAR.SYNCstalls significantly.rdna_floatgated off on NVIDIA (victory-shader/src/emit/lower.rs:1516): NVIDIA currently emits 21 DXIL instructions for everyv_med3_f32(evenclamp(x, low, high)between ordered constants, which is 2 opsFMax/FMinand NaN-exact on NVIDIA too!), 10 extra ops for everyv_max_f32/v_min_f32(just for-0vs+0), and 6 ops for everyv_mul_legacy_f32(evenx * xor finite × non-zero constant).barrier_groups: Inspecting single-elementD3D12_BARRIER_GROUPstructs + consecutive UAV dedup + removing redundant indirect UAV barriers cut ~165 global UAV barriers/frame, leaving ~595 emitted/frame — of which 178/frame (30%) are multi-elementTYPE_TEXTUREgroups (g.num > 1) still conservatively emitting a global UAV barrier.Will test those 3 leads next on RTX 4080 and report back!
Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T08:12:24Z.
Update (Batch 8 + Batch 9 verified 10-minute RTX 4080 runs)
We tested two more batches on RTX 4080 16 GB / i5-13600K / Windows 10 (
--console series-s,render_scale=0.6667, RT skipped, full 10-minute recorded runs):1. Window glass / transmission shader + 5 more Wave32 shaders recovered (
10 → 4refused)2da4beb386509b77,CS_AlphTransmissionPrefilterMip): Incrates/victory-shader/src/resource.rs,Tracer::descriptor()andTracer::live()omitted per-instructionlanes.guards[at.0][at.1]when pruning dead join edges (trackingat: Cell<Option<usize>>instead ofCell<Option<Site>>). Addinglanes.guards[at.0][at.1]toknownrecovers2da4beb386509b77cleanly on NVIDIA Wave32. Combined withfx#907(ForceEarlyDepthStencil), the prison window now renders real frosted refraction properly behind Lucia's hair with zero blurry overlay.369cbe906ea72764recovered via single-latchs_andn2_wrexec_b64+s_cbranch_scc1active-loop widening (emit/mod.rs) +restored_lanes/scc_some/ ordered-LDSlane_uniform(resource.rs,lower.rs).89d08e561897d4e5,55679a0547649d0b,1f1fbd86759b3da2,caf96a3229145fa6recovered onklbf#50(lds.rs) by trackinghas_plain_readseparately fromKind::Rmw(details posted onPastiiJay/klbf-lab#50).02384a60fda6f2d0,6b82bc7d22016cb5,5dc3b25986622949,6f225b641c5b0708),0untranslated.2. Loading, streaming & stability wins
VICTORY_DSTORAGE_STAGING_MB=256, up from 32 MiB) indstorage.rsprevents multi-MB RPF chunks from starving worker threads during world entry/streaming.WaitOnAddress/WakeByAddressAllblocking fence waits infence.rs, immediateDetached::release_tables()on GPU completion (list.rs+host.rsinstead of holding dynamic descriptor slots acrossbury_lag=16),VICTORY_INDIRECT_REST=0default (indirect.rs), and XMA audio skipped-frame/refill fixes (audio.rs).n=88settled 5s intervals,making=0, cold-cache startup -> world entry94.6 s, settled199.3 s):25.55 fps(39.1 ms/frame,p10 24.50,p90 27.10,max 28.20), worst settled frame46.3 ms,0steady stutters>55 ms4,520draws/frame (+220 more real draws/frame with the 6 recovered shaders +VICTORY_INDIRECT_REST=0)0.9 MB/framecopy-back,13,345 MiBmedian /13,563 MiBpeak VRAM3. Key GPU bottleneck clue (Batch 8 A/B -> profiling now)
In Batch 8 (Pass 9 warm,
n=71), combiningsplit_ldsread-after-read / post-s_barriercoalescing + NVIDIA fast float (MAX_MIN|LEGACY|MED3) + 64-byte multi-elementD3D12_TEXTURE_BARRIERinspection (tex_multi_kept: 178 → 0,-30global UAV barriers/frame) was flat (27.00 fps / 37.1 msvs Pass 727.20 fps / 36.7 ms), while the RTX 4080 sits at~98 W(~30% TDP),99%GPU util,6–7%VRAM util. That proves we are not shader-ALU bound — next run isdiag+VICTORY_GPU_TIMING=1+VICTORY_D3D12_DRED=1on the warm cache to post the exact per-list GPU breakdown (title'svspreludesvsstepsvscomparesvsothers) and attack whatever owns those~37–39 ms.Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T08:52:23Z.
SOLVED —
VICTORY_FETCH_CHECK=1eliminates theMIN_KB=64black-shard flashes on RTX 4080 (32.0 fpsmedian,34.4 fpsmax,0/60corrupted frames)!We found and verified the root cause of the 1-frame black-shard flashes we previously reported with
VICTORY_CARD_BUFFERS_MIN_KB=64:host/torn.rs): WithVICTORY_RELAY_COPY=1, the copy queue fetches small<1 MiBdynamic buffers back while a later flight is clearing/refilling them, landing torn intermediate bytes into the CPU side that later upload back over valid data.VICTORY_CARD_BUFFERS_MIN_KB=64+VICTORY_CARD_BUFFERS_MB=2048+VICTORY_FETCH_CHECK=1+VICTORY_SKIP_WC_BACK=1+VICTORY_SKIP_WC_COMPARE=1.VICTORY_SKIP_WC_BACK=1+VICTORY_SKIP_WC_COMPARE=1keeps write-combining buffers off the copy-back path (0.3 MB/framecopy-back), soVICTORY_FETCH_CHECK=1only has to verify~52pieces/frame.VICTORY_FETCH_CHECK=1actively caught and repaired0.9–3.5torn 64 KiB pieces per frame (100%recovered whole on re-fetch!).Measured 10-minute RTX 4080 16 GB (Windows 10, i5-13600K, Series S
render_scale=0.6667, RT skipped)n=109/114)MIN_MB=1,CARD_BUFFERS_MB=153676.5 s25.70 fps(38.9 ms)25.90 fps28.400.9 MBMIN_KB=64,CARD_BUFFERS_MB=2048,FETCH_CHECK=170.1 s32.00 fps(31.2 ms)32.00 fps(worst33.4 ms,0stutters>55 ms)34.400.3 MB0/60black flashes across two 15 s / 2 fps burst contact sheets (t=420..435,t=520..535), native frosted glass intactGPU wait dropped to
0.0 mson the GPU (13,375 MiBpeak VRAM,104.7 W,2805 MHz) — shifting the frame from GPU-bound to 100% CPU-bound (24.2 mspreparing +6.7 mscopy-back).Imported from fxceless/victory-fork. Originally posted by HLVM04 on 2026-11-26T08:56:55Z.
A caution on
VICTORY_SKIP_WC_BACK=1(#868) in this recipe, from an RTX 5070 Ti (Windows 11, Series S profile, fork main plus PRs and local changes, ray tracing off):The table above judges the recipe on black flashes, and with RT skipped and
VICTORY_AMBIENTon, a missing lamp may be easy to miss. An A/B of the room lighting with and without the switch (same spot, ambient off) would show whether it happens on your tree too. Our runs were few and on a different tree, so take this as a reason to check, not as proof.Imported from fxceless/victory-fork. Originally posted by Danigamer05 on 2026-11-26T12:10:28Z.
A data point from a much slower machine, on the same base tree (
trustno1-coder/VIctory-NVIDIA033be27, unmodified). On this CPU the frame is still CPU-bound, but the tree is clearly faster than the fxceless-based one I had been using.Machine: RTX 2080 SUPER 8 GB (Turing, budget about 6.9 GB), Ryzen 7 3700X, 32 GB RAM, Windows 11, diagnostics build,
--console series-s.Switches: the default set of
scripts/play-nvidia.ps1(RT resolve and traced-shadow shaders skipped,CARD_BUFFERS_MIN_MB=1,CARD_BUFFERS_MB=1536,PIPELINE_WAIT_MS=10000, and so on), without Smooth Motion. Every shader was translated ahead withvictory.exe shaders(25,776, 209 do not translate).Each run is 600 s from launch, the same save, through the opening cutscene to the cell and the common room. The numbers are medians of the last 90 s.
dc4c0fc+ #1002 #1112 #798 #1081 + CPU PRs,TEXTURE_NO_WAIT=0(for comparison)TEXTURE_NO_WAIT=1), first run on the treeTEXTURE_NO_WAIT=0RENDER_SCALE=0.6667),TEXTURE_NO_WAIT=0What I saw:
TEXTURE_NO_WAIT=1the faces were gone. WithTEXTURE_NO_WAIT=0they are right in the cutscene and in gameplay, and it cost no frame rate here (9.4 against 8.4, though the first run also paid for the driver making pipelines). That fits the race described in #923.PIPELINE_WAIT_MS=10000while the driver made pipelines. In the following runs it was gone.Caveats: one run per setting, judged by eye on screenshots every 10 s plus the player's view, and one scene only.
Numbers and text only. AI-assisted (Claude Code).
Imported from fxceless/victory-fork. Originally posted by d0dev on 2026-11-26T12:56:38Z.
Data point on
trustno1-coder/VIctory-NVIDIA033be27(diag build,scripts\play-S-720p.ps1 -NoSmoothMotion, so Series S at 720p with the RT skip list): RTX 4070 Ti SUPER 16 GB (driver 616.92), Ryzen 7 5800X3D, 32 GB, Windows 11. Same save on the first boat mission, mean of the last 8 frame-log readings with >3,000 draws each:TEXTURE_NO_WAIT=0TEXTURE_NO_WAIT=0 CARD_STEPS=0TEXTURE_NO_WAIT=0fixes the faces and is faster here too.CARD_STEPS=2is worth ~5 fps, but the triangles and flicker went away only withCARD_STEPS=0.WIDE.Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T14:39:20Z.
Update — Solved
MIN_KB=64+SKIP_WCblack-frame bug (VICTORY_SKIP_WC_MIN_KB=1024): verified32.00 fpsmedian,0/230black frames, full4,505draws/frame, GPU down to61%busy!Thanks @Danigamer05 and @d0dev for the 2080 SUPER and 4070 Ti SUPER data points — that
VICTORY_TEXTURE_NO_WAIT=0face-fix + speedup observation is super useful! We plan to A/BTEXTURE_NO_WAIT=0right alongside#1274(VICTORY_SECTION_MB=2, which cuts texture-remap stalls37 ms -> ~1 ms) in our next pass.Two major verified updates from our RTX 4080 16 GB / i5-13600K / Win10 testing:
1. Critical fix for
VICTORY_CARD_BUFFERS_MIN_KB=64+VICTORY_SKIP_WC_COMPARE=1(VICTORY_SKIP_WC_MIN_KB, default1024KiB)Earlier we noticed
MIN_KB=64 + FETCH_CHECK=1 + SKIP_WC_COMPARE=1gave32 fps, but 5 subsequent 10-minute runs showed that unguardedSKIP_WC_COMPARE=1atMIN_KB=64triggers 66–72% full-screen black frames (152/230on6733ddf) and drops ~744 draws/frame (4,562 -> 3,818).4,045of GTA 6's4,179< 1 MiBbuffers (45.8 MB) live in the0x948a00000..0x998700000write-combining (0x2404) heap. Skipping compare/copy-back on< 1 MiBWC buffers drops263pieces/frame (3.3 MB), starving draw/exposure buffers. Meanwhile, the ~40>= 1 MiBWC buffers account for516pieces/frame (39.0 MB) and are 100% safe to skip.VICTORY_SKIP_WC_COMPAREandVICTORY_SKIP_WC_BACKby buffer size (shadow.span().1 >= VICTORY_SKIP_WC_MIN_KB, default1024KiB). Full breakdown posted in #1163.GPUUploadHeapSupported=falseon Win10 WDDM 2.7 (card memory the CPU maps supported=false), soSMALL_BUFFERS_BAR_MB/WINDOWS_BAR_MBdon't engage on Win10 — makingMIN_KB=64 + CARD_BUFFERS_MB=2048 + FETCH_CHECK=1 + SKIP_WC_MIN_KB=1024the key win on Win10 NVIDIA.2. Verified
klbf-lab#57shadow/watch CPU optimizations in live GTA 6We ported the
PastiiJay/klbf-lab#57shadow/watch stack (O(dirty)TOUCHED_CARDS, 64-page-per-wordCopiedPagesbitmask, lock-freehas_pending, directmerge_under_writes,FOUND_LOOSETLS cache, in-placejoined(), AVX2 SIMD diff/merge) and verified it with a 10-minute live runtime oracle audit (31,249log lines, 0 mismatches across all 7 fast paths). In steady state on i5-13600K:noting the runs:~3.7 ms -> 1.28 ms(-65%)finding the pages:~0.28 ms -> 0.05 ms(-82%)10-minute RTX 4080 / Win10 A/B summary (
render_scale=0.6667, Series S, RT skipped,t=140..600sn=230scan)BLACK(n=230)MIN_KB=64, unguardedSKIP_WC33.8533.9(35.6)3,81854(1.3 MB)74%152/230(66%)MIN_MB=1,SKIP_WC=125.5525.6(28.1)4,562317(4.6 MB)99%(~39 ms)0/230MIN_KB=64,SKIP_WC=026.8526.9(28.2)4,525833(43.5 MB)77%0/230MIN_KB=64,FETCH_CHECK=1,SKIP_WC_MIN_KB=1024+ klbf-lab#5732.0032.00(32.70,0>55 ms)4,505317(4.5 MB)61%(~18 ms)0/230(120/120bursts clean)Next up: porting #1184 (
VICTORY_HOIST_CLAMPS=1), #1274 (VICTORY_SECTION_MB=2), and #1276 (HostHeap::dropcleanup), then attacking the remainingvictory-submitCPU bottleneck (32.8 msworking while RTX 4080 is now only61%busy!).Imported from fxceless/victory-fork. Originally posted by d0dev on 2026-11-26T14:52:08Z.
@Proudnoob4 Thanks for the update and for picking up the
TEXTURE_NO_WAIT=0point. TheVICTORY_SKIP_WC_MIN_KBfinding looks like it explains something I saw: withSKIP_WC_BACK=1on fxceless' tree the prison rooms render noticeably darker on my 4070 Ti SUPER. I added the same size gate locally (skip only buffers ≥ 1 MiB) to compare.Would you be willing to push the branch with the
SKIP_WC_MIN_KBgate and your klbf-lab#57 port? I tried cherry-picking klbf-lab#57 (ea3f336) onto both fxcelessmainandVIctory-NVIDIA033be27, and it conflicts in 12 and 26 places inshadow.rsrespectively, all in the copy-back merge paths. I'd rather test your audited port than resolve those by hand. I'll post the numbers from the 4070 Ti SUPER / 5800X3D back here.Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T14:58:54Z.
@d0dev Pushed our Pass 15 verified branch (
f3c8a1f, built on top oftrustno1-coder/VIctory-NVIDIA033be27) here:b22c0a7— audited port ofPastiiJay/klbf-lab#57(O(dirty)TOUCHED_CARDS, 64-page-per-wordCopiedPagesbitmask, lock-freehas_pending, directmerge_under_writes,FOUND_LOOSETLS cache, in-placejoined(), AVX2 diff/merge;0mismatches over a 10-min live GTA 6 runtime-oracle run)f3c8a1f—VICTORY_SKIP_WC_MIN_KB(default1024KiB =1 MiB) gating bothVICTORY_SKIP_WC_COMPAREandVICTORY_SKIP_WC_BACKincensus.rsandhost.rsSwitches used in our verified Pass 15 run (
32.00 fpsmed,0/230black frames,4,505draws/frame on RTX 4080 / i5-13600K / Win10):play-nvidia.ps1baseline +rt_off_hashes.txt(VICTORY_SKIP_SYNC=1)VICTORY_RENDER_SCALE=0.6666667,VICTORY_OWN_UPSCALER=1,VICTORY_COMPOSE=1,VICTORY_NAN_SCRUB=1VICTORY_CARD_BUFFERS_MIN_KB=64,VICTORY_CARD_BUFFERS_MB=2048,VICTORY_FETCH_CHECK=1VICTORY_SKIP_WC_BACK=1,VICTORY_SKIP_WC_COMPARE=1(VICTORY_SKIP_WC_MIN_KBdefaults to1024)VICTORY_LAND_ASIDE=1,VICTORY_LAND_SKIP=1,VICTORY_SMART_BARRIERS=1,VICTORY_DEDUP_BARRIERS=1,VICTORY_COPY_BESIDE=1,VICTORY_STORE_BESIDE=1VICTORY_NV_FLOAT=7,VICTORY_SPLIT_LDS_COALESCE=1,VICTORY_LDS_WRITE_ONLY_OK=1VICTORY_STREAM_COPY=0,VICTORY_STREAM_REFRESH=0(AVX2 NT stores regressed+2.2 mson our CPU; may differ on 5800X3D)VICTORY_TEXTURE_NO_WAIT=0on your boat save!Looking forward to your 4070 Ti SUPER / 5800X3D numbers — especially interested in how
VICTORY_SKIP_WC_MIN_KB=1024affects the prison lighting you noticed!Imported from fxceless/victory-fork. Originally posted by d0dev on 2026-11-26T16:13:18Z.
@Proudnoob4 Thanks for pushing the branch. Numbers from my RTX 4070 Ti SUPER 16 GB (driver 616.92) / Ryzen 7 5800X3D / 32 GB / Windows 11 26200, diag build,
play-S-720p.ps1 -NoSmoothMotion, your Pass 15 switch list plusVICTORY_TEXTURE_NO_WAIT=0, first boat mission, mean of 8 frame-log readings with >3,000 draws:989e5c6(batch 12)f42d67b(batch 13),LAZY_COPYBACKoff(The second run had ~3,430 draws/frame against ~3,720, so part of that gap is the scene.)
Picture: no flicker or triangles on the boat, faces right, and the prison is no longer dark with
SKIP_WC_MIN_KBat its default, which matches what you expected. The probation officer's glasses look mostly right too. The only thing I'd call out is softness in the distance, which I put down to the 720p render scale.VICTORY_LAZY_COPYBACK=1crashed about 2.5 min after launch, just after reaching the world:0xc0000005 at victory-image-…dll+0xc4b94e (write 0xfaff804: no access), then the same at0xfaffc04. The last line before it:27.5 newly armed, 61.8 steady hits, 1.3 VEH read faults, 16.0 VEH write faults, 9.8 explicit flushes (1.70 MB), 160 pages armed now. So a write to an armed page got past the handler.One setup note for Windows 11 users: with
bd5fa48(the Agility SDK exports) the device creation failed with0x887E0003until I putD3D12Core.dllfromMicrosoft.Direct3D.D3D121.620.2 intotarget\diag\D3D12\(this tree has nocargo xtask agility).Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T16:50:21Z.
@d0dev Really appreciate the 4070 Ti SUPER / 5800X3D numbers and the visual confirmation — awesome to hear
VICTORY_SKIP_WC_MIN_KB=1024fixed the dark prison lighting on your end too, and+3.7 fps(23.2 -> 26.9 fps,preparing 32.7 -> 27.4 ms) fromklbf-lab#57+ Batch 13 matches what we measured!Two quick follow-ups + a fresh branch push (
f53aa2bonProudnoob4/VIctory-NVIDIAnvidia-hybrid-v2):VICTORY_LAZY_COPYBACK=1VEH crash (0xc0000005write to armed page0xfaff804escaping the handler on Win 11 / 5800X3D) — I'll relay that exact trace to@PastiiJay/@Vladimir-HumanonPastiiJay/klbf-lab#59(we also keepVICTORY_LAZY_COPYBACK=0by default). Also noted your Windows 110x887E0003Agility SDKD3D12Core.dll1.620.2setup note.f53aa2b(Batch 14 + 14b, purevictory-gpu/victory-hle, zero shader cache rebuild):trustno1-coder/VIctory-NVIDIA#1(ebf3d3c9): splittingExecuteCommandLists(check)unconditionally added+16extra WDDM submits/frame and regressed our RTX 4080 by~2.5 ms. Inf53aa2bwe gated the split behindVICTORY_SPLIT_COMPARE_SUBMIT=1(ordiagnostics+VICTORY_D3D12_DEBUG), keeping release gaming on the single submit path.VICTORY_SET_CACHE(default ON; credit@zocram4cc): 4,215 skipped host bindings/frame (23.6%).VICTORY_FIND_BUCKETS(default ON; credit@zocram4cc),fxceless#1320+fxceless#1324(HostHeap::id()slot safety; credit@CwWwWwW).VICTORY_MAP_LOCK_FINE=1,VICTORY_PARTIAL_DELTA=1,VICTORY_BAKE_DELTA=1(credit@zocram4cc/Op-lite/victory-scarlett), andVICTORY_ASK_TEXTURES=1(53.8% write-watch cache hit on textures whenVICTORY_ASK_QUIET=0).VICTORY_ASK_QUIET=4: hurt+0.95 mson native Win 10 (1 MiBGetWriteWatchblock expansion; Linux/Wine RPC win only).VICTORY_COPY_COMPARE=1: cut PCIe upload19.3 -> 6.9 MB/f(-64%) and hash passes157 -> 92, but fragmentedCopyBufferRegionranges66.9k -> 72.1k(+0.5 msCPU copies).VICTORY_PORT_JOURNAL=1(avatarmanzPort 7): pushed ourheap_syncfrom4.65 -> 7.09 ms(+2.44 ms) because asking heap records at every title submit (28/f) scanned322pages vs200pages when batched byVICTORY_JOIN_PARTS=8(16/f). Left opt-in OFF by default.Next up we're tackling the 27–29 ms GPU active ceiling (
86–89.5%GPU busy on RTX 4080 in the 4,580-draw yard scene) by portingMarvisak/VIctory#2825(native16f16 math) +PastiiJay/klbf-lab#50(Wave32 LDS hazard analysis) +PastiiJay/klbf-lab#41(DXIL LICM/LDS/barrier opt) together in one shader cache rebuild, plusTablePlan/ scoped bindless heap refreshes /VICTORY_POOL_DISCARD=1(crediting@codec_d&Op-lite/victory-scarlett).Imported from fxceless/victory-fork. Originally posted by Victorywillbeours222 on 2026-11-26T18:39:21Z.
Data point for
Proudnoob4/VIctory-NVIDIAnvidia-hybrid-v2f53aa2bon a different processor: RTX 5080 16 GB, Ryzen 7 5800X (8 cores, no X3D), 32 GB, Windows 11 26200. Diagnostics build,--console series-s.Switches: play-nvidia.ps1's set at 720p (
RENDER_SCALE=0.6666667,OWN_UPSCALER,COMPOSE,BVH_MISS,rt_off_hashes.txt),RELAY=2,CARD_STEPS=2,TEXTURE_NO_WAIT=0, plus the Pass 15 list as posted (SKIP_SYNC,CARD_BUFFERS_MIN_KB=64,CARD_BUFFERS_MB=2048,FETCH_CHECK,SKIP_WC_BACK,SKIP_WC_COMPAREwithSKIP_WC_MIN_KBat its default,LAND_ASIDE,LAND_SKIP,SMART_BARRIERS,DEDUP_BARRIERS,COPY_BESIDE,STORE_BESIDE,NV_FLOAT=7,SPLIT_LDS_COALESCE,LDS_WRITE_ONLY_OK,STREAM_COPY=0,STREAM_REFRESH=0) and Batch 14b'sMAP_LOCK_FINE,PARTIAL_DELTA,BAKE_DELTA,ASK_TEXTURES. Shaders were warmed with the same switches set, sinceNV_FLOAT,SPLIT_LDS_COALESCE,LDS_WRITE_ONLY_OK,BVH_MISSandNAN_SCRUBare in the cache key.Local changes:
bd5fa48(the Agility SDK 620 exports) is reverted. Without aD3D12Core.dllbeside the exe, device creation fails on Windows 11 26200 (0x887E0003), as d0dev found. Reverted, the system runtime (10.0.26100.9818) works.VICTORY_REAPERis ported, to measure it here (below).2d1dc38is cherry-picked. It conflicts intexback.rswithMAP_LOCK_FINE, and I kept the ranged lock:title_memory_reading_in(at, end - at)in the writer.Result, hands-off, the opening cell (600 s from launch; the first run on a fresh cache spends ~200 s with the driver making pipelines):
2d1dc38(89 windows)(Medians of the frame-log lines with over 3,000 draws, after each run's last pipeline wait.) With the pipelines kept from run 53, the world is steady about 140 s from launch instead of 220.
2d1dc38(the texture read-back writer thread) can't show in this scene: the log has 0 texture read-backs a frame there. I kept it for streaming scenes. 0 errors and no device loss in either run. The picture in the cell is right: faces, hair, the window, and the photos and notes on the wall. For scale, the same machine and scene on fxceless main (ceb9e1f+ #1002, with the #1317 processor switches) does 9.1 fps.Where the frame goes on a 5800X: the submitting thread is the limit. The
ASYNC_SUBMITline says "that thread worked 48.0 ms" of the 52. The card is about 53% busy, and 24 ms of the frame it waits behind us. The preparing line, per frame:Three off-by-default switches for that thread, run 56:
VICTORY_AB=15,VICTORY_LANE_CORE,VICTORY_UP_QUEUE,VICTORY_JOIN_BARRIERS, so all eight combinations came in turn. The run was hands-off in the same scene, 660 s, 0 errors. I kept the 36 phases with ≥100 frames and >3,000 draws. Medians of the phases' median frames:LANE_COREUP_QUEUEJOIN_BARRIERSAll three off was the fastest combination: 50.8 ms, p90 56.1. On an 8-core 5800X, giving the submitting thread a core of its own costs more than it gains. My guess, not measured: the other threads have one core fewer. So the defaults are right on this processor.
VICTORY_REAPER(fork #1349) does nothing on this tree: 52.0 ms on, 51.9 off. About 47,000 retired objects a frame take 1.0 ms to drop; details on #1349.Not tested here:
VICTORY_WINDOWS_BAR_MB(VIctory-NVIDIAcda4987). This PC has resizable BAR off (BAR1 256 MiB), somapped_card_bufferwould give nothing.Numbers and text only. AI-assisted (Claude Code).
Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T19:04:16Z.
World-entry stall on RTX 4080 / i5-13600K: what it is, and why DirectStorage is not the cause
Setup:
Proudnoob4/VIctory-NVIDIAnvidia-hybrid-v2(926f113), Windows 10, Series S, render scale 0.6667. Runs 20-26 today; the first in-world minutes run at 0.1-6 fps before settling at 31-33 fps. Measured from the first in-world frame to 5 log lines >= 20 fps, the stall was 115, 174, 173, 242 and 182 s in five runs of near-identical settings, so single A/Bs of its length prove little.What the title waits on. Its main thread spins at
+0x4fb0bd0in the console'smonitorx/mwaitxwait (patched topause+Sleep(0)on Intel), called from a two-slot frames-in-flight ring at+0x247476d: it waits for frame N-2. That spin shows up as CPU time in profiles (98 s in a 205 s window) and is invisible to wait hooks.Where the time goes (
VICTORY_TIMELINE=200+240+280,2,...on a diag build: the chain of work and waits behind each present). The card runs 15-17 ms per stall frame and idles 2.3-3.3 s. The chain to each next submission is roughly half the title's own job threads running (several threads, 150-500 ms each) and half ours:submit: the lists' steps217-390 ms in every window, the descriptor-records thread 745 ms at world entry, thevictory-underpool 71-445 ms, texture/copy refreshes 124-159 ms.DirectStorage is not on that chain. With
VICTORY_DSTORAGE_LOG, reads come in bursts that fill all 14 workers (300-1,200 queued at the peak), but each read takes 1-6 ms (median) and the workers then sit idle 1.5-2.6 s until the title's streaming thread submits again (the timeline names it as the waker). Ruled out on this machine:VICTORY_DISK_CORES=slow): A/B any-core vs E-cores gave stall 173 vs 242 s but longer queue waits unpinned (p90 1,019 vs 262 ms), so no clear win.timeBeginPeriod(1)is already set) and file handles (Io::Handles, one per worker).Separate stutter sources seen in the same runs:
host::mapped(the aside copy fenced after new card memory) single waits up to 1,004 ms, andMakeResidentwaits up to 422 ms.AI-assisted (Claude Code).
Imported from fxceless/victory-fork. Originally posted by d0dev on 2026-11-26T19:06:27Z.
@Proudnoob4 Results for
f53aa2bon my RTX 4070 Ti SUPER / Ryzen 7 5800X3D / Windows 11 26200, same Pass 15 list +TEXTURE_NO_WAIT=0+ your newMAP_LOCK_FINE=1 PARTIAL_DELTA=1 BAKE_DELTA=1 ASK_TEXTURES=1, boat mission (~3,500 draws/frame), per-minute averages:STREAM_COPY=0 STREAM_REFRESH=0): ~27 fps in the first two minutes on the boat, then steady at ~25 fps (preparing ~30 ms) for the next four; copy-back ~6.5 ms, card ~50–60 % busySTREAM_COPY=1 STREAM_REFRESH=1: ~28 fps one minute in (preparing ~26 ms). That's within the early-minutes range above, so on the 5800X3D I'd call the NT stores neutral, not the +2.2 ms regression you saw.ReBAR: couldn't test
SMALL_BUFFERS_BAR_MB/WINDOWS_BAR_MB: the log sayscard memory the CPU maps supported=false, andnvidia-smishows BAR1 = 256 MiB, so Resizable BAR is off in my BIOS (same as Victorywillbeours222's 5800X). I'll retest once I enable it.Picture issues I've seen on your branch:
CARD_STEPS=2(the recipe's default) clothes flicker after getting off the boat, and reloading the checkpoint doesn't stop it. WithCARD_STEPS=0it's gone, but the boat goes from ~25–27 to ~14.6 fps.STREAM_*switches. It looks timing-dependent, maybe the skin bake reading a texture before it has landed.CARD_STEPS0 or 2. I assume that's the RT skip list.Imported from fxceless/victory-fork. Originally posted by Victorywillbeours222 on 2026-11-26T19:35:04Z.
Follow-up to my RTX 5080 / Ryzen 7 5800X numbers above. Same scene and method, hands-off in the opening cell. Tree:
nvidia-hybrid-v2f53aa2b, and926f113for run 61 (it builds and runs clean here, with only the Agility revert on top).STREAM_REFRESHseems to depend on the processor. Run 57:VICTORY_AB=15,VICTORY_STREAM_COPY,VICTORY_STREAM_REFRESH,VICTORY_SYNC_FINE, 663 s, 0 errors. I kept the 35 phases with ≥100 frames and >3,000 draws.STREAM_REFRESHSTREAM_COPYSYNC_FINETwo whole runs agree. With the Pass 15 list as posted (
STREAM_REFRESH=0) the steady world was 19.4 fps, preparing 41.4 ms (run 54). WithSTREAM_REFRESHat its default (on) it was 20.3 fps, preparing 39.6 ms (run 59). The three processors so far:So the streaming-stores default may be best left per machine rather than off in the recipe.
STREAM_COPYmakes no difference here either way.What the frame waits on here (
VICTORY_TIMELINE=220+360+500,5,..., run 58). This is the chain of work and waits behind each present, averaged per frame over the three windows:VirtualProtect,GetWriteWatchProcessor use over the same steady part (typeperf every 2 s, runs 59–61): the PC 74–76% busy over 16 logical processors,
victory.exeabout 10.3–10.7 of them, run-queue median 1 (p90 4–9). Context switches 93,000–99,000 a second, about 2,000 a frame.I tried three ways to cut the waiting, each against run 59 (20.3 fps, 49.3 ms):
THIN_THREADS=6 UNDER_THREADS=4(fewer workers)WIDE_SPIN=100LANE_CORE=1(from my post above)*Run 60 was played, so this is its 125–255 s stretch only, before anyone touched the controller; run 59 over the same stretch was 50.1 ms. None of the three helps. The wake-ups don't come from pool size, and spinning 100 µs barely lowers them.
Played (run 60, same build): walking out of the cell into busier places at up to 7,400 draws a frame gave 15–17 fps, with 0 errors. One stall of a few seconds came on entering a new place: the recording threads waited 80 ms a frame for pipelines in that 5 s window.
Numbers and text only.
Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-26T20:24:47Z.
@d0dev thanks, those picture reports are exactly what we can't see from the opening cell. On
nvidia-hybrid-v2:VICTORY_BAKE_DELTA=1from our list. It skips re-uploading a skin bake's source textures it believes unchanged; a source that changed while it was still landing would give exactly a stale or half-written face. Could you run the opening withVICTORY_BAKE_DELTA=0(and, if it still shows,VICTORY_PARTIAL_DELTA=0too)? That splits it in one or two launches.CARD_STEPS=2, gone with0: that points at a fill the card does instead of waiting for a flight. We'll try to reproduce it once we get past the cell; if you can, note whetherVICTORY_PLACED_FORWARD=0(also in our list, it feeds card fills from copies at their place) changes it.VICTORY_SKIP_PIPELINESwith the 1,034 resolve/traced-shadow hashes). A quick check is a launch without it; we'll look for which skipped programs those are.Also, from PastiiJay on PastiiJay/klbf-lab#59: Vladimir-Human pushed
c0ccb1btoperf/split-lazy-copyback-vehfor the VEH escape you hit (0xc0000005at+0xf804/+0xfc04). They'd like the same first boat mission rerun onc0ccb1bwithVICTORY_LAZY_COPYBACK=1and the last stats line posted there, if you have time.@Victorywillbeours222 thanks for the per-processor
STREAM_REFRESHsplit; agreed it shouldn't be forced off in a shared recipe. For comparison, our 13600K (14 cores) timeline in the moving cell scene (VICTORY_TIMELINE, diag build): the card runs ~9 ms a frame by its timestamps, "woken, not running yet" is small (0.3 ms), and the chain is our own CPU work: the submitting thread (~23 ms a frame in release), landing's "card plans and own work done" (4.6 ms) and waits for the heaps' records (~5 ms). So with 8 cores the wake-up latency you measured looks like your main cost, and on 14 cores it's our submit/landing path. Note the log's "the card about N% busy" counts queued time, not running.AI-assisted (Claude Code).
Imported from fxceless/victory-fork. Originally posted by d0dev on 2026-11-26T20:53:23Z.
@Proudnoob4 thanks, I'll run those splits tomorrow. Here is what I already have from tonight. Setup: RTX 4070 Ti SUPER, 5800X3D, 32 GB,
nvidia-hybrid-v2f53aa2b, Series S 720p, Pass 15 list +TEXTURE_NO_WAIT=0,MAP_LOCK_FINE,PARTIAL_DELTA,BAKE_DELTA,ASK_TEXTURES. I'm only counting boat readings with more than 3,000 draws.Resizable BAR (BAR1 16 GiB,
card memory the CPU maps supported=true)VICTORY_SMALL_BUFFERS_BAR_MB=128+VICTORY_WINDOWS_BAR_MB=1024: all 3D renders black (cutscenes and gameplay), while subtitles, the chapter card and the minimap still draw. I haven't split which of the two causes it yet.CARD_BUFFERS_MIN_KB=64/CARD_BUFFERS_MB=2048, and without them the GPU waits ~40 ms, same as step 2 in #1379.Faces: note that
play-nvidia.ps1already defaults toRELAY=2 CARD_STEPS=2, so that's what my earlier corrupt-face runs used. WithCARD_STEPS=1(#1379) I got one launch with no noise faces in the boat cutscene or on the boat, at the same speed (26–27.6 fps stable). That's only one launch and the bug is intermittent, so tomorrow I'll repeat it, check the clothes after the boat, and run yourBAKE_DELTA=0split withCARD_STEPS=2to see which of the two matters.Side note: the NVIDIA driver ships a profile for an unrelated game also called
victory.exe, and it gets applied to the emulator. Renaming the exe made no measurable difference here.Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-27T03:51:45Z.
Data point for
Proudnoob4/VIctory-NVIDIAnvidia-hybrid-v2on an RTX 5070 12 GB / Ryzen 7 7800X3D / 32 GB (64 GB page file) / Windows 11 26300, driver 617.42. Diagnostics build of2dea829,--console series-s, 720p (RENDER_SCALE=0.6666667). Five supervised runs tonight, including @d0dev's face and clothes splits on the boat.Build:
2dea829withbd5fa48and1ef143d(Agility SDK) reverted. As others found, the system runtime works without aD3D12Core.dllon 26300, and device creation was clean every launch.Switches:
play-nvidia.ps1's set at 720p,rt_off_hashes.txt, plus the Pass 15 list as posted and Batch 14b (MAP_LOCK_FINE,PARTIAL_DELTA,BAKE_DELTA,ASK_TEXTURES). AlsoTEXTURE_NO_WAIT=0,RELAY=2,CARD_STEPS=1unless noted,PIPELINE_WAIT_MS=150,STREAM_COPY=0,STREAM_REFRESH=0. No ReBAR switches.Speed
fps are the log's 5-second lines with over 1,000 draws a frame.
BAKE_DELTA=0BAKE_DELTA=0 PARTIAL_DELTA=0BAKE_DELTA=0 CARD_STEPS=0For scale, the same PC on
trustno1-coder/VIctory-NVIDIAce6b254(540p,TEXTURE_NO_WAIT=0) gave ~16 fps in the cell: ~62 ms a frame, of which ~33 ms preparing and ~16 ms copying back. So on this PC the branch cuts copy-back from ~16 to ~6–7 ms and gives ~20 fps at 720p over whole played sessions.Memory is the limit on 32 GB. The game holds ~23 GB private, and free RAM bottomed out at 0.2–0.4 GB in every run, without a crash. There were 0 errors and no device loss in all five runs.
Picture: the splits
BAKE_DELTA=0fixed it, with no measurable cost (boat 20.4 fps). Faces on the boat were sharp afterwards.CARD_STEPS=1)PARTIAL_DELTA=0did not fix it: clean for a few minutes, then it came back.CARD_STEPS=0did fix it, at 20.4 → 15.9 fps.BAKE_DELTA=0andPARTIAL_DELTA=0. So it isn't those two. It looks timing-dependent, as @d0dev said.BAKE_DELTA=0too. Probably the skipped RT reflections (Vice-Tay's README lists "some eyes are lit white").On the
CARD_STEPS=0cost: the card is less busy with it (~40% vs ~50% by the log's count), but "on the GPU" (the CPU waiting for flights) goes from ~5 to ~24 ms a frame. So the frame isn't paying for card work. It's paying for waiting on every flight. If the flicker is clothing/skinning data being read before its flight lands, a wait limited to those buffers might keep most ofCARD_STEPS=1's speed. Our drop (-22%) is smaller than @d0dev's (25 → 14.6, -42%), possibly because of the faster CPU here.Next on this PC:
STREAM_REFRESH=1(nobody has measured a 7800X3D yet) and 540p vs 720p. I'll post those if they show anything.AI-assisted (Claude Code). Numbers and log lines only, no game data or images.
Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-27T04:03:47Z.
@d0dev @Victorywillbeours222 Thank you both for those cross-machine splits — they directly shaped the updated defaults just pushed to
Proudnoob4/VIctory-NVIDIA(nvidia-hybrid-v2,17161c7+4eeaae4):VICTORY_SMALL_BUFFERS_BAR_MBandVICTORY_WINDOWS_BAR_MBfromplay-nvidia.ps1defaults so ReBAR-enabled NVIDIA cards don't hit black 3D.VICTORY_CARD_STEPS=1, @d0dev): switchedplay-nvidia.ps1default from2to1(plusVICTORY_TEXTURE_NO_WAIT=0). Across two 600 s recorded runs on RTX 4080 16 GB / i5-13600K / 32 GB (Series S 540p), automated 1-frame spike scanning dropped to 0 vertex stretches while keeping 31.3 fps Diner, 38.3 fps Cell steady (max 47.8), 41.9 fps Hallway (max 44.1), 34.8 fps Common, 33.4 fps Office uncapped (and a flat locked 30.0 fps at17.7–20.9 msCPU prep with our new hybrid sleep+spin pacerVICTORY_PRECISE_PACE=1).STREAM_REFRESH(@Victorywillbeours222): stopped forcingVICTORY_STREAM_REFRESH=0in the shared launcher so Ryzen 5800X keeps its-1.4 mswin; Intel 13600K users can pass-More @{VICTORY_STREAM_REFRESH='0';VICTORY_STREAM_COPY='0'}.Marvisak#969), removing staticD3D12SDKVersion/D3D12SDKPathexports so Win11 runs cleanly out of the box without a local revert and Win10 loadsD3D12\D3D12Core.dlldynamically.VICTORY_KEEP_PAGES=0): raisedAvailMB minfrom30 MB -> 422 MB(med 3,168 MB,PagesIn/s med 1,686/s) over 600 s.mimalloc(trustno1-coder#11),fxceless#1367scratch chunk pool,fxceless#1377,fxceless#1422,KyleS98/034bdca,VICTORY_AFFINITY=free,oz-stanislav-zhukov@2ce00838trees,Dathinel/victory-4gb#15haze clamp, pure-clampCS_RayMissglass/specular fix, andplay-nvidia.ps1 -Warm.Numbers and code notes only; AI-assisted.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-27T04:38:55Z.
Follow-up to my RTX 5070 / Ryzen 7 7800X3D post above:
STREAM_REFRESHon a 7800X3D. This uses the same build (nvidia-hybrid-v22dea829, Agility reverted), the same switches (Pass 15 + Batch 14b,BAKE_DELTA=0,CARD_STEPS=1, 720p), and the same played boat section. One change between the two runs:STREAM_REFRESH=0STREAM_REFRESH=1(These are the log's 5-second frame lines over 1,000 draws, boat section only: 93 and 109 lines.)
Neutral here: preparing is ~1.4 ms lower and the p10 is a little higher, but the median is the same within noise for one run each. That makes the list so far:
That agrees with leaving it at its default per machine rather than off in the recipe. 0 errors; lowest free RAM 0.4 GB on 32 GB.
AI-assisted (Claude Code). Numbers only.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-27T04:45:15Z.
Another RTX 5070 / 7800X3D data point, this time on render scale above 2/3 on Series S. Same
nvidia-hybrid-v22dea829build and switches as my posts above (OWN_UPSCALER=1,BAKE_DELTA=0,CARD_STEPS=1). OnlyVICTORY_RENDER_SCALEchanged:RENDER_SCALEunhandled exception 0x80000003 at victory-image-…+0x2219650about 5 s after launch, before the worldSo it isn't only 1.0, which trustno1's
033be27notes as stopping at a breakpoint at start on a 12 GB card. Anything above 2/3 trips it here, and it isn't video memory: free RAM and VRAM were nowhere near their limits, and it stops within seconds.That 2/3 is the value the
render scale: own upscaler minimumpatch replaces (expectbytesAB AA 2A 3F= 0.6666667 at0x28f1e7e), with "maximum = minimum" set alongside it. My guess is that something on the Series S path is sized or validated for at most 2/3 of the output, and the breakpoint at+0x2219650is the title's own check on it. If someone has that address open in a disassembler, it should show what's being compared. Then Series S above 720p is one patch away rather than a setting.On the same note: Vice-Tay
1d08233on Series S also renders 1280×720 (≈22,000 draws a frame into 1280×720 targets in a captured frame) and lets the title's FSR 4 bring it up to 1080p. So for now both trees top out at 720p internal on Series S.AI-assisted (Claude Code). Numbers and log lines only.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-27T05:39:14Z.
RTX 5070 / 7800X3D again, on
rt_off_hashes.txt(VICTORY_SKIP_PIPELINES). On this tree it seems to be what breaks character shading, more than it protects rooms. Samenvidia-hybrid-v22dea829build and switches as above (BAKE_DELTA=0,CARD_STEPS=1, 720p, Series S), played through the arrest, the plane cutscene, the boat and the boat chase. One change:VICTORY_SKIP_PIPELINES=none)play-nvidia.ps1)The fps rows aren't the same stretch: the skip-off run includes the heavier chase. The calm boat minutes in that run averaged 18.3–19.3. So the cost is somewhere between ~1 and ~4 fps; I'll post an exact same-stretch number once I have one. Other notes:
New with the skip list off, and maybe unrelated (a single launch):
If others see the same, the recipe might be better without the full list, or skipping only the 34 traced-shadow hashes and leaving the 1,000
CS_RaytracingResolveones running. It would help to know which scene made rooms go white originally, so I can check that one on this tree.AI-assisted (Claude Code). Numbers and descriptions only, no game data or images.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-27T06:11:27Z.
RTX 5070 / 7800X3D again, on
NV_FLOAT: the exact maths looked clearly better here. The setup is the samenvidia-hybrid-v22dea829build as above, withBAKE_DELTA=0andVICTORY_SKIP_PIPELINES=none(my previous post). I changedNV_FLOAT=7→NV_FLOAT=0, together withAMBIENT0.8 → 1.0, so the two aren't isolated from each other. Ambient only moves the fill light, though, and the differences below are about skin detail and highlights.Picture with
NV_FLOAT=0(judged only after the log showed 0 pipelines being made; see the warning at the end):Cost: I couldn't see one. Since warm-up, with
CARD_STEPS=1, it ran 18.4 fps median (11.2–25.3) over the counselor, cutscenes and boat, with ~7 ms waiting on the GPU. TheNV_FLOAT=7runs with the skip list off were 16.5–19, though not over the same stretch. WithCARD_STEPS=0(no clothes flicker) the same settings gave 13.5 (11.9–14.7), and the GPU wait rose to ~31 ms. So on this PC flicker-free costs ~5 fps, and that's allCARD_STEPS.Warning for anyone testing this:
NV_FLOATis in the shader cache key, so changing it re-translates everything. My first launch with it was judged too early, with ~1,000–1,500 pipelines still being made and 270–430 draws dropped a frame. It looked badly broken: flat, featureless faces, black water, ghost panels. Wait until the frame lines show(0 being made)before comparing.SPLIT_LDS_COALESCEandLDS_WRITE_ONLY_OKwere left on. I'll test those separately if the remaining eye rims don't go away.AI-assisted (Claude Code). Numbers and descriptions only, no game data or images.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-27T07:19:36Z.
Follow-up to my render-scale post above: the Series S 720p cap is two fixed Series S memory budgets, and with both raised, render scale 0.75 (810p) reaches the world. Same RTX 5070 / 7800X3D,
nvidia-hybrid-v22dea829+ local changes.The
0x80000003at+0x2219650isn't a resolution check. It's the title's allocator stopping at its own int3 when a pool is empty. I found the code paths with a disassembler on my own copy; only addresses and sizes here.1. GPU memory pool 2 (heap object at rva
0x71c2808; the render targets come from it):.rdataat0x6186250: the Series S row, then the Series X row at+0x50, nine pool sizes each. The table is copied at0x1e1ced0and the pools are set up at0x1e1cf60.0x6186268) and 2,199 MiB on Series X.0x4fac3c0then calls the out-of-memory handler0x2219620, which hits the int3 at+0x2219650. The registers at the stop were a 1 MiB request at 64 KiB alignment.2. A second Series S render budget, hit once pool 2 was raised:
0x1d488a0returns0x129064 KiB pages (297 MiB) on Series S and0x2c60(710 MiB) on Series X:mov eax, 0x1290at0x1d488ac.0x5b056a0stores it at0x75eaeb8.0x2473e20stops at its int3 (+0x2473e88) when the needed size passes it: at 810p it needed0x13a50000(314 MiB).0x75140, which picks the Series S value (also the per-console row index above, and the max render scale: 1.0 on S, 2/3 on X in0x1fb4300).The change (opt-in, checks the original bytes first,
victory-loaderhooks.rsnext to the render-scale patches):VICTORY_S_POOL2_MBrewrites the qword at0x6186268(1277..4096).VICTORY_S_HEAP2_MBrewrites themov eaximmediate at0x1d488ac(297..2048, in 64 KiB pages).Result at render scale 0.75 with
VICTORY_S_POOL2_MB=1792 VICTORY_S_HEAP2_MB=416(andBAKE_DELTA=0, RT skip list off,NV_FLOAT=0,CARD_STEPS=1):Still wrong at 810p (not seen at 720p in the same scenes):
f133e35efed2a48askipped, so this looks like the #1356 per-tile flag problem showing up on the 180-tile-wide grid. The shadows are then wrong in other ways, as #1356 describes.f133e35e(still dark with it skipped). No new emulator warnings at 810p, and the shadow pass's buffers are sized right. I'm now comparing the same frame at 720p and 810p pass by pass to find where it diverges.The second budget is only 297 MiB, so 900p/1080p will need more of both. If someone sees the dark interior faces at a raised scale on another tree, I'd like to know.
AI-assisted (Claude Code). Addresses, sizes and log lines from my own copy; no game code, data or images.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-27T07:32:53Z.
Follow-up to my 810p post: use 864p, not 810p. The two picture bugs I reported at 810p are a resolution choice, not a new bug.
At 810p (render scale 0.75 → 1440×810), the title's downscaled passes round differently from each other. In one frame's render targets there were pairs that should match but are off by one:
810 doesn't divide by 4, 8 or 16 (720 divides by 16), so passes that sample each other at 1/4…1/16 size don't line up. That gave the stair-step shadow edges on faces and faces flickering dark in dim rooms.
864p (render scale 0.8 → 1536×864) divides evenly by 16, and even by 32. Every downscaled target comes out even (768×432, 384×216, 192×108, 96×54, 48×27, plus 576×324 / 288×162), and both bugs are gone:
On the same RTX 5070 / 7800X3D / 32 GB,
nvidia-hybrid-v22dea829+ the two Series S budget levers from my last post:The budgets at 864p:
VICTORY_S_POOL2_MB=2199(the Series X value) andVICTORY_S_HEAP2_MB=512. 0 errors.For anyone picking another scale: choose one where 1920×s and 1080×s both divide by 16. Below 1080 that's heights in steps of 144, so 720, 864 and 1008 (1792×1008). 720 itself still shows small 20×11 / 20×12 pairs at 1/32, where they don't seem to matter. 1080 doesn't divide by 16 (1080/16 = 67.5), so a native-1080 Series S render may need the same care.
AI-assisted (Claude Code). Numbers and render-target sizes from my own runs; no game data or images.
Imported from fxceless/victory-fork. Originally posted by Proudnoob4 on 2026-11-27T13:04:07Z.
### Update (2026-11-27): Series X at internal 2560x1440, an FPS unlock that keeps game time real, and what limits it on a 32 GB PC
Same RTX 4080 16 GB / i5-13600K / 32 GB / Windows 10. Fork:
Proudnoob4/VIctory-NVIDIAbranchnvidia-hybrid-v2ata6231671(8 commits on4eeaae4, all switches off by default unless noted).Resolution. The output size is fixed per profile: Series S presents 1920x1080 and Series X 3840x2160 whatever
VICTORY_DISPLAY_MODEreports (2560x1440 tried on both). So internal 2560x1440 is Series X withVICTORY_RENDER_SCALE=0.6667(own upscaler, min = max). Scale 1.0 stops at the title'sint3at+0x2219650on both profiles (t=6 s on S, t=26 s on X at 4K), which fits @loftymocha's finding above that it is the allocator stopping on an empty pool (which pool on Series X is unmeasured; vitutu1/victory-perf'sLARGER_HEAPSnotes a 710 MiB transient render-target pool there against 297 MiB on S).Frame pacing measured per frame. New 5 s log line (
host.rspace_line): present-to-present p50/p95/p99/max, frames over 2x the median and over 50 ms. The fps line samples one second in five and hides stutter. I also recorded every run at 165 fps (the panel's refresh) and counted how long each game frame stayed on screen.VICTORY_FILL_TITLE=1(53a)VICTORY_FILL_TITLE=1removes it (+22 % median fps), but frame-to-frame change rose from 2.9 ms to 7-17 ms, and one run (54a) refused 40,932 draws in one burst when dynamic slots ran out.MakeResidentwaits reached 0.95-1.65 s, and the cutscene showed 0.5-2.9 s holds. Loading screens and standing in the cell were a flat 33.33 ms. With a browser holding 8 GB (57a) world entry took 60 s longer and gameplay froze for 3-8 s; with it closed (57b, 17.9 GB free at launch) free RAM still fell to 0.35-0.75 GB in the intro, but gameplay was a locked 30 with p95 33.56 ms. Close the browser on 32 GB.host view heap capped at 1000000 ... count=1245184 fitted=475711 dynamic=524288: the title wants 720,896 views and 245,184 of them read the null slot.bcc54215, with a log of why it is turned down): the 174 MB heap is "not one run of a section: Scattered" withVICTORY_SECTION_MB=2and also with0, so it never applies here. That matches @fubukiclears' three-window reading in #650.FPS unlock (
VICTORY_UNLOCK_FPS=30..1000, build 1.0.2.1 only, byte-checked).fwTimer::Update(0x22264d0) andUpdateClock(0x2226040) clamp the real QPC delta up to[0x6849844]= 1/get_target_fps(1/30), which is why uncapped frames ran the game faster. Patchingget_target_fps(0x2241fd0) and the two preset loads (0x1e0fc62,0x224359a) moves the floor, the title's QPC limiter andSetFrameIntervalXtogether. Series S: title screen 30 -> 142-165 fps; Diner 54.4 s at 33-35 fps vs 52.1 s locked at 30 (no speed-up). Pair it withVICTORY_TARGET_FPSat or below the unlock rate so presents never beat the floor (uncapped, the boot splash ran at 584-708 fps).Other commits:
VICTORY_FILE_CACHE(avatarmanz#423; first 3D frame 61.5 s vs 93.7 s, warm cache),VICTORY_BORDERLESS=1(whole monitor, 3840x2160 shown at 2560x1440),VICTORY_PRESENT_SYNC=1..4(sync interval for fixed-refresh panels; built and unit-tested, not yet run), the card_merge fast path (fxceless#1427), BC7 rotation (trustno1#23) and the cell's violet probe filter (trustno1#29). The levels-on-demand fix from ScarlettPort#64 was tried and backed out pending a run with enough free RAM.Imported from fxceless/victory-fork. Originally posted by d0dev on 2026-11-27T13:21:31Z.
@Proudnoob4 Partial follow-up on what you asked in 7202647640, on
nvidia-hybrid-v211aa2ac(release,play-S-720p.ps1 -NoSmoothMotion, ReBAR on). RTX 4070 Ti SUPER 16 GB, Ryzen 7 5800X3D, 32 GB, Windows 11 26200, driver 616.92. Same first boat mission save.Your new defaults (
CARD_STEPS=1,TEXTURE_NO_WAIT=0, no BAR caps,LAZY_COPYBACK=1):Without the RT skip list (
-RayTracing): the ~470 extra pipelines take ~4 minutes to build on the first run (2–4 fps while they do), then the boat is the same 30 fps locked (~3,500–4,450 draws). Played past the boat in a second run: the black "puddle" is still there (up close a huge black square, not a puddle), and without the list we get lighting flicker on plants and other surfaces, so the list isn't the cause of the black square and is worth keeping. The shirt still flickers at times in that run too, and it seemed to flicker in step with the lighting flicker, which may point to a shared cause. The cutscene faces were fine in that run, but that may be chance. Water on the boat looks off in every run on this branch: the two water computes5dc3b25986622949and6f225b641c5b0708are refused with0x80070057here, the same as cxy0072019-sketch reported on11aa2acin fxceless/victory-fork#953 (gray bay; blue-green with the two translated in wave32 form, no fps cost).klbf-lab#59: done.
c0ccb1bheld 12 minutes with 00xc0000005(report).BAKE_DELTA=0(faces): didn't help here: the probation officer's face in the cutscene before the boat is drawn as coloured confetti with it. That looks like what trustno1-coder/VIctory-NVIDIA#33 describes (a prelude upload not re-checked at submission against host writes, with lists recorded on several threads, i.e.VICTORY_THIN=1). The water on the boat also looked the worst of all our runs on this branch withBAKE_DELTA=0. Past the boat in that run: the shirt still flickers (maybe a bit less), and the "puddle" is still there; up close it isn't a puddle but a huge black polygon (from a distance it reads as dirt), so it may be lighting rather than water.Still to do:
PARTIAL_DELTA=0, thenPLACED_FORWARD=0for the clothes and the no-RT-list run past the boat for the puddle and lights. Those two need the mission played past the boat, so they'll come a bit later.Imported from fxceless/victory-fork. Originally posted by d0dev on 2026-11-27T13:48:00Z.
@Proudnoob4 A cross-machine point for your Series X 2560x1440 update, on
nvidia-hybrid-v2a6231671(release). RTX 4070 Ti SUPER 16 GB, Ryzen 7 5800X3D, 32 GB, Windows 11 26200, driver 616.92, ReBAR on, browser closed. Same first boat mission save.play-nvidia.ps1 -SeriesX -Resolution 1440 -NoSmoothMotion -More @{VICTORY_FILL_TITLE='1'}(Series X, render scale 0.6667):-TargetFps 60+VICTORY_UNLOCK_FPS=60applied=3 target_fps=60, interval 16.67 ms), but standing on the boat it still lands at ~30: on this CPU the frame is ~33 ms of our own preparing and copy-back, so the 30 cap isn't what limits it here. Keeping the 30 lock is the steadier choice on this PC.5dc3b25986622949,6f225b641c5b0708) are still refused with0x80070057on this branch.For comparison on the same PC and save: trustno1-coder/VIctory-NVIDIA (
9341f43, Series X 1440p output, DLSS Quality) gave 24–26 fps standing on the boat and 11–20 turning, and ~50 fps shown with DLSS frame generation 2x on (25 real).Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-29T02:57:27Z.
DLSS on
nvidia-hybrid-v2: it works, but the title's FidelityFX path costs about a third of the frame rate. RTX 5070 12 GB / Ryzen 7 7800X3D / 32 GB, Windows 11 26300, driver 617.42, Series S profile, same boat save.I ported trustno1-coder/VIctory-NVIDIA's Streamline DLSS (
0338ec6:streamline.rs+streamline/,external.rs, the FidelityFX import interposer, the renderer-7 / render-size patch) ontonvidia-hybrid-v2a623167. That's a feature port, not a rebase; the two share a base 1,242 commits back. Hybrid's hooks: the listEXTERNALstep, upscale ids handed over at submit, the queue and swap chain through Streamline's proxies, and present begin/end aroundPresent. The movie-plane gate isn't ported (hybrid has no Bink module).It runs: DLSS Super Resolution loads (Streamline 2.14.16, NGX 310.9.16), 1 upscale per frame with 0 failures over a whole run, and the window shows the picture. The boat scene is noticeably sharper (bridge, power lines, hull lettering, sun glints).
The frame rate is the catch. Same build, our usual settings, median after the pipeline warm-up:
VICTORY_OWN_UPSCALER=1, 720p)VICTORY_FILL_TITLE=1+0xae00000, the one with the 480-byte constant ring): pieces sent up and fetched back in the same frame go from 36 to 130 a frame, and its "fill of upload memory" settle is the largest single wait on both paths.VICTORY_FILL_TITLE=1removes that settle (GPU wait 14.9 → 0.2 ms) but gains nothing here: copy-back and list resets grow by the same amount. On the boat it also broke the water: dark wall-like waves and a black spike beside the boat, mirror-flat elsewhere.So for Series S on this card, DLSS through the FidelityFX path is the better picture at roughly 9 fps, against ~14–18 fps on the title's own upscaler. I'm looking next at why renderer 7 makes the view pass and copy-back that much heavier; ideas welcome.
AI-assisted (Claude Code). Numbers from my own runs' logs; no game data or images. The port is a local branch for now; I can share the diff if it's useful.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-29T03:08:40Z.
Correction to my DLSS-on-hybrid post above: drop the "the title draws ~22% more on renderer 7" line. That came from comparing runs whose camera views differed.
In a matched pair (same build family, same boat stretch, both runs with render-target dumps on), the draws per frame are the same on both paths: 3,547 on the title's own upscaler, 3,493 on the FidelityFX path with DLSS. The FidelityFX path is still slower with equal draws:
So the cost is waiting on copy-back, not extra title work. I'm now looking at which ranges get fetched back on that path. There are a few ~0.9 MB ones (720p-texture sized), each fetched about 15 times a frame, and they show up more on the FidelityFX path.
AI-assisted (Claude Code). Numbers from my own runs' logs; no game data or images.
Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-29T03:44:21Z.
Second correction to my DLSS-on-hybrid post: the "FidelityFX path costs about a third of the frame rate" conclusion doesn't hold up. I compared against a run from the day before. Matched back-to-back pairs on the same boat stretch (same day, same settings, ~2.5 min on the boat each) show no real cost:
The spread between runs of the same build (8.5–12.6 fps on one evening, ~16 the day before) is bigger than any difference between the two paths. So on
nvidia-hybrid-v2with the Streamline port, DLSS is roughly free on this RTX 5070 and gives the sharper picture. The earlier table's per-stage numbers were real for those runs, but they compared different sessions. Sorry for the noise. Lesson learned: only compare back-to-back pairs.The frame timelines (12 frames each) do show the frames waiting in different places. On the own-upscaler path it's mostly work sent to the card that hasn't started yet (~20 ms a frame); on the FidelityFX path it's mostly title code (~21 ms). The totals come out the same.
AI-assisted (Claude Code). Numbers from my own runs' logs; no game data or images.