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

Manually merged
github merged 1 commit from github-bot/gh-3550 into gh-pr/3550/base 2026-11-30 10:42:17 +00:00 AGit
Owner

@⁠lukaslw-lab on GitHub · 2026-11-30 04:04 UTC · original
lukaslw-lab:startup/presets-merged-switches → main · +5 −2 · 1 files · 1 commits · merged 2026-11-30 10:39 UTC

Change

run_presets.json base.env gains three merged opt-ins: X2W_D3D12_INLINE_DESCRIPTORS (#3431),
X2W_D3D12_VIEW_CONTENT_TOKENS (#3379) and X2W_D3D12_TABLE_LOCK (#3393). 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 + #3508, #3518, #3466, #3523, #3097 (on main
alone these runs stop at the #3453 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** on GitHub · 2026-11-30 04:04 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3550) `lukaslw-lab:startup/presets-merged-switches` → `main` · +5 −2 · 1 files · 1 commits · merged 2026-11-30 10:39 UTC ## Change `run_presets.json` `base.env` gains three merged opt-ins: `X2W_D3D12_INLINE_DESCRIPTORS` (#3431), `X2W_D3D12_VIEW_CONTENT_TOKENS` (#3379) and `X2W_D3D12_TABLE_LOCK` (#3393). 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` + #3508, #3518, #3466, #3523, #3097 (on main alone these runs stop at the #3453 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 - [x] This pull request covers one reviewable behavior. - [x] 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) - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
X2W_D3D12_INLINE_DESCRIPTORS (#3429), X2W_D3D12_VIEW_CONTENT_TOKENS (#3377) and X2W_D3D12_TABLE_LOCK (#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 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 04:04:38 +00:00
Author
Owner

@⁠lukaslw-lab on GitHub · 2026-11-30 06:31 UTC · original

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

**@⁠lukaslw-lab** on GitHub · 2026-11-30 06:31 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3550#issuecomment-7270740321) The red Linux Python check (`startup_triage_run_check.py`) comes from main at `44a3ad5a`: #3473 added a refusal reason that is not yet in `COMPUTE_DISPATCH_REASONS` (tracked in #3509). This PR doesn't touch it; #3544 fixes it, and I'll rebase once a fix lands.
github-bot force-pushed github-bot/gh-3550 from 0def6bb9ef to 00717fdbc4 2026-11-30 09:42:11 +00:00 Compare
github-bot changed target branch from main to gh-pr/3550/base 2026-11-30 10:42:16 +00:00
github manually merged commit 00717fdbc4 into gh-pr/3550/base 2026-11-30 10:42:17 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.