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) with DXGI_ERROR_DEVICE_RESET (0x887A0007) / DXGI_ERROR_DEVICE_REMOVED (0x887A0005).
We ran a local diagnostics build (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
- Leila Version:
v2.0.0(release + localdiagnosticsbuild atf013302a) - GPU: AMD Radeon RX 6800 (16 GB VRAM, driver
32.0.21045.29003) - CPU: AMD Ryzen 9 7950X3D 16-Core
- RAM: 64 GB
- OS: Windows 11 Pro (Build 26300)
- Launcher Settings: Series S (
--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)
- DRED: Reports no page fault (
no page fault (a hang or a reset, not a bad address)) and empty breadcrumbs (breadcrumbs (done/count, list) []). - Windows Event Log: No
DisplayEvent 4101 TDR is recorded. - D3D12 Debug Layer
RemoveDevicemessage:DXGI_ERROR_DEVICE_RESET: The hardware took an unreasonable amount of time to execute a command on a different Device Context, or the hardware crashed/hung. ... The current Device Context was NOT executing commands when the hang occurred.- Engine log right at removal:
the submitting thread was preparing a submission (nothing of ours was on the card)(or1 submission of ours was still on the card).
- Engine log right at removal:
- Severity-1 D3D12 Debug Layer errors observed before the reset:
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
- Still crashes on world entry (
0x887A0007):- Stock launcher AMD defaults (
LEILA_VIEW_START_REMAINDER=0,LEILA_SIZE_FROM_TABLE=1,LEILA_RELAY_COPY=0). - Adding
LEILA_UPLOAD_AHEAD=0,LEILA_WAIT_RESIDENT=0. - Disabling card copies / page buffers / heap twin / PC FSR (
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.
- Stock launcher AMD defaults (
- Confirmed working (entered the world cleanly and ran 72s / 298+ frames with 0 errors):
- Keeping the 7 switches above at
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=0
- Keeping the 7 switches above at
We are continuing to binary-search those 8 switches to isolate the exact culprit switch/subsystem and will follow up with the narrowed result.
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.