Device removed (0x887A0007) in the prologue on RTX 4060 Laptop 8 GB / 16 GB RAM — invalid GPU command, VRAM not full, TdrDelay does not help #4252

Open
opened 2026-11-30 18:09:24 +00:00 by github-bot · 2 comments
Owner

@⁠worldofgamers27 on GitHub · 2026-11-30 17:46 UTC · original

Device removed (0x887A0007) in the prologue on RTX 4060 Laptop 8 GB / 16 GB RAM - invalid GPU command, VRAM not full, TdrDelay does not help

System:

  • GPU: NVIDIA GeForce RTX 4060 Laptop (8 GB), driver 616.92
  • CPU: Intel Core i5-12500H (Alder Lake, AVX2, no AVX-512)
  • RAM: 16 GB
  • OS: Windows 11, build 26200 (10.0.26200)
  • Game: Xbox Series build v1.0.2.1 (own dump), Series S profile

Build:
Latest hotfix victory.exe SHA-256 0175ad10dadf2023990dd2b50e2a8b364d0b22fbdbd0bd9393003484310d91a4
(the one posted ~30 min before this report; the CLZERO 0xc000001d of v2026.11.30.01 is gone in it - thanks).

What happens:
In the prologue the game runs for a while (I saw ~15-18 fps real) and then the device is removed:

ERROR victory_gpu::host: relay: device lost before publishing queued GPU work; device removed: ... (0x887A0007)
VIctory: host GPU failure: relay: device lost before publishing queued GPU work; device removed ...

followed by a burst of "no upload buffer ... 0x887A0005" warnings.

The last memory line before the crash:

memory now: committed 19631 MB, the card's own 6592 MB in use of a budget of 7188 MB, the PC's shared with the card 3995 MB in use

So VRAM was at ~6.6 / 7.2 GB (not full, ~600 MB free), and it is not a TDR timeout (see below).

What I already tried:

  • Series S profile, DLSS performance, frame generation off (FG 2x on 8 GB crashes even sooner - expected, that is your open 8 GB OOM).
  • VICTORY_TEXTURE_ROOM_PERCENT=45..65
  • VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536 (default 3072)
  • VICTORY_CARD_CPU_FILE=1 (VICTORY_SEND_OWN default on)
  • VICTORY_RESIDENCY_PRIORITY=1
  • TdrDelay = 30 and TdrDdiDelay = 30 in HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers, then reboot - no change, so it is not a TDR timeout. The removal is an invalid command reaching the driver, not a long frame.

Notes that may help bisect:

  • Build 0d3dae51870bad44aa529c9fddd762a513d677ff8d08147134968ba7ed67dffd (an earlier victory.exe) runs the same prologue without this device-removed crash (slower, ~15 fps, but stable there). So this looks like a regression or a new code path in the newer builds.
  • v2026.11.30.01 (7781...) also crashed earlier in the same area with 0xc000001d (CLZERO); that one is fixed in 0175ad10.
  • The TdrDelay change had no effect at all.

Ask:
Is this the 8 GB issue you list as still open, or a separate invalid-command bug in the prologue? If separate, the play log and crashes.log from the run are attached. Happy to run a diagnostics build (VICTORY_D3D12_DEBUG=1) if you tell me which switch names the failing command.

victory-logs.zip

**@⁠worldofgamers27** on GitHub · 2026-11-30 17:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4251) Device removed (0x887A0007) in the prologue on RTX 4060 Laptop 8 GB / 16 GB RAM - invalid GPU command, VRAM not full, TdrDelay does not help System: - GPU: NVIDIA GeForce RTX 4060 Laptop (8 GB), driver 616.92 - CPU: Intel Core i5-12500H (Alder Lake, AVX2, no AVX-512) - RAM: 16 GB - OS: Windows 11, build 26200 (10.0.26200) - Game: Xbox Series build v1.0.2.1 (own dump), Series S profile Build: Latest hotfix victory.exe SHA-256 0175ad10dadf2023990dd2b50e2a8b364d0b22fbdbd0bd9393003484310d91a4 (the one posted ~30 min before this report; the CLZERO 0xc000001d of v2026.11.30.01 is gone in it - thanks). What happens: In the prologue the game runs for a while (I saw ~15-18 fps real) and then the device is removed: ERROR victory_gpu::host: relay: device lost before publishing queued GPU work; device removed: ... (0x887A0007) VIctory: host GPU failure: relay: device lost before publishing queued GPU work; device removed ... followed by a burst of "no upload buffer ... 0x887A0005" warnings. The last memory line before the crash: memory now: committed 19631 MB, the card's own 6592 MB in use of a budget of 7188 MB, the PC's shared with the card 3995 MB in use So VRAM was at ~6.6 / 7.2 GB (not full, ~600 MB free), and it is not a TDR timeout (see below). What I already tried: - Series S profile, DLSS performance, frame generation off (FG 2x on 8 GB crashes even sooner - expected, that is your open 8 GB OOM). - VICTORY_TEXTURE_ROOM_PERCENT=45..65 - VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536 (default 3072) - VICTORY_CARD_CPU_FILE=1 (VICTORY_SEND_OWN default on) - VICTORY_RESIDENCY_PRIORITY=1 - TdrDelay = 30 and TdrDdiDelay = 30 in HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers, then reboot - no change, so it is not a TDR timeout. The removal is an invalid command reaching the driver, not a long frame. Notes that may help bisect: - Build 0d3dae51870bad44aa529c9fddd762a513d677ff8d08147134968ba7ed67dffd (an earlier victory.exe) runs the same prologue without this device-removed crash (slower, ~15 fps, but stable there). So this looks like a regression or a new code path in the newer builds. - v2026.11.30.01 (7781...) also crashed earlier in the same area with 0xc000001d (CLZERO); that one is fixed in 0175ad10. - The TdrDelay change had no effect at all. Ask: Is this the 8 GB issue you list as still open, or a separate invalid-command bug in the prologue? If separate, the play log and crashes.log from the run are attached. Happy to run a diagnostics build (VICTORY_D3D12_DEBUG=1) if you tell me which switch names the failing command. [victory-logs.zip](https://github.com/user-attachments/files/35632556/victory-logs.zip)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 18:09:24 +00:00
Author
Owner

@⁠tyr0nsur on GitHub · 2026-11-30 20:13 UTC · original

One detail in your log that may help separate this from the 8 GB reports: the removal reason is 0x887A0007 (DXGI_ERROR_DEVICE_RESET), not 0x887A0006 (DEVICE_HUNG, an invalid or endless command of ours). The first sign in victory-nvidia-20261130-192657.log is at 17:33:35, when every pipeline creation and buffer allocation starts returning 0x887A0005 with removed="0x887a0007". No refused allocation or memory-pressure warning comes before it, and the card is at 6.6 of 7.2 GB.

DEVICE_RESET is the reason D3D12 gives when the device was reset from outside this process's commands: the driver recovered from a fault elsewhere (another program's GPU work, an overlay or capture tool), or the GPU was lost at the driver or power level. On laptops that often means hybrid graphics or the power state. So it is worth checking:

  • Event Viewer > Windows Logs > System around 17:33:35 for nvlddmkm (events 13 / 153) or Display (4101) entries. Their text says what the driver saw.
  • Whether anything else used the GPU then: overlays (Discord, GeForce Experience / NVIDIA App, capture tools), browsers with hardware acceleration.
  • Power: plugged in, with the NVIDIA Control Panel "Power management mode" set to "Prefer maximum performance", and the game set to the NVIDIA GPU in Windows' graphics settings. With MUX/Advanced Optimus, try dGPU-only mode.
  • Driver 616.92 is older than the 621.x most reports use, and an update is worth a try.

If Event Viewer shows a nvlddmkm fault from this process, a diagnostics build with VICTORY_D3D12_DRED=1 would show the last commands the card ran.

AI-assisted with Claude Code.

**@⁠tyr0nsur** on GitHub · 2026-11-30 20:13 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4251#issuecomment-7290581987) One detail in your log that may help separate this from the 8 GB reports: the removal reason is **`0x887A0007` (`DXGI_ERROR_DEVICE_RESET`)**, not `0x887A0006` (`DEVICE_HUNG`, an invalid or endless command of ours). The first sign in `victory-nvidia-20261130-192657.log` is at 17:33:35, when every pipeline creation and buffer allocation starts returning `0x887A0005` with `removed="0x887a0007"`. No refused allocation or memory-pressure warning comes before it, and the card is at 6.6 of 7.2 GB. `DEVICE_RESET` is the reason D3D12 gives when the device was reset from outside this process's commands: the driver recovered from a fault elsewhere (another program's GPU work, an overlay or capture tool), or the GPU was lost at the driver or power level. On laptops that often means hybrid graphics or the power state. So it is worth checking: - **Event Viewer > Windows Logs > System** around 17:33:35 for `nvlddmkm` (events 13 / 153) or `Display` (4101) entries. Their text says what the driver saw. - Whether anything else used the GPU then: overlays (Discord, GeForce Experience / NVIDIA App, capture tools), browsers with hardware acceleration. - **Power:** plugged in, with the NVIDIA Control Panel "Power management mode" set to "Prefer maximum performance", and the game set to the NVIDIA GPU in Windows' graphics settings. With MUX/Advanced Optimus, try dGPU-only mode. - Driver 616.92 is older than the 621.x most reports use, and an update is worth a try. If Event Viewer shows a `nvlddmkm` fault from this process, a diagnostics build with `VICTORY_D3D12_DRED=1` would show the last commands the card ran. AI-assisted with Claude Code.
Author
Owner

@⁠kentherussell on GitHub · 2026-11-30 20:31 UTC · original

Same crash here on a desktop RTX 4060 8 GB (i7-13700F, 32 GB RAM, Windows 11 26200, driver 610.88, v2026.11.30.02 built from source, Series S, DLSS performance, frame generation off). Three times today, 32-44 minutes into a run, the card at 6.9-7.7 GB of a ~7.0 GB budget and no 0x8007000E anywhere in the logs:

  • 13:54: host GPU failure: a submission sent ahead could not be followed by a signal ... (0x887A0005) ... (0x887A0007)
  • 14:39: the PC hung and rebooted with bugcheck 0x133 (DPC_WATCHDOG_VIOLATION) in nvlddmkm, so there's no app log of the end (more in #4355)
  • 15:24: relay: device lost before publishing queued GPU work ... (0x887A0007), then the burst of no upload buffer ... 0x887A0005, the same as yours

On @⁠tyr0nsur's question: Windows did log nvlddmkm events each time, all on the same pattern, event 14 with the same first word 024c1547, then 153 "UCodeReset TDR":

13:54:32 nvlddmkm 14:  024c1547 00000000 00000000 00000000 00000000 00000000 00000000 00000000
13:54:32 nvlddmkm 153: UCodeReset TDR occurred on GPUID:100
13:54:40 nvlddmkm 14:  - timeout error waiting for NV_UFLUSH_FB_FLUSH = 0x2 cnt=439984
13:54:40 nvlddmkm 14:  GPU recovery action changed from 0x0 (None) to 0x1 (PF FLR)
13:54:43-45 nvlddmkm 153: Resetting / Reset / Restarting TDR
14:39:37 nvlddmkm 14:  024c1547 00000000 00000000 00000000 00000000 00000000 00000000 00000000
14:39:37 nvlddmkm 153: UCodeReset TDR occurred on GPUID:100
14:42:09 bugcheck 0x133 (0x1, 0x1e00, ...)
15:24:23 nvlddmkm 14:  024c1547 00000000 00000000 202be5e0 202be3e2 2029de6e 202bf008 20299b46
15:24:23 nvlddmkm 153: UCodeReset TDR occurred on GPUID:100
15:24:29-46 nvlddmkm 153: Resetting / Reset / Restarting TDR

Desktop, so no hybrid graphics or battery. Nothing else was using the card apart from Edge Game Assist (the Game Bar's browser) in the second run. I'm on an older driver than you (610.88) and will update next, then add a comment saying whether it still happens.

Logs (play log of the 15:24 run, crashes.log and the event lines above, user name replaced by USER): https://gist.github.com/kentherussell/8f0a7eece9ed0b06f637213627d7f3f8

**@⁠kentherussell** on GitHub · 2026-11-30 20:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4251#issuecomment-7291063148) Same crash here on a desktop RTX 4060 8 GB (i7-13700F, 32 GB RAM, Windows 11 26200, driver 610.88, v2026.11.30.02 built from source, Series S, DLSS performance, frame generation off). Three times today, 32-44 minutes into a run, the card at 6.9-7.7 GB of a ~7.0 GB budget and no `0x8007000E` anywhere in the logs: - 13:54: `host GPU failure: a submission sent ahead could not be followed by a signal ... (0x887A0005) ... (0x887A0007)` - 14:39: the PC hung and rebooted with bugcheck 0x133 (DPC_WATCHDOG_VIOLATION) in nvlddmkm, so there's no app log of the end (more in #4355) - 15:24: `relay: device lost before publishing queued GPU work ... (0x887A0007)`, then the burst of `no upload buffer ... 0x887A0005`, the same as yours On @⁠tyr0nsur's question: Windows did log nvlddmkm events each time, all on the same pattern, event 14 with the same first word `024c1547`, then 153 "UCodeReset TDR": ``` 13:54:32 nvlddmkm 14: 024c1547 00000000 00000000 00000000 00000000 00000000 00000000 00000000 13:54:32 nvlddmkm 153: UCodeReset TDR occurred on GPUID:100 13:54:40 nvlddmkm 14: - timeout error waiting for NV_UFLUSH_FB_FLUSH = 0x2 cnt=439984 13:54:40 nvlddmkm 14: GPU recovery action changed from 0x0 (None) to 0x1 (PF FLR) 13:54:43-45 nvlddmkm 153: Resetting / Reset / Restarting TDR 14:39:37 nvlddmkm 14: 024c1547 00000000 00000000 00000000 00000000 00000000 00000000 00000000 14:39:37 nvlddmkm 153: UCodeReset TDR occurred on GPUID:100 14:42:09 bugcheck 0x133 (0x1, 0x1e00, ...) 15:24:23 nvlddmkm 14: 024c1547 00000000 00000000 202be5e0 202be3e2 2029de6e 202bf008 20299b46 15:24:23 nvlddmkm 153: UCodeReset TDR occurred on GPUID:100 15:24:29-46 nvlddmkm 153: Resetting / Reset / Restarting TDR ``` Desktop, so no hybrid graphics or battery. Nothing else was using the card apart from Edge Game Assist (the Game Bar's browser) in the second run. I'm on an older driver than you (610.88) and will update next, then add a comment saying whether it still happens. Logs (play log of the 15:24 run, crashes.log and the event lines above, user name replaced by USER): https://gist.github.com/kentherussell/8f0a7eece9ed0b06f637213627d7f3f8
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#4252
No description provided.