Repository navigation
Conversation
|
Independent Windows 11 hardware + WARP verification of #2479 at
Not tested: live game workload / frame pacing soak test. AI-assisted test run and summary. |
catminou4
left a comment
There was a problem hiding this comment.
Synchronize frame interval resets with tick reservations. Static review only: victory-gpu/victory-hle are Windows-only (D3D12/windows-sys); not compiled or tested on this macOS arm64 host. rustc 1.98.1.
Native AMD / Windows 10 validationCPU: AMD Ryzen 5 3600X
Tested commit: 30a5f1d Full GPU suite and live gameplay frame pacing AI-assisted development (ChatGPT). |
|
I combined this PR at In a two-thread synthetic check, I paused the interval reset just before it acquired the clock mutex, reserved tick 1, then let the reset finish. The next reservation requested tick 2. With #2877 alone it waited 14 ms after switching to a 7 ms interval. With this PR's locking applied to The eight-thread test now uses the virtual clock and checks that eight simultaneous reservations get ticks 1 through 8, a zero-timeout poll takes none, and the first tick after the reset uses the new interval. All three frame tests passed in 30 separate processes. On WARP 1.0.22 with Agility 1.620.2, the full GPU diagnostics suite had 247 passed and one ignored with the D3D12 debug layer off and on. Strict GPU Clippy in both configurations and the asset policy passed. Please retain the original Git authors if carrying either change separately. If folding the integration changes into another commit, please add |
set_intervalreads the last reserved ticks before acquiringCLOCK. A concurrentnext_tickcan reserve another tick in between, leaving the new interval anchored to an older tick and potentially adding an interval to the next wait for that event kind.Hold the same
CLOCKlock around theLASTscan and the clock replacement. This keeps interval resets ordered with the reservations introduced in #174.Verified that the patch is one commit on upstream
mainand only changesframe.rs. Rust tests were not run locally. No title data was used.