Lockstep title clock: design exists, no implementation and two open decisions #254
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory#254
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@TheRifai on GitHub · 2026-12-02 16:29 UTC · original
Finding (TASKS "Lockstep title clock", line 1003)
Seen on: main
9d4e2f1(repo inventory). The design is written up indocs/learnings/picture-gate.mdsection A (~15 time-import wrappers,VICTORY_CLOCK=lockstep, shots keyed by title frame), but novictory_gpu::vclockmodule orVICTORY_CLOCKtoggle exists in the tree:grep -rn 'vclock|VICTORY_CLOCK' crates greenfieldreturns nothing. Today the title clock comes from Wine's QPC at several sites (PE watchervklive.rs:100-110, D3D12queue.rs:833-887, GameInputgameinput.rs:379-383) and the key script is wall-clock (VICTORY_KEYS_FILE, 100 ms polling).I did not implement the smallest slice (the clock module + one import wrapper): it would be inert without the frame-event clock offset and the frame-keyed shot request, and the design leaves one open question that changes the approach — whether the title's game time comes from RDTSC and must be trapped, plus whether the GPU clock must become synthetic. Those need a decision and a console reference, not a guess. No code change from me.
Next
Decide the scope (one wrapper as a spike vs the full clock), then land the module with the import hook and the frame-event offset together; the picture gate and key script need to consume the frame-based interface before it gives repeatable shots.