tooling: triage summary omits compute dispatch refusals #3381

Closed
opened 2026-11-28 17:19:52 +00:00 by triggered02 · 2 comments
triggered02 commented 2026-11-28 17:19:52 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-28T17:19:52Z.


tools/startup/triage_run.py is the shareable, allowlisted summary contributors are asked to post for help. It classifies slot-70 SRV refusals, trap slots, DirectStorage, budget and the run end-point, but it ignores the compute Dispatch path entirely. As a result the current first blocker can be absent from a report that is otherwise complete.\n\n### Reproducer\n\nFrom a 180 s startup run on current main on a Linux host, python3 -B tools/startup/triage_run.py <logdir> reports slot-70 refusals and 3060 x2w-d3d12 events but has no compute section. The same log contains 16 x2w-draw compute ... refused: lines, all with the fixed reason an input is in a placed buffer that does not alias title memory, and a final x2w-render compute dispatches: total of translated 0, refused 2942, no translation 0, not modelled 0, builder gate refused 0.\n\n### Proposal\n\n- Classify x2w-draw compute <key> Dispatch(...) refused: <reason> into counts by an allowlist of the fixed reason literals in src/startup_stubs/d3d12_compute_dispatch.inl. Unknown text becomes other (text omitted), as for shader refusals.- Never copy the program key, group counts, addresses, descriptor words or paths into the report.\n- Also report the maximum cumulative x2w-render compute dispatches: totals (translated, refused, no translation, not modelled, builder gate refused) as decimal counts.\n- Keep the tool standard-library only.\n\n### Acceptance\n\nA synthetic-log test covers a known reason, an unknown reason mapped to other, a shifted total, the mirrored trap.log/stderr.txt deduplication, and a negative control that changes a count. No game files, dumps or credentials are needed or shared.\n\nRefs #870.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6668862582 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3381). Originally posted by [triggered02](https://github.com/triggered02) on 2026-11-28T17:19:52Z. --- `tools/startup/triage_run.py` is the shareable, allowlisted summary contributors are asked to post for help. It classifies slot-70 SRV refusals, trap slots, DirectStorage, budget and the run end-point, but it ignores the compute Dispatch path entirely. As a result the current first blocker can be absent from a report that is otherwise complete.\n\n### Reproducer\n\nFrom a 180 s startup run on current `main` on a Linux host, `python3 -B tools/startup/triage_run.py <logdir>` reports slot-70 refusals and 3060 `x2w-d3d12` events but has no compute section. The same log contains 16 `x2w-draw compute ... refused:` lines, all with the fixed reason `an input is in a placed buffer that does not alias title memory`, and a final `x2w-render compute dispatches:` total of translated 0, refused 2942, no translation 0, not modelled 0, builder gate refused 0.\n\n### Proposal\n\n- Classify `x2w-draw compute <key> Dispatch(...) refused: <reason>` into counts by an allowlist of the fixed reason literals in `src/startup_stubs/d3d12_compute_dispatch.inl`. Unknown text becomes `other (text omitted)`, as for shader refusals.\- Never copy the program key, group counts, addresses, descriptor words or paths into the report.\n- Also report the maximum cumulative `x2w-render compute dispatches:` totals (translated, refused, no translation, not modelled, builder gate refused) as decimal counts.\n- Keep the tool standard-library only.\n\n### Acceptance\n\nA synthetic-log test covers a known reason, an unknown reason mapped to `other`, a shifted total, the mirrored `trap.log`/`stderr.txt` deduplication, and a negative control that changes a count. No game files, dumps or credentials are needed or shared.\n\nRefs #870.
triggered02 commented 2026-11-28 17:19:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-28T17:19:58Z.


Claiming this slice. Environment: Debian x64, Python 3.12, standard-library checks only. I will add allowlisted compute-dispatch refusal counts and cumulative totals to tools/startup/triage_run.py, with synthetic-log tests for known/unknown reasons, mirrored trap.log deduplication and a negative control. No Windows, GPU or game-file evidence is implied.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7242933890 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3381#issuecomment-7242933890). Originally posted by [triggered02](https://github.com/triggered02) on 2026-11-28T17:19:58Z. --- Claiming this slice. Environment: Debian x64, Python 3.12, standard-library checks only. I will add allowlisted compute-dispatch refusal counts and cumulative totals to tools/startup/triage_run.py, with synthetic-log tests for known/unknown reasons, mirrored trap.log deduplication and a negative control. No Windows, GPU or game-file evidence is implied.
triggered02 commented 2026-11-30 17:11:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-30T17:11:11Z.


Resolved by #3384, merged at 1b8e2fe. The triage summary now counts compute Dispatch refusals by allowlisted reason and reports cumulative dispatch totals, with program keys, addresses and descriptor words kept out of the report. Closing as completed.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7285854106 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3381#issuecomment-7285854106). Originally posted by [triggered02](https://github.com/triggered02) on 2026-11-30T17:11:11Z. --- Resolved by #3384, merged at 1b8e2fe. The triage summary now counts compute Dispatch refusals by allowlisted reason and reports cumulative dispatch totals, with program keys, addresses and descriptor words kept out of the report. Closing as completed.
Sign in to join this conversation.
No labels
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.

Reference
R0Y00/Xbox2Windows#3381
No description provided.