Repository navigation
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
Mounts the running package's PLS as an XPackage mount handle (path via XPackageGetMountPath(Size), closed with XPackageCloseMountHandle). Any other package has no PLS offline and gets HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), as the GDK reference documents for a title whose PLS does not exist. Null out, null or empty identifier give E_INVALIDARG. Assisted-by: Claude Code (Claude Opus 5.5)
e024c86 to
1d99a18
Compare
|
Linux / AMD RDNA3 datapoint. Merged state: head 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:
Not tested: retail titles (none here), Windows, RDNA4. 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 AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
Empirical test report (1d99a18)Hardware / environment
Commands and results
Observed behavior
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 |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
…rt upstream xcl-dev#843 + xcl-dev#845, Windows verbatim + Linux PLS twin) Windows hunks verbatim reference-only (hle is cfg(windows), 0 tests run on Linux): xcl-dev#843 (7437237) api.rs/mod.rs export rows (slots 18-20 of bf2346b2) + networking.rs config consts/defaults/atomics + Query/Set + 40-byte stats struct + QueryStatistics + 2 tests; xcl-dev#845 (1d99a18) api.rs/mod.rs xpls export row (slot 8 of 41a4e10c) + MountForPackage (running-game PLS as XPackage Mount, FILE_NOT_FOUND otherwise) + test. Fidelity: all 75 unique xcl-dev#843 networking + lines and all xcl-dev#845 + lines grep present, zero missing. Linux live twin for xcl-dev#845 in hle/xgameruntime_api_linux.rs (win64 ABI, shared Mount + Close handle, xu::pls_path via new pub(crate) visibility): null-out/empty-id E_INVALIDARG, case-insensitive package match, hresult_from_win32(2) otherwise, LIVE_MOUNTS-balanced; wired into xpls() (slot 8, covered by every_impl_is_in_its_gdk_class) + twin test mirroring upstream incl. GetPath round-trip equality pin. xcl-dev#843 has NO Linux twin: the Linux XNetworking shims (xtaskqueue_linux.rs) are fixed-value offline stubs with no socket layer, so a persisted TCP buffer limit / zeroed stats partition would be stored-but-never-consumed; unwired slots stay logged E_NOTIMPL until a Linux socket layer lands (same category as steps-56/57 reference-only). Failing-first: twin test + wiring landed before the fn -> E0425 red; green post-fix (1/1). Windows tests red by HEAD~1 code reading (no QueryConfigurationSetting/MountForPackage symbols pre-fix) - cfg(windows)-only, 0 tests on Linux, step-44/56 precedent. Gates: both cargo checks 0 errors; lib 669/0/1 t=4 (+1 twin, zero regressions); diff --check clean. Title fresh-root: done failures 12, 12 unique FAILs all D3D12.X GPU-only, 0 non-GPU, ExitProcess(0xc). Retail fresh-root: SIGSEGV game_scarlett_master.exe+0x2237320 fault 0x0 unmapped exit 139, called_stubs 20, xgr exactly 3 apis, unimplemented {} - HOLDS, M1-RE TERMINAL.
Implements
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