Every dropped draw named with a reason (#754) #800

Closed
oVolkra wants to merge 1 commit from upstream-pr/800 into main
oVolkra commented 2026-11-28 06:17:06 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by oVolkra on 2026-11-28T06:17:06Z.


Refs #754. Not a fix for the missing geometry: it makes every dropped draw say why, so a log can show where the ~425 a frame come from.

What the #754 log shows (RTX 4070 Laptop, release build, 145 frame lines)

  • The left-out count equals the indirect count + 1 in every frame line. So the ~425 direct drops a frame are not ray-tracing passes left out on purpose.
  • "being made" is 0, and the log has no "host pipeline refused", "no host pipeline" or bind warning. Only one shader does not translate (compute 6b82bc7d, a dispatch).
  • What is left are paths in State::prepare_for / bind that return false without logging anything.
  • The 29 "pipeline creation method that is not implemented" warnings (device slots 0x1c8/0x218) are the same on the RTX 2070 SUPER in the issue, which drops 62 a frame. They do not explain the difference.

Changes

  • Diagnostics builds: note_drop always records a reason. A draw or dispatch that has a host pipeline but fails while being prepared is named has a host pipeline; a binding or buffer could not be given: <hashes>. Before, these drops counted in the frame line's total but appeared in no per-reason line, so the lines did not add up. A dispatch that could not be bound is now noted too.
  • Every build: the silent drops warn once: a draw with no pipeline set, an indexed draw whose index buffer has no host copy, and a root UAV or SRV that found no free dynamic view slot.

Checked

  • cargo test -p victory-gpu --features diagnostics --lib -- pipeline::make: 9 passed, including the new every_dropped_draw_has_a_reason.
  • cargo check -p victory-gpu (no features) builds.
  • Not run in the game: there is no diagnostics log from an affected card yet.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5537386003 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800). Originally posted by [oVolkra](https://github.com/oVolkra) on 2026-11-28T06:17:06Z. --- Refs #754. Not a fix for the missing geometry: it makes every dropped draw say why, so a log can show where the ~425 a frame come from. **What the #754 log shows** (RTX 4070 Laptop, release build, 145 frame lines) - The left-out count equals the indirect count + 1 in every frame line. So the ~425 direct drops a frame are not ray-tracing passes left out on purpose. - "being made" is 0, and the log has no "host pipeline refused", "no host pipeline" or bind warning. Only one shader does not translate (compute 6b82bc7d, a dispatch). - What is left are paths in `State::prepare_for` / `bind` that return false without logging anything. - The 29 "pipeline creation method that is not implemented" warnings (device slots 0x1c8/0x218) are the same on the RTX 2070 SUPER in the issue, which drops 62 a frame. They do not explain the difference. **Changes** - Diagnostics builds: `note_drop` always records a reason. A draw or dispatch that has a host pipeline but fails while being prepared is named `has a host pipeline; a binding or buffer could not be given: <hashes>`. Before, these drops counted in the frame line's total but appeared in no per-reason line, so the lines did not add up. A dispatch that could not be bound is now noted too. - Every build: the silent drops warn once: a draw with no pipeline set, an indexed draw whose index buffer has no host copy, and a root UAV or SRV that found no free dynamic view slot. **Checked** - `cargo test -p victory-gpu --features diagnostics --lib -- pipeline::make`: 9 passed, including the new `every_dropped_draw_has_a_reason`. - `cargo check -p victory-gpu` (no features) builds. - Not run in the game: there is no diagnostics log from an affected card yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
frogman912 commented 2026-11-28 06:36:34 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by frogman912 on 2026-11-28T06:36:34Z.


Thanks, happy to test this build on the 4070 Laptop as soon as it's merged or if you want a run from the branch

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7235405461 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7235405461). Originally posted by [frogman912](https://github.com/frogman912) on 2026-11-28T06:36:34Z. --- Thanks, happy to test this build on the 4070 Laptop as soon as it's merged or if you want a run from the branch
ArturoWolff commented 2026-11-28 08:26:35 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArturoWolff on 2026-11-28T08:26:35Z.


Actual loading-stage diagnostics check on RTX 4060 8 GB / 16 GB RAM, Linux, NVIDIA 620.73.04, GE-Proton11-14 / vkd3d-proton 3.2.0. Thanks for the extra drop-reason coverage.

Built the exact three-file change from a93fabb71944f9ee1715009d4a9a2e68951d4b21 onto 63b902fe1720a5188ee79d94a88c8de0470f6349 with the same retained Linux backing/DXC fixes. MSVC release build with the diagnostics feature. Series X 1080to1440, DLSS/FG off, 30 cap, full requested effects and ordinary synchronization/write-back. Same isolated starting profile; fresh external caches. Effective settings match the prior retained control, but that control was not a diagnostics-feature build, so this is not an isolated performance comparison.

Observed in the actual launch:

  • Ten periodic diagnostic frame summaries, all with zero rounded integer aggregate direct and indirect drops/frame. One per-reason line: dropped 0.1/frame without a host pipeline: being made (08:23:43 UTC); the missing-host-dispatch warning appeared about five seconds earlier. This is compatible with rounding in the aggregate line, not contradictory counts.
  • No has a host pipeline; a binding or buffer could not be given reason and none of the four new once-only warnings (no pipeline set, missing index-buffer host copy, root UAV or SRV dynamic slot unavailable).
  • Same first-story loading failure as our earlier reports: artwork to black FPS overlay, child exit 5. Runtime 126.829 s versus 124.983 s on retained .01; minimum available host RAM 2343.7 versus 2331.2 MiB. No guard stop, OOM increment, recorded GPU fault or reported device/fence error.

This checks that the diagnostics output is active under Proton. It does not replicate #754's thousands of in-world draws or its large dropped-draw count. The local periodic observations do not support a sustained high-volume binding/slot failure during loading. The summaries stop with frame progress, round their rates, and only print the top 40 reasons; absence in these samples is not proof that every dispatch completed or that the new warning branches were exercised. No in-world fidelity or FPS claim.

AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7236585671 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7236585671). Originally posted by [ArturoWolff](https://github.com/ArturoWolff) on 2026-11-28T08:26:35Z. --- Actual loading-stage diagnostics check on RTX 4060 8 GB / 16 GB RAM, Linux, NVIDIA 620.73.04, GE-Proton11-14 / vkd3d-proton 3.2.0. Thanks for the extra drop-reason coverage. Built the exact three-file change from `a93fabb71944f9ee1715009d4a9a2e68951d4b21` onto `63b902fe1720a5188ee79d94a88c8de0470f6349` with the same retained Linux backing/DXC fixes. MSVC release build with the `diagnostics` feature. Series X 1080to1440, DLSS/FG off, 30 cap, full requested effects and ordinary synchronization/write-back. Same isolated starting profile; fresh external caches. Effective settings match the prior retained control, but that control was not a diagnostics-feature build, so this is not an isolated performance comparison. Observed in the actual launch: - Ten periodic diagnostic frame summaries, all with zero **rounded integer** aggregate direct and indirect drops/frame. One per-reason line: `dropped 0.1/frame without a host pipeline: being made` (08:23:43 UTC); the missing-host-dispatch warning appeared about five seconds earlier. This is compatible with rounding in the aggregate line, not contradictory counts. - No `has a host pipeline; a binding or buffer could not be given` reason and none of the four new once-only warnings (no pipeline set, missing index-buffer host copy, root UAV or SRV dynamic slot unavailable). - Same first-story loading failure as our earlier reports: artwork to black FPS overlay, child exit 5. Runtime 126.829 s versus 124.983 s on retained `.01`; minimum available host RAM 2343.7 versus 2331.2 MiB. No guard stop, OOM increment, recorded GPU fault or reported device/fence error. This checks that the diagnostics output is active under Proton. It does not replicate #754's thousands of in-world draws or its large dropped-draw count. The local periodic observations do not support a sustained high-volume binding/slot failure during loading. The summaries stop with frame progress, round their rates, and only print the top 40 reasons; absence in these samples is not proof that every dispatch completed or that the new warning branches were exercised. No in-world fidelity or FPS claim. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
trustno1-coder commented 2026-11-28 19:23:30 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T19:23:30Z.


Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7244508805 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7244508805). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T19:23:30Z. --- Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request.
frogman912 commented 2026-11-28 20:23:23 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by frogman912 on 2026-11-28T20:23:23Z.


No worries @trustno1-coder I will keep updating and testing as new updates come out thanks for the response! Keep up the good work man.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7245250346 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7245250346). Originally posted by [frogman912](https://github.com/frogman912) on 2026-11-28T20:23:23Z. --- No worries @trustno1-coder I will keep updating and testing as new updates come out thanks for the response! Keep up the good work man.

Pull request closed

Sign in to join this conversation.
No reviewers
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!800
No description provided.