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 |
Draft pending
scripts/smoke.ps1regression blocks on a retail title (welcome from anyone with a title, or will be added once available).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).Not tested
scripts/smoke.ps1regression runs on a retail title (hence draft), AMD/wave64 hardware, release build, and 30 s idle worker exit timing.AI use