Docs: XCL_D3D12_DIR names the folder containing D3D12Core.dll (NuGet bin\x64), and is searched alone #842
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/848"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by pickles976 on 2026-11-24T06:41:54Z.
What: README-only clarification reported-live in #595.
%XCL_D3D12_DIR%must name the folder directly containingD3D12Core.dll— the unpacked NuGet root (bin\x64is the real folder) silently guarantees the documented "point at it" fails, and because the override deliberately does not fall through (agility.rs:55), the user experience is "the env var is broken", exactly as tested and reported.Tested: docs-only change; the asserted behavior is the shipped one (
candidates()env short-circuit, unit-covered inagility_tests.rs:105).Not tested: N/A (no code).
AI use: none beyond my usual static reading of our source.
Imported from ivall/xcl. Originally posted by teidenzero on 2026-11-24T14:37:02Z.
Checked on Windows 10, where this is visible: the inbox D3D12 stops at SM 6.5, so a wrong
XCL_D3D12_DIRmakes the GPU tests skip (on Windows 11 the inbox runtime hides it).One correction: in the NuGet package (
Microsoft.Direct3D.D3D121.620.2) the DLL is atbuild\native\bin\x64\D3D12Core.dll. There is nobin\x64at the package root, so "for an unpacked NuGet package that isbin\x64" points at a folder that does not exist. Suggested wording: "for an unpacked NuGet package that isbuild\native\bin\x64, not the package root".Runs on
main930e8b4,cargo test -p xcl --lib gpu::recomp::tests::gpu_clamp_and_omod_per_instruction -- --exact --nocapture, with a valid SDK also in%LOCALAPPDATA%\XCL\D3D12\:XCL_D3D12_DIRno SM 6.6 (Agility SDK unavailable: XCL_D3D12_DIR=<root> has no D3D12Core.dll)<root>\bin\x64<root>\build\native\bin\x64%LOCALAPPDATA%\XCL\D3D12\)The "searched alone" part holds: a wrong override does not fall back to the valid SDK in
%LOCALAPPDATA%.Machine: NVIDIA GeForce RTX 4090, driver 621.24; Windows 10 Pro 22H2 build 19045.6466; Rust 1.100.0
stable-x86_64-pc-windows-msvc, debug.AI use: Claude Code (Claude Opus 5.5) ran the checks and drafted this comment.
Imported from ivall/xcl. Originally posted by pickles976 on 2026-11-24T14:43:06Z.
Corrected per @teidenzero — the path is now
build\\native\\bin\\x64with the package name spelled out (Microsoft.Direct3D.D3D12), which also keeps it from being confused with the DXCbin\\x64in the very next bullet. Thanks for the Win10-vs-Win11 note too: it explains why the wrong-path failure is visible to some testers and invisible to others, which is worth having in the README's implicit shadow.Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T10:15:46Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:40:46Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:18:19Z.
Triage (#1607) – head
935cc76No open or merged PR makes the same change. The text matches main's
gpu/agility.rs:candidates()returns only%XCL_D3D12_DIR%when it is set and non-empty, andprobe_dirreads<dir>\D3D12Core.dlldirectly, so the folder must contain the DLL (NuGetbuild\native\bin\x64). No problems found in the diff.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.