RX 6800 XT: RADV command submission failures, D3D12 device removal and 0xc0000005 crash #147
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#147
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?
@sabogalc on GitHub · 2026-12-02 01:41 UTC · original
play-20261201-195339.log
victory-20261201-200757-32.crash.log
Summary
VIctory crashed during gameplay with an unhandled access violation, accompanied by RADV GPU command-submission failures and a D3D12 device removal.
The crash occurred while running the default configuration. I did not explicitly enable FSR or configure any FSR preset.
This may be related to existing RX 6800 XT reports #57, #82 and #89, but the immediate failure signature is different.
The main observations are:
0xc0000005exception reading address0x8atntdll.dll+0x3de5c.0x887A0005).I would appreciate help determining whether this is related to the allocator/resource-management issues being investigated in #57, or a separate GPU submission/resource-management problem.
Environment
f7f0360Both AMD GPUs use the
amdgpukernel driver.Launch procedure
I followed the standard setup and launch procedure:
No custom FSR preset or explicit FSR configuration was supplied. This was intended to be a default-configuration run.
Startup and GPU initialization
The runtime started using:
Build:
The log confirms that both GPUs are detected:
The host D3D12 adapter is correctly identified as the RX 6800 XT:
The host D3D12 device initializes successfully:
VKD3D-Proton reports:
The driver also reports:
Unified memory and VRAM allocation
Unified memory initialization reports:
This seems worth investigating because the GPU has approximately 16 GiB of physical VRAM, but the title is initially given approximately 4 GiB.
The log also reports:
The launch warning reports:
System memory at the time of the system information collection:
I have not established whether the 4 GiB title allocation is expected behavior or related to the eventual GPU submission failure.
Crash details
Timestamp:
2026-12-02 01:07:57 UTCVIctory reported an unhandled exception:
Register state:
Application stack:
The exception was reported as both first-chance and unhandled.
Relevant worker-thread observations
Several worker threads were active inside victory-image.
In particular, thread 336 had the following stack:
Other worker threads also had stacks involving:
These offsets are interesting because #57 describes a suspected corrupted title-side allocator list and a worker spinning in related code.
However, I have not established that these threads were executing the same allocator-list traversal or that the same corruption occurred here.
GPU errors and device removal
Immediately around the crash, the log reported:
vkd3d-proton subsequently reported:
VIctory then reported:
The final host GPU error was:
The host GPU diagnostic also stated that the submitting thread was between submissions, with no command list currently running on the card.
I do not know whether these GPU failures triggered the application exception, resulted from it, or represent a separate failure.
Memory observations
The log contains this title memory allocation request:
The GPU submission failure raises the possibility of resource or VRAM pressure, although I have not established that this was the cause.
Crash diagnostic debug information
The crash diagnostic contains:
It also reports:
Related issues
#57 - RX 6800 XT / RDNA2: Hang followed by null write
This is particularly interesting because subsequent investigation identified suspected corruption of a title-side doubly linked allocator list.
The investigation describes:
+0x2626877.victory-image+0x2215c35.My crash has a different immediate exception signature, but some worker-thread stacks contain
victory-image+0x2215c35andvictory-image+0x2215eca.I have not established whether the same underlying allocator issue is involved.
#82 - RX 6800 XT: Crash after 32,848 frames
Another RX 6800 XT crash with
0xc0000005insidevictory-image.That report also mentions FSR4 pipeline deserialization failures and pipeline creation warnings. My run did not explicitly enable FSR, so I do not know whether those findings are relevant.
#89 - RDNA2 findings and patches
This report documents RX 6800 XT findings involving:
The measurements suggest that the default memory split can significantly constrain title VRAM on a 16 GB card.
I have not tested the patches from that report against this crash.
Questions
@sabogalc on GitHub · 2026-12-02 01:56 UTC · original
I performed another run using:
The crash now reproduces with the same immediate exception signature described in #57.
Crash details
VIctory reported:
Followed by:
The relevant stack is:
This is particularly interesting because #57 identifies
+0x2215c35as the location of a watchdog-triggered null write following suspected corruption of a title-side allocator list.Worker-thread observations
Multiple victory-image worker threads were active with stacks involving:
Other threads had stacks involving:
The crash therefore appears to match the specific null-write location from #57, rather than merely sharing a similar access-violation code.
GPU failure still occurs
Immediately after the exception, RADV reported:
VKD3D-Proton also reported:
So the GPU command-submission failure remains present.
Additional observations
The thread dump also shows:
I'm not sure if any of these thread counts or their interactions contribute to the allocator corruption.
Questions following this reproduction
+0x2215c35) confirm that this is the same watchdog/allocator failure path investigated in #57?@GreemSC on GitHub · 2026-12-02 11:21 UTC · original
The "insufficient memory for command submission" part looks like the GTT ceiling, which I hit too (RX 7900 XT 20 GB, 24 GB RAM,
d044248):cat /sys/class/drm/card*/device/mem_info_gtt_totalwithmem_info_gtt_usedduring a run: at the crash, used = total.card − 12 GiBof VRAM (CARD_KEPT_FOR_HOSTinum.rs, floor 1 GiB), so 4080 MiB on a 16 GB card; the rest of its memory goes to GTT. That is the same signature as #119 (GTT at its ceiling while VRAM has room), where lowering that constant fixed it, and as SlaktarnVI#11.amdgpu: [drm] *ERROR* Not enough memory for command submission!came at the same second as the device removal, with GTT at 11,887 of 11,888 MB (details in #165).Things to try, untested on your card: give the title more VRAM (the constant from #119, or
VICTORY_UM_CARD_MBfrom #165), or raise the GTT cap with the kernel parameters other reports used (amdgpu.gttsize=… ttm.pages_limit=…; with 16 GB of RAM this may just move the problem into swap).AI assistance: Claude Code (Claude Opus 5.5) wrote this from our own logs and the linked threads.
@sabogalc on GitHub · 2026-12-05 18:24 UTC · original
Thanks for the additional investigation and for linking the related findings in #57, #119, #147, #165 and the newer RDNA3 reports.
I performed another run using:
This time, the crash reproduced with the exact null-write location identified in #57:
The worker-thread stacks also contain several of the surrounding offsets discussed in that investigation. This makes a shared failure path considerably more likely, although I cannot independently confirm that the underlying allocator corruption is identical.
The subsequent GTT investigation also provides a plausible explanation for the RADV command-submission failures. My RX 6800 XT has 16 GiB of physical VRAM, but its reported GTT capacity is approximately 7632 MiB.
The
CARD_KEPT_FOR_HOSTexplanation also makes sense of the approximately 4 GiBcard_mb_for_titleallocation observed in my logs.The additional reports suggest that there may be several interacting issues:
GTT exhaustion: RADV's insufficient-memory-for-command-submission error and subsequent D3D12 device removal are consistent with the GTT exhaustion findings in #119, #147 and #165.
I cannot establish whether these failures share an underlying cause or whether the GPU submission failures are directly responsible for the title-side allocator exception.
For completeness, my reproduction already used
VICTORY_GPU_GUARD=1withKEEP_FREE=1024, so the GPU memory guard was enabled and the configured system-memory reserve was reduced to 1 GiB. The crash and GPU submission failure nevertheless persisted.The proposed changes involving
CARD_KEPT_FOR_HOST, VICTORY_UM_CARD_MB, GTT limits and page residency may work, however I don't intend to modify my kernel parameters or system-level memory configuration to work around the issue.I'll keep the issue open in the event anyone else comes across a similar bug or has more information. Hopefully the matching exception address and the additional memory-management findings help connect the different reports.