RX 6800 (RDNA2): DXGI_ERROR_DEVICE_RESET (0x887A0007) on world entry in Leila v2.0.0 #30
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/tshadofr--Leila#30
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?
@shelbykb2 on GitHub · 2026-12-05 01:18 UTC · original
Summary
On an AMD Radeon RX 6800 (RDNA2), the game launches to the main menu cleanly on Leila V2 (
v2.0.0) and crashes every time right on world entry (within ~1 second of the first>= 500-draw world frame) withDXGI_ERROR_DEVICE_RESET(0x887A0007) /DXGI_ERROR_DEVICE_REMOVED(0x887A0005).We ran a local
diagnosticsbuild (f013302a,LEILA_D3D12_DRED=1+LEILA_D3D12_DEBUG=1) and bisected the runtime switches. Disabling a specific set of engine GPU switches makes the game enter the world and run stably (tested 72s / 298+ in-world frames, 0 errors).System & Settings
v2.0.0(release + localdiagnosticsbuild atf013302a)32.0.21045.29003)--series-s), 1440p (--res 1440), Preset Low / Custom, DLSS off, Frame Gen off, Hardware RT off, Fullscreen on.Diagnostics Findings (
LEILA_D3D12_DRED=1,LEILA_D3D12_DEBUG=1)no page fault (a hang or a reset, not a bad address)) and empty breadcrumbs (breadcrumbs (done/count, list) []).DisplayEvent 4101 TDR is recorded.RemoveDevicemessage:the submitting thread was preparing a submission (nothing of ours was on the card)(or1 submission of ours was still on the card).id=1425:ID3D12CommandQueue1::ExecuteCommandLists: Using CopyTextureRegion ... Resource state (0xC0: NON_PIXEL_SHADER_RESOURCE|PIXEL_SHADER_RESOURCE) ... must be in COMMON state when transitioning from Command List type : D3D12_COMMAND_LIST_TYPE_DIRECT to Command List type : D3D12_COMMAND_LIST_TYPE_COPY.id=538(3x right before the reset):ID3D12CommandQueue1::ExecuteCommandLists: Using SetComputeRootShaderResourceView ... Resource state (0x400: D3D12_RESOURCE_STATE_COPY_DEST) (promoted from COMMON state) ... is invalid for use as a root shader resource.Switch Bisection Results So Far
0x887A0007):LEILA_VIEW_START_REMAINDER=0,LEILA_SIZE_FROM_TABLE=1,LEILA_RELAY_COPY=0).LEILA_UPLOAD_AHEAD=0,LEILA_WAIT_RESIDENT=0.LEILA_CARD_ALL=0,LEILA_CARD_BUFFERS_MB=0,LEILA_PAGE_BUFFERS=0,LEILA_HEAP_TWIN=0,LEILA_PC_FSR=0,LEILA_UPLOAD_AHEAD=0,LEILA_WAIT_RESIDENT=0) — gets 1–2 frames further into world entry, then still resets with0x887A0007.0plus disabling these 8 switches (withLEILA_EARLY_DEPTH=1kept on):LEILA_RELAY=0LEILA_THIN=0LEILA_TEXTURE_POOL=0LEILA_TEX_PARK=0LEILA_NONCOHERENT_NO_BACK=0LEILA_WC_NO_BACK=0LEILA_INDIRECT_WINDOW=0LEILA_PRELUDE_UPLOADS=0We are continuing to binary-search those 8 switches to isolate the exact culprit switch/subsystem and will follow up with the narrowed result.
@shelbykb2 on GitHub · 2026-12-05 01:47 UTC · original
Follow-up after finishing the switch bisection on RX 6800 (
32.0.21045.29003):We narrowed the 8 switches down to
LEILA_RELAY:LEILA_RELAY=2(default) -> crashes with0x887A0007right at world entry.LEILA_RELAY=1-> still crashes with0x887A0007right at world entry.LEILA_RELAY=0alone on top of all other default launcher settings (LEILA_THIN=1,LEILA_CARD_ALL=1,LEILA_PAGE_BUFFERS=3,LEILA_HEAP_TWIN=1,LEILA_PC_FSR=1,LEILA_UPLOAD_AHEAD=1,LEILA_WAIT_RESIDENT=1) fixes the crash completely — verified entering the world and running smoothly in live gameplay with 0 errors.As a working fix/workaround on AMD RDNA2, setting
LEILA_RELAY=0inleila-settings.txt(withLEILA_MENU_SETTINGS_VERSION=2) or inamd_switches()inlauncher/src-tauri/src/launch.rsgets past world entry reliably.@eeshankeni on GitHub · 2026-12-05 05:15 UTC · original
Can confirm it crashes on 6700xt as well