host: send the compare list in its own ExecuteCommandLists call #49

Manually merged
github merged 1 commit from github-bot/gh-49 into main 2026-12-05 20:02:35 +00:00 AGit
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 18:59 UTC · original
Kal0s-design:port/compare-own-call → main · +13 −1 · 1 files · 1 commits · merged 2026-12-05 19:57 UTC

This brings over upstream 8b49bb2 with its author kept. It sends the card.check compare list in its own ExecuteCommandLists call.

Upstream found that on RDNA 2 the device was removed about 15 seconds into play. The D3D12 debug layer reported ID 538, a buffer the compare list reads as a root SRV had been promoted to COPY_DEST by an earlier list of the same ExecuteCommandLists call. Implicit promotions decay between calls, so cutting before the compare list avoids the invalid state. The change only adds one more cut point to the existing list of cuts, it doesn't change what runs.

It didn't apply cleanly. Upstream has a gpu_timings block right after the cuts that marks lists as submitted for its profiler, and that profiler isn't in this fork, so I left that block out and kept the rest as it is upstream. I can't say whether RX 7000 cards ever hit the same state, but the rule in the debug layer is the same on every vendor, and device-removed reports are among the most common here.

victory-gpu passes here with this branch merged with current main and clippy -D warnings reports nothing new. I tested on one NVIDIA desktop card, so the RDNA 2 crash itself isn't something I could reproduce.

AI-assisted: yes

🤖 Generated with Claude Code

**@⁠Kal0s-design** on GitHub · 2026-12-05 18:59 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/49) `Kal0s-design:port/compare-own-call` → `main` · +13 −1 · 1 files · 1 commits · merged 2026-12-05 19:57 UTC This brings over upstream 8b49bb2 with its author kept. It sends the card.check compare list in its own ExecuteCommandLists call. Upstream found that on RDNA 2 the device was removed about 15 seconds into play. The D3D12 debug layer reported ID 538, a buffer the compare list reads as a root SRV had been promoted to COPY_DEST by an earlier list of the same ExecuteCommandLists call. Implicit promotions decay between calls, so cutting before the compare list avoids the invalid state. The change only adds one more cut point to the existing list of cuts, it doesn't change what runs. It didn't apply cleanly. Upstream has a gpu_timings block right after the cuts that marks lists as submitted for its profiler, and that profiler isn't in this fork, so I left that block out and kept the rest as it is upstream. I can't say whether RX 7000 cards ever hit the same state, but the rule in the debug layer is the same on every vendor, and device-removed reports are among the most common here. victory-gpu passes here with this branch merged with current main and clippy -D warnings reports nothing new. I tested on one NVIDIA desktop card, so the RDNA 2 crash itself isn't something I could reproduce. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
On RDNA 2 (RX 6800 XT) the device is removed about 15 s into play. The
D3D12 debug layer reports ID 538: a buffer the card.check list reads as
a root SRV was promoted to COPY_DEST by an earlier list of the same
ExecuteCommandLists call. Cut before the compare list so it starts its
own call; implicit promotions decay between calls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018SHrJTg8cp58siDybigfMw
(cherry picked from commit 8b49bb2c0f7ff91d6844fc808c09e7a5c16fefa5)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 19:04:58 +00:00
github-bot force-pushed github-bot/gh-49 from 77ecf4af99 to bbd75bbe18 2026-12-05 19:51:00 +00:00 Compare
github manually merged commit 297e92e399 into main 2026-12-05 20:02:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.