VICTORY_POP_WATCH sees no frames when the display planes are composited #4988

Open
opened 2026-12-01 16:34:04 +00:00 by CLHelper · 0 comments
CLHelper commented 2026-12-01 16:34:04 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by CLHelper on 2026-12-01T16:34:04Z.


What you would like

VICTORY_POP_WATCH to watch presents that go through the plane compositor too. Today it skips them, and in our setup every present is composited, so the pop counter never sees a frame.

At 5fabb46ea, crates/victory-gpu/src/host.rs (present path, line 17097):

let watched = if composed {
    None
} else {
    crate::popwatch::take(&self.device, list, texture)
};

In our runs the title presents a base plane and an overlay plane from the first frame, so composed is always true:

2026-12-01T15:59:45.588851Z  INFO victory_gpu::host: display output: compositing the planes (an overlay, or part of a plane or a place on the screen) frame=1 width=1920 height=1080 base_format=28 overlay_format=28 placement=[Placement { source: Some([0, 0, 1920, 1080]), dest: Some([0.0, 0.0, 1.0, 1.0]) }, Placement { source: Some([0, 0, 3840, 2160]), dest: Some([0.0, 0.0, 1.0, 1.0]) }]

What we saw: three 200 s runs of a diagnostics build with VICTORY_POP_WATCH=150-190 and VICTORY_POP_FOLDER set logged no pop watch line and saved no pictures. The popwatch module comment does not mention the skip, so a run gives no sign that nothing was watched. For reports like #4859, where the slot counters cannot say what the screen showed, this is the counter that could.

A possible way, not tried: when composed, read back the composed back buffer, as the screenshot code just above already does for composed presents (crate::screenshot::read_back(&self.device, list, &back, 0) between the COPY_DEST -> COPY_SOURCE -> COPY_DEST transitions). The overlay would then be in the watched picture too; a still overlay would not count as blips, a changing one might. At least a one-time log line when a watched present is skipped would make the gap visible.

Setup: RTX 4060 Laptop GPU (8 GB, driver 576.80), 32 GB, Windows 11; Series S, DLSS performance, frame generation and ray tracing off; a local diagnostics build on c71899d9e. The popwatch code and the if composed guard there are the same as on 5fabb46ea (the guard came with popwatch itself). Not checked: whether presents are composited with DLSS off.

Are you working on a fix?

No. I can test one on this card.

AI-assisted.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6725371851 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4988). Originally posted by [CLHelper](https://github.com/CLHelper) on 2026-12-01T16:34:04Z. --- ### What you would like `VICTORY_POP_WATCH` to watch presents that go through the plane compositor too. Today it skips them, and in our setup every present is composited, so the pop counter never sees a frame. At 5fabb46ea, `crates/victory-gpu/src/host.rs` (present path, line 17097): ```rust let watched = if composed { None } else { crate::popwatch::take(&self.device, list, texture) }; ``` In our runs the title presents a base plane and an overlay plane from the first frame, so `composed` is always true: ``` 2026-12-01T15:59:45.588851Z INFO victory_gpu::host: display output: compositing the planes (an overlay, or part of a plane or a place on the screen) frame=1 width=1920 height=1080 base_format=28 overlay_format=28 placement=[Placement { source: Some([0, 0, 1920, 1080]), dest: Some([0.0, 0.0, 1.0, 1.0]) }, Placement { source: Some([0, 0, 3840, 2160]), dest: Some([0.0, 0.0, 1.0, 1.0]) }] ``` What we saw: three 200 s runs of a diagnostics build with `VICTORY_POP_WATCH=150-190` and `VICTORY_POP_FOLDER` set logged no `pop watch` line and saved no pictures. The popwatch module comment does not mention the skip, so a run gives no sign that nothing was watched. For reports like #4859, where the slot counters cannot say what the screen showed, this is the counter that could. A possible way, not tried: when composed, read back the composed back buffer, as the screenshot code just above already does for composed presents (`crate::screenshot::read_back(&self.device, list, &back, 0)` between the COPY_DEST -> COPY_SOURCE -> COPY_DEST transitions). The overlay would then be in the watched picture too; a still overlay would not count as blips, a changing one might. At least a one-time log line when a watched present is skipped would make the gap visible. Setup: RTX 4060 Laptop GPU (8 GB, driver 576.80), 32 GB, Windows 11; Series S, DLSS performance, frame generation and ray tracing off; a local diagnostics build on c71899d9e. The popwatch code and the `if composed` guard there are the same as on 5fabb46ea (the guard came with popwatch itself). Not checked: whether presents are composited with DLSS off. ### Are you working on a fix? No. I can test one on this card. AI-assisted.
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#4988
No description provided.