RTX 5080 + Ryzen 7 5800X, Series S: the seven processor-side switches shorten the frame by about 30 ms (144 to 115 ms) where the submitting thread is the limit #1317

Open
opened 2026-11-26 14:11:54 +00:00 by github-bot · 0 comments
Owner

@⁠Victorywillbeours222 on GitHub · 2026-11-26 14:10 UTC · original

A data point for the processor-side switches that are off by default on main, from a machine where the submitting thread is the limit. On this machine they shorten the frame, not only the thread's work. Runs 294 and 297 on main found the work falls but the frame does not.

Machine: RTX 5080 16 GB, Ryzen 7 5800X, 32 GB, Windows 11. Diagnostics build, --console series-s.

Tree:

  • main ceb9e1f, plus #917 (built in, but VICTORY_AMBIENT not set in these runs), #188 (Series S plane) and #1002 (32-lane cascade shadows).
  • The test set from the README: LEVELS_ON_DEMAND, ASYNC_SUBMIT, QUEUE2, INDIRECT_WINDOW, TEXTURE_NO_WAIT=1, MERGE_GAP=64, MERGE_RUNS=4096, COPY_PLAIN, JOIN_PARTS, INDIRECT_GATHER, CARD_REHASH_RUNS, CARD_WINDOWS_MB=1024, CARD_BUFFERS_MIN_KB=64, CARD_BUFFERS_MB=1280, TEXTURE_BACK, TEXTURE_ROOM_PERCENT=96, BACK_OWN_VIEW, STAGING_POOL=0, CARD_HASH_LEN, HEAP_WORKER, SETTLE_ROOM, PARALLEL_REFRESH, LOOKUP_CACHE, D3D12_DRED=faults.
  • Before any of these runs, the card idled about half of each frame. The submitting thread prepared 65 to 85 ms of it.

The seven switches:

  • LIGHT_REFRESH, with ABSENT_ONCE=1 and ABSENT_MS=told (these two stayed set in both states of the alternating run)
  • FILLS_PLAIN
  • STEP_INDEX
  • LIST_REUSE
  • HEAP_PASS_MARKED
  • HEAP_LOCKS
  • CARD_SYNC_BATCH

Method: all seven were set to alt, so they flip together every 20 s. I kept only the 5 s frame-log windows in which every switch held one state the whole time.

  • The run was 600 s from launch, hands-off: the opening cutscene, the cell, the corridor.
  • HEAP_PASS_MARKED logged 23 changes; the other six logged 30 each.
  • 45 windows had switches in mixed states and were left out.
seven switches windows ms/frame preparing copying back fps draws/frame
off 10 144.1 84.0 36.1 6.9 4264
on 14 114.5 68.7 32.6 8.8 4366

These are medians of the windows, at equal draws. The frame is about 30 ms (20%) shorter with the switches on, and the preparing time is 15 ms shorter.

Two whole runs agree, each with the seven switches in one state for the full 600 s, same set otherwise. World medians (frames over 200 draws):

  • all seven off: 7.8 fps
  • all seven =1: 9.1 fps

No device loss and no errors in any of the three runs.

Caveats:

  • One run per setting and one scene. Each run was judged on numbers and a few screenshots, not on play.
  • #1223 reports a dark smear on the cell's left wall with FILLS_PLAIN=1 on a 5080, in 3 of 4 launches. I did not look for it. Until that is settled, FILLS_PLAIN is the one to leave out.
  • My guess, not measured: on a faster processor, or where the card is the limit, the frame may well not move, as in runs 294 and 297. That would explain the difference.

If it is useful, I can run each switch alone in turn on this machine, to see which of the seven carry the 30 ms.

Numbers and text only. AI-assisted (Claude Code).

**@⁠Victorywillbeours222** on GitHub · 2026-11-26 14:10 UTC · [original](https://github.com/fxceless/victory-fork/issues/1317) A data point for the processor-side switches that are off by default on main, from a machine where the submitting thread is the limit. On this machine they shorten the frame, not only the thread's work. Runs 294 and 297 on main found the work falls but the frame does not. **Machine:** RTX 5080 16 GB, Ryzen 7 5800X, 32 GB, Windows 11. Diagnostics build, `--console series-s`. **Tree:** - main `ceb9e1f`, plus #917 (built in, but `VICTORY_AMBIENT` not set in these runs), #188 (Series S plane) and #1002 (32-lane cascade shadows). - The test set from the README: `LEVELS_ON_DEMAND`, `ASYNC_SUBMIT`, `QUEUE2`, `INDIRECT_WINDOW`, `TEXTURE_NO_WAIT=1`, `MERGE_GAP=64`, `MERGE_RUNS=4096`, `COPY_PLAIN`, `JOIN_PARTS`, `INDIRECT_GATHER`, `CARD_REHASH_RUNS`, `CARD_WINDOWS_MB=1024`, `CARD_BUFFERS_MIN_KB=64`, `CARD_BUFFERS_MB=1280`, `TEXTURE_BACK`, `TEXTURE_ROOM_PERCENT=96`, `BACK_OWN_VIEW`, `STAGING_POOL=0`, `CARD_HASH_LEN`, `HEAP_WORKER`, `SETTLE_ROOM`, `PARALLEL_REFRESH`, `LOOKUP_CACHE`, `D3D12_DRED=faults`. - Before any of these runs, the card idled about half of each frame. The submitting thread prepared 65 to 85 ms of it. **The seven switches:** - `LIGHT_REFRESH`, with `ABSENT_ONCE=1` and `ABSENT_MS=told` (these two stayed set in both states of the alternating run) - `FILLS_PLAIN` - `STEP_INDEX` - `LIST_REUSE` - `HEAP_PASS_MARKED` - `HEAP_LOCKS` - `CARD_SYNC_BATCH` **Method:** all seven were set to `alt`, so they flip together every 20 s. I kept only the 5 s frame-log windows in which every switch held one state the whole time. - The run was 600 s from launch, hands-off: the opening cutscene, the cell, the corridor. - `HEAP_PASS_MARKED` logged 23 changes; the other six logged 30 each. - 45 windows had switches in mixed states and were left out. | seven switches | windows | ms/frame | preparing | copying back | fps | draws/frame | |---|---|---|---|---|---|---| | off | 10 | 144.1 | 84.0 | 36.1 | 6.9 | 4264 | | on | 14 | **114.5** | **68.7** | 32.6 | **8.8** | 4366 | These are medians of the windows, at equal draws. The frame is about 30 ms (20%) shorter with the switches on, and the preparing time is 15 ms shorter. Two whole runs agree, each with the seven switches in one state for the full 600 s, same set otherwise. World medians (frames over 200 draws): - all seven off: **7.8 fps** - all seven `=1`: **9.1 fps** No device loss and no errors in any of the three runs. **Caveats:** - One run per setting and one scene. Each run was judged on numbers and a few screenshots, not on play. - #1223 reports a dark smear on the cell's left wall with `FILLS_PLAIN=1` on a 5080, in 3 of 4 launches. I did not look for it. Until that is settled, `FILLS_PLAIN` is the one to leave out. - My guess, not measured: on a faster processor, or where the card is the limit, the frame may well not move, as in runs 294 and 297. That would explain the difference. If it is useful, I can run each switch alone in turn on this machine, to see which of the seven carry the 30 ms. Numbers and text only. AI-assisted (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 14:11:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#1317
No description provided.