View heaps compact without a resizable BAR; VICTORY_HOST_WAVE; VICTORY_TITLE_DLL_DENY #4484
No reviewers
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!4484
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4483"
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?
@livejasminw on GitHub · 2026-11-30 21:01 UTC · original
livejasminw:view-heaps-host-wave-dll-deny→main· +1020 −850 · 33 files · 14 commits · closed without mergingThree independent changes, all opt-in except the first, which only applies on cards without a resizable BAR.
View heaps without a resizable BAR (
crates/victory-gpu/src/descriptor/host.rs)Shader-visible descriptor heaps live in the card memory the CPU writes. Without a resizable BAR (Smart Access Memory off, or Windows 10) that is a 256 MB window. Four heaps of 2^22 views with raw twins asked for 513 MB of it on an RX 6600 XT, and the driver removed the device on entering the world (Radeon Memory Visualizer: heap oversubscribed, nearly all descriptors). When
mapped_card_memory()is false the heaps now takePORTABLE_VIEWSwithout raw twins (32 MB each).VICTORY_VIEW_HEAPS=wide/compactforces either way.VICTORY_HOST_WAVE=32|64(crates/victory-gpu/src/host.rs)Translates as for a host whose waves are at most that wide, e.g. NVIDIA's 32-lane path on RDNA. Only accepted within the GPU's
WaveLaneCountMin..Max; otherwise ignored with a warning. Part of the shader cache key viaset_host_max_wave.VICTORY_TITLE_DLL_DENY=a.dll,b.dll(apps/victory/src/run.rs)LateDlls::loadreports the named title DLLs as not found, as if the game folder lacked them (for tests). Checked beforeload_with, so theload_withtest path is unchanged.Testing
cargo build --release --locked -p victory: builds (Windows 10 19045, MSVC 14.51).cargo test -p victory: 94/94 pass.cargo xtask policy --staged: ok.victory-gputests could not run locally: Windows 10's built-in D3D12 lacks Shader Model 6.6 and the test binaries don't load the Agility runtime. Relying on CI for them.🤖 Generated with Claude Code
@trustno1-coder on GitHub · 2026-12-01 18:40 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed