[RTX 3070 8GB] 2-3 FPS, missing lighting/textures (VRAM/view heap exhaustion & wave64 compute shader drops) #182
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#182
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?
@ZErR1 on GitHub · 2026-11-26 10:35 UTC · original
System Specifications
cool_fox(commitf4b48ad), launched viaPlay-VIctory.cmd pareto-residency(Xbox Series S profile)Performance Breakdown
Visual & Animation Issues
Key Findings from Log (
victory_log.txt)changed=3001+) and severe frame drops:victory_gpu::draw: textures picked by index: the card has no room for more; they waitvictory_gpu::residency: host memory pressure: limiting texture prefetch and idle upload storage (physical_free_mib=12042, available_commit_mib=3813, game_filled_gpu_texture_mib=2626)victory_gpu::descriptor::host: host view heap capped at 1000000; views past it read a null slot count=1245184stage="compute" hash=02384a60fda6f2d0stage="compute" hash=6b82bc7d22016cb5stage="compute" hash=5dc3b25986622949stage="compute" hash=6f225b641c5b0708converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supportedamd_fidelityfx_upscaler_xbox.dllrefused (host DLL outside the host policy)0x218and0x1c8, pluspipeline state(0x58),command list(0x1a8), andcommand queue(0xb8).victory_log.txt
@ZErR1 on GitHub · 2026-11-26 11:09 UTC · original
Confirming similar VRAM and shader issues on another NVIDIA RTX 3070 (8 GB) setup, tested with the
cool_foxbuild (Play-VIctory.cmd pareto-residency, Series S profile) and 32 GB RAM (Ryzen 5 5600, DDR4 3200 MHz):Observations
VICTORY_TEXTURE_NO_WAIT=0,VICTORY_CARD_STEPS=0, andVICTORY_WIDE_BACK=0before runningPlay-VIctory.cmd pareto-residencyreduced texture re-upload spam from3001+down to200, thoughPlay-VIctory.cmdappears to override some preset variables internally.Key Log Warnings (
victory_log_2.txt)victory_gpu::draw: textures picked by index: the card has no room for more; they waitvictory_gpu::residency: host memory pressure: limiting texture prefetch and idle upload storage (physical_free_mib=11795, available_commit_mib=3443, game_filled_gpu_texture_mib=2393)victory_gpu::descriptor::host: host view heap capped at 1000000; views past it read a null slot count=124518402384a60fda6f2d0,5dc3b25986622949,6b82bc7d22016cb5,6f225b641c5b0708) with:converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supportedvictory_gpu::texback: a texture copied back could not be tiled e=Unsupported mip=0 slice=0Attaching the full
victory_log_2.txtbelow for reference.victory_log_2.txt
@ZErR1 on GitHub · 2026-11-26 12:46 UTC · original
Tested PR #198 + PR #199 + PR #204 merged together on real hardware (NVIDIA GeForce RTX 3070 8GB, Ryzen 5 5600, 32GB DDR4) using:
.\scripts\play.ps1 -Exe ... -Build release -Safe -More @{VICTORY_TEXTURE_NO_WAIT='0'; VICTORY_CARD_STEPS='0'; VICTORY_WIDE_BACK='0'; VICTORY_AMBIENT='0'}What Improved (Confirmed Working!)
wave64->wave32lowering): All previousno wave32 lowering for this wave64 program is not supportederrors are completely gone!47,416textures /2652 MBuploaded), and the runawaychanged=3001+re-upload loop stopped (capped atchanged=36).host view heap capped at 1000000warning did not trigger.Remaining Issues Found on RTX 3070 (8GB)
E_INVALIDARG (0x80070057)on 4 Compute Pipelines: After lowering from Wave64 to Wave32, the NVIDIA D3D12 driver now refuses PSO creation for these 4 compute shaders:compute 02384a60fda6f2d0compute 89d08e561897d4e5compute 55679a0547649d0bcompute 369cbe906ea72764Xbox Series Xprofile):scripts\play.ps1defaulted toXbox Series X(3840x2160), which still hitstextures picked by index: the card has no room for more; they waiton 8GB VRAM (budget 6834 MB,in use 5726 MB) with29,061textures waiting in queue.~595 ms/frame) in-game while compiling ~290 new mesh/compute pipelines on the fly (1,100–3,582draws dropped while pipelines are being made).Attaching the full
victory_log_pr_test.txtbelow!victory_log_pr_test.txt
@ZErR1 on GitHub · 2026-11-26 12:56 UTC · original · edited 2026-11-26 12:59 UTC
Note: I am currently selling this RTX 3070 8GB test card. It's not 100% guaranteed, as it depends on when the buyer picks it up, but I should still be able to run tests and provide logs on it for the next 2–3 hours if you need anything specific checked right now. After that, I will be switching to an NVIDIA RTX 5070 (12GB) and will be happy to continue testing your upcoming NVIDIA/shader fixes on Blackwell!
@aarushkha on GitHub · 2026-11-26 13:13 UTC · original
AI-assisted (Claude Code). Log lines only, no game data.
Another NVIDIA card with the same refused compute pipelines on current
main: RTX 3060 12 GB, driver 621.01, Windows 10 22H2,0dec5dc, Series X profile. Six compute pipelines are refused at start-up withE_INVALIDARG, in every run (10 runs today):Four of them (
02384a60fda6f2d0,5dc3b25986622949,6b82bc7d22016cb5,6f225b641c5b0708) are the wave64 programs from the first log above.369cbe906ea72764also appears in the 3070's list after #204.2da4beb386509b77is new. Onmainthese are now refused by the driver rather than by the translator. The 1,000,000-view heap cap shows here too (numbers in #35).@ZErR1 on GitHub · 2026-11-26 13:30 UTC · original · edited 2026-11-26 13:32 UTC
Regression Note & Log Findings (
f4b48advs. currentmain+ PRs#198/#199/#204)To make a fair A/B comparison, I copied
Play-VIctory.cmd(pareto-residency, Series S profile) from the oldercool_foxbuild (f4b48ad) and ran the newly builtVIctory-7900XTXbinary on my RTX 3070 8GB, alongside testingscripts\play.ps1without-Safe. There is a substantial regression in frame pacing and loading compared tof4b48ad:f4b48ad(which ran smoothly through boot logos/menus and easily loaded into the prison scene), the currentmainbuild stutters heavily right from the start and struggles to reach the prison scene.landed) &presentstalls:~770 msatpresent(threads of the title waited 769.6 ms at presents), which did not happen onf4b48ad.-Safe, the relay/landing pipeline copies back300–524pieces (15–28.4 MBper frame) from GPU to host memory on every frame, with texture refreshes spending up to74.7 ms/framejustwaiting for title memory to hold still (the runtime remapping it).play.ps1):1158, Windows/NVIDIA driver drops the card's VRAM budget from7249 MBdown to6834 MB(in use 5726 MB+1812 MBshared), immediately triggeringtextures picked by index: the card has no room for more; they waitwith37,283textures stuck waiting in the queue (1.7–2.0 FPS,~595 ms/frame).02384a60fda6f2d0,89d08e561897d4e5,55679a0547649d0b,369cbe906ea72764) continue to fail PSO creation withE_INVALIDARG (0x80070057).Attaching the latest run log (
victory_log_series_s.txt) below for reference.victory_log_series_s.txt
@Davidjc13 on GitHub · 2026-11-26 14:51 UTC · original
RTX 5060 Ti 16 GB, compared with the cool_fox Series S profile the report started from.
Tree:
f4b48adplus local ports of #198, #199 and #204, committed asbab1267onDavidjc13/VIctory-7900XTXbranchlast-run. This is not currentavatarmanzmain. The #204 port only counts an LDS atomic as a read; this tree does not have the flag-region path that PR is written against. Launch:Play-VIctory.cmd pareto-residency(Xbox Series S), default pareto switches (VICTORY_TEXTURE_NO_WAIT=1,VICTORY_CARD_STEPS=2,VICTORY_WIDE_BACK=1,VICTORY_AMBIENT=0.8). That is not theplay.ps1 -Safeset used on the 3070. The process ran about 2.5 minutes and exited 0. NoDEVICE_HUNG, noE_INVALIDARG.Frame rate
The window caption in the bunk room read 18 fps, 56.8 ms/frame, 5533 draws/frame. Preparing the submission took 38–92 ms of the frame. Measured GPU time was usually under 12 ms (one sample 20.7 ms). The room, both characters, the window and the ceiling light were drawn. Lighting is present.
Textures. On this profile the re-upload loop is still there.
changed=climbed to 18001 and was still increasing at the end. The cumulative counter reached 97,365 uploads / 34,168 MB counted (repeats included), with 10,527 waiting. Onethe card has no room for more; they wait. Host memory pressure at frame 1998 (physical_free_mib=19878,available_commit_mib=3977,game_filled_gpu_texture_mib=6567), cleared a few seconds later. View heap still capped:host view heap capped at 1000000; views past it read a null slot count=1245184.Wave64. These six computes are still dropped with
no wave32 lowering for this wave64 program is not supported. They never reach PSO creation here:02384a60fda6f2d05dc3b259866229496f225b641c5b070855679a0547649d0b89d08e561897d4e5caf96a3229145fa6369cbe906ea72764translated and bound (first bind at frame 1091).6b82bc7d22016cb5did not show up in this scene. Command queue slot0xb8is still unimplemented.amd_fidelityfx_upscaler_xbox.dllwas refused by the host policy.@ZErR1 on GitHub · 2026-11-26 15:07 UTC · original · edited 2026-11-26 15:22 UTC
Update: Switched to NVIDIA RTX 5070 (12GB, Blackwell) — Testing
Davidjc13/VIctory-7900XTX(last-run,bab1267)I have now sold the RTX 3070 8GB and upgraded to an NVIDIA GeForce RTX 5070 (12GB) (Ryzen 5 5600, 32GB DDR4,
hypervisorlaunchtype off, 16–32GB Windows pagefile, clean shader cache). Here are my test results on@Davidjc13'slast-runbranch (bab1267) usingPlay-VIctory.cmd pareto-residency(Series S profile):host memory pressurewarnings are gone).E_INVALIDARG (0x80070057)orDEVICE_HUNG: Just like on@Davidjc13's RTX 5060 Ti, all D3D12 PSO creation errors are gone on the RTX 5070.textures picked by index: the card has no room for more; they wait, descriptor heap cap (1245184), and continuous texture re-uploads (changed=10001).89d08e561897d4e5,02384a60fda6f2d0,5dc3b25986622949,6f225b641c5b0708) are still dropped by the translator (no wave32 lowering for this wave64 program is not supported), while369cbe906ea72764translated cleanly.Attaching the clean RTX 5070 log (
victory_log_5070_pagefile.txt) below!victory_log_5070_pagefile.txt
@ZErR1 on GitHub · 2026-11-26 16:36 UTC · original
Cross-Fork Comparison on NVIDIA RTX 5070 (12GB):
DexNom/VIctoryvs.Davidjc13/last-runI also tested
@DexNom's fork (DexNom/VIctory,Experimental NVIDIAflags) on the same RTX 5070 12GB setup (--console series-s):--no-rt(VICTORY_AMBIENT_FALLBACK=1):14 draws/frame,30.0 fps) due to format fallback (the host does not render to this format: 8-bit RGBA stands in format=86 / 115).--rt-static-bvh --console series-s:story000(frame=1568+,732 draws/frame,~11.9 GBRAM), and notably translates/creates almost all compute shaders that fail with0x80070057orlane mask exchangedonmain, including:89d08e561897d4e5(succeeded!)55679a0547649d0b(succeeded!)17af85f170e66f30(succeeded!)477b52e73ddeb6f2(succeeded!)8b437ab61d8008fe(succeeded!)02384a60fda6f2d0still failed with0x80070057.DexNomrenders a solid grey screen (gpu 0% busyon presentation) on NVIDIA, so nothing is visible on screen despite the scene running underneath.Thought these shader hashes and behavior on Blackwell (RTX 5070) might be helpful for
@feanorsunand@Davidjc13!run-1795710598889-14840.log
latest.txt
@Jesper-Andersson on GitHub · 2026-11-27 01:17 UTC · original · edited 2026-11-27 01:35 UTC
Another NVIDIA 8 GB data point for the dropped compute shaders, on a current tree. It also counts what they cost per frame.
Setup: RTX 2070 SUPER 8 GB (the host reports
host wave lanes min=32 max=32), Ryzen 7 5800X, 32 GB, Windows 11, Series S + DLSS.main014d52dplus our own changes, a diag build. Run it withVICTORY_SUBMIT_FRAMES=2, port 1 off,VICTORY_CARD_ROOM_FOR_TARGETS_MB=1280(#407) andVICTORY_EARLY_TABLES=0.VICTORY_FRAME_HEALTHCSV (fxceless/victory-fork#1415), ported locally.Eight compute pipelines are refused by the driver with
The parameter is incorrect. (0x80070057). They are refused the same way byvictory warm --these, and in every run here:89d08e561897d4e5and55679a0547649d0bare the tree-imposter and tree culling passes (CS_Tree_BatchCull; labelled indraw.rswalls_census). When they're refused, the indirect draws they feed get no groups, so trees may not be drawn on 32-lane cards. (An earlier version of this comment called them skinning passes; that was wrong.)emit/lower.rscan't split: cross-half lane ops, or LDS shared inside the wave. I've only confirmed the refusal itself, not the reason for each shader.What it costs per frame (572 gameplay frames, 500 or more draws each):
AI use: log reading and write-up with AI assistance (Claude Code). The run is my own.