Docs + page-file script: RTX 30 at 60+ fps shown with frame generation, and ray tracing that runs (with #2993) #3354
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3354"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by JohnNajar on 2026-11-29T22:10:32Z.
On an RTX 3090 (i9-9900K, 48 GB RAM), v2026.11.29.02 with #2993 goes from 3.5 fps with skipped draws to 60-73 fps shown, and ray tracing runs instead of freezing at start. This PR adds what it took, so others can use it and main can take it in:
docs/rtx30-high-fps.md: the measured settings and results, and what this asks of main.scripts/set-pagefile.ps1: a fixed 64 GB page file in one command, and Windows' automatic one back in another.Results (Series S, DLSS Quality, about 10-minute unattended runs walking through the world)
E_OUTOFMEMORY), 100+ refusalsVICTORY_LOW_EARLY_MB=0)What made each step: the page file removed the commit shortage.
VICTORY_LOW_EARLY_MB=0stopped the ray-tracing freeze at frame 2: 3 of 3 runs froze with the early reservation, 0 of 3 without it. MFG Unlocker at x3 gives the shown frame rate; it is someone else's mod.#2993 is the shader fix these runs were built with: the last untranslated program of
shaders.rpf(CS_TraceShadowRays_FullAdaptive) translates. These runs never used that program, so it does not explain the numbers above.Commands (administrator PowerShell, then restart)
Back to Windows' automatic page file:
-Showchanges nothing. Tested on the 3090:-Show, and the 64 GB set.-Defaultwas not run on this PC, which keeps its 64 GB page file.Requested for main
no room left below 2^37warning (#2973).scripts\set-pagefile.ps1.cargo test -p xtask repository_passes_policypasses for the two new files. The one problem it reports is incrates/victory-loader/src/heap_sites/frame_users.rs, already on main.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by JohnNajar on 2026-11-29T22:15:10Z.
Testers with an RTX 40 or 50 wanted. The numbers here come from one RTX 3090. Could someone with an RTX 40 or 50 post their fps with and without ray tracing?
On RTX 40/50 the DLSS frame generation is native, so MFG Unlocker isn't needed: in F1, FRAME GEN TYPE DLSS and FRAME GENERATION x2 (RTX 40) or up to x4/x6 (RTX 50).
Setup, the same as here so the numbers compare:
scripts\set-pagefile.ps1, see the doc).victory-settings.txt, or the same in F1: Series S, DLSS Quality, andVICTORY_LOW_EARLY_MB=0(needed on the 3090 for ray tracing; useful to know whether a 40/50 card freezes without it too).VICTORY_BVH_BUILDER=1, or F1 RAY TRACING ON). Runvictory warmonce first, or the first run builds its pipelines while you play (under 1 fps).Please post:
0x887A0005), and after how longThe two play logs from
%LOCALAPPDATA%\victory\logshelp most.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by spk-c on 2026-11-29T22:20:39Z.
I've been testing on an RTX 4090 and can confirm that the device removal issue also occurs on Ada.
My setup:
Preliminary results at 2560x1440, Series X, RT enabled, DLSS and frame generation disabled:
No host pipeline allocation refusals were reported during these two runs. However, a subsequent warm-cache run failed with
DXGI_ERROR_DEVICE_REMOVED (0x887A0005).These aren't directly comparable to your Series S + DLSS Quality + MFG results yet. A matched RT on/off test with native DLSS FG x2 and
VICTORY_LOW_EARLY_MB=0would be particularly interesting on the 4090.Your findings regarding system commit and the early memory reservation are definitely worth investigating further.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by JohnNajar on 2026-11-29T22:34:25Z.
Thanks for testing on the 4090. That narrows it down. On the 3090 the one device removal came with ray tracing and DLSS frame generation, so it was unclear which caused it. On your 4090 it happened with frame generation off, so it looks like ray tracing itself (the structure builder) on both Ampere and Ada, not DLSS FG.
Two questions that would help:
VICTORY_LOW_EARLY_MB=0set in those runs? Without it, ray tracing froze at frame 2 every time on the 3090. Your 4090 got further, so it's worth knowing whether the reservation was on, and whether the removal still comes with it off.Your commit of 69-71 GB lines up with what we saw: the game alone was about 33 GB here, and the 54 GB limit of a 6.6 GB automatic page file ran out. With 64 GB RAM and a 44 GB page file you had room, which fits with no refusals.
The matched test would be great, if you have time: Series S, DLSS Quality,
VICTORY_LOW_EARLY_MB=0, native DLSS FG x2, ray tracing off then on, about 10 minutes each (aftervictory warmfor the ray-tracing run).Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by spk-c on 2026-11-30T00:00:26Z.
Thanks! I've now completed the matched tests on the 4090.
Regarding your two questions:
For the new tests, I used your requested configuration:
VICTORY_LOW_EARLY_MB=0fbe3dc20-dirtyWith RT disabled:
The interesting part is that both RT-enabled runs crashed at almost exactly the same point, approximately 44 seconds after launch and 5–6 seconds after entering the world.
Both returned
DXGI_ERROR_DEVICE_REMOVED (0x887A0005).At the time of the crashes, system commit was only around 58 GB and VRAM usage was around 13 GB.
So disabling the early reservation does not resolve the device removal on Ada either. Since it happens with and without native DLSS FG, and well below the available memory limits, I think the RT/BVH execution path is the strongest lead now.
I have the full logs from all three runs available if you'd like to investigate the failing submissions further.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by JohnNajar on 2026-11-30T01:17:45Z.
Thanks for the matched runs, that's very useful. Yes, please post the logs from all three: the play logs from
%LOCALAPPDATA%\victory\logs, pluscrashes.logand any*.crash.logfrom%LOCALAPPDATA%\victory\data\7952987A\tempfor the two removals. Attachments or a gist both work. The RT on / FG off run is the most useful, because it takes DLSS out of the picture.What stands out is the timing difference. On the 3090 with
VICTORY_LOW_EARLY_MB=0, ray tracing ran 4 minutes in the world in both runs with FSR 3 frame generation, and the one removal came only after about 4 minutes, with DLSS frame generation through MFG Unlocker. Your 4090 removes the device 5-6 seconds after entering the world, with or without FG. So something different is happening there.To compare like for like, could you say:
fbe3dc20-dirtyholds over main: is #2993 in it, and what are the local changes?victory warmafter one), not only a non-RT one. The first RT run here was under 1 fps while about 2,000 RT pipelines were being made.0x887A0005would show what was submitted.The 3090 runs for comparison (both play logs, the freeze and a 4-minute RT run) are in the gist linked from #2973.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by spk-c on 2026-11-30T12:04:12Z.
Thanks! I've gone through the original logs, the local source changes, and the additional D3D12 diagnostic runs.
Full logs: https://gist.github.com/spk-c/63df1fb324a3bb8c96db1e20c0994471
The gist includes all three play logs, relevant crash log entries, benchmark summaries, pipeline warmup output, the local source patch, and an additional full DRED diagnostic run. Neither of the two original device removals generated a new individual
*.crash.log.1. Build differences
The exact base commit was
fbe3dc20521247298809e978abb05fe7b8cebe0f. I've checked the commit ancestry, and #2993 was not included.The archived local patch contains:
compose.rs: diagnostic resource barrier instrumentation.copystat.rs: diagnostic build compilation fix.host.rs: submission timing compilation fix and barrier instrumentation.bench.ps1: benchmark log parsing fixes.There were no local shader translation changes in the archived patch.
2. Pipeline warmup
I used
victory warm --used --jobs 6with a shared pipeline cache. The final warmup before the RT tests reported:However, that warmup followed the RT-off run. I can't confidently confirm that all RT-specific pipelines were already warmed, so that's something we should control in the next comparison.
3. Device removal
Both failures occurred approximately 5–6 seconds after entering the world:
Both returned
DXGI_ERROR_DEVICE_REMOVED (0x887A0005).The last recorded events include pipeline library loads and texture/staging buffer cleanup. Unfortunately, the original logs don't conclusively identify the failing GPU command or establish whether it was the first RT pass.
One clarification: DLSS Quality upscaling was still enabled in the FG-off run. This rules out frame generation as a necessary trigger, but not DLSS upscaling itself.
Additional investigation
I've since reproduced the failure with the D3D12 debug layer and full DRED enabled. This exposed numerous resource-state validation errors, including depth-state and copy-source state mismatches.
I've opened #3572 to address stale depth-state tracking. In controlled testing, the patch reduced depth-read state errors from 8,601 to zero before the RT crash. However, the device removal still occurs, so this is a separate correctness fix rather than a complete solution.
I agree that the timing difference between Ampere and Ada is interesting. The next useful comparison would be a build with #2993 applied, an explicitly warmed RT pipeline cache, and both DLSS upscaling and frame generation disabled.
Hopefully the attached logs help narrow this down further. Let me know if you spot anything interesting or need any additional diagnostic runs on the 4090.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.