Two-die Ryzens and 8 GB cards: frame threads on one die, target reser… #730
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!730
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-730"
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?
@c1miano on GitHub · 2026-11-28 04:35 UTC · original
c1miano:claude/laughing-knuth-ibva6s→main· +4017 −175 · 51 files · 69 commits · open…ve sized to the card, a native build
Claude-Session: https://claude.ai/code/session_01ULB8X6uKz9YY1ZUqZ9W4YP
@ArturoWolff on GitHub · 2026-11-28 04:48 UTC · original · edited 2026-11-28 04:55 UTC
Independent check of just the adaptive render-target reservation in
resource.rsfrom #730 (018d54fed45716e689ab592d63fdca5349fa4cb3), on RTX 4060 desktop 8 GB / 16 GB RAM, NVIDIA 620.73.4, Linux/GE-Proton11-14. Applied to current.01(63b902fe1720a5188ee79d94a88c8de0470f6349) with the previously tested Linux backing/DXC adaptations. No CCD affinity, native-profile compiler flags, or other #730 changes. Same cloned starting profile, separate fresh external caches, Series X1080to1440, 30 cap, DLSS/FG off, requested full lighting/write-back/ordinary waits. The effective settings of the default and adaptive arms match; the intermediate fixed-2560 MiB arm from #609 differs only by that override.The adaptive arm kept admitting textures later in loading, consistent with the budget-scaled intent. It eventually hit the admission line again. Clarification from the detailed queue reports: the headline "waiting" count is the total tracked queue, including many already-uploaded slots awaiting periodic rechecks, not a count of outstanding first uploads. The last due counts were only 2 / 1 / 1. The sample count and workload are not scene matched, so the uploaded-slot and byte counts are not a throughput or in-world FPS measurement. All three launches reached loading artwork then the same black overlay/first-story failure documented in #628, with no guard stop, OOM increment, recorded kernel GPU fault or reported device/fence error. The adaptive arm elapsed 136.293 s, versus 124.983 s default; no actual world was reached. Post-load render-target requirements and fidelity are still unqualified.
This supports trying the budget-scaled reservation instead of a universal 3072 MiB, but does not support calling it a fix for the #628 progression failure or recommending a new general Series X default without a post-load check. It is a single-factor complement to the multi-setting Series S report in #609, not the same experiment. Thanks for the proposal.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
With `--console series-s` the title picks FSR 4 where a Series X uses its own upscaler. Here FSR 4 runs, through the translator, and it is the dearer of the two. Two functions of the known build that make the choice now return 6 (the Series X's), so the Series S profile renders with the title's own upscaler. Measured on an RTX 3090 Ti (driver 616.92), Ryzen 9 9950X3D, Windows 11, this fork's launcher settings with `-SeriesS` and no NVIDIA files, in the prologue's cell at 4,300 to 4,700 draws a frame, medians of the frame lines of one run each: FSR 4 own upscaler frames a second 28.5 30.9 frame 35.1 ms 32.4 ms title memory copied a frame 88 MB 38 MB copied back a frame 21.6 MB 0.8 MB The picture is the same in both as far as I can tell from screenshots (hair, the print on the shirt, the walls; the haze through the cell's window is there with either). Not applied when the title's FidelityFX path is asked for: DLSS, frame generation and VICTORY_FSR_PATH take the title's FidelityFX upscaler (`native_1440p::prepare_upscaler` patches the same function, at +0x7e9421), so `victory run` then leaves the choice to the title and says so. I have no NVIDIA files here: that the line is printed and no patch applied with VICTORY_FSR_PATH=1 is what I checked of that side. VICTORY_TITLE_PATCHES=0 turns the patches off; VICTORY_TITLE_PATCH=<rva>: <old hex>:<new hex> adds one for experiments. The patched image is cached under a name of its own. From fxceless/victory-fork#798 (same author), where FSR 4's frames were black on the Series S profile. Co-Authored-By: Claude Fable 5.2 <[email protected]>d12eb1b) with its own changes; the earlier snapshot stays in history bbc008c60b545f890); two clippy fixes in tests a5b1335e4b0cef07e): FSR 3 frame generation, Windows 10 runtime, warm-up restart, MFG Unlocker option 1e829b8f60a4d05e7): save sharing in the F1 menu, PS4 pads, water light, memory switches, launch and crash fixes b65b34912463b902f) into Neo b0504e5d715a86970) into the 3070 Ti fork 9cf260111a@urielbeaupre on GitHub · 2026-11-28 17:56 UTC · original
A data point for the two-die placement on a Ryzen 9 7900X (6+6 cores, two CCDs) with an RTX 4070 Ti 12 GB, Series S profile, DLSS off, same save, warm caches.
I couldn't merge the PR branch as a whole onto my test base (it brings in about 1,000 other commits), so I cherry-picked only
018d54f, "frame threads on one die, target reserve sized to the card". I put it on main63b902fplus #1038 and #1184. One build;VICTORY_ONE_CCDalternated; a warm-up run first (not counted). The log confirms the placement in the "on" runs ("the thread is kept on one die", 16 threads). Cutscene = seconds 60–110 after input, after = 110–165:VICTORY_ONE_CCDAverage: on 37.3 / 23.2, off 39.8 / 23.8. On this CPU there's no gain from keeping the frame's threads on one die. If anything it's slightly slower in the cutscene, though the second pair was even, so part of that is noise. My guess is that six cores on one die are tight for the submit thread, its helpers and the list translators together on a 6+6 part, while a 9900X/9950X with more cores per die has room. It might be worth keeping it off by default for 6-core-per-CCD parts, or measuring there before turning it on.
🤖 Generated with Claude Code
github-bot referenced this pull request2026-11-29 12:10:51 +00:00
@autogenes-sudo on GitHub · 2026-11-29 22:56 UTC · original
Measurements on another two-die Ryzen without V-Cache, in case they help with the placement part of this PR.
PC: Ryzen 9 5900X (two CCDs, 32 MB L3 each, SMT), RTX 5060 8 GB (driver 621.40), 32 GB DDR4-3600 in one stick (one channel), Windows 11. v2026.11.29.03, Series S, DLSS Performance,
--res 1080to1440, no frame generation.Method:
VICTORY_ABwith 15 s phases, run unattended with aVICTORY_INPUT_REPLAYpad tape (A every 5 s through the menus, then the character stands still, so phases are far less noisy than play), 64 phases per run. Effects are medians of neighbouring phases that differ only in the switch, with the draw count regressed out; ± is one standard error.Placement. A local switch re-applied
SetThreadSelectedCpuSetsevery second by thread name: the title's threads (no name, ortitle-main) on one CCD, the layer's (victory-*,dstorage*) on the other. The D3D background compiles were left alone.THREAD_PRIORITY_HIGHESTandVICTORY_HEAP_LOOK_QUIET; the three not separated), against all three offSo on this part, which die the title's threads get is worth several milliseconds, and the first die is the better one for them here. This is the reverse of what this PR does (the layer's frame threads on the preferred cores' die, the title on both). I did not measure this PR's variant.
Other switches on the same PC (same method, 48-64 phases each):
VICTORY_CBV_ONCE: +23 ms ± 4, 27 % slower.VICTORY_GUARD_HOT: +4 to +12 ms.VICTORY_COPY_BESIDE,VICTORY_SCRATCH_SHARED=0,VICTORY_HELPER_PRIORITY=0,VICTORY_GUARD_REST=0: no clear effect.VICTORY_RYZEN_PREPstreaming copy: no gain (bench_ryzen_snapshot_jobs: 13.06 against 12.89 ms per 144 MiB).Context:
samply import) had only ~9 of 24 logical processors busy.MWAITX, woken about 3 times a frame by the title's other threads.I built with fat LTO and
-C target-cpu=znver3as this PR does, but did not measure it separately.I can send the placement switch as a PR of its own if it is wanted.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.