d3d12 runtime, Series S 540p, GTX 1660 SUPER 6 GB / Ryzen 5 3600 / 24 GB: 5.9-6.6 fps in the world, and where the 151 ms goes #2578
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Reference
No Branch/Tag specified
main
github-pr/3295
beta
docs/changelog-3483-3500
github-pr/3294
github-pr/2975
github-pr/2815
feat/gate-driver-start
feat/skip-pipelines-release
perf/lazy-compare
perf/mwaitx-wait
test/prio-ceiling-main
fix/ab-cpu-stdout
fix/gate-old-crashes
diag/ab-cpu
test/main-0312
github-pr/3291
diag/indirect-clamp-census
feat/barrier-enhanced
perf/texture-frame-ceiling
perf/dstorage-threads
fix/console-queue-dma-tables
fix/port-descriptors-record-parts
fix/frame-waits-fence
fix/console-sampler-words
fix/graphics-userdata-spill
fix/xg-reserved-layout-rotation
fix/barrier-console-flags
fix/switches-wait-test-child
test/list-value-waits
test/lot-gxdk-0412
fix/bvh-compacted-size
docs/i18n-quickstarts
feat/native-pipeline-slots
fix/clippy-leonida-gpu
fix/list-value-producers
fix/descriptor-page-straddle
fix/xmem-low-window
fix/ffx-jitter-never-zero
fix/run-stdout-closed
github-pr/2892
github-pr/2896
feat/warm-save-every
github-pr/2980
github-pr/2994
github-pr/3005
github-pr/3010
github-pr/3136
github-pr/3303
github-pr/3220
github-pr/3143
github-pr/3330
github-pr/3226
github-pr/3187
carry/3395
github-pr/2946
github-pr/2947
github-pr/2945
github-pr/2983
github-pr/3001
github-pr/3372
github-pr/3128
github-pr/3296
github-pr/2588
github-pr/3119
github-pr/3378
fix/crash-diagnostics
feat/dlss-mip-bias
fix/retired-out-of-order
fix/dxr-postbuild-barrier
fix/amd-relay-default
fix/removed-report-wait
feat/heap-twin
feat/vram-margin
github-pr/2472
github-pr/3123
github-pr/3088
assets/annonce-v1
github-pr/2794
github-pr/3300
github-pr/3304
github-pr/3308
github-pr/3367
github-pr/3369
fix/launcher-dlss-diagnostics
github-pr/3269
github-pr/2957
github-pr/3205
fix/crash-zero-guard
github-pr/3185
github-pr/3099
github-pr/3104
github-pr/3348
github-pr/3379
github-pr/3377
perf/darner-title-priority-ceiling
github-pr/3376
gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
github-pr/3373
github-pr/3368
github-pr/3198
gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
github-pr/3346
github-pr/3375
github-pr/2958
github-pr/3151
github-pr/3307
github-pr/3278
github-pr/3374
fix/runtime-test-conservative-fixtures
github-pr/3366
ci/shard-semantic-linux
github-pr/3354
docs/fg-limit-fps-switch
github-pr/3365
fix/read-file-hard-link
github-pr/3364
fix/book-slot-heap-never-read
github-pr/3361
github-pr/3263
github-pr/3360
github-pr/3353
github-pr/3331
fix/alias-later-queued-submissions
github-pr/3352
github-pr/3228
github-pr/3349
claude/gallant-sagan-aamatr
github-pr/3200
github-pr/3132
github-pr/3323
github-pr/3332
github-pr/3340
github-pr/3311
github-pr/3334
github-pr/3297
github-pr/3256
github-pr/2567
github-pr/2851
d3d12/agility-sdk-621
github-pr/3164
github-pr/3114
github-pr/3050
github-pr/3113
github-pr/3326
github-pr/3144
github-pr/2642
github-pr/3072
github-pr/2789
github-pr/2643
github-pr/3009
github-pr/3035
github-pr/3031
github-pr/2686
github-pr/2834
github-pr/3321
github-pr/3325
github-pr/3290
github-pr/3324
github-pr/3130
claude/fervent-curie-m19lnr
github-pr/3309
github-pr/3305
github-pr/3306
github-pr/3302
github-pr/3301
github-pr/3345
github-pr/3211
github-pr/3027
github-pr/3286
github-pr/3235
github-pr/3265
github-pr/3275
codex/skip-no-hit-ray-passes
github-pr/2823
github-pr/2911
github-pr/3262
github-pr/3125
github-pr/3206
github-pr/3250
github-pr/3238
github-pr/3188
github-pr/2952
github-pr/3217
github-pr/3168
t3/preserve-fsr-sdk-restart-path
t3/propagate-host-failure-hresult
github-pr/3209
t3/launcher-custom-parameters
github-pr/3207
github-pr/3183
github-pr/3160
github-pr/3201
ci/less-to-run
github-pr/2930
github-pr/2797
github-pr/2999
perf/native-compute-shader-forms
github-pr/3191
github-pr/3011
github-pr/3019
github-pr/2996
gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
claude/blissful-franklin-ukp7ag
github-pr/3141
github-pr/3156
github-pr/3150
github-pr/3153
github-pr/3163
github-pr/3142
github-pr/3139
github-pr/2841
github-pr/3069
github-pr/3098
github-pr/3107
github-pr/3071
github-pr/2774
github-pr/2889
github-pr/3075
github-pr/2661
github-pr/3064
github-pr/3054
github-pr/3049
github-pr/2855
github-pr/2943
github-pr/3016
github-pr/2887
github-pr/3006
github-pr/3003
github-pr/2993
notes/card-time-and-plant-flicker
github-pr/2989
feat/vulkan-rs
github-pr/2985
github-pr/2951
github-pr/2982
github-pr/752
github-pr/792
github-pr/2877
github-pr/2654
github-pr/2893
github-pr/2948
github-pr/2944
github-pr/2919
github-pr/2915
archive/ci/less-to-run/20261202T1121Z
github-pr/2800
github-pr/2822
github-pr/2833
github-pr/2840
github-pr/2831
github-pr/2832
github-pr/2801
github-pr/2890
github-pr/2891
github-pr/2664
github-pr/2807
rt-call-trace
github-pr/2755
perf/ahead-split
github-pr/2587
github-pr/2698
github-pr/2609
github-pr/3219
docs/readme-runtime-proposal
github-pr/2017
github-pr/1741
github-pr/1667
codex/coord-claim-check-20261124-7e48
v1.1.0
v1.0.1
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy#2578
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?
Measured on the playable runtime (
d3d12/), not the Vulkan one. Main atf2072b2fe(2026-11-28 16:11 +0100),scripts/build-nvidia.ps1 -NoDlss,diagprofile. No game files, shader dumps or logs beyond frame lines are included.Machine
Related: #1069 and #2411 are this card on the Vulkan path; this is the first frame-rate report for
d3d12/here.Profile
Series S, render scale 0.5 (960x540), the title's own upscaler.
LEONIDA_WINDOWS_BAR_MB=3072was chosen by the launcher for RAM under 48 GB;LEONIDA_CARD_BUFFERS_MB=1536is the launcher default.Precompile
warm --used: 83,560 known, 1,762 to make, 360 s across 8 processesSteady state in the world, after the pipeline queue reached 0
preparingitself, when the detailed line is on: 9.1 ms asking the write watch, 8.9 ms putting the title's bytes under flights' writes, 67.2 ms in the lists' steps.Across a session: 5.9-6.6 fps when standing still. Entering a new area drops to 0.1-1.2 fps while 46-98 pipelines are being made, then recovers when that count reaches 0.
Reading
d3d12/README.md's 4060 Ti / 7600X measurement is 7,100 draws in 75-82 ms, 11 us a draw. A Ryzen 5 3600 has about half that per-core speed, so the per-draw gap is in line with the platform rather than the layer.Questions
copying backis 32-41 ms for 1.1 MB a frame, which reads as a sync wait rather than a copy. Is that the expected floor on a 6 GB card, or is there a batching/sync change that would reduce it?LEONIDA_WINDOWS_BAR_MB=3072) is half of a 6 GB card's VRAM, and on this machine those windows would be filled by the CPU through a 256 MiB BAR1 (Resizable BAR is off). Would a VRAM- and BAR-aware default (for example <= 1024 MB on a 6 GB card, or none when BAR1 is small) be better, or is the 3 GB window part of why the frame is as good as it is? I am A/B-ing it now with-More @{LEONIDA_WINDOWS_BAR_MB='0'}(note:play-d3d12.ps1does not take-WindowsBarMB; onlyplay-nvidia.ps1does) and will add the numbers here.d3d12:LEONIDA_TEXTURE_MIP_DROP) targets exactly the texture pressure above. Is it expected to help on a 6 GB card, and is it worth testing against this profile?LEONIDA_PIPELINE_WAIT_MS) produced 0.1 fps frames here because p99 pipelines take 11.5 s. At 1,500 ms the title stays interactive and the missing draws pop in later. Would it be worth documenting the budget as machine-dependent, or lowering the default when the measured p99 is high?One observation, not isolated
Two runs ended in the title's own breakpoint (
0x80000003, the same offset in both) at frame 82, 15-16 s in, console Lockhart, TileHeap 271/3,977 MB. Both runs had synthetic Enter presses injected near boot; runs where input arrived later survived. This is probably our test harness, but it is reported in case it matches a known boot-transition trap.Not tested
Series X profile, 720p, ray tracing, ReBAR enabled, and any A/B of the settings above.
Measurements were taken with an AI assistant driving the launches, log reads and key injection; every figure is from the runtime's own log lines.
Follow-up with the A/B I said I would run:
LEONIDA_WINDOWS_BAR_MB=0against the default (3072). Same machine, same profile, windows out of the card's memory.With the default (windows in the card's memory), the same area gave 5.6-8.6 fps, 116-179 ms, 3,866-5,150 draws,
copies24-85 ms.Three things follow, and the first one corrects my own guess in question 2:
copiesfigure that suggested it was scene variation: the same term reads 24-32 ms in this run.At 5,900 draws the GPU measured 20 ms with no waits; at 7,100 draws it is 69 ms with another 51 ms of the CPU blocked on it. So the split between "CPU prep" and "GPU" is draw-count dependent, and the dense parts of the scene are GPU-bound at Series S 540p on this card.
Next thing I intend to try (single variable, same area):
-Resolution 480to see whether the GPU term and the flight waits fall together, and-More @{LEONIDA_CARD_BUFFERS_MB='512'}since VRAM is at 5.9 of 6.1 GB regardless of the windows. I will add both here.All figures are from the runtime's own frame and prepare lines. No game data.
Thanks for sharing these benchmarks! I'm curious about the actual visual output in the game world.
Did you get a chance to inspect how the game looks at 540p? Are textures, lighting, shadows, geometry and other visual effects rendering correctly, or are there noticeable graphical glitches, missing assets or rendering artifacts?
If possible, could you share a screenshot or a short video of the gameplay? It would be really helpful to see the current visual state of the runtime, not just the performance numbers.
Here be few of the game screenshot on Lucia jail cell.
Measurements on a second Ryzen 5 3600 (6C/12T, RAM at 2666), RX 6600 8 GB, Series S profile, FSR 3.1 frame generation, main 895c472fa plus local branches. ~13.5 rendered fps (73-77 ms a frame) standing in the world.
Where the frame goes (
LEONIDA_TIMELINE, the chain each present came out of, mean of 4 frames of 73 ms):The card is not the wall: GPU clock forced to >= 2400 MHz (ADL Overdrive8 FMIN): card 67 % busy, frame time unchanged. 540p: -4 ms only.
CPU per frame (timeline, ran per thread): 6 list threads ~40 ms each (
draw::State::tablesis 53 % of their samples), submit 41, records 5 x ~9.5, heap-sync 12.7, FSR interpolation thread 14.Busiest title thread (88 % of a logical CPU, priority 15), sampled externally with SuspendThread/GetThreadContext (no crash, unlike
LEONIDA_PROFILEon title threads): it is the audio thread; ~40 % of its time isopus_puredecoding, synchronous insideXApuEnqueueCommand(apu.rs). Lowering it to normal priority: 74.3 vs 74.7 ms, no change.Guards' lock: "waits for the write trackers' locks per frame: guards 40-115 waits, 13-60 ms" with
LEONIDA_PORT_GUARD=1; port 6 line: ~345 faults opened under the shared lock, 11-15 ms waiting for it.Port 2: "of the title's memcpy/memmove calls into the heap 10682, 0 records they marked"; the fallback finds ~6 view records a frame no store told of (71,000 in a session), writers mostly outside the title image (0x7ffb99ec0000/0080 just below it, and a module at 0x7ffc2d65xxxx).
No measurable change on this PC (A/B or one start each, same spot): play profile (thin LTO, cgu 1), THIN_THREADS 9 (3 = +11 ms worse), UPLOAD_AHEAD, CARD_BUFFERS_MB 3072, WINDOWS_BAR_MB 1024, SUBMIT_FRAMES 2 (worse), CONTENT_TABLES / VIEW_CACHE / ALIAS_QUICK, title thread priorities raised, audio thread priority lowered. The #2940 descriptor-ring Sleep(1) stalls and the #2707 fence spin do not show in this timeline. VBS/HVCI is off.
Conclusion on a 6-core part: the game's own threads and the runtime's ~5 cores of work compete for 12 logical CPUs; nothing single stands out.
EI S.O.S INFO LUDO