Amd 7900xtx #399

Closed
github-bot wants to merge 4 commits from gh-pr/399/head into gh-pr/399/base
Owner

@⁠HAL9000RELOADED on GitHub · 2026-11-25 00:24 UTC · original
HAL9000RELOADED:amd-7900xtx → main · +320 −3 · 15 files · 4 commits · closed without merging

No description provided.

**@⁠HAL9000RELOADED** on GitHub · 2026-11-25 00:24 UTC · [original](https://github.com/fxceless/victory-fork/pull/399) `HAL9000RELOADED:amd-7900xtx` → `main` · +320 −3 · 15 files · 4 commits · closed without merging *No description provided.*
On Windows 10 10.0.19045, fresh test threads often start with Rsp - TEB.StackLimit in 0x260..0x6c0, causing RtlWalkFrameChain inside RtlCaptureStackBackTrace to hit the stack PAGE_GUARD mid-walk and abort returning 0 frames. Touching one stack page in ensure_stack_headroom() before the walk keeps the full system-walk parity assertion intact without skipping it on Windows 10.
Every translated shader is SM 6.6, but Windows 10's own D3D12 runtime
reports 6.5 at most whatever the GPU supports, so on Windows 10 every
pipeline was refused and the GPU tests failed with "no SM 6.6 device".

- victory-shader `agility`: SDK_VERSION 620 (Microsoft.Direct3D.D3D12
  1.620.2), the `agility_exports!` macro defining D3D12SDKVersion and
  D3D12SDKPath (".\D3D12\"), and helpers naming the runtime loaded.
- build.rs in apps/victory, victory-shader and victory-gpu pass
  /EXPORT:...,DATA (plus /NOIMPLIB /NOEXP) so the victory binary and the
  two GPU unit-test harnesses export the symbols the system loader reads.
- `cargo xtask agility` downloads the package (BLAKE3 pinned) into the
  cache folder and copies D3D12Core.dll and d3d12SDKLayers.dll into
  target\<profile>[\deps]\D3D12\. Nothing from it enters the repository.
- victory-gpu logs "host D3D12 runtime" (path, SDK or system, shader
  model) and warns below 6.6; Host::new's refusal names the runtime too.

Tried on Windows 10 22H2 (19045) with an RX 7900 XTX: SM 6.9 and mesh
shader tier 1 with the SDK, 6.5 without. victory-shader's tests go from
188 passed / 22 failed to 210 passed on the card (WARP, which keeps the
system runtime, still skips). The victory-loader unwind test that fails
in release and in the full run is unrelated and unchanged.
It said the system's runtime is used when the folder is missing. Checked
on Windows 10 19045 with a probe: D3D12CreateDevice returns 0x887E0003
(D3D12_ERROR_INVALID_REDIST) and no device is made.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:42:34 +00:00
github-bot closed this pull request 2026-11-26 03:42:34 +00:00
Author
Owner

@⁠HAL9000RELOADED on GitHub · 2026-11-25 02:00 UTC · original

Closing, and sorry for the noise. After checking this properly against the other open pull requests, everything in it had already been proposed:

  • The Agility SDK commit duplicates #69. Its one extra finding, that the exports without D3D12Core.dll make device creation fail with 0x887E0003, is in my comment on #69.
  • The unwind test fix is the same commit as #411. That problem was already reported and fixed upstream.

Nothing here is new, so it should not take review time.

**@⁠HAL9000RELOADED** on GitHub · 2026-11-25 02:00 UTC · [original](https://github.com/fxceless/victory-fork/pull/399#issuecomment-7150217391) Closing, and sorry for the noise. After checking this properly against the other open pull requests, everything in it had already been proposed: - **The Agility SDK commit** duplicates #69. Its one extra finding, that the exports without `D3D12Core.dll` make device creation fail with `0x887E0003`, is in my comment on #69. - **The unwind test fix** is the same commit as #411. That problem was already reported and fixed upstream. Nothing here is new, so it should not take review time.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.