RTX 3060 12 GB (Wave32) Progress Report, Benchmarks & Findings (a803c87 → 9376fd6 + PR/Community Ports) #878
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 1337tr on 2026-11-25T11:36:28Z.
Overview
Testing on an RTX 3060 12 GB (32-lane NVIDIA) + Ryzen 7 5800X (8C/16T) + 32 GB RAM (Windows 11 26200, Series X @
1920x1080, driver621.24, default 2 s TDR) comparing our earliera803c87-based build against a9376fd6-based build combining recentfxceless/victory-forkPRs, community ports (victory-perf,VItoriaBr,Marvisak/VIctory), and targeted local fixes.Key results (
measuredin live worlddiagruns, 0 crashes / 0 device losses):0untranslated shaders (down from6),0refused compute pipelines (0x80070057, down from17/12in-world),0dropped indirect draws (down from6–9/frame), and0null /0stale heap buffer views. Oncemaking = 0, 100% of remaining dropped dispatches are solely the opt-in ray-tracing BVH builder (off by default; its remaining Wave32 stages now also compile cleanly via#823).VICTORY_LEVELS_ON_DEMAND=1+VICTORY_LEAN_WINDOWS=1+#822dropped VRAM from10,389 MB(280out-of-room passes,+4,834 MBshared) to9,117 MB / 11,119 MB(2.0 GBfree,0out-of-room passes,+4,049 MBshared) and private RAM from25,294 MB(1,404 MBcommit left) to22,482 MB(2,870 MBcommit left). OptionalVICTORY_TEXTURE_DROP_MIPS=1drops VRAM further to8,194–8,433 MB(2.7–3.1 GBfree).2,831–3,494global UAV barriers/frame, cutting GPU time to57.0–98.3 msat3.5k–5.1kdraws/frame (down from87–113 msat4.0kdraws). CPU copy preparation dropped ~40% (56.8–69.4 msfor103–128 MB→32.5–41.3 msfor170–190 MB), submission-lock waits fell 9.3× (77.0 ms → 8.3 ms), and indexed textures uploaded in the same ~3 min window rose 2.5× (27,713 → 69,436, with unmapped skips cut -81%).VICTORY_GPU_TIMING=1+VICTORY_D3D12_DRED=1): At8,332draws/frame (full mip-0, all Wave32 shaders active), total GPU command time across all1,248command kinds was only187.0 ms/frame(heaviest single shader:dispatch [compute cb6adcc6da2613ff]at22.56 ms; second heaviest7.35 ms). The remaining frame-time limit on this machine is purely CPU-side (GPU is only45–64%busy).Live Telemetry Comparison (
measured,diagbuild, Series X @1920x1080)a803c87+ lot-8/PRs)9376fd6+ ports/fixes, mip-0)DropMips=1)6000x80070057)17(12in-world)006–9001,636/83(in310c6eb)0/00/0diag)4.0–4.7 fps(214–248 ms) @ 4.0k draws3.8–4.0 fps(251–260 ms) @ 3.5k–3.7k draws (2.6 fps@ 5.1k)2.8–3.2 fps(314–357 ms) @ 4.9k–5.4k draws87.0–113.1 ms(~61%busy)57.0–98.3 ms(~45%busy)77.6–108.2 ms(~57–69%busy)02,831–3,2622,696–3,49496.4–120.1 ms92.7–110.5 ms116.9–146.3 ms56.8–69.4 ms(103–128 MB)32.5–41.3 ms(170–190 MB)38.7–55.4 ms(212–241 MB)6.0–19.2 ms(bursts53 ms)12.4–16.7 ms(20–36 MB)10.1–26.2 ms(16–65 MB)14.5 ms(bursts290 ms, noHEAP_SYNC)53.1–89.7 ms(16–39 msHEAP_SYNC+55–74 mscatch-up)90.8–121.2 ms52.2–64.6 ms(61–64 MB)61.7–71.2 ms(74–79 MBmerged /94 MBfetched)71.7–86.1 ms(83–92 MB)77.0 ms8.3 ms35.0 ms(8,748 MB)27.6 ms(6,362 MB;16failed kernel calls,1,704skipped by view guard)23–24failed kernel calls27,713(10.7 GB)69,436(29.7 GB)71,39016,2243,1292800010,389 / 11,203 MB(+4,834 MBshared)9,117 / 11,119 MB(+4,049 MBshared)8,194–8,433 / 11,119 MB(+4,337 MBshared)25,294 MB(20,687 MB)22,482 MB(18,563 MB)21,924 MB(19,204 MB)1,404 MB2,870 MB1,272 MB0/00/00/0(Note on FPS: steady
diagFPS is slightly lower thana803c87's4.7 fpsbecause9376fd6addsVICTORY_HEAP_SYNC(16–39 ms/frame, fixing missing walls/descriptors) and our run was still inside theheap_textures4K backlog catch-up window (55–74 ms/framewhiledue.len() >= 1024).)Actionable Findings & Bugs Caught During Live Testing
VICTORY_CARD_FETCH_INFLIGHT=1(#648) caused a 7–9× GPU stall on RTX 3060 12 GB:VICTORY_CARD_FETCH_INFLIGHT=1active alongsideVICTORY_RELAY=2,on the GPUjumped from57–118 ms→737–1,076 ms(~1.0 fps), while disabling it immediately restored57–118 ms(3.8–4.0 fps) with the dedicatedCOPYqueue fetching ~94 MB in only10–11 ms. (Confirms thef85101bREADME observation that in-flight fetch is slower on NVIDIA and should stay off in favor of the copy queue.)#824relay_card_backcoalescing + per-shadow sharding regressedcopying back2.6× (61.5 ms → 150–189 ms) — and a clean fix:[first..=last]read/merge/write spans across unchanged interior gaps (+20 MB/framewritten back), and groupingwide_mergebuckets byShadowpointer serialized large heap buffers onto 1 CPU core.Shadow::beforefromMutex<Option<Vec<u8>>>toRwLock<Option<Vec<u8>>>(shared.read()for strictly disjoint 64 KiBcard_merge_relayslices; exclusive.write()formerge_under_writes/snapshot/drop_snapshot). Coalesce adjacent pieces up to 4 MiB only forCopyBufferRegionGPU DMA, while keeping 64 KiB CPU slices evenly sharded across all 8 cores.copying backdropped from150.5–189.0 ms→61.7–71.2 ms(~2.6×faster) while retaining coalesced GPU DMA.#800(inactive-lane wave prefix exchange) broke 6 culling/compute shaders on Wave32:17af15c4015cb4b6,fdd56d97a806bcca,2809db6c31de483d,8dd8d739047fe557) to fail translation (a lane mask exchanged where not every lane runs) and 2 compute PSOs (89d08e561897d4e5,55679a0547649d0b) to be refused (0x80070057). Reverting#800immediately restored0untranslated /0refused.#550(evict_placed_in) caused a 30.9 s startup freeze / watchdog crash:xmem::map/unmapstalledframe 128→256for30.9 s(tripping the 30 s hang watchdog). Adding a 4 MiB-bucketPlacedIndexinresource.rs+ range coalescing inxmem::wrote_physicaldroppedframe 128→256from30.9 s+ crash →5.1 s.VICTORY_TABLED_SKIP_FRAMES=2(#827) inflated CPU heap sync 5.5×:VICTORY_HEAP_SYNCfrom16 ms → 90 msandheap_buffersfrom66 ms → 155 ms. Keeping the 240-frame default kept0stale views at16–39 ms.VICTORY_GPU_TIMING=1):HostList::noteearly-returns unlessdred_on()is true, soVICTORY_GPU_TIMING=1logscommands=0unlessVICTORY_D3D12_DRED=1is also set.PRs & Fixes Validated Working Together (
423targeted unit tests passing, 0 failed)fxceless/victory-fork:main(9376fd6) +#188(Series S 2-plane UI + stretch),#400(ES+GS geometry shaders),#500/#592/#799/#823/#657(full 32-lane NVIDIA Wave32 shader coverage),#578,#644,#651,#653,#687,#694,#703,#708/#714,#712,#720,#776,#781,#785,#794,#796,#798,#804,#806,#807,#808,#809,#818,#822,#824(withRwLock8-corerelay_card_backfix above),#827(64 KiB refresh-gap coalescing only; skippedwatch::forgotandVICTORY_COPY_FAST).vitutu1/victory-perf:VICTORY_BARRIER_MERGE=1,VICTORY_CLAMP_SCOPED=1(~2.8k–3.5k global UAV barriers skipped/frame),VICTORY_INDIRECT_WINDOW(4096) +VICTORY_CLAMP_LIGHT_RESTORE=1,VICTORY_INDIRECT_MERGE, >65,535 compute group split (USER_GROUP_BASE = 0x104), 64-bucketHeapBufferCachewith pre-aggregatedbucket_spans, boundedheap_textures(24 ms/80 mscatch-up).uiliannn/VItoriaBr: immediate-sampler static-sampler range with join-path phi including pixel shaders (fixes 37PS_TexturedLitshaders),SHADER_HEAPSlock across descriptor mirror +resolve_queriesoffset overflow check,copy_back_doneordering afterline.written/LINE_LANDED. (Skippedfaca57e: its 64 MiB per-texture cap broke out ofearly_texturesafter 1 texture/frame.)Marvisak/VIctory:SPAREexact-view buffer pool (#1979),NtReadVirtualMemory, plus#2007–#2059fixes.half_sum_present+ pure register-only WQM skip inwalks_with_empty_exec;PlacedIndex4 MiB buckets;Shadow::beforeRwLock+ 4 MiB coalesced GPU DMA / 64 KiB 8-core relay merge.Environment Settings Used (RTX 3060 12 GB, Series X,
1920x1080)Remaining Bottlenecks & Next Steps
f85101b("Frame rate, second night") on top of this stack — specificallyVICTORY_ASYNC_SUBMIT=1and default fill-wait removal, which directly target the remaining CPU submit-thread bottleneck (GPU is only45–64%busy).heap_texturescatch-up (55–74 ms/framewhile draining initial 4K backlog),VICTORY_HEAP_SYNC(16–39 ms/frame), andcopying back(62–71 ms/frame— view-marked dirty-page copy-backs likeMarvisak cd94d35/940d32fare a strong candidate).release: Test-BvhBuildernow that#823enables the remaining Wave32 BVH structure-builder stages, and run a longerreleasesoak past the initial texture-streaming backlog.Policy note: No game files, paths, executables, archives, dumps, or extracted assets are included. All telemetry and test counts are locally measured; prepared with AI assistance for PR auditing, porting, and log analysis.