gpu/pipeline & scripts: clarify cold library E_INVALIDARG trail and w… #236

Manually merged
github merged 2 commits from github-bot/gh-236 into gh-pr/236/base 2026-11-27 13:00:24 +00:00 AGit
Owner

@⁠mint17 on GitHub · 2026-11-27 11:26 UTC · original
mint17:fix/issue-187-library-trail-wave-wide-guard → main · +97 −4 · 2 files · 2 commits · merged 2026-11-27 12:50 UTC

…arn on unrestricted VICTORY_WAVE_WIDE=1

Refs #187:

  • Format routine ID3D12PipelineLibrary cache misses (E_INVALIDARG / 0x80070057) as "(not in library)" in host::trail instead of logging raw E_INVALIDARG text that misleads post-TDR diagnostics, while preserving unexpected HRESULTs.
  • Add D3D12 unit test verifying empty-library LoadComputePipeline returns E_INVALIDARG, stores/reloads cleanly without device removal, and formats trail entries cleanly.
  • Warn in scripts/play.ps1 on NVIDIA configs when VICTORY_WAVE_WIDE=1 is set without VICTORY_WAVE_WIDE_ONLY (since PR #161 moved the 4 safe hashes into built-in defaults, VICTORY_WAVE_WIDE=1 alone enables unrestricted wave-wide barriers that can trigger NVIDIA 0x887A0006 TDR hangs).
**@⁠mint17** on GitHub · 2026-11-27 11:26 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/236) `mint17:fix/issue-187-library-trail-wave-wide-guard` → `main` · +97 −4 · 2 files · 2 commits · merged 2026-11-27 12:50 UTC …arn on unrestricted VICTORY_WAVE_WIDE=1 Refs #187: - Format routine ID3D12PipelineLibrary cache misses (E_INVALIDARG / 0x80070057) as "(not in library)" in host::trail instead of logging raw E_INVALIDARG text that misleads post-TDR diagnostics, while preserving unexpected HRESULTs. - Add D3D12 unit test verifying empty-library LoadComputePipeline returns E_INVALIDARG, stores/reloads cleanly without device removal, and formats trail entries cleanly. - Warn in scripts/play.ps1 on NVIDIA configs when VICTORY_WAVE_WIDE=1 is set without VICTORY_WAVE_WIDE_ONLY (since PR #161 moved the 4 safe hashes into built-in defaults, VICTORY_WAVE_WIDE=1 alone enables unrestricted wave-wide barriers that can trigger NVIDIA 0x887A0006 TDR hangs).
Refs #187:

- Format routine ID3D12PipelineLibrary cache misses (E_INVALIDARG / 0x80070057)
  as "(not in library)" in host::trail instead of logging raw E_INVALIDARG text
  that misleads post-TDR diagnostics, while preserving unexpected HRESULTs.
- Add D3D12 unit test verifying empty-library LoadComputePipeline returns
  E_INVALIDARG, stores/reloads cleanly without device removal, and formats
  trail entries cleanly.
- Warn in scripts/play.ps1 on NVIDIA configs when VICTORY_WAVE_WIDE=1 is set
  without VICTORY_WAVE_WIDE_ONLY (since PR #161 moved the 4 safe hashes into
  built-in defaults, VICTORY_WAVE_WIDE=1 alone enables unrestricted wave-wide
  barriers that can trigger NVIDIA 0x887A0006 TDR hangs).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 11:32:44 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 11:42 UTC · original

@⁠mint17 The cache-miss label is useful here: an empty library and a failed pipeline creation need distinct trail entries. I’ll also check the launcher warning against the settings that actually reach the process, especially when -More supplies an allow-list while an old value is inherited.

**@⁠TaynanGT** on GitHub · 2026-11-27 11:42 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/236#issuecomment-7217381414) @⁠mint17 The cache-miss label is useful here: an empty library and a failed pipeline creation need distinct trail entries. I’ll also check the launcher warning against the settings that actually reach the process, especially when `-More` supplies an allow-list while an old value is inherited.
Use the no-matching-entry label for absent names and incompatible descriptions. Keep the original error details for other lookup failures.
github-bot changed target branch from main to gh-pr/236/base 2026-11-27 13:00:23 +00:00
github manually merged commit ec5deb7e61 into gh-pr/236/base 2026-11-27 13:00:24 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.