RTX 2080 8 GB, 32GB DDR4 3200MT/s, i7-9700k / v1.1.3 — 64 MB placed-texture heap exhaustion (0x887A0005 / exit -2005270523) after ~3 mins at 1080p #423

Open
opened 2026-12-06 00:41:44 +00:00 by github-bot · 1 comment
Owner

@⁠konpersona2-cpu on GitHub · 2026-12-06 00:37 UTC · original

System Specs

  • GPU: NVIDIA GeForce RTX 2080 (8 GB VRAM, Turing)
  • CPU: Intel Core i7-9700K (8 cores)
  • RAM: 32 GB DDR4 3200 MT/s
  • Build / Preset: larp v1.1.3 (series-s.cmd, nv-profile --mb 1024)
  • Windows TDR Settings: TdrDelay = 10, TdrDdiDelay = 10 (confirmed in log)

Configuration (options.ini & settings.ini)

  • frame_rate = 60
  • stream_budget = 2400
  • resolution = 1920x1080
  • upscaler = dlss, upscaler_mode = performance, upscaler_sharpening = 0.4
  • frame_generation = 2x, frame_generator = mvfg
  • scaling_mode = 1/1, motion_blur = off

Issue Summary & Reproduction Steps

  1. Freshly reboot PC with TdrDelay = 10 and TdrDdiDelay = 10 applied.
  2. Launch via series-s.cmd at 1920x1080 (upscaler_mode = performance, stream_budget = 2400) without toggling any F10 render scale/upscaler settings mid-session (unrelated to #367).
  3. Play/drive normally for ~3–3.5 minutes.
  4. The game crashes with exit -2005270523 (DXGI_ERROR_DEVICE_REMOVED / 0x887A0005).

Key Log Findings

  • Because TdrDelay = 10 and TdrDdiDelay = 10 are active and no live F10 toggles occurred, this appears to be pure 64 MB D3D12 placed-texture heap exhaustion/fragmentation on 8 GB VRAM during normal streaming:
    • placed textures: a host texture could not be placed in a heap: none is made (said once) error=The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. (0x887A0005) bytes=65536
    • a buffer could not be placed in a heap of ours: committed instead ... HRESULT(0x887A0005) size=32768
    • Followed by host ray tracing: no buffer (591104, 251904, 166144, 64 bytes).
  • Workaround Observation: Dropping resolution = 1664x936 + stream_budget = 1600 survives without crashing, but 1600 MB causes severe texture pop-in/delayed loading, whereas stream_budget = 2000–2400 at 1920x1080 exhausts the 64 MB heaps within ~3 minutes on an 8 GB card.

(Full .log file attached below.)

play.log

**@⁠konpersona2-cpu** on GitHub · 2026-12-06 00:37 UTC · [original](https://github.com/gamingwithhomie/larp/issues/423) ### System Specs * **GPU:** NVIDIA GeForce RTX 2080 (8 GB VRAM, Turing) * **CPU:** Intel Core i7-9700K (8 cores) * **RAM:** 32 GB DDR4 3200 MT/s * **Build / Preset:** `larp v1.1.3` (`series-s.cmd`, `nv-profile --mb 1024`) * **Windows TDR Settings:** `TdrDelay = 10`, `TdrDdiDelay = 10` (confirmed in log) ### Configuration (`options.ini` & `settings.ini`) * `frame_rate = 60` * `stream_budget = 2400` * `resolution = 1920x1080` * `upscaler = dlss`, `upscaler_mode = performance`, `upscaler_sharpening = 0.4` * `frame_generation = 2x`, `frame_generator = mvfg` * `scaling_mode = 1/1`, `motion_blur = off` ### Issue Summary & Reproduction Steps 1. Freshly reboot PC with `TdrDelay = 10` and `TdrDdiDelay = 10` applied. 2. Launch via `series-s.cmd` at `1920x1080` (`upscaler_mode = performance`, `stream_budget = 2400`) **without** toggling any `F10` render scale/upscaler settings mid-session (unrelated to `#367`). 3. Play/drive normally for ~3–3.5 minutes. 4. The game crashes with **`exit -2005270523` (`DXGI_ERROR_DEVICE_REMOVED` / `0x887A0005`)**. ### Key Log Findings * Because `TdrDelay = 10` and `TdrDdiDelay = 10` are active and no live `F10` toggles occurred, this appears to be pure 64 MB D3D12 placed-texture heap exhaustion/fragmentation on 8 GB VRAM during normal streaming: * `placed textures: a host texture could not be placed in a heap: none is made (said once) error=The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. (0x887A0005) bytes=65536` * `a buffer could not be placed in a heap of ours: committed instead ... HRESULT(0x887A0005) size=32768` * Followed by `host ray tracing: no buffer` (`591104`, `251904`, `166144`, `64` bytes). * **Workaround Observation:** Dropping `resolution = 1664x936` + `stream_budget = 1600` survives without crashing, but `1600` MB causes severe texture pop-in/delayed loading, whereas `stream_budget = 2000–2400` at `1920x1080` exhausts the 64 MB heaps within ~3 minutes on an 8 GB card. *(Full `.log` file attached below.)* [play.log](https://github.com/user-attachments/files/35925343/play.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 00:41:44 +00:00
Author
Owner

@⁠vanya890 on GitHub · 2026-12-06 00:51 UTC · original

I inspected the attached play.log. There is a more specific lead than the later 64 MB texture-heap placement message:

At frame 7798 (2026-12-06T00:34:14Z), larp_gpu::regions reports window_over_taken: a 4 MiB window at 0x15c000000+0x400000 overlaps GPU-owned buffers, including ranges taken in frames 6762 and 6923. This matches the failure mode described in PR #392: shadow::loose() expands an unregistered small view to a 4 MiB write-combined window that can overlap Owner::Taken buffers, and Shadow::copy() can then refresh bytes across those ranges.

The later 0x887A0005 placement failures (including the 64 KiB texture message) are logged after the device is already suspended, so they do not by themselves establish that 64 MB D3D12MA heap exhaustion caused the removal. PR #393 separately targets VRAM/heap pressure on <=8 GB cards, but the regions diagnostic is the more direct match in this log.

Once a build containing #392 is available, testing the same 1080p / stream_budget=2400 scenario would help isolate this. If the device is still removed, please capture a fresh larp zip-logs with LARP_D3D12_DRED=1 so the faulting address and command-list breadcrumbs are available.

**@⁠vanya890** on GitHub · 2026-12-06 00:51 UTC · [original](https://github.com/gamingwithhomie/larp/issues/423#issuecomment-7448706837) I inspected the attached `play.log`. There is a more specific lead than the later 64 MB texture-heap placement message: At frame 7798 (`2026-12-06T00:34:14Z`), `larp_gpu::regions` reports `window_over_taken`: a 4 MiB window at `0x15c000000+0x400000` overlaps GPU-owned buffers, including ranges taken in frames 6762 and 6923. This matches the failure mode described in [PR #392](https://git.gtahub.st/github/gamingwithhomie--larp/pulls/392): `shadow::loose()` expands an unregistered small view to a 4 MiB write-combined window that can overlap `Owner::Taken` buffers, and `Shadow::copy()` can then refresh bytes across those ranges. The later `0x887A0005` placement failures (including the 64 KiB texture message) are logged after the device is already suspended, so they do not by themselves establish that 64 MB D3D12MA heap exhaustion caused the removal. PR #393 separately targets VRAM/heap pressure on <=8 GB cards, but the `regions` diagnostic is the more direct match in this log. Once a build containing #392 is available, testing the same 1080p / `stream_budget=2400` scenario would help isolate this. If the device is still removed, please capture a fresh `larp zip-logs` with `LARP_D3D12_DRED=1` so the faulting address and command-list breadcrumbs are available.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/gamingwithhomie--larp#423
No description provided.