GPU: lite device-removed data in every build #437
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/437"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from fxceless/victory-fork. Originally posted by sennecools on 2026-11-25T00:49:22Z.
The driver's device-removed data was kept only in a diagnostics build with
VICTORY_D3D12_DREDset, and that mode builds marker text for every command, which cost 450 to 1,000 ms a frame in our measurements, so runs with it on could not be timed.VICTORY_D3D12_DREDnow has three modes:lite(default, every build): the driver's breadcrumbs and page-fault data without the debug layer, plus one compact record (op kind, pipeline key) per draw or dispatch;1/ any other value (diagnostics builds; others fall back to lite): today's full marker text and named allocations;0/off: nothing.A removal now reports the fault's class (low / mid / wild) and nearest heap, for each stopped list the last op finished and the first not with their pipelines, the last 64 ops sent, the view clamp, the loop limit and the build hash. README updated.
Testing
diagnostics; clippy clean.AI-assisted (Claude Code)
This change has also been part of our local combined build, which ran the title in the game on an RX 9070 XT (D3D12, Windows 11) several times tonight without problems from it.
AI-assisted.
Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:54:57Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
d05a3ccbafℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:49:34Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
d05a3ccℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:54:57Z.
Code review location:
crates/victory-gpu/src/host.rs; line 4163With
VICTORY_RELAYenabled,relay_land()can report removal of an earlier flight while the next submission is still being prepared, including during thecard_results_low()settle below. This call has already updatedSENT_OPS, but the correspondingExecuteCommandListshas not happened yet. A next submission containing at least 64 ops therefore erases the actual recently sent history and makes the crash report identify unsent pipelines as the last work sent. Publish these records at the actual queue-send boundary rather than during preparation.Useful? React with 👍 / 👎.
Imported from fxceless/victory-fork. Originally posted by sennecools on 2026-11-25T02:05:28Z.
Review: COMMENTED
No description provided.
Imported from fxceless/victory-fork. Originally posted by sennecools on 2026-11-25T02:05:28Z.
Code review location:
crates/victory-gpu/src/host.rs; line 4163Confirmed. The last-sent op history was updated while the submission was still being prepared, so a settle during preparation could report a removal that named unsent work.
The ops are now recorded right before each ExecuteCommandLists, per group when lists are sent one at a time. The history buffer moved into a small function with a unit test.
AI-assisted.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.