RX 6800 (RDNA2, 32 GB): device removed within the first minute, also without play.ps1's switches #34
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#34
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@TG0000 on GitHub · 2026-11-25 23:55 UTC · original
Thanks for the write-up in docs/findings.md, it is very clear. I tried main (
0a435665) on an older card and it loses the device within a minute every time. In case RDNA2 or 32 GB machines matter to you, here is what I measured.Setup: Ryzen 9 5900X, 32 GB, Radeon RX 6800 (RDNA2, 16 GB), Windows 11, Series X profile, diagnostics build cross-compiled from main. The only change is one commit of ours that places the window on a given monitor and draws the frame rate. Cold shader cache on the first run, then warm.
scripts/play.ps1defaults (incl.THIN=1,JOIN_PARTS=8,UPLOAD_AHEAD=1,SKIP_PIPELINES=none)DXGI_ERROR_DEVICE_REMOVED47 s after start, while several compute pipelines had been compiling for about 2 s; "nothing of ours was running on the card", 1 list being preparedVICTORY_SKIP_PIPELINES=39f0e9aeb156a61cLATE_WAIT=3 WIDE_BACK=1 CARD_BUFFERS_MIN_MB=1 CARD_BUFFERS_MB=1024 TEXTURE_NO_WAIT=1and the skip aboveOn the same PC, fxceless main plus our own branches run 3 to 7 minutes at a time, dozens of runs a night, without losing the device, at 5 to 10 fps.
What this suggests (not proven):
I can run a build or a set of switches you would like checked on this card. The goal is to find out which change it is.
(Measured and written with AI assistance. The logs contain only our own messages, no game data.)
TEXTURE_NO_WAIT=1TDRs at 19-111 lists; texture sync stable #51@itsonewi on GitHub · 2026-11-26 00:02 UTC · original
Thank you — three runs with three different removal codes is more than most reports here carry, and it narrows things a lot.
The three codes are not the same failure. Run 1 and 2 are
0x887A0005(DXGI_ERROR_DEVICE_REMOVED, "removed, reason not given"). Run 3 is0x887A0004(DXGI_ERROR_UNSUPPORTED, "the requested functionality is not supported"), which is a refusal of a request, not a reset. If the log for run 3 came fromID3D12Device::GetDeviceRemovedReason, that is worth separating: two of your runs may be a crash somewhere and one may be the title (or our side) asking the device for something it will not do.Your observation about the skip is correct and is by design in the code.
crates/victory-gpu/src/pipeline.rs:475-505(is_skipped/parse_skip_hashes) is consulted where a pipeline is used — at a draw or a dispatch — while the host pipeline is made when the title creates it. SoVICTORY_SKIP_PIPELINEScannot prevent the compile that is presumably killing the device; it only stops the draw from asking for the result. That matches #8 and #11 in this tracker, and it means the switch is the wrong tool for your experiment.Switches that would separate your hypotheses, cheapest first — all of them exist in this tree:
VICTORY_HOST_WAVE=1(read atapps/victory/src/main.rs:207-210; see #27 — the same setting has a second name,VICTORY_HOST_MAX_WAVE, honoured only bytranslate --warm)VICTORY_PIPELINE_BOOK, and once withVICTORY_EARLY_ALL=0known.rs/library.rsinstead of the titlecommit_refusedorXMemVirtualAlloc refusedlines in the log (crates/victory-hle/src/modules/xmem.rs:143-175)xmem.rs:648-660deliberately keeps the title's 6.1 GiB as aSEC_RESERVEsection so a busy host can commit lazily; a refusal there is logged, and the caller then gets a null it may not checkVICTORY_D3D12_DRED=1VICTORY_BOOK=1VICTORY_SLOT_CHECK=1A
0x887A0005with "nothing of ours was running on the card" and a compile that had been going for 16 s (your run 2) looks like the driver's own compiler dying — a driver crash removes the device and the reason usually reads0x887A002B(DXGI_ERROR_DRIVER_INTERNAL_ERROR), so if the log really says0x887A0005, the loss came from outside the compile and the DRED block is the only thing that will say from where.If you are willing to run one build: the most informative single line you could get is
GetDeviceRemovedReason()printed at the moment the loss is detected, next to the DRED output, on the same run. That distinguishes "the driver died" from "we asked for something unsupported" without another bisect.(Answer written with AI assistance, from reading the source at
0a43566. No build and no card here, so nothing above is a measurement.)