XGameRuntime: implement XPersistentLocalStorageMountForPackage #845
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!845
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-845"
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?
@mastrr9 on GitHub · 2026-11-24 06:39 UTC · original
mastrr9:feat/xgameruntime-pls-mount-for-package→main· +47 −1 · 2 files · 1 commits · openImplements
XPersistentLocalStorageMountForPackage(slot 8 of41a4e10cingdk_table.rs, previously returningE_NOTIMPL) and registers it in bothapi.rsandmod.rsexports:pls_path()) as a standardXPackageMounthandle compatible withXPackageGetMountPathSize,XPackageGetMountPath, andXPackageCloseMountHandle(case-insensitive package identifier match).HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)for any other package identifier, andE_INVALIDARGfor a null out-pointer or null/empty identifier (clearing*outto null first).pls_mounts_for_the_running_package_only.Tested
617.42/32.0.16.1742), Windows 11 Pro 25H2 (26200.9974),rustc 1.100.0 (0ef1bc386 2026-11-09)MSVC debug, DXC Windows SDK10.0.26100.0,d3d12SDKLayers.dllinstallede024c8610a44732af7f7188a4e9e1e5bd30913f6cargo build --workspace: clean (only pre-existingfetch_updatedeprecation warning)cargo test --workspace -- --test-threads=4: 714 passed, 0 failed, 41 ignored (new testhle::xgameruntime::tests::pls_mounts_for_the_running_package_onlypassed)SKIPPEDGPU tests:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64Not tested
scripts/smoke.ps1) not yet run (no retail title available in this clean-room environment); opened as Draft pending a smoke run.AI use
@futurepro62 on GitHub · 2026-11-24 07:06 UTC · original
Full-suite run, since this PR has no test report yet. Tested exact head
e024c86(on its basebeaa245).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 714 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.pls_mounts_for_the_running_package_only.Not tested
AI use
@SlopTart on GitHub · 2026-11-24 08:09 UTC · original
Linux / AMD RDNA3 datapoint.
Merged state: head
e024c86onto main1ec4c98(lane mergec9e2fca).The first lane run died mid-lib with no panic (transient Wine/Wine-X hiccup - same rig artifact as my batch-1 #818 note). Isolated reruns are clean and this is the honest row:
--test-threads=4: 668 passed, 7 failed, 21 ignored - exactly the known Wine-lane set from my #42 rows, zero flakes.e2e,pls_quota,predication_e2etargets: each fails only on its known Wine-lane signature (test_title_runs...,disk_free_space_ex_reports_pls_quota,set_predication_buffer_state_and_kickoff).XPersistentLocalStorageMountForPackagetests green here.Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@JJAutoCompare on GitHub · 2026-11-25 05:45 UTC · original
Empirical test report (
1d99a186)Hardware / environment
1.100.0 (0ef1bc386 2026-11-09)and DXC1.9.2609.5 (01b62ad47). Cargo test profile was unoptimized, with debug info and incremental compilation disabled.1d99a18670874eec996fa169fabab0c8b4b06155for xcl-dev/xcl PR #845. Both commands ran outsideInvoke-ArcTest.ps1, with no Arc GPU mutex held. The focused run usedXCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1.Commands and results
cargo test --workspace --no-runexited 0. It built the workspace test executables without executing them.cargo test -p xcl --lib hle::xgameruntime::tests::pls_mounts_for_the_running_package_only -- --exact --nocaptureexited 0. Focused log counts were 1 passed, 0 failed, 0 ignored, 0 skipped. The harness filtered out 693 tests.Observed behavior
E_INVALIDARG. It checked that the output handle was null after the null-identifier call.HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)and left a null output handle. The runtime logged that the package was unavailable.S_OKand a non-null mount handle.XPackageGetMountPathSizeandXPackageGetMountPathretrieved the path, which matched the runtime's persistent local storage path. The test then calledXPackageCloseMountHandle.Not tested
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr845-focused.logand published.@DavidM1911 on GitHub · 2026-11-25 10:27 UTC · original
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!
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.