DLAA only where its full-size scene fits: the title had no room for it (#663) #747
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!747
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-747"
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?
@nick0451 on GitHub · 2026-11-28 04:51 UTC · original
nick0451:fix/dlaa-series-s→main· +31 −0 · 2 files · 2 commits · merged 2026-11-29 08:16 UTCFixes #663.
What was wrong
DLAA on the Series S profile stops the title 6-10 s into the start with
0x80000003atvictory-image+0x2219650. FSR 3 frame generation is not the cause: the title stops the same waywith frame generation off.
+0x2219650is theint3after the title's fatal-error call (+0x2219620: lock, then a virtualcall that should not return). It is reached from the title's allocator at
+0x4fac3c0: anallocation came back empty, and the allocator was told to stop the title if that happens. At the
stop,
rdx = 0x882000andr8 = 0x10000: a 64 KiB-aligned block of about 8.9 MB, the size of arender target at DLAA's full scene size. The caller (
+0x193e1f9) skippedXMemVirtualAlloc, sono allocation was refused on our side. The block came from the title's own Series S memory, which
has no room for a scene larger than its own (Series S 1280x720, Series X 2560x1440). The
same happens on Series X at the stock 2160p output: an allocation of
0x1fe0000bytes (3840x2176R11G11B10), found by Yoshi-233 below and reproduced here. Series X at the 1440p output, whose
full-size scene is the title's own, runs.
The change
DLAA runs only where its full-size scene fits: Series X with the 1440p output. Everywhere else
(Series S, and Series X at 2160p) it runs at Quality's scale (2/3, the title's own) and the start
prints a line that says so. It is set in
run.rsbefore Streamline starts, so DLSS, the title'spatch and the notice use the same mode, whichever way the game was started (
victory.exe play,the script launcher, or
VICTORY_DLSS_MODEset by hand). The other modes do not change.Mode::for_sceneinplan.rsholds the rule, with a test. (The first commit coveredSeries S only; the second widens it to Series X at 2160p.)
Runs
RTX 3090 24 GB (driver 610.88), i9-14900K, 32 GB, Windows 11, v1.0.2.1, FSR 3 frame generation
chosen in F1 unless noted.
8fc2254--set VICTORY_DLSS_MODE=dlaa+0x2219650, 8 s8fc2254+0x2219650, 6 s8fc2254VICTORY_MENU_DLSS=dlaa)+0x2219650, 10 s63b902f+0x2219650, 8 s--set+0x2219650, 6 s+0x2219650, 8 s8fc2254, Series X, 1440p output63b902fand this PR's first commit, Series X, 2160p output+0x2219650,rdx = 0x1fe0000--set, F1 menu, and F1 at 1080I also tried keeping DLAA's scale and giving the title FidelityFX quality mode 1 in place of 0
(native AA). It stopped the same way, so the mode number is not the cause.
#679 and #681 switch FSR 3 off for DLAA, but on this PC DLAA alone already stops the title, so
neither one prevents the stop.
One thing for you to decide
63b902fadded a Series S picture row at 1080 that maps to DLAA. With this change that row startsat 720 (Quality) and the start says why. You may want to take the row out, or relabel it. I left
the menu as it is.
Checks
cargo test --workspace --locked: 1126 passed, 0 failed.cargo clippy --workspace --all-targets --locked -- -D warnings: only the two errors already onmain (
shadow.rs:1708,emit/mod.rs:2768, which #687 fixes); nothing in the files changed here.Found and tested with an AI assistant (Claude Code). Every figure above comes from this PC's own
runs and logs.
🤖 Generated with Claude Code
@Yoshi-233 on GitHub · 2026-11-28 05:00 UTC · original
I captured a related Series X allocation failure on an RTX 4070 Ti SUPER 16 GB, driver 617.42, with frame generation off. With Series X and native 3840×2160 DLAA, two runs based on v2026.11.27.8 and .10 stopped before the first in-world frame. Both had the same first three guest stack offsets as the Series S report and the same 64 KiB alignment. The requested size on Series X was 33,423,360 bytes (31.875 MiB).
On .10 the three allocation-info queries immediately before the breakpoint described a 3840×2176, single-mip, single-sample R11G11B10_FLOAT Texture2D with render-target capability. Each returned exactly 33,423,360 bytes and 65,536-byte alignment, matching the size and alignment in the exception registers. The trace records queries and leaves the texture's role unnamed.
A control with the same Series X profile, 3840×2160 output and DLSS Quality reached the boat scene at a verified 2560×1440 input. A separate diagnostic run with the game's temporal path at 2160 also stopped during startup but from a different caller with a 2 MiB request. These results may help distinguish reports that share a breakpoint while exercising different render settings.
DLAA on the Series S profile runs at Quality's scale: the title had no room for it (#663)to DLAA only where its full-size scene fits: the title had no room for it (#663)@nick0451 on GitHub · 2026-11-28 05:41 UTC · original
Thanks, that was the missing case. Reproduced here (RTX 3090): Series X, 2160p output, DLAA stops at
+0x2219650withrdx = 0x1fe0000,r8 = 0x10000, the same 33,423,360 bytes you found. The limit is the title's own scene size, not the profile, soe221b34lets DLAA run only where its full-size scene fits (Series X with the 1440p output) and uses Quality's scale elsewhere. Series X 2160p now runs at Quality, and 1440p stays DLAA; the table above has the runs.@MoonEyes on GitHub · 2026-11-28 13:02 UTC · original
Tested on an RTX 4060 8 GB: the crash reproduces on
main, and did not happen in two 180 s runs with this pull request. PROVISIONAL: one run onmain, two with the pull request.The only difference between A and B was the binary; A ran first, so B may have had warmer caches. Frame generation was off in all three, as the description says the crash does not need it. Not tested: Series X at 2160p, or with frame generation on.
@nick0451 on GitHub · 2026-11-29 00:49 UTC · original
More reports of the crash this PR fixes. I grouped the open issues by faulting address:
0x80000003 at victory-image-…+0x2219650is the most-reported crash right now. Every report carries the same registers,rdx 0x882000, rsi 0x10000(andrdi 0x882000). That's the title asking for one 1920×1080 render target (8.5 MB at 64 KiB alignment) and stopping when its pool has no room for it. It's #663's root cause.Confirmed DLAA (a full-size 1080p scene):
mode=dlaa, crash;mode=qualityreaches the world.0x882000allocation).Same registers, DLSS mode not stated (likely the same): #1694 (Series S, RTX 4060), #1635 (Series S, RTX 3050 6 GB, tried dlaa/performance/quality), #752, #715.
For anyone in those threads: if switching F1's DLSS mode from DLAA to Quality makes the crash go away, it's this one. With this PR, DLAA is only chosen where the full-size scene fits (Series X at 1440p output), and Quality otherwise.
(The second-largest group,
0xc0000005 +0x23cf683, is #628's watchdog.88244e8on main fixes it.)🤖 Generated with Claude Code