[performance] RTX 4050 Laptop 6 GB / i5-13500H on v2026.12.03.02: memory fixed, still 16-22 fps (submit thread 37-60 ms, card 40-52 ms); new pipelines take 3.3 s each with frame generation #338
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?
What you see
Follow-up to #1 on v2026.12.03.02, same PC and settings. Prologue heist. Shaders preloaded first; the preload took about 43 minutes on the first start of this build (the log is created at 14:08:21, the first game line is at 14:51:53). No crash and no device loss in any of the three runs.
What 03.02 fixed on this card (sections 1 and 2 of #1)
Frame generation 2x, v2026.12.02.02 (logs in #1) vs v2026.12.03.02 (darner-play-20261204-151020-21024.log):
Frame generation now shows frames (17-19 presents a second with it on, 34-38 frames shown). Thanks, this is a big improvement.
With frame generation off (darner-play-20261204-140821-29860.log), compared with the frame-generation-off run in #1 (main
37fbcb3): submitting thread 37-48 ms instead of 47-69 ms (write watch 3.3-5.7 ms instead of 6.8-7.4, lists' steps 13-18 instead of 24-31), 18-22 fps instead of 14-24, PC RAM free 4.5-4.9 GB, 99 MB of textures parked. The in-game part of that run is only about 2 minutes.What is left
1. Real frames stay at 16-22 fps: both the submitting thread and the card are over 33 ms
Frame generation on, per minute (UTC):
A submitting-thread line from 15:13:
46.4 ms in its submissions: 6.8 asking the write watch, 0.9 putting the title's bytes under flights' writes, 15.1 in the lists' steps (refreshes 8.8 in 22 flushes of 10278, 9343 of them known to copy nothing, 930 on several threads; copies and fills 3.6), 10.8 for copies in the card's memory
Frame generation off, 15:08:
50.1 ms in its submissions: 6.5 asking the write watch, 0.7 putting the title's bytes under flights' writes, 20.5 in the lists' steps (refreshes 13.7 in 24 flushes of 10523, 9476 of them known to copy nothing, 1041 on several threads; copies and fills 3.8), 12.7 for copies in the card's memory
About 90 % of the refreshes copy nothing but still cost 9-14 ms, and copies in the card's memory are 11-13 ms. Card time is 23-43 ms with frame generation off and 42-52 ms with it on. With about 4.3-4.9 GB of the card's data in PC memory, part of that may be reads over PCIe (not measured). 200-800 frames a minute go over 50 ms, so it is not smooth even without long freezes.
2. New pipelines take 3.3 s each with frame generation on
Frame generation run: library "made=59 ... make_ms_each=3326" (4 still compiling at the end). Frame generation off, same build and cache: "made=1936 ... make_ms_each=64". Each new pipeline in a new area is a stall of seconds with frame generation on. 0 compiles waited for memory, so this is not the memory gate.
3. Parked texture blocks mostly empty
Frame generation run: "parked now 9430 textures, 286 MB in 14 blocks of the PC's memory (896 MB, 609 MB free in them)". 68 % of the parked blocks is free space held in PC memory. DARNER_PARK_COMPACT_WASTE (off, under test) may cover this.
Other
I can run A/B switches (for example DARNER_FAST_CORES=2, DARNER_PARK_COMPACT_WASTE=1, or the #311 switches) if you name them.
Before you post
RAY TRACING in F1
Off
GPU and driver
NVIDIA GeForce RTX 4050 Laptop GPU 6 GB (Resizable BAR on), driver 621.40
CPU, RAM and Windows version
Intel Core i5-13500H (4P + 8E, 16 threads), 32 GB 3200 MT/s, Windows 11 Home (build 26300)
Darner release or commit
v2026.12.03.02 (official exe, SHA-256 907ce3ea...)
Settings
Series S, 1280x720 render, 1920x1080 output, DLSS Performance (preset K), ray tracing OFF, texture quality HALF, video memory limit AUTO. Frame generation run: DLSS 2x, 60 fps cap. Other runs: frame generation off, 30 fps cap.
Log files attached
Full play logs, unchanged except the user name in paths, replaced with :
The 02.02 logs for the comparison are in #1. No crash.
Are you working on a fix?
No
Thanks for the latest-release comparison. On
f3840d7,make_ms_eachincludes the time from the start of the library lookup through pipeline creation on the miss path. The 3,326 ms aggregate can include time waiting for the library as well as the driver's compilation, and the 59 and 1,936 pipelines are different samples.Could you paste any
pipeline library: slow loadlines withloaded=falsefrom the existing 2x log? Theirname_wait_ms,save_wait_ms, andcall_msfields split the time spent before creation. Those lines and their timestamps are the quickest way to check this part of the report before changing more settings.There are no "pipeline library: slow load" lines in darner-play-20261204-151020-21024.log, or in the other two logs. On v2026.12.03.02 that line is only written when the library part of a miss (the turn and same-name wait, the save wait and the driver's load call) takes 2 s or more, so no lookup in this run reached 2 s. With make_ms_each=3326 over 59 pipelines, at least about 1.3 s per pipeline on average is left after the lookup, in creation.
The two library saves of the frame generation run:
15:13:39 made=26 make_ms_each=1496
15:15:20 made=59 make_ms_each=3326
so the 33 pipelines made between them averaged about 4.8 s.
Agreed that 59 and 1,936 are different samples. A closer comparison from the frame-generation-off run (darner-play-20261204-140821-29860.log), also in the game: the save at 15:07:11 has made=1765 make_ms_each=0 and the one at 15:08:32 has made=1936 make_ms_each=64, so the 171 pipelines made in between averaged about 0.7 s.
I can do the same route with frame generation off and then on if that helps, or turn on a switch that logs each miss if there is one.
The save-to-save deltas are a better comparison. They give about 4.8 s per made pipeline with 2x and about 0.7 s with generation off, over the intervals you identified. A lookup under the 2 s reporting threshold still contributes to the aggregate, which also covers the remaining creation path. The per-pipeline timing in the ordinary build goes into the recent GPU trail that is printed on device loss.
Yes, a same-route comparison would help. Please use the same FPS cap and preloaded settings, with copies of the same starting host library where practical, and note whether the driver cache was already warm in each run. The two library-save lines bracketing the route, with their times,
made,loadedandmake_ms_each, are enough for the next comparison.Paired runs done on v2026.12.03.02: same save, standing still in the same spot, FPS cap 60 and Reflex on in both, same preloaded settings. Before each run I restored the same copies of the host pipeline library (cache\pipelines), the NVIDIA DXCache and D3DSCache. The copies were taken after earlier sessions, so the driver cache was already warm, and equally warm, at the start of both runs.
A, frame generation off (darner-play-20261204-183253-17272.log, about 5 min):
18:33:01 made=0 loaded=52 make_ms_each=0
18:37:53 made=5 loaded=4558 make_ms_each=1001
-> 5 pipelines, about 1.0 s each
B, frame generation 2x (darner-play-20261204-184057-1616.log, about 14 min):
18:42:51 made=2 loaded=4556 make_ms_each=11
18:52:43 made=8 loaded=4558 make_ms_each=2015
-> the 6 made between them averaged about 2.7 s
No "pipeline library: slow load" lines in either run. The samples are small (5 and 6) since almost everything now loads from the library, and B ran longer, so I can't say these were the same pipelines. I can send both logs if useful.
I can send both logs if useful.
Yes, the two existing logs would help. Please redact local paths and names first. The restored caches make the starting state comparable, and neither run logged a slow library load. The build-time comparison still comes from five creations in the first run and six between the two save snapshots in the second, over different lengths of play.
I'll use the first five minutes after the first in-world frame in each log to compare submission times, and check whether the slow creations identify the same pipelines. If they don't, the averages describe different work. No extra run is needed yet.
Here
Both logs attached. The user name in local paths is replaced with ; nothing else is changed.
Thanks, I aligned both logs at Darner's first world frame. Run A has 159 seconds in the world, so I compared seconds 30 through 159 in both runs to leave out the transition.
The FG-on run had longer rendered-frame intervals in this window while its logged submit time was lower. Neither log records a slow library load or identifies the individual new pipelines, so the save totals can't measure an FG-specific increase for the same pipeline.
One more source: Darner's cache\pipelines\slow-pipelines.txt keeps the key and the longest time of each pipeline that took 1 s or more to make. Diffing it against the copy I restored before the runs gives run B's slow creations (run A's diff was overwritten when I restored the caches for run B):
So two of the same pipelines took about twice their earlier longest time with frame generation 2x. I don't know whether the earlier times were with frame generation on or off. If useful, I can restore the same starting copy, repeat run A with frame generation off and diff the file again for these three keys.
The three keys are useful. One FG-off repeat from the same restored caches would help if you keep a separate copy of the file afterward. Darner measures the full pipeline build call for this file, including a library load when one happens. It updates a stored time only if the new run takes longer and removes the key if that call finishes under 1 s. An unchanged entry therefore leaves the new time unknown.
Please keep the starting slow-pipeline file in place for the repeat, since Darner uses it to schedule workers. For comparison, the before/after rows for those three keys and the save counters are enough.
FG-off repeat (A2) from the same restored caches, with the starting slow-pipelines.txt in place. Same save, standing still in the same spot, FPS cap 60, Reflex on. About 13 minutes this time, close to run B's 14. A copy of the file was taken right after the run.
slow-pipelines.txt, the three keys:
So 8aa7cf... has a measured time in both runs: 2177 ms with FG off and 3727 ms with FG 2x. For d917386f... the A2 time is unknown (unchanged entry), and caa9c5... either took under 1 s in A2 or was not made.
Other changes in A2: 450919b3dc142f1f6ceca6f8435278c4 1032 -> 2661 (unchanged in B). Both runs removed the same number of keys (29).
Save counters, A2 (darner-play-20261204-192941-5432.log):
19:31:12 made=2 loaded=4556 make_ms_each=2405
19:41:14 made=4 loaded=4558 make_ms_each=1210
No "pipeline library: slow load" lines.
Log attached (darner-play-20261204-192941-5432.log); the user name in local paths is replaced with , nothing else is changed.
Thanks for keeping the starting file. The one key measured in both runs took 2,177 ms with FG off and 3,727 ms with FG 2x. The other two keys leave their FG-off times open.
I also compared seconds 30 through 600 after the first world frame in A2 and B. The median of the reported frame-time medians was 53.25 ms off and 60.7 ms at 2x. The median submit time was 43.4 and 42.9 ms. Frames over 100 ms were 31 and 59. Neither run logged a slow library load. That confirms the longer rendered intervals in the FG-on repeat while submit times were similar. The measured key covers the full build call, so we still can't assign the extra time to a specific stage.