Pr/437 gpu lite removed #545

Open
github-bot wants to merge 2 commits from github-bot/gh-545 into main AGit
Owner

@⁠pug205gti6 on GitHub · 2026-11-25 02:05 UTC · original
pug205gti6:pr/437-gpu-lite-removed → main · +588 −34 · 6 files · 2 commits · open

No description provided.

**@⁠pug205gti6** on GitHub · 2026-11-25 02:05 UTC · [original](https://github.com/fxceless/victory-fork/pull/545) `pug205gti6:pr/437-gpu-lite-removed` → `main` · +588 −34 · 6 files · 2 commits · open *No description provided.*
The driver's device-removed data (breadcrumbs, page fault) used to be
kept only in a diagnostics build with VICTORY_D3D12_DRED set, and that
mode wrote a marker with the text of every command. Building that
text cost 450 to 1,000 ms a frame, so a run with it on could not be
timed.

VICTORY_D3D12_DRED now has three modes: off, lite and full. Lite is the
default in every build. It turns on the driver's breadcrumbs and
page-fault data without the debug layer, and records one compact entry
(op kind and pipeline key) per draw or dispatch instead of marker text.
A removal then reports:
- the fault's class (low, mid or wild) and the nearest heap;
- for each stopped list, the last op that finished and the first that
  did not, each with its pipeline;
- the last 64 ops sent;
- the view clamp, the loop limit and the build hash.

Full (1, diagnostics builds only) keeps the marker text and the named
allocations of today. The cost of lite itself (the driver's breadcrumbs
plus one entry per op) has not been measured in a game run yet.

AI-assisted (Claude Code)
The ops of a submission went into the device-removed report's list of
sent ops while the submission was still being prepared. A settle later
in the preparing (the relay landing flights, or the compare's results
running low) can report a removal of an earlier flight, and the report
then named this submission's unsent ops as the last work sent; one of
64 ops or more pushed the real history out entirely.

The ops are now noted just before ExecuteCommandLists, per group when
each list is sent on its own. The ring is a function of its own, with a
test.

AI-assisted (Claude Code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:46:00 +00:00
Author
Owner

@⁠Revens2 on GitHub · 2026-11-25 07:38 UTC · original

Duplicate of #437: @⁠sennecools opened this patch 76 minutes earlier, and gh pr diff returns the same bytes for both (+588/-34 on 6 file(s), same title).

The original also carries the author's description, which this PR does not.

Please continue in #437 so the review history and any test data stay in one place.
Thanks.

**@⁠Revens2** on GitHub · 2026-11-25 07:38 UTC · [original](https://github.com/fxceless/victory-fork/pull/545#issuecomment-7156092802) Duplicate of #437: @⁠sennecools opened this patch 76 minutes earlier, and `gh pr diff` returns the same bytes for both (+588/-34 on 6 file(s), same title). The original also carries the author's description, which this PR does not. Please continue in #437 so the review history and any test data stay in one place. Thanks.
Author
Owner

@⁠Headache3318 on GitHub · 2026-11-25 08:32 UTC · original

Independent verification: PR #545 merges cleanly onto main (9 files auto-merged, +907/-79 lines). Build: success (16.73s). All 14 test executables compile for Windows target. Test execution blocked by Wine environment issue (hangs on any Windows binary) — not a PR regression. Non-Windows crate tests on Linux passed (victory-core, victory-formats, victory-game). Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.

**@⁠Headache3318** on GitHub · 2026-11-25 08:32 UTC · [original](https://github.com/fxceless/victory-fork/pull/545#issuecomment-7157162488) Independent verification: PR #545 merges cleanly onto main (9 files auto-merged, +907/-79 lines). Build: success (16.73s). All 14 test executables compile for Windows target. Test execution blocked by Wine environment issue (hangs on any Windows binary) — not a PR regression. Non-Windows crate tests on Linux passed (victory-core, victory-formats, victory-game). Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/draw.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/indirect.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/545/head:github-bot/gh-545'
git switch 'github-bot/gh-545'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-545'
git switch 'github-bot/gh-545'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-545'
git switch 'github-bot/gh-545'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-545'
git switch 'main'
git merge --squash 'github-bot/gh-545'
git switch 'main'
git merge --ff-only 'github-bot/gh-545'
git switch 'main'
git merge 'github-bot/gh-545'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.