[RTX 3080 10 GB / 7800X3D / 32 GB RAM] Live log & screenshots: 512-702 FPS menu, 2.9-3.6 FPS & missing cutscenes/heads/HUD glyphs, 10.3s wait_resident stalls — comparison + 7 patches from a modified VIctory-Belobug-AMD fork (happy to PR) #1023
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#1023
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?
@ToolxMaster on GitHub · 2026-11-28 11:19 UTC · original
Hardware & Test Setup
vendor=0x10de,device=0x2206, DXGI local VRAM budget:9,283 MiB)VIctory-NVIDIA-2026.11.28.01(cargo build --release --locked -p victory), launched viavictory.exe play game_scarlett_master.exewith an isolatedVICTORY_HOME(default launch profile: Series X,2560x1440,--fps 1000, no Streamline DLLs -> title upscaling).VIctory-Belobug-AMD(adapted with custom NVIDIA Wave32 lowering, WDDM physical residency,VICTORY_WAIT_RESIDENT=textures, screen-compute prioritization,row_rundetiling, and dynamic descriptor reclaim) tested on the exact same PC, OS, driver, and game dump.Visual Observations (Screenshots)
First, credit where it's due:
VIctory-NVIDIA's lighting and shadow rendering look noticeably cleaner than ourVIctory-Belobug-AMDfork — no weird triangle artifacts and no glitching shadows once the room renders.However, out of the box on this RTX 3080 10 GB / Ryzen 7 7800X3D / 32 GB RAM setup, the opening sequence hits four major visual issues:
Could I have another ice water, please?at3.5 fps,1256 draws/frame) and heavy noisy haze behind thePROLOGUEcard (3.2 fps,4461 draws/frame) while cold pipelines compile.VICTORY_THIN=1): In the prison cell, both Lucia and her cellmate render without heads (only floating eyeballs, teeth, hair, and glasses remain). Note thathost/menu.rs:186-189mentions this happening on a 6-core CPU — it also reproduces on an 8-core / 16-thread Ryzen 7 7800X3D.H ld [LT] t i t tinstead ofHold [LT] to interact).Live Measured Comparison: Stock
VIctory-NVIDIAvs. Heavily ModifiedVIctory-Belobug-AMDFrom the
VIctory-NVIDIA-2026.11.28.01log (victory-nvidia-play-20261128-105142-19480.log) vs. our modifiedVIctory-Belobug-AMDreleaselogs (filtering in-world frames with>500 draws/frame):VIctory-NVIDIA(2026.11.28.01,release)VIctory-Belobug-AMD(release)1.4 – 2.0 ms/frame)281.0 – 342.3 ms/frame, 18 consecutive 5s windows)SCREEN_COMPUTE=1)SCREEN_COMPUTE=1)39.8 – 51.4 mson GPU, 6,257–6,501 draws)Run 20: 13.2 median / 17.7 max fps (5,393–11,801 draws)
6.4–6.5 msidle behind CPU submit)new card memory waited for until mappednew memory waited for(CreateCommittedResource/ host)card_stepsGPU fills per frameour passes over copiesper frame1,611 MiBbuffer mirror spanVICTORY_PORT_CONSTANTS=1)< 4 GiBcommit)frame=14889(physical_free_mib=3335,available_commit_mib=3947)VICTORY_RESIDENCY_PHYSICAL_ONLY=1Here is the log for VIctory-NVIDIA:
victory-nvidia-play-20261128-105142-19480.log
Here are our logs:
victory-belobug-run15.log
victory-belobug-run20.log
What
VIctory-NVIDIAAlready Does Really WellFrom inspecting
VIctory-NVIDIA-2026.11.28.01:hardware_adapter()(crates/victory-shader/src/emit/host.rs:78-119) cleanly picked the RTX 3080 over the 7800X3D iGPU (adapter=NVIDIA GeForce RTX 3080).victory preload(apps/victory/src/play.rs,crates/victory-gpu/src/host/menu.rs).VICTORY_AMBIENT_SPECULAR=1(crates/victory-gpu/src/ambient.rs),VICTORY_EARLY_DEPTH=1,VICTORY_LEAVE_OUT,Detached::release_tables(),make_atwrite_stride(crates/victory-gpu/src/descriptor/host.rs:3528), and theCS_AlphTransmissionPrefilterMipresource-tracer fix.Root Causes Observed in the Live
VIctory-NVIDIALog10.3+ Seconds of
VICTORY_WAIT_RESIDENTStalls (crates/victory-gpu/src/host.rs:230-359)wait_resident()defaults ON for bothmapped()(19,000 waits = 1,928.4 ms) andresident()(20,000 waits = 8,386.8 ms, single worst stall 866.0 ms).D3D12_HEAP_FLAG_CREATE_NOT_RESIDENT+ mapping waits to texture pool heaps and depth twins (VICTORY_WAIT_RESIDENT=textures) cut waits by ~13x–15x (800waits /123–146 ms) with zero corruption on face/skin bakes.VICTORY_PORT_CONSTANTS=1Off by Default (apps/victory/src/play.rs:55-116,crates/victory-gpu/src/port.rs:2)SETTINGS,card_stepsexecuted 11,117 fills/frame (4,798 KB/frame),our passes over copiesran 136–145 hash passes + 356 compare passes/frame, andbuffer_mirror_span_mibsat at 1,611 MiB out of a9,283 MiBVRAM budget.VICTORY_PORT_CONSTANTS=1droppedcard_stepson the same scenes to 54–73 fills/frame (27–37 KB/frame).Cold Pipeline Queue Starving Cutscene Compute Shaders (
crates/victory-gpu/src/pipeline/make.rs:135-167)VIctory-NVIDIAran at 2.9 – 3.6 fps with0.0 on the GPUin 14/18 5-second intervals while dropping 1,099 – 3,094 draws/frame.scene_input()only prioritizes 6 hardcoded shader hashes +BAKE_PIXEL_SHADERS, leaving core shadow/lighting/probe compute shaders queued behind 1,000+ regular world pipelines.WDDM Commit-Charge Throttling on 32 GB RAM / 10 GB VRAM (
crates/victory-gpu/src/residency.rs:45-160)frame=14889,VIctory-NVIDIAlogged:host memory pressure: limiting texture prefetch and idle upload storage pid=19480 frame=14889 physical_free_mib=3335 available_commit_mib=3947 buffer_mirror_span_mib=1611 texture_staging_mib=37 spare_scratch_mib=23 game_filled_gpu_texture_mib=2990ullAvailPageFileandresidency.rsenforcescommit <= 4 GiBpressure /< 1536 MiBcritical commit, texture prefetch gets throttled even when3.3 GiBphysical RAM is still free.Conservative Wave64-on-Wave32 Widening (
crates/victory-shader/src/emit/mod.rs:655-685,lower.rs:1800)emit/mod.rsrestricts widening to a 6-digest allowlist (scene_kernel) to avoid theptfx_CS_lightAtlas_Sprite/_TrailTDR, leaving other Wave64 lighting/shadow/probe shaders on slower fallback paths, whilelower.rs:1800still excludesds_bpermutefrom exact 32-lane wave splitting.Defaults in
apps/victory/src/play.rs:55-186Triggering Missing Heads & Glyph Drops on 8-Core / 10 GB HostsVICTORY_THIN=1is enabled by default inSETTINGS, which causes missing heads not just on 6-core CPUs (host/menu.rs:186-189) but also on an 8C/16T 7800X3D, alongside dropped HUD text glyphs andres = "1440"+--fps 1000(512–702 FPS menus, VRAM pressure on 10 GB cards).Changes from Our Heavily Modified
VIctory-Belobug-AMDFork You Can TestThese are the specific modifications we made to
VIctory-Belobug-AMDthat produced the numbers above — sharing them so you can try whether they improve performance, warmup, and memory headroom inVIctory-NVIDIAtoo:1. WDDM Physical-RAM Residency Mode & Tunable Commit Floor (
crates/victory-gpu/src/residency.rs)Judge normal host pressure by free physical RAM (
VICTORY_RESIDENCY_PHYSICAL_ONLY=1) so WDDM's 1:1 VRAM commit doesn't prematurely choke texture prefetch, and allow lowering the emergency commit floor (VICTORY_RESIDENCY_CRITICAL_COMMIT_MB=256instead of1536 MiB):And in
refresh()/critical_commit():(We also pair this with
VICTORY_TEXTURE_ROOM_PERCENT=75/VICTORY_VRAM_KEEP_PERCENT=75on<= 10 GiBcards.)2. Scoped
VICTORY_WAIT_RESIDENT=textures(crates/victory-gpu/src/host.rs)Keeps
D3D12_HEAP_FLAG_CREATE_NOT_RESIDENT+resident()+mapped()on texture pool heaps (pool.rs) and depth/texture twins (resource.rs), while letting committed buffers (host.rs) skip the globalASIDEcopy-queue mutex (which cost 8.39s + 1.93s in the benchmark above):3. Safe Wave64-on-Wave32 Widening (
VICTORY_WAVE_WIDE=safe), LDS Region Barriers (VICTORY_LDS_REGION_RACE=1), andds_bpermuteWave32 Fix (crates/victory-shader)a)
safe_to_widen()incrates/victory-shader/src/emit/mod.rsInstead of restricting widening to 6 digests,
VICTORY_WAVE_WIDE=safewidens all wave64 shaders exceptptfx_CS_lightAtlas_*:Tested on RTX 3080: 16/16 eligible shaders widen cleanly and both
ptfx_CS_lightAtlas_*shaders are excluded with 0 TDRs.b)
lds_meetings(..., allow_race: bool)(VICTORY_LDS_REGION_RACE=1) incrates/victory-shader/src/emit/lower.rsKeeps all-lane entry/exit group barriers around mixed read/write lane-branch LDS regions rather than aborting translation:
c) Remove
ds_bpermutefromcrosses(crates/victory-shader/src/emit/lower.rs:1800)On GFX10,
ds_bpermuteis confined to each 32-lane half under thread relabelling (onlyds_permutecrosses halves), so removing|| n.starts_with("ds_bpermute")fromcrossesavoids forcing those shaders off exact Wave32 splitting.4. Pixel Shader
s_wqmLive-Quad Mask Propagation +VICTORY_NAN_GUARD=1&VICTORY_D16_BITS=1a)
s_wqmLive-Quad Mask (crates/victory-shader/src/structure.rs)VIctory-NVIDIA/crates/victory-shader/src/structure.rsdefinesAtom::Quad(Value), but doesn't yet trackquad_sourcesintoscc_lane:b)
VICTORY_NAN_GUARD=1&VICTORY_D16_BITS=1(crates/victory-shader/src/emit/lower.rs, keyed inshader_cache.rs)(Key
"VICTORY_LDS_REGION_RACE","VICTORY_NAN_GUARD", and"VICTORY_D16_BITS"inshader_cache.rs.)5. Broad Screen-Compute Priority (
VICTORY_SCREEN_COMPUTE=1,crates/victory-gpu/src/pipeline/make.rs)Generalizes
scene_input()so core lighting, shadow, screen-probe, volumetric, SSS, hair, and TAA compute passes compile on the screen workers before world pipelines (while explicitly excludingCS_RaytracingResolve):6. Dynamic Descriptor Reclaim Before Full GPU Settle (
crates/victory-gpu/src/host.rs+draw.rs)Replaces
host.dynamic(1).or_else(|| { crate::host::settle_for_fence(); host.dynamic(1) })indraw.rs:2239by drainingqueue::before_sync()+line().landedfirst before falling back to waiting on in-flight work:7.
row_runDetiler,QUARANTINE_FRAMESReuse Pool, andVICTORY_AMBIENT_MOST=0row_runcontiguous-copy detiler (crates/victory-formats/src/texture.rs): Detects contiguous low-X runs inside micro-tiles (while row_run < columns.len() && columns[row_run] == row_run as u32 * element_bytes) and storesrun_offsetsso detiling copies whole spans per step instead of 1 texel/element at a time.QUARANTINE_FRAMES = 4size-bucketed reuse pool (crates/victory-gpu/src/shadow.rs,exact()): Instead of dropping pruned exact-match buffers, holds them in a power-of-two size-bucketed quarantine for 4 full frames before pooling/reusing them, reducingCreateCommittedResourcechurn.VICTORY_AMBIENT_MOST=0(crates/victory-gpu/src/ambient.rs): Letsambient.rscleanly replace blocky untraced 16×16 screen-probe tiles indoors with the smooth depth-aware estimate (0multiple instead of default4.0clamp), pairing nicely withVICTORY_AMBIENT_SPECULAR=1.Quick Workaround for 10 GB RTX 3080 / 8-Core Users Today
Until defaults auto-tune for
<= 10 GiBVRAM /32 GiBWDDM hosts:Happy to Submit Clean Pull Requests
If you want to benchmark or integrate any of these fixes into
VIctory-NVIDIA(e.g.VICTORY_WAIT_RESIDENT=textures,VICTORY_RESIDENCY_PHYSICAL_ONLY,VICTORY_WAVE_WIDE=safe,VICTORY_SCREEN_COMPUTE, orreclaim_dynamic_slots), let me know which ones you'd like first and I'd be happy to open clean, focused PRs tested against my RTX 3080 10 GB setup with before/after logs!@trustno1-coder on GitHub · 2026-11-30 15:48 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.