[GH #3081] NVIDIA 12 GB on Windows 10: capped_dynamic_slots renders the world correctly, and VICTORY_MEMORY_CARD_MB has a measured sweet spot at 1024 #3079
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 Marvisak/VIctory. Originally posted by bittertea0323 on 2026-11-26T06:55:49Z.
Your 15 lines turned a black screen into a picture on an NVIDIA card — plus a measured sweet spot for
VICTORY_MEMORY_CARD_MBReporting a run of
full-build(e2a577d) on the host that has been failing to render this title at all, because it is exactly the hardware yourcapped_dynamic_slotswas written for.Environment
RTX 4070 SUPER (12 GB, 32-lane), driver 591.74, Windows 10.0.19045, Ryzen 7 7800X3D, 31 GB. Retail build
7952987A, Xbox Series X. Built with--features victory-gpu/diagnostics;D3D12Core.dll1.620.2 beside the exe (youragility.rscovers the export).What
capped_dynamic_slotsdid hereBefore: on
main+ the paging PR (#2121), the title reached 3,510 draws/frame and drew a black window — the host heap caps at 1,000,000, the title asks 1,245,184, and every split that keeps the title's whole either truncated 310,720 slots or cycled pages on every submission (title slot past the host heap×310,720 in 90 s).After your change, same machine, same title, same keypresses:
main+ #2121 (paged)full-build(yours)The opening caption card, the account/loading art, the world — all render with correct colour, lighting and text. I have not posted title content, but the difference is unambiguous: black window before, correct frame after.
Your comment explains why better than I could: slots past 393,215 are a ring of tables the title rewrites per draw, and a draw reaching them has its table rebuilt in a dynamic slot anyway, so host slots kept for that ring stood unused while the dynamic range ran out. That reasoning was invisible to us from the logs — we spent a day trying to fit 1,245,184 into 1,000,000 when 393,215 was always enough. Thank you for writing it down.
VICTORY_MEMORY_CARD_MB: measured, and it matters a lot hereWith
VICTORY_MODE=1280x720and keys advanced, sweeping the by-address card budget on this 12 GB card:VICTORY_MEMORY_CARD_MBAt 4096 the by-address copies do not fit the card alongside the world's textures and spill into system memory, which is what kills the run. At 1024 the picture is steady at 5 fps with 3 GB of VRAM and 3.4 GB of RAM left. Below that the peak fps goes up (11) but
draws/frameswings between 546 and 6173 from second to second — my read is textures being evicted and re-uploaded as VRAM tightens, which costs more in feel than the extra peak fps gives back.Not measured: whether a 16 GB card wants a different value (your
card_limitsthresholds suggest it will), and whether the swing at 768/512 is eviction rather than something else — I have not instrumented it, only observed the correlation with VRAM.Still failing on this host, in case it is useful to you
E_INVALIDARGon this card in one of my runs (not reproduced with yours; noted only in case it is driver-specific).Coda
You wrote "Anyone is free to use what I've done; I'm just having fun and maybe helping people at the same time." It helped: this is the first time this title has drawn a correct frame on this machine. Log lines, counts and timings only; no title content, assets or shader bytes.
Imported from Marvisak/VIctory. Originally posted by wingsc84-sketch on 2026-11-26T08:32:34Z.
hey you wrote me this message on a fork i would like to say that yes im on windows 11 not 10
Ryzen 7 9800X3D, RTX 5070 12 GB (driver 617.42), 32 GB RAM, Windows 11 26H2 (build 26300.10075). Loads fine, all imports bind, then about 1s in an int3 (0x80000003) at victory-image-b99f876b…dll+0x1330a44, unhandled. Same crash on series-s and series-x, and with VICTORY_MEMORY_CARD_MB=1024 at 720p. It always comes right after the "pipeline creation method not implemented" warnings for slot=0x218 calls=64 and calls=128. GPU memory is nowhere near full and there's no device-lost error. The log also says "host view heap capped at 1000000 … count=1245184".