Repository navigation
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
0aac79f to
e88ee4d
Compare
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, 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. |
|
Regression run of Against the limits in CONTRIBUTING.md: 100 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
NVIDIA test report for
AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run. |
, verbatim Windows + Linux twin) Live pr805head=e88ee4d1 still OPEN (merge-base false); Windows hle/xgameruntime/taskqueue.rs hunks hand-applied byte-identical (cherry-pick -n conflicted at the shared test-site tail: steps-49/50 tests moved the append anchor; production + test hunks verified identical to the head by direct diff, only line numbers drift). Fidelity: git diff pr805head shows only steps-49/50 drift (xcl-dev#1276/xcl-dev#1681 timer, xcl-dev#1154 terminate); pool block + mpsc test import + new test byte-identical. Production: fixed clamp(2,8) mpsc pool -> Pool{Mutex<PoolState>,Condvar, base} + MAX_WORKERS=256 + IDLE_EXIT 30s + worker loop + spawn wake-idle-else-grow with rollback + notify on spawn failure. Linux live twin hle/xtaskqueue_linux.rs mirrors the production hunks (ABI-neutral pool; win64 ABI untouched) + 1 Linux-shaped twin test (16 blockers + releaser through wait=true Terminate, extern win64). Failing-first: twin test FAILED pre-fix (7 vs 16, releaser starved on the fixed 8-worker pool), green post-fix. Gates: both cargo checks 0 errors; lib 652/0/1 t=4 (+1); diff --check clean; lock audit clean (named g/ng guards, explicit drop before job). Title fresh-root 12 unique FAILs all D3D12.X GPU-only 0 non-GPU (harness FAILs by design, M2 baseline). Retail fresh-root SIGSEGV game_scarlett_master.exe +0x2237320 fault 0x0 unmapped exit 139 stubs 20 xgr exactly XAsync/XNetworking/XUser unimplemented [] - HOLDS, M1-RE TERMINAL.
ThreadPoolandSerializedThreadPoolports share a single fixed pool ofavailable_parallelism().clamp(2, 8)workers fed by anmpscchannel. When that many callbacks block simultaneously (for example, waiting on an event set by a later callback or onXAsyncwork queued to the same pool), no other thread-pool callback can run and the title hangs. The Windows system thread pool grows on demand when work items block.What is in it
crates/xcl/src/hle/xgameruntime/taskqueue.rs: replaces the fixedmpscpool withMutex<PoolState>+Condvar.spawn()wakes an idle worker wheng.idle >= g.queue.len(), otherwise starts a new worker up toMAX_WORKERS = 256(rolling backworkersand notifying on spawn failure). Excess workers abovebase(available_parallelism().clamp(2, 8)) exit after 30 s idle.thread_pool_callbacks_finish_when_more_block_than_there_are_cores(blocks2 * base + 1callbacks and verifies the releasing callback queued last runs within 2 s).taskqueue.rs(waiter tracking / termination), not the worker pool.Tested
617.42/32.0.16.1742), Windows 11 Pro 25H2 (26200.9974), D3D12 debug layer installed (d3d12SDKLayers.dll),rustc 1.100.0 (0ef1bc386 2026-11-09)MSVC, DXC from Windows SDK10.0.26100.0, debug build.maind208e14):thread_pool_callbacks_finish_when_more_block_than_there_are_coresfailed after 4.00 s (left: 7, right: 16, confirming pool starvation).42486b2/ pushed head0aac79f):cargo build --workspace && cargo test --workspace -- --test-threads=4gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware(no wave64).Regression run
Smoke run by @Toons29 in comment below: #805 (comment)
Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted.
main:
PR:
Tester's setup and limits: AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.Tester's AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; the tester checked the blocks before posting.Not tested
AI use