GPU stops at the first bind of a pipeline made 61 minutes earlier (0x887A0006), v2026.11.30.01, 5070 Ti Laptop #4736

Open
opened 2026-12-01 04:24:48 +00:00 by github-bot · 2 comments
Owner

@⁠ReSerendipity on GitHub · 2026-12-01 04:23 UTC · original

What happened

Open world, daytime street, driving around. The session ran 62.5 minutes (66,469 frames, about 17.7 fps average) and then the picture froze; the device was removed 76 seconds later.

The frame counter stops at exactly the frame that first bound one pipeline:

03:51:45.895  first bind pipeline=0x191b2941900 frame=66469 stage="mesh"  size=6588  hash=86d225f1246cda3c
03:51:45.895  first bind pipeline=0x191b2941900 frame=66469 stage="pixel" size=10512 hash=dfa1210e1ba1505d

That pair was translated and made at the very start of the session, so this is the first use of it 61 minutes in, not a compile:

02:50:43.762  shader translated stage="mesh"  hash=86d225f1246cda3c user_data=5 samplers=0 ms=1
02:50:43.763  shader translated stage="pixel" hash=dfa1210e1ba1505d user_data=4 samplers=2 ms=0
02:50:43.769  host mesh pipeline shaders=[mesh 86d225f1246cda3c, pixel dfa1210e1ba1505d]

No frame is logged after 66469. At 03:52:50 Streamline's frame generation pacer starts timing out on GPU fences, every 500 ms:

WARN streamline: d3d12.cpp:1427[waitCPUFence] Wait on gpu fence timed out after 500ms value 402349
WARN streamline: dlfg.cpp:437[operator ()] CPU pacer is skipping the frame (67058, 0) because of timeout.

and the submitting thread is stuck inside one submission:

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 35 lists, for 11041.6 ms
ERROR victory_gpu::host: relay: the device was lost before fence value 948845 was reached
(once it is, every fence reads u64::MAX); device removed: ... (0x887A0006)

It is not VICTORY_RELAY: two earlier sessions on this PC died the same way with VICTORY_RELAY=0, and this one crashed with VICTORY_RELAY=2 (which also raised the card's busy time from 46% to 98-100% and the average from 8.7 to 17.7 fps, so it is worth keeping).

Memory, in case it matters

The card's budget was 11,176 MB and the session ran over it the whole time, creeping up about 10 MB a minute:

local time card in use / budget shared with the card
02:51 9,491 / 11,176 MB 5,972 MB
03:00 11,289 / 11,176 MB 6,785 MB
03:20 11,466 / 11,176 MB 5,468 MB
03:40 11,651 / 11,176 MB 7,215 MB
03:52 12,036 / 11,176 MB 6,765 MB
memory now: committed 33743 MB, the card's own 12036 MB in use of a budget of 11176 MB,
the PC's shared with the card 6765 MB in use

Streamline printed Exceeded VRAM budget, various performance issues 40,710 times in 62 minutes (every frame).

Every host GPU failure on this PC so far (%LOCALAPPDATA%\victory\data\7952987A\crashes.log, all releases since 11-29)

2026-11-30 19:06:51  relay: the device was lost before fence value 332427 ... (0x887A0006)
2026-11-30 19:19:39  a host command list did not close (0x80070057)
2026-11-30 20:12:15  a host command list did not close (0x80070057)
2026-11-30 20:32:21  relay: the device was lost before fence value 251656 ... (0x887A0006)
2026-12-01 11:53:01  relay: the device was lost before fence value 948845 ... (0x887A0006)

Environment

  • GPU: RTX 5070 Ti Laptop 12 GB, driver 621.40
  • CPU / RAM: i9-13900HX (24C/32T), 31.7 GB
  • OS: Windows 11 10.0.26300
  • Release: v2026.11.30.01 (77811902a17cb8a020b717085091f33f8bd7ce843a3ebb9886f47e43b0512949)
  • Settings: Series X, --res 1440, DLSS Quality, --fg-type dlss, --framegen 4, and these --set options:
VICTORY_AMBIENT=1.20 VICTORY_AMBIENT_AIR=1.50 VICTORY_AMBIENT_ONCE=1 VICTORY_SHADOW_LIFT=0.09
VICTORY_HEAP_HOOKS=1 VICTORY_FILL_TITLE=1 VICTORY_GPU_DETILE=1 VICTORY_SETTLE_UNLOCKED=1 VICTORY_WAIT_SPIN=500
VICTORY_TEXTURE_ROOM_PERCENT=74 VICTORY_FRAMEGEN_ROOM_RESERVE=1 VICTORY_RELAY=2 VICTORY_MAP_ONCE=1
VICTORY_LIBRARY_KEEP_MB=0 VICTORY_PIPELINE_WORKERS=4 VICTORY_PIPELINE_NOW_FIRST=1 VICTORY_PIPELINE_ASKED_WORKERS=4

Log: victory-nvidia-play-20261201-025033-39828.log (72.7 MB, 02:50:33-03:53:01). Nothing in it goes past frame 66469.

Logs

The play log is too big to paste; the lines above are its end. I can put the whole file somewhere if you want it, and I can run a diagnostics build with VICTORY_D3D12_DEBUG=1 to name the command - this PC reproduces the hang in about an hour of open-world driving.

Related: #4578 is the same 0x887A0006 on v2026.11.30.03 (RTX 5090), but that one loses the device mid-play after 20-35 minutes with no frozen frame number; this one stops at a first bind, on .01.

**@⁠ReSerendipity** on GitHub · 2026-12-01 04:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4735) **What happened** Open world, daytime street, driving around. The session ran 62.5 minutes (66,469 frames, about 17.7 fps average) and then the picture froze; the device was removed 76 seconds later. The frame counter stops at exactly the frame that first bound one pipeline: ``` 03:51:45.895 first bind pipeline=0x191b2941900 frame=66469 stage="mesh" size=6588 hash=86d225f1246cda3c 03:51:45.895 first bind pipeline=0x191b2941900 frame=66469 stage="pixel" size=10512 hash=dfa1210e1ba1505d ``` That pair was translated and made at the very start of the session, so this is the first **use** of it 61 minutes in, not a compile: ``` 02:50:43.762 shader translated stage="mesh" hash=86d225f1246cda3c user_data=5 samplers=0 ms=1 02:50:43.763 shader translated stage="pixel" hash=dfa1210e1ba1505d user_data=4 samplers=2 ms=0 02:50:43.769 host mesh pipeline shaders=[mesh 86d225f1246cda3c, pixel dfa1210e1ba1505d] ``` No frame is logged after 66469. At 03:52:50 Streamline's frame generation pacer starts timing out on GPU fences, every 500 ms: ``` WARN streamline: d3d12.cpp:1427[waitCPUFence] Wait on gpu fence timed out after 500ms value 402349 WARN streamline: dlfg.cpp:437[operator ()] CPU pacer is skipping the frame (67058, 0) because of timeout. ``` and the submitting thread is stuck inside one submission: ``` 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 35 lists, for 11041.6 ms ERROR victory_gpu::host: relay: the device was lost before fence value 948845 was reached (once it is, every fence reads u64::MAX); device removed: ... (0x887A0006) ``` It is not `VICTORY_RELAY`: two earlier sessions on this PC died the same way with `VICTORY_RELAY=0`, and this one crashed with `VICTORY_RELAY=2` (which also raised the card's busy time from 46% to 98-100% and the average from 8.7 to 17.7 fps, so it is worth keeping). **Memory, in case it matters** The card's budget was 11,176 MB and the session ran over it the whole time, creeping up about 10 MB a minute: | local time | card in use / budget | shared with the card | |---|---|---| | 02:51 | 9,491 / 11,176 MB | 5,972 MB | | 03:00 | 11,289 / 11,176 MB | 6,785 MB | | 03:20 | 11,466 / 11,176 MB | 5,468 MB | | 03:40 | 11,651 / 11,176 MB | 7,215 MB | | 03:52 | 12,036 / 11,176 MB | 6,765 MB | ``` memory now: committed 33743 MB, the card's own 12036 MB in use of a budget of 11176 MB, the PC's shared with the card 6765 MB in use ``` Streamline printed `Exceeded VRAM budget, various performance issues` 40,710 times in 62 minutes (every frame). **Every host GPU failure on this PC so far** (`%LOCALAPPDATA%\victory\data\7952987A\crashes.log`, all releases since 11-29) ``` 2026-11-30 19:06:51 relay: the device was lost before fence value 332427 ... (0x887A0006) 2026-11-30 19:19:39 a host command list did not close (0x80070057) 2026-11-30 20:12:15 a host command list did not close (0x80070057) 2026-11-30 20:32:21 relay: the device was lost before fence value 251656 ... (0x887A0006) 2026-12-01 11:53:01 relay: the device was lost before fence value 948845 ... (0x887A0006) ``` **Environment** - GPU: RTX 5070 Ti Laptop 12 GB, driver 621.40 - CPU / RAM: i9-13900HX (24C/32T), 31.7 GB - OS: Windows 11 10.0.26300 - Release: v2026.11.30.01 (`77811902a17cb8a020b717085091f33f8bd7ce843a3ebb9886f47e43b0512949`) - Settings: Series X, `--res 1440`, DLSS Quality, `--fg-type dlss`, `--framegen 4`, and these `--set` options: ``` VICTORY_AMBIENT=1.20 VICTORY_AMBIENT_AIR=1.50 VICTORY_AMBIENT_ONCE=1 VICTORY_SHADOW_LIFT=0.09 VICTORY_HEAP_HOOKS=1 VICTORY_FILL_TITLE=1 VICTORY_GPU_DETILE=1 VICTORY_SETTLE_UNLOCKED=1 VICTORY_WAIT_SPIN=500 VICTORY_TEXTURE_ROOM_PERCENT=74 VICTORY_FRAMEGEN_ROOM_RESERVE=1 VICTORY_RELAY=2 VICTORY_MAP_ONCE=1 VICTORY_LIBRARY_KEEP_MB=0 VICTORY_PIPELINE_WORKERS=4 VICTORY_PIPELINE_NOW_FIRST=1 VICTORY_PIPELINE_ASKED_WORKERS=4 ``` Log: `victory-nvidia-play-20261201-025033-39828.log` (72.7 MB, 02:50:33-03:53:01). Nothing in it goes past frame 66469. **Logs** The play log is too big to paste; the lines above are its end. I can put the whole file somewhere if you want it, and I can run a diagnostics build with `VICTORY_D3D12_DEBUG=1` to name the command - this PC reproduces the hang in about an hour of open-world driving. Related: #4578 is the same `0x887A0006` on v2026.11.30.03 (RTX 5090), but that one loses the device mid-play after 20-35 minutes with no frozen frame number; this one stops at a first bind, on .01.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 04:24:48 +00:00
Author
Owner

@⁠ReSerendipity on GitHub · 2026-12-01 15:09 UTC · original

Adding a second, much longer run on the same machine and build - it changes how I read the original report.

Rig / settings: RTX 5070 Ti Laptop 12 GB (driver budget 11,176 MB), driver 621.40, Windows 10.0.26300, v2026.11.30.03 (d178c927...ea3711), 1440p native, DLSS quality, frame generation 4x, 17 --set switches including VICTORY_TEXTURE_ROOM_PERCENT=74 VICTORY_RELAY=2 VICTORY_PIPELINE_WORKERS=4 VICTORY_LIBRARY_KEEP_MB=0.

run A (2026-12-01 02:50Z) run B (2026-12-01 10:41Z)
uptime before device removed 1 h 02 m 27 s 4 h 15 m 56 s
fence at removal 948,845 3,850,649
card's own memory at removal 12,046 MB 11,763 MB
budget 11,176 MB 11,176 MB
first Exceeded VRAM budget 02:58:55Z 14:15:46Z
warnings count 40,710 54,477
removed after the first warning 54 m 06 s 40 m 55 s
waitCPUFence timed out - 0
preparing a submission - 0

memory now: from run B - a staircase, not a per-frame leak:

10:41:07  card   862 MB / budget 11176, committed  8,415, shared   521
10:52:56  card 9,641 / 11176,          committed 28,510, shared 6,183
12:24:12  card 9,974 / 11176,          committed 29,519, shared 6,307
13:02:50  card 10,466 / 11176,         committed 31,080, shared 6,547
14:08:04  card 10,846 / 11176,         committed 31,302, shared 6,630
14:21:04  card 11,241 / 11176 (over),  committed 30,645, shared 5,627
14:56:25  card 11,763 / 11176 (over),  committed 33,525, shared 7,521

Both runs cross the budget, spend 40-55 minutes with Streamline failing an allocation every frame, and only then lose the device:

2026-12-01T14:15:46.271685Z WARN streamline: [slEvaluateFeatureInternal] Exceeded VRAM budget, various performance issues including stuttering can be expected
... 54,477 of these, about 22 per second, until
2026-12-01T14:56:41.521101Z ERROR victory_gpu::host: relay: the device was lost before fence value 3850649 was reached ... (0x887A0006)

What this does to the first-bind theory in the original report: in run B the pipeline library was healthy and quiet - 4,151 records loaded from disk at the start (bytes=0 early=4629 made=0 loaded=4151), only 21 pipelines made in 4 h 16 m (made=21 loaded=4372 at the end), and no first-bind line at the moment of removal. So a pipeline bind is not necessary for the hit; a frame that pushes the card past its budget may be all it takes. My guess is that the 03:51 run reached the same end state faster - it made 295 pipelines at runtime with make_ms_each 736-753 ms, i.e. far more churn.

Suggestion: on a 12 GB card with frame generation at 4x, 74 % of the budget for texture copies is already too much (8,270 MB of card memory for textures, plus the 1.5-2 GB frame generation takes). Either clamp VICTORY_TEXTURE_ROOM_PERCENT when VICTORY_FRAMEGEN_X >= 4 and the budget is 12 GB or less, or log a one-line warning once card's own in use passes the budget. I am re-running at 64 to see whether the over-budget phase disappears.

**@⁠ReSerendipity** on GitHub · 2026-12-01 15:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4735#issuecomment-7315439288) Adding a second, much longer run on the same machine and build - it changes how I read the original report. **Rig / settings**: RTX 5070 Ti Laptop 12 GB (driver budget 11,176 MB), driver 621.40, Windows 10.0.26300, v2026.11.30.03 (`d178c927...ea3711`), 1440p native, DLSS quality, frame generation 4x, 17 `--set` switches including `VICTORY_TEXTURE_ROOM_PERCENT=74 VICTORY_RELAY=2 VICTORY_PIPELINE_WORKERS=4 VICTORY_LIBRARY_KEEP_MB=0`. | | run A (2026-12-01 02:50Z) | run B (2026-12-01 10:41Z) | | --- | --- | --- | | uptime before device removed | 1 h 02 m 27 s | **4 h 15 m 56 s** | | fence at removal | 948,845 | 3,850,649 | | card's own memory at removal | 12,046 MB | 11,763 MB | | budget | 11,176 MB | 11,176 MB | | first `Exceeded VRAM budget` | 02:58:55Z | 14:15:46Z | | warnings count | 40,710 | **54,477** | | removed after the first warning | 54 m 06 s | 40 m 55 s | | `waitCPUFence timed out` | - | **0** | | `preparing a submission` | - | **0** | `memory now:` from run B - a staircase, not a per-frame leak: ``` 10:41:07 card 862 MB / budget 11176, committed 8,415, shared 521 10:52:56 card 9,641 / 11176, committed 28,510, shared 6,183 12:24:12 card 9,974 / 11176, committed 29,519, shared 6,307 13:02:50 card 10,466 / 11176, committed 31,080, shared 6,547 14:08:04 card 10,846 / 11176, committed 31,302, shared 6,630 14:21:04 card 11,241 / 11176 (over), committed 30,645, shared 5,627 14:56:25 card 11,763 / 11176 (over), committed 33,525, shared 7,521 ``` Both runs cross the budget, spend 40-55 minutes with Streamline failing an allocation every frame, and only then lose the device: ``` 2026-12-01T14:15:46.271685Z WARN streamline: [slEvaluateFeatureInternal] Exceeded VRAM budget, various performance issues including stuttering can be expected ... 54,477 of these, about 22 per second, until 2026-12-01T14:56:41.521101Z ERROR victory_gpu::host: relay: the device was lost before fence value 3850649 was reached ... (0x887A0006) ``` **What this does to the first-bind theory in the original report**: in run B the pipeline library was healthy and quiet - 4,151 records loaded from disk at the start (`bytes=0 early=4629 made=0 loaded=4151`), only **21** pipelines made in 4 h 16 m (`made=21 loaded=4372` at the end), and no first-bind line at the moment of removal. So a pipeline bind is not necessary for the hit; a frame that pushes the card past its budget may be all it takes. My guess is that the 03:51 run reached the same end state faster - it made 295 pipelines at runtime with `make_ms_each` 736-753 ms, i.e. far more churn. **Suggestion**: on a 12 GB card with frame generation at 4x, 74 % of the budget for texture copies is already too much (8,270 MB of card memory for textures, plus the 1.5-2 GB frame generation takes). Either clamp `VICTORY_TEXTURE_ROOM_PERCENT` when `VICTORY_FRAMEGEN_X >= 4` and the budget is 12 GB or less, or log a one-line warning once `card's own in use` passes the budget. I am re-running at 64 to see whether the over-budget phase disappears.
Author
Owner

@⁠ReSerendipity on GitHub · 2026-12-01 15:14 UTC · original

Correction to my suggestion above - I read the layer's own accounting line afterwards, and the texture pool is not what fills the card.

2026-12-01T14:56:25.202566Z INFO victory_gpu::host: the texture queue's room: 11763 MB in use
 - 1032 MB free in texture blocks + 0 MB kept for card copies of title buffers + 548 MB kept for render targets
 = 11279 MB against a line of 8270 MB (74.0 % of a budget of 11176 MB; 8014 MB after face headroom,
 4081 MB in texture copies): no room, new textures wait

At the moment of removal only 4,081 MB were in texture copies against an 8,014 MB allowance - and the same figure was 4,011 MB at 10:43, four hours earlier. So the 2.1 GB that appeared during the session is not texture copies; it is the title's own memory (render targets, buffers, windows of title memory) plus what frame generation holds. The queue had been in no room, new textures wait since the first minutes (15,648 lines), so room_line was already binding - lowering VICTORY_TEXTURE_ROOM_PERCENT would mostly evict earlier (more low-detail fills, more hitching) rather than free a gigabyte of card memory.

And VICTORY_FRAMEGEN_ROOM_RESERVE only acts when frame generation is not available (room_line_for: framegen_reserve && !framegen_available), so with FG running it is inert - my remark about a "silently dropped reserve" was wrong.

Revised suggestion, then: the levers are the title's own growth, the render resolution, the frame generation multiplier, or simply a restart cadence (the over-budget phase starts about 3.5 h in, so a restart every 2-3 h avoids it entirely). Sorry for the noise.

**@⁠ReSerendipity** on GitHub · 2026-12-01 15:14 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4735#issuecomment-7315592764) **Correction to my suggestion above** - I read the layer's own accounting line afterwards, and the texture pool is not what fills the card. ``` 2026-12-01T14:56:25.202566Z INFO victory_gpu::host: the texture queue's room: 11763 MB in use - 1032 MB free in texture blocks + 0 MB kept for card copies of title buffers + 548 MB kept for render targets = 11279 MB against a line of 8270 MB (74.0 % of a budget of 11176 MB; 8014 MB after face headroom, 4081 MB in texture copies): no room, new textures wait ``` At the moment of removal only **4,081 MB** were in texture copies against an **8,014 MB** allowance - and the same figure was 4,011 MB at 10:43, four hours earlier. So the 2.1 GB that appeared during the session is not texture copies; it is the title's own memory (render targets, buffers, windows of title memory) plus what frame generation holds. The queue had been in `no room, new textures wait` since the first minutes (15,648 lines), so `room_line` was already binding - lowering `VICTORY_TEXTURE_ROOM_PERCENT` would mostly evict earlier (more low-detail fills, more hitching) rather than free a gigabyte of card memory. And `VICTORY_FRAMEGEN_ROOM_RESERVE` only acts when frame generation is **not** available (`room_line_for`: `framegen_reserve && !framegen_available`), so with FG running it is inert - my remark about a "silently dropped reserve" was wrong. Revised suggestion, then: the levers are the title's own growth, the render resolution, the frame generation multiplier, or simply a restart cadence (the over-budget phase starts about 3.5 h in, so a restart every 2-3 h avoids it entirely). Sorry for the noise.
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#4736
No description provided.