GPU: synchronize frame interval resets with tick reservations #2479
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2479
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2479"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@VlREX on GitHub · 2026-11-25 14:27 UTC · original
VlREX:fix/frame-interval-clock-lock→main· +33 −7 · 1 files · 3 commits · draftset_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.@Bj0rnis on GitHub · 2026-11-25 14:41 UTC · original
Independent Windows 11 hardware + WARP verification of #2479 at
b5e0caab(cleangit merge-treewithorigin/main940d32f6, Rust 1.98.1 MSVC):cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1-> 144 passed, 2 failed, 2 ignored (only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present onmain940d32f6; allframe::testspassed).VICTORY_D3D12_WARP=1): 146 passed, 0 failed, 2 ignored (0.99s).cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings-> 0 warnings.cargo xtask policy-> 182 files ok.Not tested: live game workload / frame pacing soak test.
AI-assisted test run and summary.
@VlREX on GitHub · 2026-11-25 21:03 UTC · original
Native AMD / Windows 10 validation
CPU: AMD Ryzen 5 3600X
GPU: Radeon RX 5700 XT
Driver: 32.0.21045.29003
OS: Windows 10 Pro 19045
Rust: 1.98.1
Tested commit:
30a5f1dFull GPU suite and live gameplay frame pacing
were not tested in this run.
AI-assisted development (ChatGPT).
Native verification using VIREX Test Studio 1.2.1.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.