Device removed (0x887A0006) after ~30 min out of video memory: RTX 4070 Ti 12 GB, Windows 10, DLSS frame generation 2x #1498

Closed
opened 2026-11-28 20:51:40 +00:00 by github-bot · 3 comments
Owner

@⁠hopgop1 on GitHub · 2026-11-28 20:49 UTC · original

What happens

About 35 minutes into a session, the GPU device is removed and the run ends:

2026-11-28T20:44:31.118595Z ERROR victory_gpu::host: relay: fence 18446744073709551615 did not reach 728734; device removed: The GPU will not respond to more commands, most likely because of an invalid command passed by the calling application. (0x887A0006); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

The card ran out of video memory long before that. From 20:15 on (about 5 minutes into the run) the log has ~21,000 of these pairs, right up to the failure:

WARN victory_gpu::streamline: DLSS: the upscaling was not recorded: slEvaluateFeature: warning: out of VRAM (39) (the output keeps what it had)
WARN streamline: [...] commonInterface.cpp:581[slEvaluateFeatureInternal] Exceeded VRAM budget, various performance issues including stuttering can be expected

Six seconds before the failure, the texture queue was far over its line:

2026-11-28T20:44:25.840172Z INFO victory_gpu::host: the texture queue's room: 14113 MB in use - 196 MB free in texture blocks + 0 MB kept for card copies of title buffers + 882 MB kept for render targets = 14799 MB against a line of 8952 MB (80.0 % of a budget of 11191 MB; 8696 MB after face headroom, 8954 MB in texture copies): no room, new textures wait

The frame rate fell from 74.6 fps at 20:44:15 to 10–12 fps in the last 10 seconds (8,700–9,300 draws/frame, ~130 dropped without a host pipeline). Then the device was removed. When it went, the submitting thread was preparing a submission of 21 lists and nothing of ours was running on the card. The full "last 96 things done" list is in the attached log.

Logs

  • Play log (attached): victory-nvidia-20261128-200942.log, from the script launcher, zipped. Paths to my own files are replaced with <game folder> / <title exe>; nothing else is changed.
  • Crash log: none from this run. crashes.log and temp\ have nothing newer than 26 Nov, as the run ended on the device removal and not on an exception.

Hardware and software

GPU NVIDIA GeForce RTX 4070 Ti, 12 GB (11994 MB own memory reported)
Driver 621.40
CPU AMD Ryzen 7 5800X3D
RAM 32 GB
Windows Windows 10 Home 22H2 (build 19045), hardware-accelerated GPU scheduling on
D3D12 runtime Agility SDK 1.614.1 in target\release\D3D12 (log: host shader model 6.8)
Storage NVMe SSD

Build and settings

  • Built from source at 923e38c (main, 28 Nov), release build, started with scripts\play-nvidia.ps1.
  • Series S profile, output 1440, DLSS performance, DLSS frame generation 2x (from the F1 menu), no frame rate cap.
  • FSR 3 frame generation stayed off (its DLLs aren't installed); DLSS frame generation was the one running.
  • The full switch list is the first line of the log.

victory-nvidia-20261128-200942.zip

**@⁠hopgop1** on GitHub · 2026-11-28 20:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1498) ### What happens About 35 minutes into a session, the GPU device is removed and the run ends: ``` 2026-11-28T20:44:31.118595Z ERROR victory_gpu::host: relay: fence 18446744073709551615 did not reach 728734; device removed: The GPU will not respond to more commands, most likely because of an invalid command passed by the calling application. (0x887A0006); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command ``` The card ran out of video memory long before that. From 20:15 on (about 5 minutes into the run) the log has ~21,000 of these pairs, right up to the failure: ``` WARN victory_gpu::streamline: DLSS: the upscaling was not recorded: slEvaluateFeature: warning: out of VRAM (39) (the output keeps what it had) WARN streamline: [...] commonInterface.cpp:581[slEvaluateFeatureInternal] Exceeded VRAM budget, various performance issues including stuttering can be expected ``` Six seconds before the failure, the texture queue was far over its line: ``` 2026-11-28T20:44:25.840172Z INFO victory_gpu::host: the texture queue's room: 14113 MB in use - 196 MB free in texture blocks + 0 MB kept for card copies of title buffers + 882 MB kept for render targets = 14799 MB against a line of 8952 MB (80.0 % of a budget of 11191 MB; 8696 MB after face headroom, 8954 MB in texture copies): no room, new textures wait ``` The frame rate fell from 74.6 fps at 20:44:15 to 10–12 fps in the last 10 seconds (8,700–9,300 draws/frame, ~130 dropped without a host pipeline). Then the device was removed. When it went, the submitting thread was preparing a submission of 21 lists and nothing of ours was running on the card. The full "last 96 things done" list is in the attached log. ### Logs - **Play log (attached):** `victory-nvidia-20261128-200942.log`, from the script launcher, zipped. Paths to my own files are replaced with `<game folder>` / `<title exe>`; nothing else is changed. - **Crash log:** none from this run. `crashes.log` and `temp\` have nothing newer than 26 Nov, as the run ended on the device removal and not on an exception. ### Hardware and software | | | | --- | --- | | GPU | NVIDIA GeForce RTX 4070 Ti, 12 GB (11994 MB own memory reported) | | Driver | 621.40 | | CPU | AMD Ryzen 7 5800X3D | | RAM | 32 GB | | Windows | Windows 10 Home 22H2 (build 19045), hardware-accelerated GPU scheduling on | | D3D12 runtime | Agility SDK 1.614.1 in `target\release\D3D12` (log: host shader model 6.8) | | Storage | NVMe SSD | ### Build and settings - Built from source at `923e38c` (main, 28 Nov), release build, started with `scripts\play-nvidia.ps1`. - Series S profile, output 1440, DLSS performance, DLSS frame generation 2x (from the F1 menu), no frame rate cap. - FSR 3 frame generation stayed off (its DLLs aren't installed); DLSS frame generation was the one running. - The full switch list is the first line of the log. [victory-nvidia-20261128-200942.zip](https://github.com/user-attachments/files/35557260/victory-nvidia-20261128-200942.zip)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 20:51:40 +00:00
Author
Owner

@⁠maplerouteadmin-dev on GitHub · 2026-11-29 01:40 UTC · original

Same on an RTX 5070 12 GB, with the numbers from a matched test

PC: RTX 5070 12 GB (driver 621.14, Resizable BAR off), Ryzen 5 5600X, 32 GB RAM, Windows 11 (26200), hardware-accelerated GPU scheduling on.
Build: 63b902f, script launcher. Series X, VICTORY_RENDER_1080P=1 (1080p to 1440p), DLSS Quality, DLSS frame generation 2×.

In play, faces and new models began to draw without textures (grey, red or black skin, flat untextured props) a few minutes into a session. The log shows the texture queue at its line from about the second minute, with new textures waiting. With frame generation off, the same save ran out only 4 times in 215 checks.

Matched runs: same frozen city save, 300 s each, frame generation 2×:

Run no room, new textures wait Textures waiting at the end Frame generation
Launcher default (TEXTURE_ROOM_PERCENT=80) 45 of 58 checks 11,379 working
VICTORY_SLOT_EVICT_PERCENT=75 44 of 57 13,717 working
TEXTURE_ROOM_PERCENT=86, other apps' card memory freed first 11 of 57 9,304 working, status 0x0, every present

Observations:

  • Slot eviction never runs in this state. The card sits at about 82% of its budget (8.4 of 10.2 GB), above the 80% texture line but below VICTORY_SLOT_EVICT_PERCENT's default of 85%. Lowering it to 75% made no difference: the log has no eviction lines, presumably because few textures qualify as idle.
  • The budget shrinks during the run: 11,176 MB at the swap chain, 10,128 MB a minute into the world, while 5.9-6.1 GB of shared GPU memory is in use.
  • 86% kept frame generation working for the full 5 minutes (no "out of VRAM" from Streamline in any of the three runs) and cut blocked checks from 45 to 11. Faces were better in play but still went wrong after a while.

Happy to run more matched tests if useful.

AI-assisted (Claude Code); measured on my own machine.

**@⁠maplerouteadmin-dev** on GitHub · 2026-11-29 01:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1498#issuecomment-7248936123) **Same on an RTX 5070 12 GB, with the numbers from a matched test** **PC:** RTX 5070 12 GB (driver 621.14, Resizable BAR off), Ryzen 5 5600X, 32 GB RAM, Windows 11 (26200), hardware-accelerated GPU scheduling on. **Build:** `63b902f`, script launcher. Series X, `VICTORY_RENDER_1080P=1` (1080p to 1440p), DLSS Quality, DLSS frame generation 2×. In play, faces and new models began to draw without textures (grey, red or black skin, flat untextured props) a few minutes into a session. The log shows the texture queue at its line from about the second minute, with new textures waiting. With frame generation off, the same save ran out only 4 times in 215 checks. **Matched runs:** same frozen city save, 300 s each, frame generation 2×: | Run | `no room, new textures wait` | Textures waiting at the end | Frame generation | |---|---|---|---| | Launcher default (`TEXTURE_ROOM_PERCENT=80`) | 45 of 58 checks | 11,379 | working | | `VICTORY_SLOT_EVICT_PERCENT=75` | 44 of 57 | 13,717 | working | | `TEXTURE_ROOM_PERCENT=86`, other apps' card memory freed first | **11 of 57** | 9,304 | working, `status 0x0`, every present | Observations: - **Slot eviction never runs in this state.** The card sits at about 82% of its budget (8.4 of 10.2 GB), above the 80% texture line but below `VICTORY_SLOT_EVICT_PERCENT`'s default of 85%. Lowering it to 75% made no difference: the log has no eviction lines, presumably because few textures qualify as idle. - **The budget shrinks during the run:** 11,176 MB at the swap chain, 10,128 MB a minute into the world, while 5.9-6.1 GB of shared GPU memory is in use. - **86% kept frame generation working for the full 5 minutes** (no "out of VRAM" from Streamline in any of the three runs) and cut blocked checks from 45 to 11. Faces were better in play but still went wrong after a while. Happy to run more matched tests if useful. *AI-assisted (Claude Code); measured on my own machine.*
Author
Owner

@⁠iBooM72 on GitHub · 2026-11-29 06:36 UTC · original

Similar crash on another RTX 4070 Ti 12 GB, after 53 minutes (v2026.11.28.03): 0x887A0006

Setup: driver 621.01, i7-14700K, 32 GB RAM, Windows 11 build 26300. Series X, 1440p, DLSS Quality, DLSS FG 2x, 60 fps cap, VICTORY_TEXTURE_BUDGET_MB=8192, VICTORY_STREAMLINE_PRESENT=1.

UTC (29 Nov) Event
06:07:56 First slEvaluateFeature warning 39 (out of VRAM); 24,787 by the end
06:09:06 Card at 10,968 MB of a 10,870 MB budget; 11,379 of 10,870 MB at 06:27:35
06:27:49 / 06:27:52 FG off / on again (code 39 both times). Windows logs nvlddmkm event 153 from 11 ms after "on", about 45 a second
06:28:04 / 06:28:08 FG off / on again: the 153 events stop, then resume
06:28:44 Device removed; nothing of the layer's was running on the card

There were 2,088 event 153 entries, all from 06:27:52 on. FG had also been on past the budget before that without any, so being over budget doesn't explain them by itself.

Possible cause, not proven: this release treats 39 as a failed upscaling, so run_external skips state.replay even though Streamline recorded its work. 374806c (first part of #856) fixes that. It's in main (e1f2eb60), but not in this release or 923e38c, the build in the original report. I haven't retested with the fix.

May have added to the VRAM use: VICTORY_TEXTURE_BUDGET_MB makes room() check only the texture copies' own size, so the 80% line for FG isn't used. That's my setting, not a default, and main does the same.

The log's 0 frames shown may be the miscount described in #856, so I'm not counting it as an FG failure.

Attached: the play log and crashes.log. The username, PC name, Streamline local times and the offline placeholder XUID are replaced.

victory-crash-20261129-redacted.zip

**@⁠iBooM72** on GitHub · 2026-11-29 06:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1498#issuecomment-7251959939) **Similar crash on another RTX 4070 Ti 12 GB, after 53 minutes (`v2026.11.28.03`): `0x887A0006`** **Setup:** driver 621.01, i7-14700K, 32 GB RAM, Windows 11 build 26300. Series X, 1440p, DLSS Quality, DLSS FG 2x, 60 fps cap, `VICTORY_TEXTURE_BUDGET_MB=8192`, `VICTORY_STREAMLINE_PRESENT=1`. | UTC (29 Nov) | Event | |---|---| | 06:07:56 | First `slEvaluateFeature` warning 39 (out of VRAM); 24,787 by the end | | 06:09:06 | Card at 10,968 MB of a 10,870 MB budget; 11,379 of 10,870 MB at 06:27:35 | | 06:27:49 / 06:27:52 | FG off / on again (code 39 both times). Windows logs `nvlddmkm` event 153 from 11 ms after "on", about 45 a second | | 06:28:04 / 06:28:08 | FG off / on again: the 153 events stop, then resume | | 06:28:44 | Device removed; nothing of the layer's was running on the card | There were 2,088 event 153 entries, all from 06:27:52 on. FG had also been on past the budget before that without any, so being over budget doesn't explain them by itself. **Possible cause, not proven:** this release treats 39 as a failed upscaling, so `run_external` skips `state.replay` even though Streamline recorded its work. `374806c` (first part of #856) fixes that. It's in `main` (`e1f2eb60`), but not in this release or `923e38c`, the build in the original report. I haven't retested with the fix. **May have added to the VRAM use:** `VICTORY_TEXTURE_BUDGET_MB` makes `room()` check only the texture copies' own size, so the 80% line for FG isn't used. That's my setting, not a default, and `main` does the same. The log's `0 frames shown` may be the miscount described in #856, so I'm not counting it as an FG failure. Attached: the play log and `crashes.log`. The username, PC name, Streamline local times and the offline placeholder XUID are replaced. [victory-crash-20261129-redacted.zip](https://github.com/user-attachments/files/35565044/victory-crash-20261129-redacted.zip)
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/1498#issuecomment-7283451484) 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#1498
No description provided.