Timeline: VICTORY_TIMELINE writes what it has when no present comes for 10 s (VICTORY_TIMELINE_STALL, 0 off) #1652

Manually merged
github merged 4 commits from github-bot/gh-1652 into main 2026-11-29 08:21:27 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 23:04 UTC · original
101Leafy:nv/timeline-stall → main · +77 −32 · 12 files · 4 commits · merged 2026-11-29 08:16 UTC

What it changes

VICTORY_TIMELINE writes its trace when the frames it was asked for are done. When the game hangs before that, no present comes. Then nothing is written, on the run where the trace would help most. A victory-stall thread now looks every 250 ms at the time of the last present. After VICTORY_TIMELINE_STALL seconds without one (default 10; 0 turns it off) it writes what was recorded so far, with .stall in the file name. The doc line in timeline.rs says so.

How it was tested

  • Tested on: RTX 5080 16 GB on Windows 10
  • Built with clippy only, not run in a game yet.
  • Before: a hang during a VICTORY_TIMELINE recording left no trace.
  • After: the trace up to the hang is written 10 s after the last present.
  • For shader changes, the wave sizes tested: not a shader change.
  • cargo clippy -p victory-gpu --all-targets gives no warnings in the timeline files.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none.
**@⁠101Leafy** on GitHub · 2026-11-28 23:04 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1652) `101Leafy:nv/timeline-stall` → `main` · +77 −32 · 12 files · 4 commits · merged 2026-11-29 08:16 UTC ## What it changes `VICTORY_TIMELINE` writes its trace when the frames it was asked for are done. When the game hangs before that, no present comes. Then nothing is written, on the run where the trace would help most. A `victory-stall` thread now looks every 250 ms at the time of the last present. After `VICTORY_TIMELINE_STALL` seconds without one (default 10; 0 turns it off) it writes what was recorded so far, with `.stall` in the file name. The doc line in `timeline.rs` says so. ## How it was tested - Tested on: RTX 5080 16 GB on Windows 10 - Built with clippy only, not run in a game yet. - Before: a hang during a `VICTORY_TIMELINE` recording left no trace. - After: the trace up to the hang is written 10 s after the last present. - For shader changes, the wave sizes tested: not a shader change. - `cargo clippy -p victory-gpu --all-targets` gives no warnings in the timeline files. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 23:08:07 +00:00
github-bot force-pushed github-bot/gh-1652 from 72aafc6a6a to 2a4aafc373 2026-11-29 01:46:46 +00:00 Compare
github manually merged commit 1f19161114 into main 2026-11-29 08:21:27 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1652
No description provided.