RTX 4060 Laptop 8 GB: device reset (0x887A0007) after about 6 minutes of heavy city play, on every build and setting (command allocators near #1057's limit?) #1548

Closed
opened 2026-11-28 21:31:10 +00:00 by github-bot · 1 comment
Owner

@⁠haddad747-lang on GitHub · 2026-11-28 21:30 UTC · original

Labels: crash, memory, NVIDIA, series-s, dlss


On my RTX 4060 Laptop the game always loses the device after about 6 minutes of heavy city play. That's held across 13 runs over a day of builds (64d4931 → 32ecacf), at every switch I tried. The full run-by-run history is in #232 (with @⁠k1nderwunder, same laptop GPU) and matches #1116. This issue pulls together what is known, plus one new lead: in my diagnostics run the host command lists were close to the allocator limit that #1057 found on AMD.

Setup

  • HP Victus: RTX 4060 Laptop 8 GB (hybrid with Intel Iris Xe), driver 621.40
  • i7-13700H, 16 GB RAM, 60 GB fixed paging file, Windows 11 26200
  • Game: Lucia's escape after the store robbery (rooftops → street → getaway car)
  • Best command so far:
    play-foxhound.ps1 -SeriesS -Dlss performance -Fps 60 -More @{VICTORY_TEXTURE_ROOM_PERCENT='75'; VICTORY_TEXTURE_POOL='0'; VICTORY_ALLOCATOR_TRIM='0'}
    

What happens

ERROR victory_gpu::host: when the host device went: the submitting thread was preparing a submission (nothing of ours was running on the card), of 1 lists, for 3.0 ms; pipeline library: no call running; ...
ERROR victory_gpu::host: host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 2 lists; no breadcrumbs (... (0x887A0004)); device removed: ... (0x887A0007)

When it happens: after the same amount of heavy play, whatever I change

Run Build Changes Heavy play before the reset*
8 63b902f room 82 %, DLSS off, allocator trim off 6.7 min
10 63b902f room 75 %, DLSS Performance 5.6 min
11 63b902f as 10, Parsec closed, overlay off 5.9 min
12 32ecacf as 10, after -Preload, real-time pacing 6.3 min
13 32ecacf as 12 6.4 min

* 5-second stats lines with more than 1,000 draws per frame.

  • Pausing doesn't count toward it. In run 8 I paused for 50 minutes (88 draws per frame), and it reset 7 s after I unpaused, when draws went from 88 to 8,836 per frame.
  • The heavy parts: 3,000–13,000 draws per frame at 3–15 fps. Most of the frame is "preparing" on our side (60–130 ms); the GPU itself isn't the limit.

Ruled out

Suspect Evidence
Heat, power, throttling nvidia-smi every 2 s: 75 °C at the reset (84 °C peak), a steady 2,550 MHz, charger in
Video memory full The driver counts 5.2 of 8 GB used at the reset. Texture room at 82 % and at 75 % makes no difference.
A TDR Windows logs no Display 4101 and no nvlddmkm event
Our own work on the card Every trail says "nothing of ours was running on the card". In run 11 every submission had finished. DRED in a diagnostics run was empty, with no faulting address.
Pipeline library serialisation (the idea in #232) No serialise running at any of 10 resets. Runs 12 and 13 never saved the library at all, and still reset.
Overlays and capture tools NVIDIA overlay off, Parsec closed

The new lead: command allocators

#1057 traces the same signature on AMD to the live ID3D12CommandAllocator count reaching a driver ceiling of about 2,048. The signature: 0x887A0007, empty DRED breadcrumbs, E_INVALIDARG near pipeline creation, and Kernel memory failure ... (id=834) in the debug layer. Three things in my logs fit it:

  1. My diagnostics run (64d4931, room 82 %, slot evict) logs the host lists in its memory, more line:
    00:17:22  host lists: 666 made by the host, 12 preludes made for them (12 alive)
    00:21:12  host lists: 1261 made by the host, 110 preludes made for them (110 alive)
    00:22:26  host lists: 1481 made by the host, 169 preludes made for them (169 alive)
    00:25:35  host lists: 1516 made by the host, 170 preludes made for them (170 alive)
    00:26:28  device reset
    
    That's about 1,690 allocators from host lists and preludes alone, before counting the thin lists' backs, the card steps' pool and the relay. It grows in steps with each heavy stretch of play, and never comes down.
  2. I see the same E_INVALIDARG loads #1057 describes: pipeline library: made [...] (the library did not load it: The parameter is incorrect. (0x80070057)), up to 19 a run.
  3. My other crash, 0x8007000E when a host list closes (a host command list did not close (Not enough memory resources ...), 8 lists at once in one run), looks like the driver's command-buffer memory running out. @⁠k1nderwunder gets the same on reset of a list. Lowering the texture room to 75 % stopped it on my side, but the device reset came instead, after the same amount of play.

So my guess is that on NVIDIA too, the total number of live allocators (or the kernel memory behind them) reaches a driver limit during long heavy stretches, and the card is reset while nothing of ours is running. I can't prove it from a release log, because the count isn't logged there.

What would help

  1. The live allocator count in the release build's periodic stats line: host lists, preludes, thin backs, card-step pools and relay, and the sum. Then any reset log shows whether it's near 2,048.
  2. A cap or recycling for host lists and preludes, along the lines of #1057's proposals: a bounded shared prelude pool, a lower IDLE_MOST, a cap on the thin lists' backs, and VICTORY_SUBMIT_DEPTH 32.
  3. If there's a switch combination you'd like tested on an 8 GB NVIDIA laptop, I can run it. Next I'm going to try VICTORY_RELAY=0 (which avoided the crash for a commenter on #1057), and then VICTORY_SUBMIT_DEPTH=32.

Related: #232 (same crash, same GPU, full history and logs), #1116 (same mission, RTX 4060 Laptop), #1057 (allocator ceiling, AMD), #1338 (CPU-bound submit thread on a 16 GB PC).

Logs attached: runs 12 and 13 (`

victory-nvidia-20261128-230726.log

, victory-nvidia-20261128-231826.log), the diagnostics run (

victory-nvidia-20261128-031710.log

), crashes.log`, and the GPU monitor from run 11.

gpu-monitor.csv

crashes.log

**@⁠haddad747-lang** on GitHub · 2026-11-28 21:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1548) **Labels:** crash, memory, NVIDIA, series-s, dlss --- On my RTX 4060 Laptop the game always loses the device after about 6 minutes of heavy city play. That's held across 13 runs over a day of builds (64d4931 → 32ecacf), at every switch I tried. The full run-by-run history is in #232 (with @⁠k1nderwunder, same laptop GPU) and matches #1116. This issue pulls together what is known, plus one new lead: in my diagnostics run the host command lists were close to the allocator limit that #1057 found on AMD. **Setup** - HP Victus: RTX 4060 Laptop 8 GB (hybrid with Intel Iris Xe), driver 621.40 - i7-13700H, 16 GB RAM, 60 GB fixed paging file, Windows 11 26200 - Game: Lucia's escape after the store robbery (rooftops → street → getaway car) - Best command so far: ```text play-foxhound.ps1 -SeriesS -Dlss performance -Fps 60 -More @{VICTORY_TEXTURE_ROOM_PERCENT='75'; VICTORY_TEXTURE_POOL='0'; VICTORY_ALLOCATOR_TRIM='0'} ``` **What happens** ```text ERROR victory_gpu::host: when the host device went: the submitting thread was preparing a submission (nothing of ours was running on the card), of 1 lists, for 3.0 ms; pipeline library: no call running; ... ERROR victory_gpu::host: host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 2 lists; no breadcrumbs (... (0x887A0004)); device removed: ... (0x887A0007) ``` **When it happens: after the same amount of heavy play, whatever I change** | Run | Build | Changes | Heavy play before the reset* | |---|---|---|---| | 8 | 63b902f | room 82 %, DLSS off, allocator trim off | 6.7 min | | 10 | 63b902f | room 75 %, DLSS Performance | 5.6 min | | 11 | 63b902f | as 10, Parsec closed, overlay off | 5.9 min | | 12 | 32ecacf | as 10, after `-Preload`, real-time pacing | 6.3 min | | 13 | 32ecacf | as 12 | 6.4 min | \* 5-second stats lines with more than 1,000 draws per frame. - **Pausing doesn't count toward it.** In run 8 I paused for 50 minutes (88 draws per frame), and it reset 7 s after I unpaused, when draws went from 88 to 8,836 per frame. - **The heavy parts:** 3,000–13,000 draws per frame at 3–15 fps. Most of the frame is "preparing" on our side (60–130 ms); the GPU itself isn't the limit. **Ruled out** | Suspect | Evidence | |---|---| | Heat, power, throttling | `nvidia-smi` every 2 s: 75 °C at the reset (84 °C peak), a steady 2,550 MHz, charger in | | Video memory full | The driver counts 5.2 of 8 GB used at the reset. Texture room at 82 % and at 75 % makes no difference. | | A TDR | Windows logs no Display 4101 and no nvlddmkm event | | Our own work on the card | Every trail says "nothing of ours was running on the card". In run 11 every submission had finished. DRED in a diagnostics run was empty, with no faulting address. | | Pipeline library serialisation (the idea in #232) | No serialise running at any of 10 resets. Runs 12 and 13 never saved the library at all, and still reset. | | Overlays and capture tools | NVIDIA overlay off, Parsec closed | **The new lead: command allocators** #1057 traces the same signature on AMD to the live `ID3D12CommandAllocator` count reaching a driver ceiling of about 2,048. The signature: 0x887A0007, empty DRED breadcrumbs, `E_INVALIDARG` near pipeline creation, and `Kernel memory failure ... (id=834)` in the debug layer. Three things in my logs fit it: 1. **My diagnostics run (64d4931, room 82 %, slot evict)** logs the host lists in its `memory, more` line: ```text 00:17:22 host lists: 666 made by the host, 12 preludes made for them (12 alive) 00:21:12 host lists: 1261 made by the host, 110 preludes made for them (110 alive) 00:22:26 host lists: 1481 made by the host, 169 preludes made for them (169 alive) 00:25:35 host lists: 1516 made by the host, 170 preludes made for them (170 alive) 00:26:28 device reset ``` That's about 1,690 allocators from host lists and preludes alone, before counting the thin lists' backs, the card steps' pool and the relay. It grows in steps with each heavy stretch of play, and never comes down. 2. **I see the same `E_INVALIDARG` loads #1057 describes:** `pipeline library: made [...] (the library did not load it: The parameter is incorrect. (0x80070057))`, up to 19 a run. 3. **My other crash, 0x8007000E when a host list closes** (`a host command list did not close (Not enough memory resources ...)`, 8 lists at once in one run), looks like the driver's command-buffer memory running out. @⁠k1nderwunder gets the same on *reset* of a list. Lowering the texture room to 75 % stopped it on my side, but the device reset came instead, after the same amount of play. So my guess is that on NVIDIA too, the total number of live allocators (or the kernel memory behind them) reaches a driver limit during long heavy stretches, and the card is reset while nothing of ours is running. I can't prove it from a release log, because the count isn't logged there. **What would help** 1. **The live allocator count in the release build's periodic stats line**: host lists, preludes, thin backs, card-step pools and relay, and the sum. Then any reset log shows whether it's near 2,048. 2. **A cap or recycling for host lists and preludes**, along the lines of #1057's proposals: a bounded shared prelude pool, a lower `IDLE_MOST`, a cap on the thin lists' backs, and `VICTORY_SUBMIT_DEPTH` 32. 3. If there's a switch combination you'd like tested on an 8 GB NVIDIA laptop, I can run it. Next I'm going to try `VICTORY_RELAY=0` (which avoided the crash for a commenter on #1057), and then `VICTORY_SUBMIT_DEPTH=32`. Related: #232 (same crash, same GPU, full history and logs), #1116 (same mission, RTX 4060 Laptop), #1057 (allocator ceiling, AMD), #1338 (CPU-bound submit thread on a 16 GB PC). Logs attached: runs 12 and 13 (` [victory-nvidia-20261128-230726.log](https://github.com/user-attachments/files/35558077/victory-nvidia-20261128-230726.log) `, `[victory-nvidia-20261128-231826.log](https://github.com/user-attachments/files/35558088/victory-nvidia-20261128-231826.log)`), the diagnostics run (` [victory-nvidia-20261128-031710.log](https://github.com/user-attachments/files/35558142/victory-nvidia-20261128-031710.log) `), `crashes.log`, and the GPU monitor from run 11. [gpu-monitor.csv](https://github.com/user-attachments/files/35558145/gpu-monitor.csv) [crashes.log](https://github.com/user-attachments/files/35558195/crashes.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 21:31:10 +00:00
github-bot changed title from [crash] RTX 4060 Laptop 8 GB: device reset (0x887A0007) after about 6 minutes of heavy city play, on every build and setting (command allocators near #1057's limit?) to RTX 4060 Laptop 8 GB: device reset (0x887A0007) after about 6 minutes of heavy city play, on every build and setting (command allocators near #1057's limit?) 2026-11-28 21:48:45 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 15:42 UTC · original

Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.

If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
**@⁠trustno1-coder** on GitHub · 2026-11-30 15:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1548#issuecomment-7283436867) Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.01). If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
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/trustno1-coder--VIctory-NVIDIA#1548
No description provided.