[Crash] Device Removed 0x887A0005 on driving - full speed / bridge / rear collision - TDR 10 does NOT help - RTX 3070 Ti #3012

Open
opened 2026-12-01 23:36:59 +00:00 by krrish21 · 3 comments
krrish21 commented 2026-12-01 23:36:59 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by krrish21 on 2026-12-01T23:36:59Z.


Build: 8422def75 (tested on 1abef08d0 also, same crash)
PC: i5-12600K, RTX 3070 Ti 8GB, 32GB DDR5, Windows 11
Settings: Series X, 1080p, DLSS Quality, Model K, RT OFF
TDR: TdrDelay 10, TdrDdiDelay 10 - SET, DID NOT HELP

Repro:

  • Drive full speed (100+) on busy road, cross bridge (3.49-4.38 km to destination)
  • Sometimes crash ON bridge, sometimes AFTER, sometimes reach then crash
  • Brake to stop draws when memory full, then rear car hits -> freeze 3 sec -> crash
  • Slow (40-50) crashes LESS, but still crashes on bridge / collision

Before crash:
FPS 12.7-15.0, DRAWS 7545-8133, FRAME 66-78ms
VRAM 6.9-7.2 / 6.8 GB, SHARED 6.2-6.3 GB, RAM 25.7-26.1 GB
PIPES PENDING 0 - precompile DONE, crash is NOT precompile

  • Old build: VRAM 6.9 / 6.8, SHARED 6.3
  • New build 8422def75: VRAM 7.2 / 6.8, SHARED 6.2 - VRAM UP, not down

Log:
ERROR: relay: fence did not reach 207396; device removed (0x887A0005)
Before: pipeline made but NOT loaded: The parameter is incorrect. (0x80070057) - repeats
Before: sweep: 1402 host copies let go (78648 KiB), 1087 let go (82704 KiB), 1521 let go (98352 KiB) - textures churning

This shows:

  • Pipeline MADE but NOT LOADED
  • Textures made, let go, made again - not staying in VRAM
  • Then device removed

Fixes tried, DID NOT FIX:

  • #2865 VRAM Arena - helped once (SHARED 4.6), but on bridge goes back to 6.2-6.3
  • #2852 + #2857 + #3000 + #3032 - still crashes on new build 8422def75, 30 sec after screenshot
  • TDR 10 - game exits itself after 3 sec freeze, does not wait for Windows TDR

Expected: Full speed driving / bridge / collision should not device-remove GPU. Brake / slow should let VRAM drain.

UPDATE - DLSS Quality -> Balanced helps a bit:

  • Quality: crash at 3.49 km on bridge, VRAM 7.2 / 6.8
  • Balanced: went further, crossed bridge, crash later
  • Still crashes eventually, but Balanced delays it

UPDATE - Tested BACKGROUND=0 + TEXTURE_BUDGET=2048, still crashes

Added to launcher .bat:
set LEONIDA_D3D12_BACKGROUND=0
set LEONIDA_TEXTURE_BUDGET_MB=2048

Tested on Build 8422def75, Series X, 1080p, DLSS Quality:

  • Still crashed on bridge driving, same as before
  • Freeze 3 sec, then exit, same 0x887A0005
  • VRAM still 7.2 / 6.8 GB, SHARED 6.2 GB on bridge
  • Log same: pipeline made but NOT loaded (0x80070057), sweep 1400+ copies let go

So #2821 workaround (BACKGROUND=0) helps 4070 SUPER, but does NOT fix 3070 Ti 8GB bridge crash.
Proper fix still needed for pipeline burst + texture churn + RAM full.

diag Screenshot 2026 12 02 - 10 46 58 65 diag Screenshot 2026 12 02 - 04 59 26 74
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6733156449 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3012). Originally posted by [krrish21](https://github.com/krrish21) on 2026-12-01T23:36:59Z. --- Build: 8422def75 (tested on 1abef08d0 also, same crash) PC: i5-12600K, RTX 3070 Ti 8GB, 32GB DDR5, Windows 11 Settings: Series X, 1080p, DLSS Quality, Model K, RT OFF TDR: TdrDelay 10, TdrDdiDelay 10 - SET, DID NOT HELP Repro: - Drive full speed (100+) on busy road, cross bridge (3.49-4.38 km to destination) - Sometimes crash ON bridge, sometimes AFTER, sometimes reach then crash - Brake to stop draws when memory full, then rear car hits -> freeze 3 sec -> crash - Slow (40-50) crashes LESS, but still crashes on bridge / collision Before crash: FPS 12.7-15.0, DRAWS 7545-8133, FRAME 66-78ms VRAM 6.9-7.2 / 6.8 GB, SHARED 6.2-6.3 GB, RAM 25.7-26.1 GB PIPES PENDING 0 - precompile DONE, crash is NOT precompile - Old build: VRAM 6.9 / 6.8, SHARED 6.3 - New build 8422def75: VRAM 7.2 / 6.8, SHARED 6.2 - VRAM UP, not down Log: ERROR: relay: fence did not reach 207396; device removed (0x887A0005) Before: pipeline made but NOT loaded: The parameter is incorrect. (0x80070057) - repeats Before: sweep: 1402 host copies let go (78648 KiB), 1087 let go (82704 KiB), 1521 let go (98352 KiB) - textures churning This shows: - Pipeline MADE but NOT LOADED - Textures made, let go, made again - not staying in VRAM - Then device removed Fixes tried, DID NOT FIX: - #2865 VRAM Arena - helped once (SHARED 4.6), but on bridge goes back to 6.2-6.3 - #2852 + #2857 + #3000 + #3032 - still crashes on new build 8422def75, 30 sec after screenshot - TDR 10 - game exits itself after 3 sec freeze, does not wait for Windows TDR Expected: Full speed driving / bridge / collision should not device-remove GPU. Brake / slow should let VRAM drain. UPDATE - DLSS Quality -> Balanced helps a bit: - Quality: crash at 3.49 km on bridge, VRAM 7.2 / 6.8 - Balanced: went further, crossed bridge, crash later - Still crashes eventually, but Balanced delays it UPDATE - Tested BACKGROUND=0 + TEXTURE_BUDGET=2048, still crashes Added to launcher .bat: set LEONIDA_D3D12_BACKGROUND=0 set LEONIDA_TEXTURE_BUDGET_MB=2048 Tested on Build 8422def75, Series X, 1080p, DLSS Quality: - Still crashed on bridge driving, same as before - Freeze 3 sec, then exit, same 0x887A0005 - VRAM still 7.2 / 6.8 GB, SHARED 6.2 GB on bridge - Log same: pipeline made but NOT loaded (0x80070057), sweep 1400+ copies let go So #2821 workaround (BACKGROUND=0) helps 4070 SUPER, but does NOT fix 3070 Ti 8GB bridge crash. Proper fix still needed for pipeline burst + texture churn + RAM full. <img width="2560" height="1440" alt="diag Screenshot 2026 12 02 - 10 46 58 65" src="https://github.com/user-attachments/assets/57f2b11e-b97b-4700-bc5e-c6cf7ac5cb7b" /> <img width="2560" height="1440" alt="diag Screenshot 2026 12 02 - 04 59 26 74" src="https://github.com/user-attachments/assets/24361b41-107d-45c1-b5e9-c6f8d02963ff" />
valenciana-nc commented 2026-12-02 16:36:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by valenciana-nc on 2026-12-02T16:36:00Z.


Same 0x887A0005 signature on an 8 GB RTX 4060 Laptop (16 GB RAM, 621.47). There, LEONIDA_D3D12_BACKGROUND=0 (needs Windows Developer mode) or LEONIDA_ALLOCATOR_TRIM=1 held the device for 30-45 min in every run, 5 of 5. Without either, 5 of 6 runs lost it within 3.7-8.5 min. Table and caveats: https://github.com/ProjectLeonida/mandy/issues/2821#issuecomment-7352177565

AI-assisted: yes (Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7352182075 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3012#issuecomment-7352182075). Originally posted by [valenciana-nc](https://github.com/valenciana-nc) on 2026-12-02T16:36:00Z. --- Same 0x887A0005 signature on an 8 GB RTX 4060 Laptop (16 GB RAM, 621.47). There, `LEONIDA_D3D12_BACKGROUND=0` (needs Windows Developer mode) or `LEONIDA_ALLOCATOR_TRIM=1` held the device for 30-45 min in every run, 5 of 5. Without either, 5 of 6 runs lost it within 3.7-8.5 min. Table and caveats: https://github.com/ProjectLeonida/mandy/issues/2821#issuecomment-7352177565 AI-assisted: yes (Claude Opus 5.5)
MoonEyes commented 2026-12-03 16:00:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T16:00:45Z.


This was generated by AI during triage.

Triage Notes

The report provides a repeatable bridge/collision scenario on an RTX 3070 Ti 8 GB, with device removal 0x887A0005 after shader precompile, substantial shared-memory use, and texture-copy churn. The reported mitigations did not resolve it. A broader device-loss report, #2821, covers related failures on other 8 GB and 12 GB hardware, but does not yet establish that this bridge repro has the same cause.

Maintainer decision needed: keep this as a distinct 3070 Ti reproducer, or consolidate its measurements into #2821. No game files need to be attached.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7384107267 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3012#issuecomment-7384107267). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T16:00:45Z. --- > *This was generated by AI during triage.* ## Triage Notes The report provides a repeatable bridge/collision scenario on an RTX 3070 Ti 8 GB, with device removal `0x887A0005` after shader precompile, substantial shared-memory use, and texture-copy churn. The reported mitigations did not resolve it. A broader device-loss report, #2821, covers related failures on other 8 GB and 12 GB hardware, but does not yet establish that this bridge repro has the same cause. Maintainer decision needed: keep this as a distinct 3070 Ti reproducer, or consolidate its measurements into #2821. No game files need to be attached.
krrish21 commented 2026-12-03 17:22:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by krrish21 on 2026-12-03T17:22:46Z.


@MoonEyes

Current build: acb0657e2
Settings: Console Series S, DLSS Model J, DLSS Balanced
Correction: Not only bridge - VRAM full / overbudget anywhere crowded.

Bridge is just the easiest repro, not the only place.

  • Bridge: VRAM 7.7 / 6.8, SHARED 7.4, crash fastest - because water + bridge + cars + buildings all load at once
  • High crowded areas: Downtown / busy road / market - same crash, just takes longer
    • Driving full speed in crowded area -> VRAM goes 7.2 -> 7.7 / 6.8, SHARED 6.2 -> 7.4, RAM 28 GB, COMMIT LEFT drops
    • Then rear collision / brake to stop -> freeze 3 sec -> device removed 0x887A0005
  • Slow walking in club / indoor: VRAM 7.7 / 6.8 but NO crash - because no burst, texture loads slowly
  • Slow driving 40-50 in crowded area: crashes LESS, but still crashes eventually

BIGGEST ISSUE - VRAM only increases, never decreases:

  • Start game: VRAM ~5.0 / 6.8
  • Walk 10 min: VRAM 6.5 / 6.8
  • Walk 20 min: VRAM 7.2 / 6.8
  • Drive crowded area: VRAM 7.7 / 6.8 - OVERBUDGET
  • Go back to empty area / indoor / stand still: VRAM STILL 7.7 / 6.8 - DOES NOT GO DOWN
  • Brake / slow / wait 2-3 min: VRAM STILL 7.7 - DOES NOT DRAIN
  • What is added, stays added. What is loaded, never cleared.

Sweep log shows same: sweep: 1402 host copies let go (78648 KiB), 1087 let go (82704 KiB), 1521 let go (98352 KiB)

  • Textures are made, let go, made again - but VRAM number never goes down in F3 panel
  • It should drain when leaving crowded area, but it does not.

So issue is: VRAM overbudget + VRAM never drains + texture churn + pipeline burst when many things load at once.
Bridge shows it fastest, crowded areas show it slower, but same root cause.

Please keep #3012 as distinct 3070 Ti VRAM-overbudget reproducer, not just bridge issue.
Do not merge into #2821 - BACKGROUND=0 helps 4070 SUPER, does NOT fix 3070 Ti.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7386412673 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3012#issuecomment-7386412673). Originally posted by [krrish21](https://github.com/krrish21) on 2026-12-03T17:22:46Z. --- @MoonEyes Current build: acb0657e2 Settings: Console Series S, DLSS Model J, DLSS Balanced Correction: Not only bridge - VRAM full / overbudget anywhere crowded. Bridge is just the easiest repro, not the only place. - Bridge: VRAM 7.7 / 6.8, SHARED 7.4, crash fastest - because water + bridge + cars + buildings all load at once - High crowded areas: Downtown / busy road / market - same crash, just takes longer - Driving full speed in crowded area -> VRAM goes 7.2 -> 7.7 / 6.8, SHARED 6.2 -> 7.4, RAM 28 GB, COMMIT LEFT drops - Then rear collision / brake to stop -> freeze 3 sec -> device removed 0x887A0005 - Slow walking in club / indoor: VRAM 7.7 / 6.8 but NO crash - because no burst, texture loads slowly - Slow driving 40-50 in crowded area: crashes LESS, but still crashes eventually BIGGEST ISSUE - VRAM only increases, never decreases: - Start game: VRAM ~5.0 / 6.8 - Walk 10 min: VRAM 6.5 / 6.8 - Walk 20 min: VRAM 7.2 / 6.8 - Drive crowded area: VRAM 7.7 / 6.8 - OVERBUDGET - Go back to empty area / indoor / stand still: VRAM STILL 7.7 / 6.8 - DOES NOT GO DOWN - Brake / slow / wait 2-3 min: VRAM STILL 7.7 - DOES NOT DRAIN - What is added, stays added. What is loaded, never cleared. Sweep log shows same: sweep: 1402 host copies let go (78648 KiB), 1087 let go (82704 KiB), 1521 let go (98352 KiB) - Textures are made, let go, made again - but VRAM number never goes down in F3 panel - It should drain when leaving crowded area, but it does not. So issue is: VRAM overbudget + VRAM never drains + texture churn + pipeline burst when many things load at once. Bridge shows it fastest, crowded areas show it slower, but same root cause. Please keep #3012 as distinct 3070 Ti VRAM-overbudget reproducer, not just bridge issue. Do not merge into #2821 - BACKGROUND=0 helps 4070 SUPER, does NOT fix 3070 Ti.
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#3012
No description provided.