Feature/Optimization: Budget-Aware Split Memory Residency (4 GB VRAM + High System RAM) with Selective Mip-Drop #2021
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#2021
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?
@syedaslam7774-pixel on GitHub · 2026-11-29 07:40 UTC · original
Problem
Current VRAM allocation does not strictly prioritize resources by rendering urgency or camera proximity. As a result, high-end GPUs (12–16 GB) hit premature texture budget exhaustion and suffer traversal stutters from shared-memory spillover, while 4–8 GB GPUs hit
E_OUTOFMEMORYor severe PCIe thrashing unless global mip-dropping blurs the entire scene.Proposed Architecture: Budget-Aware Tiered Memory Residency
Query
IDXGIAdapter3::QueryVideoMemoryInfodynamically and split resource placement (D3D12_HEAP_TYPE_DEFAULTvs. host-visible system memory fallback) based on asset priority across all VRAM tiers:Pin High-Priority Render & Foreground Assets to Local VRAM:
DEVICE_LOCAL) across all GPUs so 3D shading and close-up details stay at full quality.Spill Distant / Low-Priority Streaming Assets to System RAM Under Budget Pressure:
VICTORY_TEXTURE_MIP_DROP) only to distant/background textures under memory pressure so close-up visuals remain sharp.Graceful OOM Fallback Instead of Device Removal:
CreateCommittedResourcereturnsE_OUTOFMEMORY, automatically step down the mip level or fall back to a system-memory heap placement for that resource instead of triggering device removal.Expected Outcome
E_OUTOFMEMORYcrashes and preserves crisp close-up character/vehicle detail by offloading background world streaming to system RAM.@github-actions[bot] on GitHub · 2026-11-29 07:40 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@syedaslam7774-pixel on GitHub · 2026-11-29 07:42 UTC · original
N/A — Architectural / VRAM Memory-Tiering Enhancement Proposal (no crash log; see DXGI/D3D12 allocation design below).
@trustno1-coder on GitHub · 2026-11-30 15:37 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.@shurhundo on GitHub · 2026-11-30 15:40 UTC · original
PR #3723 (open) adds
victory-tiers: per-object heat tracking (last use, seconds used in the last 44), a budget type with hysteresis and cooldown, and a book of what got let go so a bad eviction shows up as a refault. Built to be reused past its first user (idle windows).Two pieces look directly usable here instead of building parallel ones:
Line::margin+Account::look: a tested begin/end hysteresis band with cooldown, so it doesn't flap at the edge.Heat::seenalready gives per-object last-use and a 44 s usage window as a priority proxy, instead of inventing a second tracking mechanism for "near-camera/hero" vs "distant".Doesn't replace the camera-proximity priority logic itself, just the budget/pressure plumbing underneath it.