VFS: keep XCL's SDK and DXC folders on a console drive outside the mount #1769

Open
github-bot wants to merge 1 commit from github-bot/gh-1769 into main AGit
Owner

@⁠simplesmenterafael on GitHub · 2026-11-24 20:27 UTC · original
simplesmenterafael:vfs/xcl-folders-on-console-drives → main · +43 −2 · 2 files · 1 commits · open

The default config mounts the console drives G: and D: on the game folder. XCL looks up XCL_D3D12_DIR, XCL_DXC_DIR and xcl.exe's folder after the file hooks are installed, so when those folders are on the PC's G: or D: drive the lookups land in the game folder. The Agility SDK is then reported missing (XCL_D3D12_DIR=G:\... has no D3D12Core.dll) even though the file is there, and XCL falls back to the inbox D3D12 (SM 6.5 on Windows 10) and the Windows SDK's DXC. Only the shader cache was registered with Vfs::own_folder; this registers XCL's other folders the same way.

What is in it

  • crates/xcl/src/host.rs: xcl_folders() (xcl.exe's folder, XCL_D3D12_DIR, XCL_DXC_DIR), each passed to Vfs::own_folder next to the shader cache.
  • crates/xcl/src/vfs.rs: own_folder ignores the root of a drive (XCL_D3D12_DIR=G:\ would otherwise turn off the whole G: console mount), and a test: an SDK folder on a mounted drive stays the PC's, the console's paths on that drive still go to the game, and a drive root does not turn the mount off. The test fails without the drive-root check.

Tested

  • NVIDIA GeForce RTX 3050 (driver 32.0.16.2124), Ryzen 5 3600, Windows 10 22H2 (19045), rustc 1.100.0; tests in debug, smoke runs in release. Agility SDK v620 and DXC 1.9.2609.5, both on the PC's G: drive.
  • .\scripts\test.ps1 (cargo test --workspace -- --test-threads=4) on the tree of 7fb113d: 859 passed, 0 failed, 42 ignored. SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask (no wave64), gpu_wave32_program_in_wave64_hardware (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
    • A first run of the same tree had 1 failure, hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory (list.Close() → 0x80004005 after ~935 MB of 4K D32S8 targets); it passed alone 3 of 3 times and in the next full run. It does not go through the VFS; it looks like memory pressure on an 8 GB card with 4 test threads.
  • Retail title: on main the log shows Agility SDK unavailable (XCL_D3D12_DIR=G:\Claude\Tools\D3D12 has no D3D12Core.dll) – using inbox D3D12, DXC from the Windows SDK (1.9.2602.17), and 26,757 D3D12SerializeVersionedRootSignature failures (Unsupported bit-flag set (root signature flags c00)). With this PR: Agility SDK v620 (G:\Claude\Tools\D3D12), DXC 1.9.2609.5 from XCL_DXC_DIR, 0 root signature failures.
  • In 60 s runs of the same title, main ends with an access violation in the title at ~35–40 s (exit 0xc0000005, no frame count logged); this PR runs the 60 s and exits normally (1051 frames, no crash, no device removal). The regression blocks below are 30 s runs, which end before main's crash, so the two can be compared.

Regression run

main:

xcl-smoke v1
commit: 9039900ba3710fda9d791db589d548b1aaeb3cf8
gpu: NVIDIA GeForce RTX 3050
title: cybercreek
seconds: 30
exit: 0x0
frames shown: 707 (PresentX 707)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 8388 MB

PR:

xcl-smoke v1
commit: 7fb113d32ca5e09c7d07d08827008b823e4c77d0
gpu: NVIDIA GeForce RTX 3050
title: cybercreek
seconds: 30
exit: 0x0
frames shown: 677 (PresentX 677)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 9184 MB

Not tested

  • AMD and Intel GPUs; Windows 11.
  • The D: mount with XCL's folders on the PC's D: drive (the same code path as G:, not run).
  • xcl.exe's own folder on a mounted drive with the SDK in <exe>\D3D12 (only XCL_D3D12_DIR / XCL_DXC_DIR were run; xcl.exe was on G: too, in target\release).

AI use

  • Claude Code, Claude Opus 5.5: found the cause from the run logs, wrote the change, the test and this description, and ran the tests and the regression runs on the hardware above.
**@⁠simplesmenterafael** on GitHub · 2026-11-24 20:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769) `simplesmenterafael:vfs/xcl-folders-on-console-drives` → `main` · +43 −2 · 2 files · 1 commits · open The default config mounts the console drives `G:` and `D:` on the game folder. XCL looks up `XCL_D3D12_DIR`, `XCL_DXC_DIR` and xcl.exe's folder after the file hooks are installed, so when those folders are on the PC's `G:` or `D:` drive the lookups land in the game folder. The Agility SDK is then reported missing (`XCL_D3D12_DIR=G:\... has no D3D12Core.dll`) even though the file is there, and XCL falls back to the inbox D3D12 (SM 6.5 on Windows 10) and the Windows SDK's DXC. Only the shader cache was registered with `Vfs::own_folder`; this registers XCL's other folders the same way. **What is in it** - `crates/xcl/src/host.rs`: `xcl_folders()` (xcl.exe's folder, `XCL_D3D12_DIR`, `XCL_DXC_DIR`), each passed to `Vfs::own_folder` next to the shader cache. - `crates/xcl/src/vfs.rs`: `own_folder` ignores the root of a drive (`XCL_D3D12_DIR=G:\` would otherwise turn off the whole `G:` console mount), and a test: an SDK folder on a mounted drive stays the PC's, the console's paths on that drive still go to the game, and a drive root does not turn the mount off. The test fails without the drive-root check. **Tested** - NVIDIA GeForce RTX 3050 (driver 32.0.16.2124), Ryzen 5 3600, Windows 10 22H2 (19045), rustc 1.100.0; tests in debug, smoke runs in release. Agility SDK v620 and DXC 1.9.2609.5, both on the PC's `G:` drive. - `.\scripts\test.ps1` (`cargo test --workspace -- --test-threads=4`) on the tree of 7fb113d: 859 passed, 0 failed, 42 ignored. SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask` (no wave64), `gpu_wave32_program_in_wave64_hardware` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - A first run of the same tree had 1 failure, `hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory` (`list.Close()` → `0x80004005` after ~935 MB of 4K D32S8 targets); it passed alone 3 of 3 times and in the next full run. It does not go through the VFS; it looks like memory pressure on an 8 GB card with 4 test threads. - Retail title: on main the log shows `Agility SDK unavailable (XCL_D3D12_DIR=G:\Claude\Tools\D3D12 has no D3D12Core.dll) – using inbox D3D12`, DXC from the Windows SDK (1.9.2602.17), and 26,757 `D3D12SerializeVersionedRootSignature` failures (`Unsupported bit-flag set (root signature flags c00)`). With this PR: `Agility SDK v620 (G:\Claude\Tools\D3D12)`, DXC 1.9.2609.5 from `XCL_DXC_DIR`, 0 root signature failures. - In 60 s runs of the same title, main ends with an access violation in the title at ~35–40 s (`exit 0xc0000005`, no frame count logged); this PR runs the 60 s and exits normally (1051 frames, no crash, no device removal). The regression blocks below are 30 s runs, which end before main's crash, so the two can be compared. **Regression run** main: ``` xcl-smoke v1 commit: 9039900ba3710fda9d791db589d548b1aaeb3cf8 gpu: NVIDIA GeForce RTX 3050 title: cybercreek seconds: 30 exit: 0x0 frames shown: 707 (PresentX 707) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 8388 MB ``` PR: ``` xcl-smoke v1 commit: 7fb113d32ca5e09c7d07d08827008b823e4c77d0 gpu: NVIDIA GeForce RTX 3050 title: cybercreek seconds: 30 exit: 0x0 frames shown: 677 (PresentX 677) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 9184 MB ``` **Not tested** - AMD and Intel GPUs; Windows 11. - The `D:` mount with XCL's folders on the PC's `D:` drive (the same code path as `G:`, not run). - xcl.exe's own folder on a mounted drive with the SDK in `<exe>\D3D12` (only `XCL_D3D12_DIR` / `XCL_DXC_DIR` were run; xcl.exe was on `G:` too, in `target\release`). **AI use** - Claude Code, Claude Opus 5.5: found the cause from the run logs, wrote the change, the test and this description, and ran the tests and the regression runs on the hardware above.
The default config mounts the console drives G: and D: on the game folder.
XCL resolves XCL_D3D12_DIR, XCL_DXC_DIR and xcl.exe's folder after the file
hooks are in, so with them on the PC's G: or D: drive the lookups went into
the game folder: the Agility SDK was reported missing ("has no
D3D12Core.dll") and XCL ran on the inbox D3D12 (SM 6.5 on Windows 10) and the
Windows SDK's DXC. Only the shader cache was registered with own_folder.

Register these folders with own_folder too, and make own_folder ignore the
root of a drive, which would turn off that drive's console mount.

Measured on an RTX 3050, Windows 10 19045, with the SDK and DXC on G:: a
retail title went from an access violation at ~40 s (26k root signatures
refused with "Unsupported bit-flag set (root signature flags c00)") to 60 s
without a crash, with the Agility SDK v620 and DXC 1.9.2609.5 loaded from G:.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:04:23 +00:00
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 21:23 UTC · original · edited 2026-11-24 21:44 UTC

Full-suite run, since this PR has no test report yet. Tested exact head 7fb113d (on its base 9039900).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record: 858 passed, 0 failed, 42 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: a_console_drive_mount_leaves_xcls_sdk_folders_but_not_the_whole_drive.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 859 passed, 0 failed, 42 ignored. SKIPPED: heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • Two tests were skipped with --skip on NVIDIA. Both fail on main 7f7e768 too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns their skips into failures. heap_window_out_of_memory_falls_back_to_the_switch_form skips when XCL_HEAP_WINDOWS is unset (#1651), and shaders::tests::pso_measurement_compiles_an_exact_synthetic_record skips because Developer Mode is off on this PC (it cannot disable the driver cache). The AMD run does not set XCL_REQUIRE_GPU, so there both just print SKIPPED.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 21:23 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769#issuecomment-7144869163) · edited 2026-11-24 21:44 UTC Full-suite run, since this PR has no test report yet. Tested exact head `7fb113d` (on its base `9039900`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record`: **858 passed, 0 failed, 42 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `a_console_drive_mount_leaves_xcls_sdk_folders_but_not_the_whole_drive`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **859 passed, 0 failed, 42 ignored**. SKIPPED: `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - Two tests were skipped with `--skip` on NVIDIA. Both fail on main `7f7e768` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns their skips into failures. `heap_window_out_of_memory_falls_back_to_the_switch_form` skips when `XCL_HEAP_WINDOWS` is unset (#1651), and `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` skips because Developer Mode is off on this PC (it cannot disable the driver cache). The AMD run does not set `XCL_REQUIRE_GPU`, so there both just print SKIPPED. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠throny on GitHub · 2026-11-24 22:59 UTC · original

Two contributors checked independently and found that #1136 solves the same problem in a different way: #1607, group D62. You may want to compare them with the other author and agree on one, or say in the PR why both are needed.

This is a hint from the community triage in #1607, not a maintainer decision.

AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.

**@⁠throny** on GitHub · 2026-11-24 22:59 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769#issuecomment-7146876740) <!-- xcl-1607-hint:D62 --> Two contributors checked independently and found that #1136 solves the same problem in a different way: #1607, group D62. You may want to compare them with the other author and agree on one, or say in the PR why both are needed. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 23:14 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified main.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 23:14 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769#issuecomment-7147174839) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified `main`.) Thanks!
Author
Owner

@⁠yeistark on GitHub · 2026-11-24 23:52 UTC · original

Test report for #1769: fixes XCL_DXC_DIR on the PC's D: drive here; it also explains why driver blobs from xcl shaders --precompile --pipelines were never used by xcl run on this machine.

Tree: 9eaaf9b (local, no uncommitted changes) = main 4178e88 + revert of b8b1f49 (#1307) + #1316 (f207df1) + #640 + #1429 + #1279 + this PR (7fb113d).
Hardware / software: NVIDIA RTX A2000 12 GB (wave32), driver 621.14; Ryzen 7 5700; 16 GB RAM; Windows 11 26200; rustc 1.100.0 MSVC, release. DXC 1.9.2609.5 unpacked to D:\dev\dxc\bin\x64; the Windows SDK 10.0.26100.0 on C: has DXC 1.9.2602.17. Default xcl.toml ("D:" = "{game}"). Retail 1.0.2.1.

Tests: cargo test --workspace -- --test-threads=4 on 9eaaf9b: 920 passed, 0 failed, 42 ignored. SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, gpu_compact_native_wave64_form (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (Developer Mode off).

Without this PR (XCL_DXC_DIR=D:\dev\dxc\bin\x64):

  • Every xcl run today loaded DXC: dxcompiler 1.9.2602.17 … from C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64 (e.g. on e617f1f), while xcl shaders with the same variable loaded 1.9.2609.5 from D:\dev\dxc\bin\x64.
  • With a temporary log in dxc::load (not committed): D:\dev\dxc\bin\x64\dxcompiler.dll is not a file inside the title process; \\?\D:\dev\dxc\bin\x64 was redirected too.
  • Consequence: the compute driver blobs written by xcl shaders <pack> --precompile --only cs --pipelines never matched the title's pipelines. dxc -dumpbin of two DXIL files of the same program and size (one from each process) differs only in !{"dxcoob 1.9.2609.5"} vs 1.9.2602.17 and the shader hash. Before I noticed, a run reused 62 blobs and built 36 compute pipelines of > 1 s after #101.
  • Workaround I used: a junction C:\xd → D:\. That loads the right DXC, but with XCL_DXIL_CACHE=C:\xd\XCL-data\dxil the cache writes went to the overlay ([VFS] write to a game file redirected to the overlay: XCL-data\dxil\…), since the junction resolves to D: and the cache is registered under the C: path. So the junction is not a substitute for this PR.

With this PR (XCL_DXC_DIR=D:\dev\dxc\bin\x64, XCL_DXIL_CACHE=D:\XCL-data\dxil, no junction, XCL_RUN_SECONDS=25 XCL_NETWORK=0):

  • DXC: dxcompiler 1.9.2609.5 (01b62ad4), dxil 1.9.2609.5, from D:\dev\dxc\bin\x64
  • 0 redirected to the overlay: XCL-data… lines; 725 compute pipelines came from the driver blobs written by the offline pass.
  • A longer run on the same caches (with the junction, before this PR) built 0 compute pipelines of > 1 s after #101 and skipped 1 dispatch, against 36 builds and ~300 skipped without matching blobs.

Not tested: XCL_D3D12_DIR on D: / G: (I use the inbox D3D12); xcl.exe itself on D: running a title from that folder (mine is under D:\GTA\xcl\target\release, which this PR registers too, but I did not check a case where it mattered); AMD.

**@⁠yeistark** on GitHub · 2026-11-24 23:52 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769#issuecomment-7147882495) **Test report for #1769: fixes `XCL_DXC_DIR` on the PC's `D:` drive here; it also explains why driver blobs from `xcl shaders --precompile --pipelines` were never used by `xcl run` on this machine.** **Tree:** `9eaaf9b` (local, no uncommitted changes) = `main` `4178e88` + revert of `b8b1f49` (#1307) + #1316 (`f207df1`) + #640 + #1429 + #1279 + this PR (`7fb113d`). **Hardware / software:** NVIDIA RTX A2000 12 GB (wave32), driver 621.14; Ryzen 7 5700; 16 GB RAM; Windows 11 26200; rustc 1.100.0 MSVC, release. DXC 1.9.2609.5 unpacked to `D:\dev\dxc\bin\x64`; the Windows SDK 10.0.26100.0 on `C:` has DXC 1.9.2602.17. Default `xcl.toml` (`"D:" = "{game}"`). Retail 1.0.2.1. **Tests:** `cargo test --workspace -- --test-threads=4` on `9eaaf9b`: 920 passed, 0 failed, 42 ignored. SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `gpu_compact_native_wave64_form` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (Developer Mode off). **Without this PR** (`XCL_DXC_DIR=D:\dev\dxc\bin\x64`): - Every `xcl run` today loaded `DXC: dxcompiler 1.9.2602.17 … from C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64` (e.g. on `e617f1f`), while `xcl shaders` with the same variable loaded 1.9.2609.5 from `D:\dev\dxc\bin\x64`. - With a temporary log in `dxc::load` (not committed): `D:\dev\dxc\bin\x64\dxcompiler.dll is not a file` inside the title process; `\\?\D:\dev\dxc\bin\x64` was redirected too. - Consequence: the compute driver blobs written by `xcl shaders <pack> --precompile --only cs --pipelines` never matched the title's pipelines. `dxc -dumpbin` of two DXIL files of the same program and size (one from each process) differs only in `!{"dxcoob 1.9.2609.5"}` vs `1.9.2602.17` and the shader hash. Before I noticed, a run reused 62 blobs and built 36 compute pipelines of > 1 s after `#101`. - Workaround I used: a junction `C:\xd → D:\`. That loads the right DXC, but with `XCL_DXIL_CACHE=C:\xd\XCL-data\dxil` the cache writes went to the overlay (`[VFS] write to a game file redirected to the overlay: XCL-data\dxil\…`), since the junction resolves to `D:` and the cache is registered under the `C:` path. So the junction is not a substitute for this PR. **With this PR** (`XCL_DXC_DIR=D:\dev\dxc\bin\x64`, `XCL_DXIL_CACHE=D:\XCL-data\dxil`, no junction, `XCL_RUN_SECONDS=25 XCL_NETWORK=0`): - `DXC: dxcompiler 1.9.2609.5 (01b62ad4), dxil 1.9.2609.5, from D:\dev\dxc\bin\x64` - 0 `redirected to the overlay: XCL-data…` lines; 725 compute pipelines came from the driver blobs written by the offline pass. - A longer run on the same caches (with the junction, before this PR) built 0 compute pipelines of > 1 s after `#101` and skipped 1 dispatch, against 36 builds and ~300 skipped without matching blobs. **Not tested:** `XCL_D3D12_DIR` on `D:` / `G:` (I use the inbox D3D12); xcl.exe itself on `D:` running a title from that folder (mine is under `D:\GTA\xcl\target\release`, which this PR registers too, but I did not check a case where it mattered); AMD.
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 03:43 UTC · original

PR #1769 compatibility verification

Tested detached head 7fb113d32ca5e09c7d07d08827008b823e4c77d0 on STOR-WINLAB (Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X). Intel Arc A770 16 GiB, driver 32.0.101.9175, wave range 8–32, DoublePrecisionFloatShaderOps=0. DXC and DXIL 1.9.2609.5 via XCL_DXC_DIR, with XCL_ADAPTER=A770. Rust 1.100.0 (0ef1bc386 2026-11-09), unoptimized dev/test profiles with debug info disabled.

Tested

  • cargo build --workspace and cargo test --workspace --no-run both succeeded. All cargo test commands used the shared Arc lock, including test-binary compilation.
  • cargo test -p xcl vfs -- --nocapture returned 23 passed, 0 failed, 0 ignored, and 0 SKIPPED lines. The new regression test verified that an owned SDK DLL path passes through, ordinary paths on the mounted drive still map to the title, and offering the drive root as an exclusion preserves the mount. The same test passed in the full suite.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 exited 101. Summed across 20 result summaries in pr1769-suite.log, libtest reported 841 passed, 18 failed, 42 ignored. The log contains 3 SKIPPED lines (2 no wave64, 1 no heap windows). These markers represent skipped coverage within the reported totals.

Failures

  • 17 GPU library failures. 13 returned CreateComputePipelineState error 0x80070057, including FP64 cases. Four reported mismatches involving FMA overflow, implicit mip LOD, packed f16 writes, and wave reductions.
  • The synthetic title reported a dynamic depth-bias failure in RSSetDepthBiasX. The top-right pixel was blue and the test expected green.

Not tested

Actual Agility SDK and DXC loading from a host directory on a mounted console drive, a retail-title smoke run or baseline on main, other GPUs, Windows 10, the D3D12 debug layer (d3d12SDKLayers.dll absent), or optional game samples (XCL_SAMPLE_* unset).

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1769-suite.log and published this report.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 03:43 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769#issuecomment-7152175728) # PR #1769 compatibility verification Tested detached head `7fb113d32ca5e09c7d07d08827008b823e4c77d0` on STOR-WINLAB (Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X). Intel Arc A770 16 GiB, driver 32.0.101.9175, wave range 8–32, `DoublePrecisionFloatShaderOps=0`. DXC and DXIL 1.9.2609.5 via `XCL_DXC_DIR`, with `XCL_ADAPTER=A770`. Rust 1.100.0 (0ef1bc386 2026-11-09), unoptimized dev/test profiles with debug info disabled. **Tested** - `cargo build --workspace` and `cargo test --workspace --no-run` both succeeded. All `cargo test` commands used the shared Arc lock, including test-binary compilation. - `cargo test -p xcl vfs -- --nocapture` returned 23 passed, 0 failed, 0 ignored, and 0 `SKIPPED` lines. The new regression test verified that an owned SDK DLL path passes through, ordinary paths on the mounted drive still map to the title, and offering the drive root as an exclusion preserves the mount. The same test passed in the full suite. - `cargo test --workspace --no-fail-fast -- --test-threads=4` exited 101. Summed across 20 result summaries in `pr1769-suite.log`, libtest reported **841 passed, 18 failed, 42 ignored**. The log contains **3 `SKIPPED` lines** (2 no wave64, 1 no heap windows). These markers represent skipped coverage within the reported totals. **Failures** - 17 GPU library failures. 13 returned `CreateComputePipelineState` error `0x80070057`, including FP64 cases. Four reported mismatches involving FMA overflow, implicit mip LOD, packed f16 writes, and wave reductions. - The synthetic title reported a dynamic depth-bias failure in `RSSetDepthBiasX`. The top-right pixel was blue and the test expected green. **Not tested** Actual Agility SDK and DXC loading from a host directory on a mounted console drive, a retail-title smoke run or baseline on `main`, other GPUs, Windows 10, the D3D12 debug layer (`d3d12SDKLayers.dll` absent), or optional game samples (`XCL_SAMPLE_*` unset). **AI use** T3 Code / Codex (`gpt-6.2-sol`, `reasoningEffort: high`) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, `gemini-4-neon`) verified counts against `pr1769-suite.log` and published this report.
Author
Owner

@⁠vakaobr on GitHub · 2026-11-25 09:38 UTC · original

Test report from macOS (CrossOver + D3DMetal), head 7fb113d. I opened #1136 for the same problem; this one covers more (the DXC folder and xcl.exe's folder too) and keeps the drive-root guard I'd added there, so I'll close #1136 in favour of this.

Tested

  • MacBook Pro M5 Pro, macOS 27.2.1, CrossOver 26.3 with D3DMetal 3.0, Rosetta 2, Rust 1.100.0 x86_64-pc-windows-gnu, debug.
  • vfs:: tests: 13 passed. agility tests: 8 passed. a_console_drive_mount_leaves_xcls_sdk_folders_but_not_the_whole_drive: passes, and fails (vfs.rs:840) with the drive_root check taken out, so it guards what it says.

One difference from #1136, for you to decide: agility::candidates also looks in %LOCALAPPDATA%\XCL\D3D12, and xcl_folders() doesn't own that folder. It only matters when the user's profile is on a drive letter a console mount names (a profile moved to D:, say), so it may well not be worth a line; #1136 covered it by owning each candidate's D3D12Core.dll.

Not tested: Windows, an end-to-end run with XCL_D3D12_DIR on a mounted drive.

AI use: Claude Code, Claude Opus 5.5 ran the tests on this machine and wrote this report.

**@⁠vakaobr** on GitHub · 2026-11-25 09:38 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769#issuecomment-7158604079) Test report from macOS (CrossOver + D3DMetal), head `7fb113d`. I opened #1136 for the same problem; this one covers more (the DXC folder and xcl.exe's folder too) and keeps the drive-root guard I'd added there, so I'll close #1136 in favour of this. **Tested** - MacBook Pro M5 Pro, macOS 27.2.1, CrossOver 26.3 with D3DMetal 3.0, Rosetta 2, Rust 1.100.0 `x86_64-pc-windows-gnu`, debug. - `vfs::` tests: 13 passed. `agility` tests: 8 passed. `a_console_drive_mount_leaves_xcls_sdk_folders_but_not_the_whole_drive`: passes, and fails (`vfs.rs:840`) with the `drive_root` check taken out, so it guards what it says. One difference from #1136, for you to decide: `agility::candidates` also looks in `%LOCALAPPDATA%\XCL\D3D12`, and `xcl_folders()` doesn't own that folder. It only matters when the user's profile is on a drive letter a console mount names (a profile moved to `D:`, say), so it may well not be worth a line; #1136 covered it by owning each candidate's `D3D12Core.dll`. **Not tested:** Windows, an end-to-end run with `XCL_D3D12_DIR` on a mounted drive. AI use: Claude Code, Claude Opus 5.5 ran the tests on this machine and wrote this report.
Author
Owner

@⁠GodlyBDS on GitHub · 2026-11-26 02:31 UTC · original

Independent confirmation of the host-drive Agility failure on an RTX 3090 Ti

Windows 10 19045, NVIDIA 621.40, SDK v620, retail title 1.0.2.1. I reproduced this with the nvidia-dev integration head 22eb6f21, with the SDK on a native drive whose letter was also a console mount. XCL reported the DLL missing, used inbox D3D12, rejected heap-indexing root flags, and hit the #598 startup crash at 7.594 s.

A small local change that uses native path resolution only during Agility initialization loaded the same SDK, produced translated draws, and reached texture loading before a separate #662 XG failure. The nested native path scope regression passed. This independently confirms the mount collision. The local test uses a different implementation from #1769, and I have not run this PR's exact head.

The complete NVIDIA branch cross-check is in #2572. Thanks for covering the wider configured tool-folder case here.

AI use: OpenAI Codex (GPT-6) helped with the local validation and this report.

**@⁠GodlyBDS** on GitHub · 2026-11-26 02:31 UTC · [original](https://github.com/xcl-dev/xcl/pull/1769#issuecomment-7180886988) **Independent confirmation of the host-drive Agility failure on an RTX 3090 Ti** Windows 10 19045, NVIDIA 621.40, SDK v620, retail title 1.0.2.1. I reproduced this with the `nvidia-dev` integration head `22eb6f21`, with the SDK on a native drive whose letter was also a console mount. XCL reported the DLL missing, used inbox D3D12, rejected heap-indexing root flags, and hit the #598 startup crash at 7.594 s. A small local change that uses native path resolution only during Agility initialization loaded the same SDK, produced translated draws, and reached texture loading before a separate #662 XG failure. The nested native path scope regression passed. This independently confirms the mount collision. The local test uses a different implementation from #1769, and I have not run this PR's exact head. The complete NVIDIA branch cross-check is in https://git.gtahub.st/github/xcl-dev--xcl/pulls/2572. Thanks for covering the wider configured tool-folder case here. AI use: OpenAI Codex (GPT-6) helped with the local validation and this report.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1769/head:github-bot/gh-1769'
git switch 'github-bot/gh-1769'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1769'
git switch 'github-bot/gh-1769'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1769'
git switch 'github-bot/gh-1769'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1769'
git switch 'main'
git merge --squash 'github-bot/gh-1769'
git switch 'main'
git merge --ff-only 'github-bot/gh-1769'
git switch 'main'
git merge 'github-bot/gh-1769'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.