Windows 10: load the D3D12 Agility SDK runtime for shader model 6.6 #175

Closed
github-bot wants to merge 1 commit from gh-pr/175/head into gh-pr/175/base
Owner

@⁠kykifox1337-source on GitHub · 2026-11-24 01:06 UTC · original
kykifox1337-source:agility-sdk → main · +374 −3 · 9 files · 1 commits · closed without merging

Fixes #84.

What

Windows 10's in-box D3D12 stops at shader model 6.5. It refuses every translated pipeline's root signature (Unsupported bit-flag set (root signature flags c01): the directly indexed CBV/SRV/UAV and sampler heap flags), so nothing draws.

  • apps/victory/src/agility.rs + apps/victory/build.rs: victory.exe exports D3D12SDKVersion = 620 and D3D12SDKPath = ".\D3D12\" (/EXPORT:…,DATA, MSVC only). dumpbin /exports lists both.
  • cargo xtask agility: downloads Microsoft.Direct3D.D3D12 1.620.2 from nuget.org with the system curl, checks it against the SHA-512 nuget.org's catalog publishes, and unpacks D3D12Core.dll and d3d12SDKLayers.dll (for VICTORY_D3D12_DEBUG) into target\{debug,release,diag}\D3D12\. The package is cached in target\agility\. The zip is read with miniz_oxide (already a workspace dependency); sha2 is the one new dependency, used by xtask only.
  • The DLLs never enter the repository (asset policy). Windows 11, or a missing D3D12\ folder, keeps the in-box runtime.
  • victory config reports whether the runtime is beside the executable. The shader model 6.5 error in victory-shader names the command. README: a Windows 10 note and the command under Getting started.
  • Tests: a synthetic zip (stored and deflated entries), and a check that the package's minor version matches D3D12SDKVersion.

Tested

Windows 10 22H2 (19045), i7-8700K, RTX 2070 SUPER, Rust 1.98.1, on main 9aef3d9, release build, real title:

without the runtime with it
host root signatures refused every one 0
draws run on the host 0 of 192 (first 128 frames) 43,008 of 43,008
run access violation at title +0xb5a5f8 (read 0x68) after about 9 s no crash; stopped by my 3-minute timeout at about 4,100 frames (near 30 fps)

The crash without the runtime looks like a consequence of nothing being drawn; I did not chase it further.

  • cargo xtask policy, cargo fmt --check on the changed files, cargo clippy -p victory -p xtask --all-targets: clean (one existing warning in xmem.rs).
  • cargo test -p xtask: passes.

Not related to this change, seen on main here:

  • victory-gpu tests do not compile: mod tests is defined twice in crates/victory-gpu/src/host.rs (lines 252 and 1974).
  • net::only_loopback_is_reachable fails on Windows 10 (WinHttpGetProxySettingsEx); #44 fixes it.
  • 7 emit::valu_tests fail with "neither hardware nor WARP SM 6.6 device available": test executables do not export the Agility SDK symbols. A follow-up could give them the runtime or skip without an SM 6.6 device.

AI-assisted: written with Claude Code. I ran everything above on my machine.

🤖 Generated with Claude Code

**@⁠kykifox1337-source** on GitHub · 2026-11-24 01:06 UTC · [original](https://github.com/Marvisak/VIctory/pull/175) `kykifox1337-source:agility-sdk` → `main` · +374 −3 · 9 files · 1 commits · closed without merging Fixes #84. ## What Windows 10's in-box D3D12 stops at shader model 6.5. It refuses every translated pipeline's root signature (`Unsupported bit-flag set (root signature flags c01)`: the directly indexed CBV/SRV/UAV and sampler heap flags), so nothing draws. - `apps/victory/src/agility.rs` + `apps/victory/build.rs`: `victory.exe` exports `D3D12SDKVersion = 620` and `D3D12SDKPath = ".\D3D12\"` (`/EXPORT:…,DATA`, MSVC only). `dumpbin /exports` lists both. - `cargo xtask agility`: downloads `Microsoft.Direct3D.D3D12` **1.620.2** from nuget.org with the system `curl`, checks it against the SHA-512 nuget.org's catalog publishes, and unpacks `D3D12Core.dll` and `d3d12SDKLayers.dll` (for `VICTORY_D3D12_DEBUG`) into `target\{debug,release,diag}\D3D12\`. The package is cached in `target\agility\`. The zip is read with `miniz_oxide` (already a workspace dependency); `sha2` is the one new dependency, used by xtask only. - The DLLs never enter the repository (asset policy). Windows 11, or a missing `D3D12\` folder, keeps the in-box runtime. - `victory config` reports whether the runtime is beside the executable. The shader model 6.5 error in `victory-shader` names the command. README: a Windows 10 note and the command under Getting started. - Tests: a synthetic zip (stored and deflated entries), and a check that the package's minor version matches `D3D12SDKVersion`. ## Tested Windows 10 22H2 (19045), i7-8700K, RTX 2070 SUPER, Rust 1.98.1, on `main` `9aef3d9`, release build, real title: | | without the runtime | with it | |---|---|---| | host root signatures refused | every one | 0 | | draws run on the host | 0 of 192 (first 128 frames) | 43,008 of 43,008 | | run | access violation at title `+0xb5a5f8` (read `0x68`) after about 9 s | no crash; stopped by my 3-minute timeout at about 4,100 frames (near 30 fps) | The crash without the runtime looks like a consequence of nothing being drawn; I did not chase it further. - `cargo xtask policy`, `cargo fmt --check` on the changed files, `cargo clippy -p victory -p xtask --all-targets`: clean (one existing warning in `xmem.rs`). - `cargo test -p xtask`: passes. Not related to this change, seen on `main` here: - `victory-gpu` tests do not compile: `mod tests` is defined twice in `crates/victory-gpu/src/host.rs` (lines 252 and 1974). - `net::only_loopback_is_reachable` fails on Windows 10 (`WinHttpGetProxySettingsEx`); #44 fixes it. - 7 `emit::valu_tests` fail with "neither hardware nor WARP SM 6.6 device available": test executables do not export the Agility SDK symbols. A follow-up could give them the runtime or skip without an SM 6.6 device. AI-assisted: written with Claude Code. I ran everything above on my machine. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Windows 10's in-box D3D12 stops at shader model 6.5 and refuses root
signatures with the directly indexed heap flags (c01), so every
translated pipeline was refused and nothing drew (#84).

victory.exe now exports D3D12SDKVersion (620) and D3D12SDKPath
(.\D3D12\), and `cargo xtask agility` fetches Microsoft.Direct3D.D3D12
1.620.2 from nuget.org, checks its published SHA-512, and puts
D3D12Core.dll and d3d12SDKLayers.dll in target\<profile>\D3D12\. The
DLLs never enter the repository. Windows 11, or a missing folder, keeps
the in-box runtime.

`victory config` reports whether the runtime is in place, and the SM 6.5
error names the command.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:53:25 +00:00
github-bot closed this pull request 2026-11-26 03:53:25 +00:00
Author
Owner

@⁠DaviTostes on GitHub · 2026-11-24 01:21 UTC · original

The test target does not compile, so the GPU suite cannot run:

error[E0428]: the name `tests` is defined multiple times
    --> crates/victory-gpu/src/host.rs:1974:1
 252 | mod tests { ... }
1974 | mod tests { ... }

The library builds; only cargo test fails, on every platform. The new test module needs to go into the existing mod tests in host.rs after a rebase (the same failure as #134/#135/#175).

No game data used.

**@⁠DaviTostes** on GitHub · 2026-11-24 01:21 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7119022881) The **test target does not compile**, so the GPU suite cannot run: ``` error[E0428]: the name `tests` is defined multiple times --> crates/victory-gpu/src/host.rs:1974:1 252 | mod tests { ... } 1974 | mod tests { ... } ``` The library builds; only `cargo test` fails, on every platform. The new test module needs to go into the existing `mod tests` in `host.rs` after a rebase (the same failure as #134/#135/#175). No game data used.
Author
Owner

@⁠kykifox1337-source on GitHub · 2026-11-24 01:24 UTC · original

Thanks for checking. That error does not come from this PR: it touches nothing in crates/victory-gpu. The second mod tests was already in host.rs on main at 9aef3d9, the commit this branch started from (I listed it under "not related" in the description). #129 fixed it on main.

I rebased onto current main (d2a4bae), now 19aec59. On Windows 10 19045:

  • every test target compiles; cargo test -p victory-gpu: 43 passed, 1 ignored; cargo test -p xtask: 6 passed
  • cargo xtask policy: 154 files ok
  • the only failures in cargo test --workspace are the Windows 10 ones from the description: net::only_loopback_is_reachable (fixed by #44) and 7 emit::valu_tests that need an SM 6.6 device in the test executable

AI-assisted (Claude Code); I ran the above myself.

**@⁠kykifox1337-source** on GitHub · 2026-11-24 01:24 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7119077494) Thanks for checking. That error does not come from this PR: it touches nothing in `crates/victory-gpu`. The second `mod tests` was already in `host.rs` on `main` at `9aef3d9`, the commit this branch started from (I listed it under "not related" in the description). #129 fixed it on `main`. I rebased onto current `main` (`d2a4bae`), now `19aec59`. On Windows 10 19045: - every test target compiles; `cargo test -p victory-gpu`: 43 passed, 1 ignored; `cargo test -p xtask`: 6 passed - `cargo xtask policy`: 154 files ok - the only failures in `cargo test --workspace` are the Windows 10 ones from the description: `net::only_loopback_is_reachable` (fixed by #44) and 7 `emit::valu_tests` that need an SM 6.6 device in the test executable AI-assisted (Claude Code); I ran the above myself.
Author
Owner

@⁠Proudnoob4 on GitHub · 2026-11-24 02:14 UTC · original

Tested 19aec59 as is (on main d2a4bae) on Windows 10 22H2 (19045), RTX 4080 16 GB, NVIDIA 621.01, diag build. This is the #84 machine.

step result
cargo xtask agility downloaded microsoft.direct3d.d3d12.1.620.2.nupkg from nuget.org, SHA-512 check passed, wrote D3D12Core.dll (4,874,024 B) and d3d12SDKLayers.dll (5,832,504 B) to target\{debug,release,diag}\D3D12\
pinned hash matches the copy of 1.620.2 I fetched separately for #84 (d683ff7f…693032735); the extracted D3D12Core.dll is byte-identical to that copy's
victory config d3d12 sdk : …\target\diag\D3D12\D3D12Core.dll (version 620)
translate <40 containers> --validate --pipelines 36 of 36 emitted, validated and given pipelines (the sample happened to be all mesh programs)
run <title> --execute, one Enter at the profile prompt, 75 s profile prompt, then the story loading art, rendered correctly; no crash; the captured frames follow the same sequence as my earlier build with hand-added exports

One thing that does not hold here is the doc comment in apps/victory/src/agility.rs ("Without the folder, or on a system whose runtime is newer, the in-box one is used"). With target\diag\D3D12 renamed away, victory config correctly prints not beside the executable (needed on Windows 10: cargo xtask agility), but translate then stops at device creation:

Error: The D3D12 SDK version configuration of the host exe is invalid.

That is D3D12_ERROR_INVALID_REDIST (0x887E0003): the runtime does not fall back to the in-box one. nopsled0x saw the same on #84. Microsoft's Agility SDK guide agrees: the in-box D3D12Core.dll is used only "when an OS has a more recent D3D12Core than what a game shipped with", and INVALID_REDIST "means that D3D12Core.dll was not found in the location specified for D3D12SDKPath" (Getting Started with the Agility SDK).

Suggestions:

  1. Correct the comment: without the folder, the in-box runtime is used only if it is version 620 or newer; otherwise D3D12CreateDevice fails.
  2. The README's "Windows 11 needs nothing" holds only where the in-box runtime is already 620 or newer. I can't test Windows 11 here. A Windows 11 tester could check by building this PR without running the xtask and running victory translate <a few containers> --validate --pipelines. If that fails too, every Windows 11 setup that works on main today would need the xtask step once this merges.
  3. Map D3D12_ERROR_INVALID_REDIST from device creation to the hint config already prints (cargo xtask agility), since device creation is where people will hit it.

AI-assisted (Claude Code); I ran everything above on my machine.

**@⁠Proudnoob4** on GitHub · 2026-11-24 02:14 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7119909000) Tested `19aec59` as is (on `main` `d2a4bae`) on **Windows 10 22H2 (19045)**, RTX 4080 16 GB, NVIDIA 621.01, diag build. This is the #84 machine. | step | result | |---|---| | `cargo xtask agility` | downloaded `microsoft.direct3d.d3d12.1.620.2.nupkg` from nuget.org, SHA-512 check passed, wrote `D3D12Core.dll` (4,874,024 B) and `d3d12SDKLayers.dll` (5,832,504 B) to `target\{debug,release,diag}\D3D12\` | | pinned hash | matches the copy of 1.620.2 I fetched separately for #84 (`d683ff7f…693032735`); the extracted `D3D12Core.dll` is byte-identical to that copy's | | `victory config` | `d3d12 sdk : …\target\diag\D3D12\D3D12Core.dll (version 620)` | | `translate <40 containers> --validate --pipelines` | 36 of 36 emitted, validated and given pipelines (the sample happened to be all mesh programs) | | `run <title> --execute`, one Enter at the profile prompt, 75 s | profile prompt, then the story loading art, rendered correctly; no crash; the captured frames follow the same sequence as my earlier build with hand-added exports | One thing that does not hold here is the doc comment in `apps/victory/src/agility.rs` ("Without the folder, or on a system whose runtime is newer, the in-box one is used"). With `target\diag\D3D12` renamed away, `victory config` correctly prints `not beside the executable (needed on Windows 10: cargo xtask agility)`, but `translate` then stops at device creation: ``` Error: The D3D12 SDK version configuration of the host exe is invalid. ``` That is `D3D12_ERROR_INVALID_REDIST` (0x887E0003): the runtime does not fall back to the in-box one. nopsled0x saw the same on #84. Microsoft's Agility SDK guide agrees: the in-box `D3D12Core.dll` is used only "when an OS has a more recent D3D12Core than what a game shipped with", and INVALID_REDIST "means that D3D12Core.dll was not found in the location specified for D3D12SDKPath" ([Getting Started with the Agility SDK](https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/)). Suggestions: 1. Correct the comment: without the folder, the in-box runtime is used only if it is version 620 or newer; otherwise `D3D12CreateDevice` fails. 2. The README's "Windows 11 needs nothing" holds only where the in-box runtime is already 620 or newer. I can't test Windows 11 here. A Windows 11 tester could check by building this PR without running the xtask and running `victory translate <a few containers> --validate --pipelines`. If that fails too, every Windows 11 setup that works on `main` today would need the xtask step once this merges. 3. Map `D3D12_ERROR_INVALID_REDIST` from device creation to the hint `config` already prints (`cargo xtask agility`), since device creation is where people will hit it. AI-assisted (Claude Code); I ran everything above on my machine.
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-24 02:27 UTC · original

Tested 19aec59 as is (on main d2a4bae) on Windows 10 22H2 (19045.7846), AMD RX 9070 XT (driver 32.0.32015.7029), Ryzen 9 9900X, Rust 1.98.1, diag build. First AMD result here; the earlier ones are NVIDIA.

step result
cargo xtask agility SHA-512 check passed; D3D12Core.dll 4,874,024 B (Authenticode: Valid, file version 1.620.2.0), d3d12SDKLayers.dll 5,832,504 B, in target\{debug,release,diag}\D3D12\
dumpbin /exports target\diag\victory.exe D3D12SDKPath, D3D12SDKVersion
victory config d3d12 sdk : …\target\diag\D3D12\D3D12Core.dll (version 620)
cargo xtask policy / cargo test -p xtask 154 files ok / 6 passed
cargo test --workspace --no-fail-fast only the known Windows 10 failures: net::only_loopback_is_reachable (#118) and the 7 emit::valu_tests (no SM 6.6 device in the test executable)
run <title> --execute, no input (first boot), 75 s no crash, no device removal; 2,647 frames presented, 30-50 fps; 0 draws dropped without a host pipeline in every per-second line

Control, same build with target\diag\D3D12 renamed away, run <title> --execute:

  • WARN victory_gpu::host: no host D3D12 device; command lists will not run error=The D3D12 SDK version configuration of the host exe is invalid. (0x887E0003)
  • under 1 s later the title dies: unhandled exception 0xe06d7363 … (C++ .J = 0x887e0003 thrown) in crashes.log, from its own root-signature serialization.

So I see the same no-fallback behaviour Proudnoob4 reported with translate, and under run it is only a warning followed by a crash inside the title. That supports their suggestion 3: when device creation returns D3D12_ERROR_INVALID_REDIST, failing with the cargo xtask agility hint (as config already prints) would turn that crash into a clear message.

No game data in this report.

AI-assisted (Claude Code); everything above was run on my machine.

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 02:27 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7120166243) Tested `19aec59` as is (on `main` `d2a4bae`) on **Windows 10 22H2 (19045.7846)**, **AMD RX 9070 XT** (driver 32.0.32015.7029), Ryzen 9 9900X, Rust 1.98.1, diag build. First AMD result here; the earlier ones are NVIDIA. | step | result | |---|---| | `cargo xtask agility` | SHA-512 check passed; `D3D12Core.dll` 4,874,024 B (Authenticode: Valid, file version 1.620.2.0), `d3d12SDKLayers.dll` 5,832,504 B, in `target\{debug,release,diag}\D3D12\` | | `dumpbin /exports target\diag\victory.exe` | `D3D12SDKPath`, `D3D12SDKVersion` | | `victory config` | `d3d12 sdk : …\target\diag\D3D12\D3D12Core.dll (version 620)` | | `cargo xtask policy` / `cargo test -p xtask` | 154 files ok / 6 passed | | `cargo test --workspace --no-fail-fast` | only the known Windows 10 failures: `net::only_loopback_is_reachable` (#118) and the 7 `emit::valu_tests` (no SM 6.6 device in the test executable) | | `run <title> --execute`, no input (first boot), 75 s | no crash, no device removal; 2,647 frames presented, 30-50 fps; **0 draws dropped without a host pipeline** in every per-second line | Control, same build with `target\diag\D3D12` renamed away, `run <title> --execute`: - `WARN victory_gpu::host: no host D3D12 device; command lists will not run error=The D3D12 SDK version configuration of the host exe is invalid. (0x887E0003)` - under 1 s later the title dies: `unhandled exception 0xe06d7363 … (C++ .J = 0x887e0003 thrown)` in `crashes.log`, from its own root-signature serialization. So I see the same no-fallback behaviour Proudnoob4 reported with `translate`, and under `run` it is only a warning followed by a crash inside the title. That supports their suggestion 3: when device creation returns `D3D12_ERROR_INVALID_REDIST`, failing with the `cargo xtask agility` hint (as `config` already prints) would turn that crash into a clear message. No game data in this report. AI-assisted (Claude Code); everything above was run on my machine.
Author
Owner

@⁠blazerTweaks on GitHub · 2026-11-24 03:48 UTC · original

Tested on Windows 10 19045 with an RTX 3060 Ti (driver 32.0.16.1714). With the Agility runtime the title gets through the menus and loading and reaches the world.

On the two review points above (no fallback, and the hint for INVALID_REDIST): I opened #467 before I found this PR, and I'm closing it as a duplicate. Two parts of it address those points and could be folded in here (commit):

  • Opt-in exports. The exports are behind a victory feature, agility = []. The statics are #[cfg(feature = "agility")], and build.rs emits the /EXPORT args only when CARGO_FEATURE_AGILITY is set. A default build is then byte-for-byte today's behaviour, so Windows 11 setups that work on main can't regress, whatever their in-box D3D12Core version. Windows 10 builds with --features agility, then runs cargo xtask agility.
  • Error hints at device creation (crates/victory-gpu/src/host.rs):
    • D3D12_ERROR_INVALID_REDIST gets victory.exe asks for the D3D12 Agility SDK (feature agility) but D3D12\D3D12Core.dll is not next to it: run cargo xtask agility.
    • A device that comes up below SM 6.6 gets the host D3D12 runtime lacks shader model 6.6, so nothing will draw; on Windows 10 build victory with --features agility .... Today that case only shows up as a c01 refusal per pipeline and the +0xb5a5f8 crash.

Each case, run on the title:

build result
default ERROR ... lacks shader model 6.6 ... (model 0x65), no exports in the exe
agility, no D3D12\ ERROR ... D3D12\D3D12Core.dll is not next to it: run cargo xtask agility
agility + DLL every pipeline made; 2,108 of 2,108 draws and 288 of 288 dispatches by frame 1024

Happy to rebase these onto this branch as a PR against it if that's easier.

AI-assisted (Claude Code); the runs above were on my machine.

**@⁠blazerTweaks** on GitHub · 2026-11-24 03:48 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7121448116) Tested on Windows 10 19045 with an RTX 3060 Ti (driver 32.0.16.1714). With the Agility runtime the title gets through the menus and loading and reaches the world. On the two review points above (no fallback, and the hint for `INVALID_REDIST`): I opened #467 before I found this PR, and I'm closing it as a duplicate. Two parts of it address those points and could be folded in here ([commit](https://github.com/blazerTweaks/VIctory/commit/742e9c828a6f5374bd3aac573118bedccd4f6091)): - **Opt-in exports.** The exports are behind a `victory` feature, `agility = []`. The statics are `#[cfg(feature = "agility")]`, and `build.rs` emits the `/EXPORT` args only when `CARGO_FEATURE_AGILITY` is set. A default build is then byte-for-byte today's behaviour, so Windows 11 setups that work on `main` can't regress, whatever their in-box D3D12Core version. Windows 10 builds with `--features agility`, then runs `cargo xtask agility`. - **Error hints at device creation** (`crates/victory-gpu/src/host.rs`): - `D3D12_ERROR_INVALID_REDIST` gets `victory.exe asks for the D3D12 Agility SDK (feature agility) but D3D12\D3D12Core.dll is not next to it: run cargo xtask agility`. - A device that comes up below SM 6.6 gets `the host D3D12 runtime lacks shader model 6.6, so nothing will draw; on Windows 10 build victory with --features agility ...`. Today that case only shows up as a `c01` refusal per pipeline and the `+0xb5a5f8` crash. Each case, run on the title: | build | result | |---|---| | default | `ERROR ... lacks shader model 6.6 ...` (model `0x65`), no exports in the exe | | `agility`, no `D3D12\` | `ERROR ... D3D12\D3D12Core.dll is not next to it: run cargo xtask agility` | | `agility` + DLL | every pipeline made; 2,108 of 2,108 draws and 288 of 288 dispatches by frame 1024 | Happy to rebase these onto this branch as a PR against it if that's easier. AI-assisted (Claude Code); the runs above were on my machine.
Author
Owner

@⁠walterwallaceson on GitHub · 2026-11-24 05:26 UTC · original

Tested 19aec59 as is (on main d2a4bae) on Windows 10 22H2 (19045.6466), RTX 3070, NVIDIA 621.14, Ryzen 5 5600X, release build.

main d2a4bae #175 at 19aec59
host root signatures refused every one (root signature flags c01, 0x80070057) 0
mesh shaders not reached supported
run, title 0xc0000005 at title +0xb5a5f8 (read 0x68) right after XUserAddAsync no title exceptions; menus, then world loading

With #175 the world load runs at 0.4–0.6 fps for about 20 s, then the device is removed (0x887A0006, no breadcrumbs). That looks like the known world-rendering failure (#71, #304), not this PR. Separately, around 100 compute pipelines are refused with E_INVALIDARG on this 32-lane GPU; that is the wave64 case #233 addresses.

So this matches the other Windows 10 NVIDIA reports, on a newer driver (621.14).

No game data in this report.

AI-assisted (Claude Code); everything above was run on my machine.

**@⁠walterwallaceson** on GitHub · 2026-11-24 05:26 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7122957284) Tested 19aec59 as is (on main d2a4bae) on Windows 10 22H2 (19045.6466), RTX 3070, NVIDIA 621.14, Ryzen 5 5600X, release build. | | main d2a4bae | #175 at 19aec59 | |---|---|---| | host root signatures refused | every one (`root signature flags c01`, `0x80070057`) | 0 | | mesh shaders | not reached | supported | | run, title | `0xc0000005` at title `+0xb5a5f8` (read `0x68`) right after `XUserAddAsync` | no title exceptions; menus, then world loading | With #175 the world load runs at 0.4–0.6 fps for about 20 s, then the device is removed (`0x887A0006`, no breadcrumbs). That looks like the known world-rendering failure (#71, #304), not this PR. Separately, around 100 compute pipelines are refused with `E_INVALIDARG` on this 32-lane GPU; that is the wave64 case #233 addresses. So this matches the other Windows 10 NVIDIA reports, on a newer driver (621.14). No game data in this report. AI-assisted (Claude Code); everything above was run on my machine.
Author
Owner

@⁠Exorion1er on GitHub · 2026-11-24 09:33 UTC · original

#463 does the same thing (Agility SDK exports so Windows 10 gets SM 6.6) in a smaller, conditional way. It exports version 614 only if D3D12Core.dll is already in the target directory, and it has no downloader. This PR exports 620 and adds cargo xtask agility, which fetches and checks the package. Both define the same exports in the same files, so only one can land. Which is better depends on whether a downloader belongs in the repo.

Checked by reading both diffs. AI-assisted (Claude Code).

**@⁠Exorion1er** on GitHub · 2026-11-24 09:33 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7127582192) #463 does the same thing (Agility SDK exports so Windows 10 gets SM 6.6) in a smaller, conditional way. It exports version 614 only if `D3D12Core.dll` is already in the target directory, and it has no downloader. This PR exports 620 and adds `cargo xtask agility`, which fetches and checks the package. Both define the same exports in the same files, so only one can land. Which is better depends on whether a downloader belongs in the repo. Checked by reading both diffs. AI-assisted (Claude Code).
Author
Owner

@⁠supidooo on GitHub · 2026-11-24 11:26 UTC · original

Tested 19aec59 merged onto main (ffe310e) on Windows 10 Pro 22H2 (Build 19045) with an NVIDIA GeForce RTX 4060 Ti 16 GB (driver 32.0.16.2124 / 621.24), Intel Core i7-10700K, 32 GB RAM, Rust 1.98.1, MSVC 14.44.35207 / Windows SDK 10.0.26100.0, release build.

Setup & build notes

  • Merging onto ffe310e had a small context conflict in apps/victory/src/main.rs (show_config() now prints data_dir on main); resolved by keeping both data_dir and the d3d12 sdk line.
  • cargo xtask agility downloaded microsoft.direct3d.d3d12.1.620.2.nupkg, passed SHA-512 verification, and wrote D3D12Core.dll (4,874,024 B) and d3d12SDKLayers.dll (5,832,504 B) under target\{debug,release,diag}\D3D12\.
  • cargo test -p xtask: 6 passed, 0 failed (including agility::tests::*).
  • dumpbin /exports target\release\victory.exe lists D3D12SDKPath and D3D12SDKVersion; victory config reports D3D12Core.dll (version 620).

Shader/pipeline census (victory translate --pipelines on the title's shaders)

Zero SM 6.5 / root signature flags c01 rejections; the Agility SDK runtime enabled full SM 6.6 + mesh-shader support on Windows 10:

  • Containers: 26,599 (614 duplicates skipped); 26,148 / 26,148 IR programs translated
  • Vertex & pixel: 12243 emitted of 14039; 12243 pipelines (100% of emitted accepted)
  • Compute: 1441 emitted of 2582; 1121 pipelines (320 rejected with E_INVALIDARG due to Wave64 on 32-lane NVIDIA)
  • Mesh: 8214 emitted of 8713; 8214 pipelines (100% of emitted accepted)

Live title run (--execute, release build, Series X mode)

  • 0 root-signature or SM 6.5 rejections.
  • Boot, first-boot setup screens, audio, and saves ran at 30.0 fps (33.3 ms/frame) through menus and world loading (704 shaders / 29.7 MB pipeline library cached), stopping at world entry with the known NVIDIA DXGI_ERROR_DEVICE_HUNG (0x887A0006).
**@⁠supidooo** on GitHub · 2026-11-24 11:26 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7130096418) Tested `19aec59` merged onto `main` (`ffe310e`) on **Windows 10 Pro 22H2 (Build 19045)** with an **NVIDIA GeForce RTX 4060 Ti 16 GB** (driver `32.0.16.2124` / `621.24`), Intel Core i7-10700K, 32 GB RAM, Rust `1.98.1`, MSVC `14.44.35207` / Windows SDK `10.0.26100.0`, release build. ### Setup & build notes - Merging onto `ffe310e` had a small context conflict in `apps/victory/src/main.rs` (`show_config()` now prints `data_dir` on `main`); resolved by keeping both `data_dir` and the `d3d12 sdk` line. - `cargo xtask agility` downloaded `microsoft.direct3d.d3d12.1.620.2.nupkg`, passed SHA-512 verification, and wrote `D3D12Core.dll` (4,874,024 B) and `d3d12SDKLayers.dll` (5,832,504 B) under `target\{debug,release,diag}\D3D12\`. - `cargo test -p xtask`: **6 passed, 0 failed** (including `agility::tests::*`). - `dumpbin /exports target\release\victory.exe` lists `D3D12SDKPath` and `D3D12SDKVersion`; `victory config` reports `D3D12Core.dll (version 620)`. ### Shader/pipeline census (`victory translate --pipelines` on the title's shaders) Zero SM 6.5 / `root signature flags c01` rejections; the Agility SDK runtime enabled full SM 6.6 + mesh-shader support on Windows 10: - **Containers:** 26,599 (614 duplicates skipped); **26,148 / 26,148** IR programs translated - **Vertex & pixel:** `12243 emitted of 14039; 12243 pipelines` (100% of emitted accepted) - **Compute:** `1441 emitted of 2582; 1121 pipelines` (320 rejected with `E_INVALIDARG` due to Wave64 on 32-lane NVIDIA) - **Mesh:** `8214 emitted of 8713; 8214 pipelines` (100% of emitted accepted) ### Live title run (`--execute`, release build, Series X mode) - 0 root-signature or SM 6.5 rejections. - Boot, first-boot setup screens, audio, and saves ran at **30.0 fps** (33.3 ms/frame) through menus and world loading (704 shaders / 29.7 MB pipeline library cached), stopping at world entry with the known NVIDIA `DXGI_ERROR_DEVICE_HUNG` (`0x887A0006`).
Author
Owner

@⁠niilun on GitHub · 2026-11-24 12:43 UTC · original

Tested commit 19aec59 on Windows 10 19045, NVIDIA GeForce RTX 3060 Ti, driver 610.88, Rust 1.98.1, debug profile, --test-threads=1 (no game data run)

Also downloaded agility SDK 1.620.2, which passed the checksum and wrote the runtime for all three profiles. victory config then prints d3d12 sdk : ...\debug\D3D12\D3D12Core.dll (version 620) that works fine

Testing with the above SDK: victory-gpu 50 passed, 1 ignored, victory-hle 94 passed, cargo xtask policy: 157 files OK

  • victory-shader: 105 passed, 15 failed, the same as on main
  • crash::tests::unwinds_like_the_system_walk also fails 6/10 isolated times on main

The victory-shader counts for main and this PR include a local patch that refuses validators older than 1.6. Without it, the test process dies with 0xc0000005 on both main and this PR. The only dxil.dll here is from the 10.0.19041 SDK

**@⁠niilun** on GitHub · 2026-11-24 12:43 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7131833119) Tested commit `19aec59` on Windows 10 19045, NVIDIA GeForce RTX 3060 Ti, driver 610.88, Rust 1.98.1, debug profile, `--test-threads=1` (no game data run) Also downloaded agility SDK 1.620.2, which passed the checksum and wrote the runtime for all three profiles. `victory config` then prints `d3d12 sdk : ...\debug\D3D12\D3D12Core.dll (version 620)` that works fine Testing with the above SDK: `victory-gpu` 50 passed, 1 ignored, `victory-hle` 94 passed, `cargo xtask policy`: 157 files OK - `victory-shader`: 105 passed, 15 failed, the same as on `main` - `crash::tests::unwinds_like_the_system_walk` also fails 6/10 isolated times on `main` The `victory-shader` counts for `main` and this PR include a local patch that refuses validators older than 1.6. Without it, the test process dies with `0xc0000005` on both `main` and this PR. The only `dxil.dll` here is from the 10.0.19041 SDK
Author
Owner

@⁠molodayamama on GitHub · 2026-11-24 14:02 UTC · original

Independent Windows check of 19aec59ba2931333e4218fe16ab7851b110122bd (Windows 10 22H2 19045, Rust 1.98.1, MSVC x64).

I built the PR's CLI, verified both D3D12SDKVersion and D3D12SDKPath in dumpbin /exports, and used cargo xtask agility to stage the hash-checked 1.620.2 runtime. victory config reported the app-local DLL and version 620.

I also ran a small, separate native D3D12 probe with exactly those exports and the same synthetic cs_6_6 bytecode on both runs. Both explicitly picked RTX 4060 (NVIDIA 610.88). With Windows' in-box D3D12Core.dll, CheckFeatureSupport returned SM 6.5 and serializing the directly-indexed descriptor-heap root signature returned 0x80070057. With app-local Agility 1.620.2, the probe loaded the Microsoft-signed local DLL, reported SM 6.6, serialized and created the root signature, and created the compute PSO (S_OK). This isolates the runtime difference without starting the title.

Only source-built synthetic fixtures were used. AI-assisted verification.

**@⁠molodayamama** on GitHub · 2026-11-24 14:02 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7133745291) Independent Windows check of `19aec59ba2931333e4218fe16ab7851b110122bd` (Windows 10 22H2 19045, Rust 1.98.1, MSVC x64). I built the PR's CLI, verified both `D3D12SDKVersion` and `D3D12SDKPath` in `dumpbin /exports`, and used `cargo xtask agility` to stage the hash-checked 1.620.2 runtime. `victory config` reported the app-local DLL and version 620. I also ran a small, separate native D3D12 probe with exactly those exports and the same synthetic `cs_6_6` bytecode on both runs. Both explicitly picked RTX 4060 (NVIDIA 610.88). With Windows' in-box `D3D12Core.dll`, `CheckFeatureSupport` returned SM 6.5 and serializing the directly-indexed descriptor-heap root signature returned `0x80070057`. With app-local Agility 1.620.2, the probe loaded the Microsoft-signed local DLL, reported SM 6.6, serialized and created the root signature, and created the compute PSO (`S_OK`). This isolates the runtime difference without starting the title. Only source-built synthetic fixtures were used. AI-assisted verification.
Author
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 14:21 UTC · original

A data point from a GPU generation not tested here yet: Pascal, GTX 1060 6 GB (driver 32.0.15.8266), Windows 10 22H2 19045, i7-10700K. No game data.

19aec59 merged onto current main with a single conflict in show_config. main has since added a data_dir line at the same spot as this PR's d3d12 sdk line. Keeping both lines resolves it:

    println!("cache_dir   : {}", cfg.cache_dir.display());
    println!("data_dir    : {}", cfg.data_dir.display());
    match agility::runtime_dir().map(|d| d.join("D3D12Core.dll")) {

With the 1.620.2 D3D12Core.dll beside victory.exe:

  • victory config prints d3d12 sdk : …\D3D12\D3D12Core.dll (version 620).
  • A D3D12 device in the same process (made through the shader crate's Host::new) gets shader model 6.6. Without the exports it stops at 6.5.
  • Mesh shader tier is not supported (as expected on Pascal), and waves are 32 lanes (WaveLaneCountMax 32).

So on Pascal and Windows 10 this PR does what it says. The world's mesh draws then need a fallback (#3), as on any GPU without mesh shaders.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 14:21 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7134251225) A data point from a GPU generation not tested here yet: **Pascal, GTX 1060 6 GB** (driver 32.0.15.8266), Windows 10 22H2 19045, i7-10700K. No game data. `19aec59` merged onto current `main` with a single conflict in `show_config`. `main` has since added a `data_dir` line at the same spot as this PR's `d3d12 sdk` line. Keeping both lines resolves it: ```rust println!("cache_dir : {}", cfg.cache_dir.display()); println!("data_dir : {}", cfg.data_dir.display()); match agility::runtime_dir().map(|d| d.join("D3D12Core.dll")) { ``` With the 1.620.2 `D3D12Core.dll` beside `victory.exe`: - `victory config` prints `d3d12 sdk : …\D3D12\D3D12Core.dll (version 620)`. - A D3D12 device in the same process (made through the shader crate's `Host::new`) gets **shader model 6.6**. Without the exports it stops at 6.5. - Mesh shader tier is not supported (as expected on Pascal), and waves are 32 lanes (`WaveLaneCountMax` 32). So on Pascal and Windows 10 this PR does what it says. The world's mesh draws then need a fallback (#3), as on any GPU without mesh shaders. AI-assisted (Claude Code).
Author
Owner

@⁠nopsled0x on GitHub · 2026-11-24 15:36 UTC · original

I tried this on Windows 10 22H2 (build 19045), release build, GPU driver 621.40, with D3D12Core.dll 1.620.2 in D3D12\ beside the executable. The PR's one commit (19aec59) is cherry-picked on top of current main (ffe310e), because the PR branch is based on d2a4bae. The cherry-pick had one conflict, in apps/victory/src/main.rs, between the new data_dir line and this PR's d3d12 sdk block; I kept both. Running the title with run ... --execute, once:

  • Without the PR, ffe310e stops with 0xc0000005 (read at 0x68) at victory-image-b99f876b74d4a77f.dll+0xb5a5f8, about 3 to 4 s after start, in the three runs I did (two driver versions: 610.88 once and 621.40 twice; only the last log was kept). The log shows root signature: Unsupported bit-flag set (root signature flags c01) and host root signature refused first.
  • With the PR, there are 0 root signature refusals, and the crash at +0xb5a5f8 does not happen. The title ran for about 2 min 20 s, and the last frame presented line in the log is frame=1024 draws=8610 drawn=8610 dispatches=512 dispatched=512.
  • 119 host pipeline refused warnings remain: 118 with 0x80070057, and the last one with 0x887A0005 right before the device removal.
  • The run then ended with host GPU device removed after a submission of 1 lists; no breadcrumbs, with submit error 0x887A0004 and removed reason 0x887A0006 (the log says it was likely caused by an invalid command). I did not run a diagnostics build, so I do not know which command it was, or whether the refused pipelines are related to it.

So on this setup, with the Agility runtime loaded, the root signatures are no longer refused and the title gets much further, but it does not stay up.

Not verified: more than one run, cargo xtask agility itself (the runtime was already in place), cargo test, cargo clippy, cargo xtask policy, Windows 11, and a second GPU.

AI-assisted verification (Claude); the game was run locally by me.

**@⁠nopsled0x** on GitHub · 2026-11-24 15:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7136305513) I tried this on Windows 10 22H2 (build 19045), release build, GPU driver 621.40, with `D3D12Core.dll` 1.620.2 in `D3D12\` beside the executable. The PR's one commit (19aec59) is cherry-picked on top of current main (ffe310e), because the PR branch is based on d2a4bae. The cherry-pick had one conflict, in `apps/victory/src/main.rs`, between the new `data_dir` line and this PR's `d3d12 sdk` block; I kept both. Running the title with `run ... --execute`, once: - Without the PR, `ffe310e` stops with `0xc0000005` (read at `0x68`) at `victory-image-b99f876b74d4a77f.dll+0xb5a5f8`, about 3 to 4 s after start, in the three runs I did (two driver versions: 610.88 once and 621.40 twice; only the last log was kept). The log shows `root signature: Unsupported bit-flag set (root signature flags c01)` and `host root signature refused` first. - With the PR, there are 0 root signature refusals, and the crash at `+0xb5a5f8` does not happen. The title ran for about 2 min 20 s, and the last `frame presented` line in the log is `frame=1024 draws=8610 drawn=8610 dispatches=512 dispatched=512`. - 119 `host pipeline refused` warnings remain: 118 with `0x80070057`, and the last one with `0x887A0005` right before the device removal. - The run then ended with `host GPU device removed after a submission of 1 lists; no breadcrumbs`, with submit error `0x887A0004` and removed reason `0x887A0006` (the log says it was likely caused by an invalid command). I did not run a diagnostics build, so I do not know which command it was, or whether the refused pipelines are related to it. So on this setup, with the Agility runtime loaded, the root signatures are no longer refused and the title gets much further, but it does not stay up. Not verified: more than one run, `cargo xtask agility` itself (the runtime was already in place), `cargo test`, `cargo clippy`, `cargo xtask policy`, Windows 11, and a second GPU. _AI-assisted verification (Claude); the game was run locally by me._
Author
Owner

@⁠KIFIR4KK on GitHub · 2026-11-24 17:18 UTC · original

Tested 19aec59 on Windows 10 IoT Enterprise LTSC 21H2 (Build 19044) + Desktop NVIDIA GeForce RTX 4060 (8 GB, driver 616.56), cherry-picked onto ffe310e (with PR #189 and PR #352; same minor 1-hunk conflict in apps/victory/src/main.rs keeping both data_dir and d3d12 sdk).

  • cargo xtask agility fetched Microsoft.Direct3D.D3D12 1.620.2 cleanly and victory config detected D3D12Core.dll (version 620).
  • Confirmed working on Build 19044: clears the in-box SM 6.5 / c01 root-signature refusals and early init crash (#348). Boot, settings, saves, and menus run at 30.0 fps (0 dropped draws), and the title reaches world load.

Full details and sanitized DRED log in #1305.

**@⁠KIFIR4KK** on GitHub · 2026-11-24 17:18 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7138991872) Tested `19aec59` on **Windows 10 IoT Enterprise LTSC 21H2 (Build 19044)** + Desktop NVIDIA GeForce RTX 4060 (8 GB, driver `616.56`), cherry-picked onto `ffe310e` (with PR #189 and PR #352; same minor 1-hunk conflict in `apps/victory/src/main.rs` keeping both `data_dir` and `d3d12 sdk`). - `cargo xtask agility` fetched `Microsoft.Direct3D.D3D12 1.620.2` cleanly and `victory config` detected `D3D12Core.dll (version 620)`. - Confirmed working on **Build 19044**: clears the in-box SM 6.5 / `c01` root-signature refusals and early init crash (#348). Boot, settings, saves, and menus run at 30.0 fps (`0` dropped draws), and the title reaches world load. Full details and sanitized DRED log in #1305.
Author
Owner

@⁠simplesmenterafael on GitHub · 2026-11-24 21:09 UTC · original

Test report for this PR together with #362 (the tests part), on another Windows 10 + NVIDIA machine. Counts only, no title data.

Machine: Windows 10 Pro 22H2 (19045), NVIDIA GeForce RTX 3050 (driver 32.0.16.2124), AMD Ryzen 5 3600, 16 GB. rustc 1.98.1 (48a229cea 2026-09-01).

Before (no Agility runtime): the in-box runtime reports SM 0x65 on the RTX 3050 and SM 0x62 on WARP. cargo test --workspace --locked --no-fail-fast: 474 passed, 22 failed, 7 ignored. All 22 are victory-shader GPU tests failing with no SM 6.6 device available (valu_tests, intersect_tests, waterfall_tests).

After (#362 merged, cargo xtask agility run; package SHA-512 matches the x-ms-meta-SHA512 nuget.org serves): cargo test --workspace --locked --no-fail-fast: 498 passed, 0 failed, 7 ignored. victory-shader: 210 passed, 2 ignored, and no device was skipped (hardware and WARP both ran). Both clippy runs from CI (-D warnings, with and without --all-features) are clean, and cargo xtask policy passes.

Separately, crash::tests::unwinds_like_the_system_walk fails intermittently here too (#742); it is unrelated to this PR.

I have not run the title with this yet.

AI use: run and written with Claude Code (Claude Opus 5.5); the numbers are from real runs on the machine above.

**@⁠simplesmenterafael** on GitHub · 2026-11-24 21:09 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7144547640) Test report for this PR together with #362 (the tests part), on another Windows 10 + NVIDIA machine. Counts only, no title data. **Machine:** Windows 10 Pro 22H2 (19045), NVIDIA GeForce RTX 3050 (driver 32.0.16.2124), AMD Ryzen 5 3600, 16 GB. `rustc 1.98.1 (48a229cea 2026-09-01)`. **Before** (no Agility runtime): the in-box runtime reports SM 0x65 on the RTX 3050 and SM 0x62 on WARP. `cargo test --workspace --locked --no-fail-fast`: 474 passed, **22 failed**, 7 ignored. All 22 are `victory-shader` GPU tests failing with `no SM 6.6 device available` (`valu_tests`, `intersect_tests`, `waterfall_tests`). **After** (#362 merged, `cargo xtask agility` run; package SHA-512 matches the `x-ms-meta-SHA512` nuget.org serves): `cargo test --workspace --locked --no-fail-fast`: **498 passed, 0 failed, 7 ignored**. `victory-shader`: 210 passed, 2 ignored, and no device was skipped (hardware and WARP both ran). Both clippy runs from CI (`-D warnings`, with and without `--all-features`) are clean, and `cargo xtask policy` passes. Separately, `crash::tests::unwinds_like_the_system_walk` fails intermittently here too (#742); it is unrelated to this PR. I have not run the title with this yet. *AI use: run and written with Claude Code (Claude Opus 5.5); the numbers are from real runs on the machine above.*
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-24 23:00 UTC · original

Test report: Windows 10 + AMD RDNA3, with the title, stacked on #1798.

Machine: Windows 10 22H2 (19045), Ryzen 7 5800X, Radeon RX 7800 XT (driver 32.0.24027.1012), 32 GB, MSVC x64, Rust 1.98.1.
Build: 19aec59 rebased onto main 70564ae; one conflict in pps/victory/src/main.rs show_config, resolved by keeping both data_dir/ idelityfx and the d3d12 sdk block. Stacked on #1798 locally, because the title exe and the dump are separate folders here (without it the run stops at TitleID 00000000 before D3D12).

step result
cargo xtask agility SHA-512 check passed; D3D12Core.dll + d3d12SDKLayers.dll written to debug/release/diag\\D3D12
ictory config d3d12 sdk : …\\release\\D3D12\\D3D12Core.dll (version 620)
before (in-box runtime) every translated pipeline refused: Unsupported bit-flag set (root signature flags c01), 0x80070057; drawn=0; crash at +0xb5a5f8 after ~4 s
after (Agility 1.620.2) 0 root-signature refusals, drawn=192/192, dispatched=64/64; the +0xb5a5f8 crash is gone

Series X needs commit headroom; that is not a defect of this PR. On the same machine the Series X profile reaches frame 128 and then stops with mapping physical pages failed (not a placeholder?) … os error 1455 (paging file too small) and a title breakpoint at +0x2474680. C: had 5.4 GB free and the system-managed pagefile could not grow, so the host ran out of commit while creating a 2560x1440 R32G32B32A32 target. The README note about Windows error 1455 covers it; a bigger pagefile (or --console series-s) is the workaround.

Series S is stable. Two runs (60 s and 135 s): 4,096 frames presented, 20,480/20,480 draws and 2,048/2,048 dispatches, no device removal, no crash, 30 fps. The window is still black at that point on upstream – it looks like the loading stage, and is separate from this PR.

Doc nit: the module comment says that without the D3D12 folder the in-box runtime is used. It is not: with the exports present and no folder, device creation fails (INVALID_REDIST). #467's feature gate or a startup hint would address that.

**@⁠Calvix2k** on GitHub · 2026-11-24 23:00 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7146899390) Test report: **Windows 10 + AMD RDNA3**, with the title, stacked on #1798. **Machine:** Windows 10 22H2 (19045), Ryzen 7 5800X, Radeon RX 7800 XT (driver 32.0.24027.1012), 32 GB, MSVC x64, Rust 1.98.1. **Build:** 19aec59 rebased onto main 70564ae; one conflict in pps/victory/src/main.rs show_config, resolved by keeping both data_dir/ idelityfx and the d3d12 sdk block. Stacked on #1798 locally, because the title exe and the dump are separate folders here (without it the run stops at TitleID 00000000 before D3D12). | step | result | |---|---| | cargo xtask agility | SHA-512 check passed; D3D12Core.dll + d3d12SDKLayers.dll written to `debug/release/diag\\D3D12` | | ictory config | `d3d12 sdk : …\\release\\D3D12\\D3D12Core.dll (version 620)` | | before (in-box runtime) | every translated pipeline refused: `Unsupported bit-flag set (root signature flags c01)`, `0x80070057`; `drawn=0`; crash at `+0xb5a5f8` after ~4 s | | after (Agility 1.620.2) | **0 root-signature refusals**, `drawn=192/192`, `dispatched=64/64`; the `+0xb5a5f8` crash is gone | **Series X needs commit headroom; that is not a defect of this PR.** On the same machine the Series X profile reaches frame 128 and then stops with `mapping physical pages failed (not a placeholder?) … os error 1455` (paging file too small) and a title breakpoint at `+0x2474680`. C: had 5.4 GB free and the system-managed pagefile could not grow, so the host ran out of commit while creating a 2560x1440 R32G32B32A32 target. The README note about Windows error 1455 covers it; a bigger pagefile (or `--console series-s`) is the workaround. **Series S is stable.** Two runs (60 s and 135 s): 4,096 frames presented, 20,480/20,480 draws and 2,048/2,048 dispatches, no device removal, no crash, 30 fps. The window is still black at that point on upstream – it looks like the loading stage, and is separate from this PR. **Doc nit:** the module comment says that without the `D3D12` folder the in-box runtime is used. It is not: with the exports present and no folder, device creation fails (INVALID_REDIST). #467's feature gate or a startup hint would address that.
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-24 23:29 UTC · original

Addendum to the AMD result above: on this Windows 10 + RX 7800 XT machine the boot/first-boot screens stay black at 30 fps even with Agility (all draws executed, no warnings, GPU ~2% busy, input changes the UI draw count, standard and separated layouts alike, fresh cache alike). Filed with measurements as #1854 so it does not get mixed into this PR's Windows 10 shader-model fix.

**@⁠Calvix2k** on GitHub · 2026-11-24 23:29 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7147455798) Addendum to the AMD result above: on this Windows 10 + RX 7800 XT machine the boot/first-boot screens stay black at 30 fps even with Agility (all draws executed, no warnings, GPU ~2% busy, input changes the UI draw count, standard and separated layouts alike, fresh cache alike). Filed with measurements as #1854 so it does not get mixed into this PR's Windows 10 shader-model fix.
Author
Owner

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

Automated triage for the maintainers. Closing because another open pull request covers the same change.

See #463. Windows 10 D3D12 runtime opt-in done with an xtask that downloads a package with curl (new sha2 dependency) and exports that are added even when the runtime folder is missing. #463 (clean) does the opt-in only when the DLL is present and downloads nothing.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:00 UTC · [original](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7148032307) Automated triage for the maintainers. Closing because another open pull request covers the same change. See #463. Windows 10 D3D12 runtime opt-in done with an xtask that downloads a package with curl (new `sha2` dependency) and exports that are added even when the runtime folder is missing. #463 (clean) does the opt-in only when the DLL is present and downloads nothing. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!175
No description provided.