Renderer port #1 (VICTORY_PORT_CONSTANTS=1) on Ampere: the submitting thread saves ~9 ms, but the card waits ~25 ms a frame on the in-place heap #1223
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by KelvinSilvaDev on 2026-11-28T15:55:36Z.
On an RTX 3090 (Ampere, 6 MB L2), port #1 does what it promises on the CPU side and the picture is correct, but the card then waits on the heap opened in host memory, and the frame gets slower overall. Resizable BAR on or off makes no difference (expected: the card reads host memory over PCIe either way).
Setup: Windows 11, driver 621.40, Ryzen 7 7700, Series S profile, DLSS Performance, FSR 3 FG 2x, release build, frame-rate cap off. Boat cutscene from a fixed save, 6-minute runs, screenshots at the same offsets after the menu Enter:
VICTORY_PORT_CONSTANTS=1The day before, without Resizable BAR (Series X profile, warm pipelines, scripted walk), the same switch gave 44.7 → 55.6 ms with the submitting thread's preparing going 31 → 23 ms: same pattern.
The port's own line reports, per frame, ~6,300 fills read out of the ported memory on the CPU (~2.2 MB) and 6 buffer copies touching it.
Our guess, not verified: the constants in the 185 MB stretch are read many times per frame by many waves, and with 6 MB of L2 those reads keep crossing PCIe, while a 48 MB L2 (RTX 40) keeps most of them on the card. If that holds, port #1 may want to stay off on cards with a small L2, or copy the ranges a frame reads into card memory. Happy to run any experiment that helps.
Measured with the help of an AI assistant (Claude).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T15:55:45Z.
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by KelvinSilvaDev on 2026-11-28T16:03:10Z.
Thanks. This one is a performance report rather than a crash: the title ran to the end in both runs, so there is no crash log.
Play logs of the two runs in the table above (boat cutscene from a fixed save, 6 minutes after the menu Enter), with the Windows user name and the PC name replaced by placeholders:
https://gist.github.com/KelvinSilvaDev/0a8dc7a3b4c8bc65bce72075f39c48d2
port1-off-victory-nvidia-20261128-121212.log: port #1 off (40.8 ms/frame median, the submitting thread preparing 28.4 ms, 2.4 ms waiting for the card)port1-on-victory-nvidia-20261128-121933.log:VICTORY_PORT_CONSTANTS=1(54.1 ms, 19.3 ms preparing, 27.7 ms waiting for the card); the port's own lines are in it ("renderer port 1: … regions of the title's graphics memory in place …")