Skip to content

startup: add the inline descriptor, content token and table lock switches to the shared run presets - #3550

Merged
tedin7 merged 1 commit into
R0Y00:mainfrom
lukaslw-lab:startup/presets-merged-switches
Nov 30, 2026
Merged

tedin7 merged 1 commit into
R0Y00:mainfrom
lukaslw-lab:startup/presets-merged-switches

Conversation

@lukaslw-lab

Copy link
Copy Markdown
Contributor

Change

run_presets.json base.env gains three merged opt-ins: X2W_D3D12_INLINE_DESCRIPTORS (#3429),
X2W_D3D12_VIEW_CONTENT_TOKENS (#3377) and X2W_D3D12_TABLE_LOCK (#3391). The why gives the runs below.
Nothing else changes.

Verification

Real-title runs, 360 s from the same save, the same input script, means over 250–360 s. RTX 3080 Ti, Windows 10
19045. Started with tools/startup/run_preset.py --console x --gpu nvidia. A = presets on main, B = this
branch's presets. Host-only --set: seconds=360, memory_gib=26. Caller env in both arms:
X2W_XMEM_LAZY_COMMIT=1, X2W_XMEM_LAZY_STARTUP=1 (commit headroom on this host).

Native shaders only (--set translate=0). Build: 44a3ad5a + #3506, #3516, #3464, #3521, #3097 (on main
alone these runs stop at the #3451 fault after about 125 s). Interface catalog installed in the cache;
X2W_D3D12_AGILITY, X2W_D3D12_VIEW_TOKEN_GUARDED=1 and X2W_PIPELINE_COLOUR=1 in both arms.

A B
fps 15.56 23.73
translated draws / frame 7.13 6.87
not drawn / frame 423 415
null bindings 0 0
title commit GiB 19.15 18.02
GPU 3D % 9.3 14.9

Published translations (presets as shipped, -Translate), main 44a3ad5a:

A B
fps 5.59 8.68
translated draws / frame 234 256
not drawn / frame 116 94
title commit GiB 17.55 17.18

python -B tests/startup_run_preset_check.py: OK: 12 preset choices, staging and controls.

Evidence and follow-up

  • One run per arm, same scripted press times in each pair. No device removal, out-of-memory or fault in any run.
  • Native: the same draws per frame at about 1.5× the frame rate and 1.1 GiB less commit.
  • -Translate: also about 1.5× the frame rate, with more draws drawn per frame. An earlier pair with press
    times about 20 s apart gave +21% fps. In that window, null bindings varied 180–608 between two runs with the
    same presets, so they are not compared here.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture. (no fixture)
  • I updated README/docs when a capability or build requirement changed. (no capability change)
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted (Claude Code).

🤖 Generated with Claude Code

@lukaslw-lab

Copy link
Copy Markdown
Contributor Author

The red Linux Python check (startup_triage_run_check.py) comes from main at 44a3ad5a: #3471 added a refusal reason that is not yet in COMPUTE_DISPATCH_REASONS (tracked in #3507). This PR doesn't touch it; #3542 fixes it, and I'll rebase once a fix lands.

…ches to the shared run presets

X2W_D3D12_INLINE_DESCRIPTORS (R0Y00#3429), X2W_D3D12_VIEW_CONTENT_TOKENS (R0Y00#3377) and X2W_D3D12_TABLE_LOCK (R0Y00#3391)
join base.env. The base why gives the 360 s A/B runs with native shaders only and with -Translate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukaslw-lab
lukaslw-lab force-pushed the startup/presets-merged-switches branch from 0def6bb to 00717fd Compare November 30, 2026 09:38
@tedin7
tedin7 merged commit 68d99dd into R0Y00:main Nov 30, 2026
5 checks passed
@lukaslw-lab
lukaslw-lab deleted the startup/presets-merged-switches branch November 30, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants