d3d12: log what slot 62 returns and why a compute pipeline fails (RT-XS-SLOT62-DIAG) #801

Closed
s0las16 wants to merge 1 commit from upstream-pr/801 into main
s0las16 commented 2026-11-24 14:00:01 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by s0las16 on 2026-11-24T14:00:01Z.


claiming: RT-XS-SLOT62-DIAG

Slot 62 (Xbox CreateComputePipelineState) and the vkCreateShaderModule / vkCreatePipelineLayout / vkCreateComputePipelines failures in the compute path returned errors with no log line, and the shader load line counted only the main index. This logs each failed slot 62 call (number, HRESULT, CS size), the first success, the VkResult of those failures, and the fspx/library and bvh counts. Logging only.

Tested: retail boot, Windows 11, i7-11700F, RTX 3070, MSVC, LEONIDA_D3D12=vulkan: bvh 52, slot 62 call 2 created a compute pipeline, then a 900 s frame loop with no crash. No game files. AI-assisted (Devin)

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5473585831 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/801). Originally posted by [s0las16](https://github.com/s0las16) on 2026-11-24T14:00:01Z. --- claiming: RT-XS-SLOT62-DIAG Slot 62 (Xbox `CreateComputePipelineState`) and the `vkCreateShaderModule` / `vkCreatePipelineLayout` / `vkCreateComputePipelines` failures in the compute path returned errors with no log line, and the shader load line counted only the main index. This logs each failed slot 62 call (number, HRESULT, CS size), the first success, the `VkResult` of those failures, and the fspx/library and bvh counts. Logging only. Tested: retail boot, Windows 11, i7-11700F, RTX 3070, MSVC, `LEONIDA_D3D12=vulkan`: `bvh 52`, `slot 62 call 2 created a compute pipeline`, then a 900 s frame loop with no crash. No game files. AI-assisted (Devin)
PierreEbele commented 2026-11-25 20:53:37 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T20:53:37Z.


Reviewed e03f793: error-path logging for slot 62 and compute pipeline creation, plus the fspx/bvh counts in the library-load line. Not runnable in my environment (Windows/MSVC-only shims; no toolchain, GPU or game files), so this is a static review. Verified statically: behavior is unchanged in every path, the merge into current main is clean and keeps entry in scope, fspx_size()/bvh_size() exist on current main, format strings match, includes present, and no test parses these lines. Findings: none. The Runtime workflow compiles the shims on windows-latest, so merge once it is green — and please state what you tested and on which GPU/driver, plus the coordination-issue item (AGENTS.md). AI-assisted review.

Recommendation: Merge

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7174331508 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/801#issuecomment-7174331508). Originally posted by [PierreEbele](https://github.com/PierreEbele) on 2026-11-25T20:53:37Z. --- Reviewed e03f793: error-path logging for slot 62 and compute pipeline creation, plus the fspx/bvh counts in the library-load line. Not runnable in my environment (Windows/MSVC-only shims; no toolchain, GPU or game files), so this is a static review. Verified statically: behavior is unchanged in every path, the merge into current main is clean and keeps `entry` in scope, fspx_size()/bvh_size() exist on current main, format strings match, includes present, and no test parses these lines. Findings: none. The Runtime workflow compiles the shims on windows-latest, so merge once it is green — and please state what you tested and on which GPU/driver, plus the coordination-issue item (AGENTS.md). AI-assisted review. **Recommendation:** Merge
MoonEyes commented 2026-11-28 17:57:26 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T17:57:26Z.


Hi @s0las16, thanks for this pull request. It currently conflicts with main (conflicting file(s): runtime/shims/d3d12_vulkan_device.cpp), so it carries the needs rebase label. CONTRIBUTING.md asks authors to rebase their branch on main; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7243417504 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/801#issuecomment-7243417504). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-28T17:57:26Z. --- Hi @s0las16, thanks for this pull request. It currently conflicts with `main` (conflicting file(s): `runtime/shims/d3d12_vulkan_device.cpp`), so it carries the `needs rebase` label. CONTRIBUTING.md asks authors to rebase their branch on `main`; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commented 2026-12-01 16:31:59 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:31:59Z.


Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7317762841 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/801#issuecomment-7317762841). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T16:31:59Z. --- Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.

Pull request closed

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
ProjectLeonida/mandy!801
No description provided.