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

Closed
github-bot wants to merge 1 commit from github-bot/gh-800 into main AGit
Owner

@⁠oVolkra on GitHub · 2026-11-28 06:17 UTC · original
oVolkra:drop-reasons-754 → main · +46 −9 · 3 files · 1 commits · closed without merging

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

**@⁠oVolkra** on GitHub · 2026-11-28 06:17 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800) `oVolkra:drop-reasons-754` → `main` · +46 −9 · 3 files · 1 commits · closed without merging 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)
- Diagnostics builds: a draw or dispatch that has a host pipeline but
  fails while being prepared (a binding, an index buffer without a host
  copy) is named "has a host pipeline; a binding or buffer could not be
  given: <hashes>". Before, it was counted in the frame line's dropped
  figure but in no per-reason line, so the lines did not add up to it.
  A dispatch that could not be bound is now noted too.
- Every build: the drops that said nothing now warn once: a draw with
  no pipeline set, an indexed draw whose index buffer has no host copy,
  a root UAV or SRV that found no free dynamic view slot.
- In the #754 log (RTX 4070 Laptop, release build) the left-out count is
  the indirect count + 1 in every frame line, so the ~425 direct drops a
  frame are not left out on purpose, and none of the warnings that name
  a drop appears: they come from these silent paths.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 06:18:09 +00:00
Author
Owner

@⁠frogman912 on GitHub · 2026-11-28 06:36 UTC · original

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

**@⁠frogman912** on GitHub · 2026-11-28 06:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7235405461) 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
Author
Owner

@⁠ArturoWolff on GitHub · 2026-11-28 08:26 UTC · original

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).

**@⁠ArturoWolff** on GitHub · 2026-11-28 08:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7236585671) 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).
github-bot closed this pull request 2026-11-28 19:25:17 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-28 19:23 UTC · original

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.

**@⁠trustno1-coder** on GitHub · 2026-11-28 19:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7244508805) 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.
Author
Owner

@⁠frogman912 on GitHub · 2026-11-28 20:23 UTC · original

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.

**@⁠frogman912** on GitHub · 2026-11-28 20:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/800#issuecomment-7245250346) 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

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!800
No description provided.