Repository navigation
XGameRuntime: synchronize device association registration and unregister (#1389) - #1418
hajduzsolt wants to merge 1 commit into
Conversation
|
Regression run for this PR: head main this PR: No device removals or crashes; 104 % of main's frames, 100 % of its peak commit. Both runs' peak commit is high because of this machine's pipeline preload list at the time (the same on Not tested: the whole suite; whether the title reaches the changed code in these 60 s. Written with Claude Code (Claude Opus 5.5) from runs on this machine. |
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
…README Integrates 12 additional open upstream PRs on top of upstream/main (b7aa9f3): - xcl-dev#1432: GFX10 to DXGI format mappings, depth SRVs, and byte sizing - xcl-dev#1447: Arena::take overflow/alignment and Uma::free pool validation - xcl-dev#1441: drop SC_KEYMENU so the window is never frozen in menu mode - xcl-dev#1431, xcl-dev#1436: TLS directory sizing/alignment and RegisterClassExA checks - xcl-dev#1430, xcl-dev#1446: XGameSave quota/URL and XAudio2 XMA channel validation - xcl-dev#1415, xcl-dev#1433: VFS merged-directory sync and CreateFile2 checks - xcl-dev#1418: XGameRuntime device association synchronization - xcl-dev#1410, xcl-dev#1413: wave64 form logging and XCL_SAFE_BARRIER cache bypass Also removes duplicate a_huge_constant_count_has_no_layout test left from pre-applying xcl-dev#1290 before upstream merged it, and updates README.md. Verified under GE-Proton11-14 (RX 9060 XT / RADV): - Release build (x86_64-pc-windows-msvc): ok (22.05s) - Proton unit test sweep across all merged/touched modules: 209 passed, 2 failed (known Wine/vkd3d-proton diffs: xma2_source_voice current_buffer_context before Start, and vkd3d-proton accepting UNORDERED_ACCESS without UAV flag), 1 ignored, 0 skipped.
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Two contributors checked independently and found that #1583 #1753 solves the same problem (for #1389) in a different way: #1607, group D58. 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. |
…cl-dev#1753, Windows verbatim + Linux twin) Windows hle/xgameruntime/mod.rs is the upstream hunk verbatim (reference-only on Linux): AssociationCall gains token + Queued/ Running/Done state + condvar, ASSOCIATION_CALLS liveset tracks in-flight callbacks; association_call skips canceled/non-queued records, unregister marks queued ones Done and with wait=true joins running ones. Upstream test ported verbatim. Linux twin hle/xuser_linux.rs mirrors the same state machine on xtaskqueue_linux (win64 ABI, submit_now bool path) with a Linux-shaped twin test (manual queue + dispatch + token+1 pin). Triage per keeper (land ONE, xcl-dev#1753 preferred): xcl-dev#1583 closes with citation (its +2 is a comment on its own competing stopped/in_flight registry, which stays out); xcl-dev#1418 stays out (Entry/manager + running_threads + unknown-token-false + re-entrant self-skip is the competing design; xcl-dev#1753 keeps the existing always-true unregister).
What is in it
Tested
cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 37 ignored (SKIPPED GPU tests: none)cargo test -p xcl --lib hle::xgameruntime: 77 passed, 0 failedRegression run
main:
PR:
Not tested
AI use