Host GPU failure (0x887A0005 - DXGI_ERROR_DEVICE_REMOVED) on RTX 4080 during D3D12 pipeline creation #3344

Open
opened 2026-12-03 14:53:09 +00:00 by rahip007 · 1 comment
rahip007 commented 2026-12-03 14:53:09 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by rahip007 on 2026-12-03T14:53:09Z.


Description

The application crashes consistently with Leonida: host GPU failure: relay: fence ... did not reach ...; device removed (0x887A0005) across multiple sessions.

The crash happens right after minor shader compilation/loading prompts appear in-game: the screen stutters briefly and then closes immediately to the desktop. Before the device-removed error, the console logs repeated pipeline library load failures with 0x80070057 (E_INVALIDARG).

Mandy Launcher Info & Environment

Mandy: 9039f6a31 2026-12-03
GPU: NVIDIA GeForce RTX 4080, driver 617.42 (32.0.16.1742)
System: Windows 11 (10.0.26300)
Memory: 47.4 GB RAM, commit limit (RAM + page file) 79.4 GB
Python: 3.15.2 (64bit), Tk 9.0
Options: -SmoothMotion -Resolution 1440 -Adapter NVIDIA GeForce RTX 4080
Variables: LEONIDA_FG_LIMIT_FPS=0
Game folder found: yes

**Console Output Before Crash**

pipeline library: made [mesh 2475023fb5517763, pixel fbea37db116d7554] in 511.9 ms (the library did not load it: Parametre hatalı. (0x80070057))
pipeline library: made [mesh 59874b28fd64363d, pixel 43e24028d4a1faef] in 4.8 ms (the library did not load it: Parametre hatalı. (0x80070057))
pipeline library: made [mesh 50946a822ac6272b, pixel 796415ec6f4fad54] in 14.2 ms (the library did not load it: Parametre hatalı. (0x80070057))
ERROR leonida_gpu::host: device-removed data; none
ERROR leonida_gpu::host: relay: fence 18446744073709551615 did not reach 206501; device removed: (0x887A0005); a diagnostics build with LEONIDA_D3D12_DEBUG=1 names the command
Leonida: host GPU failure: relay: fence 18446744073709551615 did not reach 206501; device removed: (0x887A0005); a diagnostics build with LEONIDA_D3D12_DEBUG=1 names the command
Stopped with an error (code 2289696773).

[crashes.log](https://github.com/user-attachments/files/35819142/crashes.log)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6771316559 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3344). Originally posted by [rahip007](https://github.com/rahip007) on 2026-12-03T14:53:09Z. --- ### Description The application crashes consistently with `Leonida: host GPU failure: relay: fence ... did not reach ...; device removed (0x887A0005)` across multiple sessions. The crash happens right after minor shader compilation/loading prompts appear in-game: the screen stutters briefly and then closes immediately to the desktop. Before the device-removed error, the console logs repeated pipeline library load failures with `0x80070057` (`E_INVALIDARG`). ### Mandy Launcher Info & Environment ```text Mandy: 9039f6a31 2026-12-03 GPU: NVIDIA GeForce RTX 4080, driver 617.42 (32.0.16.1742) System: Windows 11 (10.0.26300) Memory: 47.4 GB RAM, commit limit (RAM + page file) 79.4 GB Python: 3.15.2 (64bit), Tk 9.0 Options: -SmoothMotion -Resolution 1440 -Adapter NVIDIA GeForce RTX 4080 Variables: LEONIDA_FG_LIMIT_FPS=0 Game folder found: yes **Console Output Before Crash** pipeline library: made [mesh 2475023fb5517763, pixel fbea37db116d7554] in 511.9 ms (the library did not load it: Parametre hatalı. (0x80070057)) pipeline library: made [mesh 59874b28fd64363d, pixel 43e24028d4a1faef] in 4.8 ms (the library did not load it: Parametre hatalı. (0x80070057)) pipeline library: made [mesh 50946a822ac6272b, pixel 796415ec6f4fad54] in 14.2 ms (the library did not load it: Parametre hatalı. (0x80070057)) ERROR leonida_gpu::host: device-removed data; none ERROR leonida_gpu::host: relay: fence 18446744073709551615 did not reach 206501; device removed: (0x887A0005); a diagnostics build with LEONIDA_D3D12_DEBUG=1 names the command Leonida: host GPU failure: relay: fence 18446744073709551615 did not reach 206501; device removed: (0x887A0005); a diagnostics build with LEONIDA_D3D12_DEBUG=1 names the command Stopped with an error (code 2289696773). [crashes.log](https://github.com/user-attachments/files/35819142/crashes.log)
MoonEyes commented 2026-12-03 15:03:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T15:03:54Z.


Workaround to try first: close the game, then use Clear shader cache in the launcher and start again (the first run stutters while it rebuilds). The 0x80070057 lines mean the driver refuses the saved pipeline library entries; it falls back to compiling them, but the file is never repaired. PR #2789 restarts a library made by another driver or one the driver keeps refusing. It is not proven yet that this is what removes the device, so if it still crashes with a cleared cache, please attach the full log from launch to crash plus crashes.log, and say whether you updated your NVIDIA driver recently.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7382501389 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3344#issuecomment-7382501389). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T15:03:54Z. --- Workaround to try first: close the game, then use **Clear shader cache** in the launcher and start again (the first run stutters while it rebuilds). The `0x80070057` lines mean the driver refuses the saved pipeline library entries; it falls back to compiling them, but the file is never repaired. PR #2789 restarts a library made by another driver or one the driver keeps refusing. It is not proven yet that this is what removes the device, so if it still crashes with a cleared cache, please attach the full log from launch to crash plus `crashes.log`, and say whether you updated your NVIDIA driver recently.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy#3344
No description provided.