XGameRuntime: save blobs beyond the Windows path limit #1846
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1846
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1846"
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?
@gloger2003 on GitHub · 2026-11-24 21:44 UTC · original
gloger2003:fix/gamesave-long-path→main· +61 −4 · 2 files · 1 commits · openFixes #722. XGameSave could write the sibling temporary file, then fail to move it into place when the save path exceeded Windows' legacy path limit. Normalize the paths and pass their extended-length forms to the existing atomic replace.
What is in it
gamesave.rspreserves the existing replace and write-through flags, and tests creating and replacing a long-path blob and converting Windows path forms.README.mdnotes that long Windows save paths are supported.Tested
E_FAIL. All 12 XGameSave tests passed with the change.cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-output: 891 passed, 0 failed, 42 ignored. The heap-window fallback test skipped with the opt-in off and passed in a separate real-GPU run with heap windows enabled.Regression run
Minecraft Preview, the same 1× MSAA settings in both runs. The baseline's first run with default settings stopped at startup after a device removal.
Not tested
AI use
@frenziedcoder on GitHub · 2026-11-24 22:05 UTC · original
NVIDIA test report for
20b51dc: full suite green, the PR's 2 own tests pass (atomic_save_creates_and_replaces_a_blob_past_max_path,move_paths_preserve_windows_path_forms), and a clean smoke pair on the retail title (1653 vs 1649 frames).Tested
stable-x86_64-pc-windows-msvc, DXC 1.8.2502.11 (SDK 10.0.26100.0). Exact head20b51dc577d68963b0ddfcce310952777fa5c63c, no local changes.cargo build --workspace && cargo test --workspace -- --test-threads=4(debug): 891 passed, 0 failed, 42 ignored; the PR's 2 own tests pass (atomic_save_creates_and_replaces_a_blob_past_max_path,move_paths_preserve_windows_path_forms). 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).test_title_draws_with_a_root_signature_under_the_debug_layerreports ok, but this machine has no D3D12 debug layer (debug layer requested but unavailable … (0x887A002D)), so it ran without the layer and is no evidence either way.Regression run (
scripts/smoke.ps1 -Seconds 60, release, the retail title of #505 at its start screen;XCL_PSO_PRELOAD=0for both builds, because this machine's preload list holds the program of #1307)base (
b9b6ea6, this PR's merge base withmain):this PR:
Not tested: the world load (the smoke runs stop at the start screen, so code that only runs later is not exercised there); AMD.
AI use: Claude Code (Claude Opus 5.5) built and ran the tests and smoke runs on my machine and wrote this report; I checked it.
@DavidM1911 on GitHub · 2026-11-25 01:15 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 / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@JJAutoCompare on GitHub · 2026-11-25 03:02 UTC · original
PR #1846 — XGameRuntime long-path save verification
Verified
20b51dc577d68963b0ddfcce310952777fa5c63con STOR-WINLAB. The PR supplies absolute, extended-length Windows paths for both operands of the atomicMoveFileExWblob replacement.Environment
Windows 11 Enterprise Evaluation build 26200.9974, Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175,
DoublePrecisionFloatShaderOps=0, wave sizes 8–32). Rust 1.100.0 (0ef1bc386), DXC/DXIL 1.9.2609.5. Debug/test profiles with debug info and incremental compilation disabled.XCL_ADAPTER=A770.Tested
cargo build --workspaceandcargo test --workspace --no-runboth passed.cargo test -p xcl hle::xgameruntime::gamesave::tests:: -- --nocapture— 12 passed, 0 failed, 0 ignored. Both new tests also passed in the workspace suite.atomic_save_creates_and_replaces_a_blob_past_max_pathverified both writes returnedS_OKand read back the expected bytes at a path of at least 260 UTF-16 code units.move_paths_preserve_windows_path_formsverified drive-path normalization and conversion or preservation of UNC path strings.cargo test --workspace --no-fail-fast -- --test-threads=4ran once under the shared Arc lock and exited 101. Summed across 20 harness summaries, Cargo reported 873 passed, 18 failed, 42 ignored. The log contains 4SKIPPEDlines. Those tests contributed to Cargo's pass count and provide no coverage.Failures and skips
0x80070057fromCreateComputePipelineState, including FP64 cases. Four had result mismatches in FMA, mip sampling, FP16 high-half preservation, and whole-wave reductions.0x80070490).Not tested
Live UNC writes, retail-title smoke on main or PR head, optional game samples, other GPUs, and D3D12 debug-layer coverage (missing
d3d12SDKLayers.dll). No baseline suite was run to establish whether the failures predate the PR.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 againstpr1846-suite.logand published this report.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.