host: send the compare list in its own ExecuteCommandLists call #49
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!49
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-49"
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?
@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 UTCThis 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
77ecf4af99tobbd75bbe18