diagnostics: attribute compute pipeline failures and replay exact shader variants #249

Merged
Valdi320 merged 6 commits from upstream-pr/249 into main 2026-11-27 20:01:33 +00:00
Valdi320 commented 2026-11-26 17:03:59 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T17:03:59Z.


Review goal: Make #231/#232 actionable without guessing which shader failed. No intended change to shader semantics, loop bounds or dispatch execution.

Scope: #249 + #261. (1) slot-62 compute diagnostics report exact selected request and bytes; (2) Linux memory sampler; (3) fix offline .wave32 replay identity, digest verification and add static loop-guard census. The bindless rooted-only rule from current main is preserved. Static guards are not executed iteration counts.

Evidence: Current combined head d5b8516 on main 6ce0aac: Python suite 412 collected / 27 skipped, Windows provider typecheck passed. Earlier #249 head: 19/19 selected GPU gates and two exact rooted worker receipt checks; earlier #261 head: six no-GPU groups, 12 synthetic requests. These previous results are not a combined-head GPU run.

Try: python tools/audit_shader_guards.py REQUESTS --baseline OLD_XSHADER --candidate NEW_XSHADER --json guard-summary.json; TUXBOX_TRACE_PIPELINE_REQUESTS=1 for opt-in logging. Default audit reports aggregate counts only.

Review order: third. Independent. Actual title requests, full GPU check and real fault attribution outstanding.

<!-- greyfinch-sync:brcly/TuxBox:issue:5514183844 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/249). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T17:03:59Z. --- **Review goal:** Make #231/#232 actionable without guessing which shader failed. No intended change to shader semantics, loop bounds or dispatch execution. **Scope:** #249 + #261. (1) slot-62 compute diagnostics report exact selected request and bytes; (2) Linux memory sampler; (3) fix offline .wave32 replay identity, digest verification and add static loop-guard census. The bindless rooted-only rule from current main is preserved. Static guards are not executed iteration counts. **Evidence:** Current combined head d5b8516 on main 6ce0aac: Python suite 412 collected / 27 skipped, Windows provider typecheck passed. Earlier #249 head: 19/19 selected GPU gates and two exact rooted worker receipt checks; earlier #261 head: six no-GPU groups, 12 synthetic requests. These previous results are not a combined-head GPU run. **Try:** `python tools/audit_shader_guards.py REQUESTS --baseline OLD_XSHADER --candidate NEW_XSHADER --json guard-summary.json`; `TUXBOX_TRACE_PIPELINE_REQUESTS=1` for opt-in logging. Default audit reports aggregate counts only. **Review order:** third. Independent. Actual title requests, full GPU check and real fault attribution outstanding.
Valdi320 commented 2026-11-26 21:50:08 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T21:50:08Z.


Refreshed to 795e78b62c on main e76ff6a, preserving the #260 rootless-compute refusal and root-aware selection while retaining exact request attribution. Rebuilt provider and fixtures; all six no-GPU groups and 19 selected GPU gates passed on RTX 4080/GE-Proton11-14 (heaps, tables, queues, all 14 Lanes selftests, compute-root and compute-root-recovery). Fresh-prefix follow-up verified that both rooted compute cases' start/finish IDs, exact request keys and positive byte counts match the shader worker's compiled receipts; 2,632 and 2,728 bytes respectively. No full check, AMD run, or real-title timing claim. This resolves the merge conflict without changing the new upstream rootless selection policy.

<!-- greyfinch-sync:brcly/TuxBox:comment:7204105636 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/249#issuecomment-7204105636). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T21:50:08Z. --- Refreshed to 795e78b62c8000e3eb7c08a11927f66b67a17ef7 on main e76ff6a, preserving the #260 rootless-compute refusal and root-aware selection while retaining exact request attribution. Rebuilt provider and fixtures; all six no-GPU groups and 19 selected GPU gates passed on RTX 4080/GE-Proton11-14 (heaps, tables, queues, all 14 Lanes selftests, compute-root and compute-root-recovery). Fresh-prefix follow-up verified that both rooted compute cases' start/finish IDs, exact request keys and positive byte counts match the shader worker's compiled receipts; 2,632 and 2,728 bytes respectively. No full check, AMD run, or real-title timing claim. This resolves the merge conflict without changing the new upstream rootless selection policy.
Sign in to join this conversation.
No reviewers
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
brcly/TuxBox!249
No description provided.