Skip to content

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

Backlog

Description

@edho08

Measured on the playable runtime (d3d12/), not the Vulkan one. Main at f2072b2fe (2026-11-28 16:11 +0100), scripts/build-nvidia.ps1 -NoDlss, diag profile. No game files, shader dumps or logs beyond frame lines are included.

Machine

  • Ryzen 5 3600 (Zen 2, 6c/12t, 3.6 GHz, 32 MB L3)
  • 24 GB DDR4-2400, 8 + 16 GB mixed; pagefile 16-40 GB on a SATA SSD
  • GeForce GTX 1660 SUPER 6 GB (TU116), driver 32.0.16.1088, Windows 11 build 26100
  • BAR1: 256 MiB (Resizable BAR off)
  • No tensor cores, so DLSS and frame generation are unavailable; the picture is the title's own upscaler

Related: #1069 and #2411 are this card on the Vulkan path; this is the first frame-rate report for d3d12/ here.

Profile

scripts\play-d3d12.ps1 -Game <package> -SeriesS -Resolution 540 -NoDlss -NoSmoothMotion -Log `
  -More @{LEONIDA_PIPELINE_WAIT_MS='1500'; LEONIDA_TITLE_GRAPHICS='performance'}

Series S, render scale 0.5 (960x540), the title's own upscaler. LEONIDA_WINDOWS_BAR_MB=3072 was chosen by the launcher for RAM under 48 GB; LEONIDA_CARD_BUFFERS_MB=1536 is the launcher default.

Precompile

  • shaders: 25,672 in the cache, 217 do not translate, 212 s on the first run (15 s after)
  • warm --used: 83,560 known, 1,762 to make, 360 s across 8 processes
    • per pipeline: median 400 ms, p90 7.4 s, p99 11.5 s, worst 13.6 s
    • 1 has no host pipeline

Steady state in the world, after the pipeline queue reached 0

6.6 fps, 151.0 ms/frame
  preparing 69.0 ms (copies 29.3 ms / 38.1 MB, textures 2.4 ms / 13.9 MB)
  on the GPU 20.2 ms
  copying back 32.2 ms / 1.1 MB
  heap buffers pass 29.9 ms
5,945 draws/frame, 307 dropped (structure builder off), 0 being made
VRAM 5,599 of 6,144 MiB; process working set 15.9 GB
textures picked by index: 53,754 uploaded (2,972 MB), 18,417 waiting
31,848 title textures still have no host copy (12,851 MB of title memory)

preparing itself, 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

  • 151 ms for 5,945 draws is 25 us a draw. 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.
  • The GPU is 20 ms of 151: at Series S 540p the card is not the limit.
  • The three largest CPU terms are command-list steps (67 ms), copy-back (32 ms) and the heap pass (30 ms). VRAM sits at 91 % of the card with 3 GB of CPU-mapped title windows plus 1,536 MB of card buffers, and 18,417 textures are waiting.

Questions

  1. copying back is 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?
  2. The launcher's under-48 GB default (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.ps1 does not take -WindowsBarMB; only play-nvidia.ps1 does) and will add the numbers here.
  3. d3d12: implement LEONIDA_TEXTURE_MIP_DROP quality switch (#6043) #471 (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?
  4. The 10 s default wait budget (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.

Activity

  1. edho08 commented on Nov 28, 2026

    @edho08
    Author

    Follow-up with the A/B I said I would run: LEONIDA_WINDOWS_BAR_MB=0 against the default (3072). Same machine, same profile, windows out of the card's memory.

    5.8-6.7 fps, 150-171 ms, 6,877-7,089 draws
    preparing 56-74 ms (copies 24-32 ms / 40 MB, textures 3.6-4.5 ms / 23-38 MB)
    GPU 41.6-68.7 ms
    copy-back 23-34 ms
    VRAM 5,894 MiB
    

    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, copies 24-85 ms.

    Three things follow, and the first one corrects my own guess in question 2:

    1. The 256 MiB BAR1 theory is not supported. Fps is unchanged and VRAM did not fall (5,894 MiB either way), so those windows were not what filled the card. The 85 ms copies figure that suggested it was scene variation: the same term reads 24-32 ms in this run.
    2. The launcher's under-48 GB default costs nothing measurable here. No reason to change it for this card on the evidence I have.
    3. At ~7k draws the frame is GPU-bound, and much of the "lists' steps" time is the CPU waiting for the card:
    lists' steps 74.2 ms: refreshes 34.4 in 39 flushes of 6,454 ranges (5,504 known to copy nothing)
    copy-back 23-34 ms for 1.3 MB
    GPU 41.6-68.7 ms
    of the prepare: 51.1 ms waiting for flights, 26.5 ms waiting for the submission lock
    

    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 480 to 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.

  2. sigonor90 commented on Nov 28, 2026

    @sigonor90

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions