v2026.11.28.03: relay fence 18446744073709551615 (u64::MAX) never reached, device removed 0x887A0006 #3563

Open
opened 2026-11-30 01:08:50 +00:00 by github-bot · 3 comments
Owner

@⁠aef200 on GitHub · 2026-11-30 01:03 UTC · original

v2026.11.28.03 ends a run with a relay fence of u64::MAX, which the device can never reach; the GPU then stops answering and the run dies. v2026.11.29.05 does not do this in my sessions (it ends differently, see the last section), so it looks specific to the 28.03 build.

The line

2026-11-30T01:02:26.267563Z ERROR victory_gpu::host: relay: fence 18446744073709551615 did not reach 172973;
  device removed: GPU 不响应更多的命令,最为可能的原因是调用应用程序传递了无效的命令。 (0x887A0006);
  a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

18446744073709551615 is u64::MAX: something handed the relay a fence with the "no value" sentinel set as if it were a real target, so SetEventOnCompletion waits on a value the queue will never signal. The run reaches the world and plays for about ten minutes first, so it is not the first submit.

Setup

  • VIctory-NVIDIA release v2026.11.28.03, victory.exe (11,369 KB) from the release page
  • victory.exe play --series-s --dlss quality --fps 1000 <game_scarlett_master.exe>
  • Frame generation came up on its own at 2x (the title showed 18 fps (frame gen 35 fps)); victory-settings.txt from the F1 menu had VICTORY_MENU_FRAMEGEN=0 at the time, so I am not sure whether that start had it on or off
  • Windows 11 26200, i5-12600KF, 32 GB DDR5, RTX 4060 Ti 8 GB, driver 621.24
  • Title build v1.0.2.1-CYBERLEEK, Series S profile
  • The shader and pipeline caches were fully warmed with the same build beforehand: victory.exe shaders <dump> then victory.exe warm --again (89,137 pipelines, 1,025 s), so no pipeline is being built during play

Right up to the crash the numbers looked good - 18 fps at 5,330 draws, 7,151 MB of 8,188 in use, GPU 99 %.

Why I am reporting it rather than just moving on

The 28.03 build is the fastest one I have run on this card (18 fps base at 5,300 draws, against 15 fps at 9,400 draws on 29.05), and the person whose settings I copied reports the same ordering. If this fence is the only thing standing between 28.03 and a long session, it is worth fixing rather than using the slower build.

The other build, for comparison

v2026.11.29.05 on the same machine, fully warmed with its own warm --again:

streamline: Exceeded VRAM budget, various performance issues including stuttering can be expected
victory_gpu::host: a host command list did not close (参数错误。 (0x80070057)): a command recorded into it was invalid

That one is a different failure (VRAM pressure at 7,814 MB of 8,188 with frame generation on), so I do not think the two share a cause. Both are reproducible here; happy to run a VICTORY_D3D12_DEBUG=1 build of either and send the named command.

**@⁠aef200** on GitHub · 2026-11-30 01:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3563) `v2026.11.28.03` ends a run with a relay fence of `u64::MAX`, which the device can never reach; the GPU then stops answering and the run dies. `v2026.11.29.05` does not do this in my sessions (it ends differently, see the last section), so it looks specific to the 28.03 build. ## The line ``` 2026-11-30T01:02:26.267563Z ERROR victory_gpu::host: relay: fence 18446744073709551615 did not reach 172973; device removed: GPU 不响应更多的命令,最为可能的原因是调用应用程序传递了无效的命令。 (0x887A0006); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command ``` `18446744073709551615` is `u64::MAX`: something handed the relay a fence with the "no value" sentinel set as if it were a real target, so `SetEventOnCompletion` waits on a value the queue will never signal. The run reaches the world and plays for about ten minutes first, so it is not the first submit. ## Setup - `VIctory-NVIDIA` release `v2026.11.28.03`, `victory.exe` (11,369 KB) from the release page - `victory.exe play --series-s --dlss quality --fps 1000 <game_scarlett_master.exe>` - Frame generation came up on its own at 2x (the title showed `18 fps (frame gen 35 fps)`); `victory-settings.txt` from the F1 menu had `VICTORY_MENU_FRAMEGEN=0` at the time, so I am not sure whether that start had it on or off - Windows 11 26200, i5-12600KF, 32 GB DDR5, **RTX 4060 Ti 8 GB**, driver 621.24 - Title build `v1.0.2.1-CYBERLEEK`, Series S profile - The shader and pipeline caches were fully warmed with the same build beforehand: `victory.exe shaders <dump>` then `victory.exe warm --again` (89,137 pipelines, 1,025 s), so no pipeline is being built during play Right up to the crash the numbers looked good - 18 fps at 5,330 draws, 7,151 MB of 8,188 in use, GPU 99 %. ## Why I am reporting it rather than just moving on The 28.03 build is the fastest one I have run on this card (18 fps base at 5,300 draws, against 15 fps at 9,400 draws on 29.05), and the person whose settings I copied reports the same ordering. If this fence is the only thing standing between 28.03 and a long session, it is worth fixing rather than using the slower build. ## The other build, for comparison `v2026.11.29.05` on the same machine, fully warmed with its own `warm --again`: ``` streamline: Exceeded VRAM budget, various performance issues including stuttering can be expected victory_gpu::host: a host command list did not close (参数错误。 (0x80070057)): a command recorded into it was invalid ``` That one is a different failure (VRAM pressure at 7,814 MB of 8,188 with frame generation on), so I do not think the two share a cause. Both are reproducible here; happy to run a `VICTORY_D3D12_DEBUG=1` build of either and send the named command.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 01:08:51 +00:00
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-30 03:39 UTC · original

A note on reading that line, and a second case on a different build.

The u64::MAX is the fence's completed value, not a target. READ IN CODE (crates/victory-gpu/src/host.rs, wait_host_fence): the message is "{context}: fence {completed} did not reach {target}", where completed comes from fence.GetCompletedValue() after the wait. In D3D12 a fence on a removed device reports UINT64_MAX as its completed value, and the function's own doc comment says so ("a lost device (a completed value of u64::MAX) made every wait pass at once"). So in fence 18446744073709551615 did not reach 172973, the relay was waiting for 172973, a normal value, and the device was already gone when it read the fence. The line shows the device removal; it doesn't point at a bad fence value handed to the relay.

Same line here, on a build that is not 28.03. MEASURED, one run:

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 24 lists, for 4336.
ERROR victory_gpu::host: relay: fence 18446744073709551615 did not reach 388117; device removed: ... (0x887A0006); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command
  • 27.9 min in the world, most of it under water. The frame-time lines right before were normal: median 71.4 ms (the pacing cap), 0 frames over 100 ms in the last windows. VRAM was at 12.5 of 14.8 GB, with no texture-room refusals in the last 20 minutes. So it wasn't a stall building up or running out of memory.
  • Build: fork main 9300875 (2026-11-28) plus local picks (#339, #348, #638, #1074/#1145, #1551, main's 25b3b5c ported, #2538's ledger ported, and #1677 for that run). Not a release.
  • Settings: 4K output, DLSS Performance, frame generation 4x, launcher mode 6. RTX 5070 Ti 16 GB, driver 621.40, Ryzen 7 9800X3D, 32 GB, Windows 11 Home 26300.
  • Not tested: a diagnostics build with VICTORY_D3D12_DEBUG=1, so I don't know which command it was. I haven't seen it repeat: an 11-min rerun of the same build in the same place ended normally.

Written with Claude Code (Claude Opus 5.5) from our own logs; I checked it before posting.

**@⁠futurepro62** on GitHub · 2026-11-30 03:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3563#issuecomment-7268090086) A note on reading that line, and a second case on a different build. **The `u64::MAX` is the fence's completed value, not a target.** READ IN CODE (`crates/victory-gpu/src/host.rs`, `wait_host_fence`): the message is `"{context}: fence {completed} did not reach {target}"`, where `completed` comes from `fence.GetCompletedValue()` after the wait. In D3D12 a fence on a removed device reports `UINT64_MAX` as its completed value, and the function's own doc comment says so ("a lost device (a completed value of `u64::MAX`) made every wait pass at once"). So in `fence 18446744073709551615 did not reach 172973`, the relay was waiting for 172973, a normal value, and the device was already gone when it read the fence. The line shows the device removal; it doesn't point at a bad fence value handed to the relay. **Same line here, on a build that is not 28.03.** MEASURED, one run: ``` 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 24 lists, for 4336. ERROR victory_gpu::host: relay: fence 18446744073709551615 did not reach 388117; device removed: ... (0x887A0006); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command ``` - 27.9 min in the world, most of it under water. The frame-time lines right before were normal: median 71.4 ms (the pacing cap), 0 frames over 100 ms in the last windows. VRAM was at 12.5 of 14.8 GB, with no texture-room refusals in the last 20 minutes. So it wasn't a stall building up or running out of memory. - Build: fork `main` `9300875` (2026-11-28) plus local picks (#339, #348, #638, #1074/#1145, #1551, `main`'s `25b3b5c` ported, #2538's ledger ported, and #1677 for that run). Not a release. - Settings: 4K output, DLSS Performance, frame generation 4x, launcher mode 6. RTX 5070 Ti 16 GB, driver 621.40, Ryzen 7 9800X3D, 32 GB, Windows 11 Home 26300. - Not tested: a diagnostics build with `VICTORY_D3D12_DEBUG=1`, so I don't know which command it was. I haven't seen it repeat: an 11-min rerun of the same build in the same place ended normally. Written with Claude Code (Claude Opus 5.5) from our own logs; I checked it before posting.
Author
Owner

@⁠aef200 on GitHub · 2026-11-30 04:22 UTC · original

You are right and I was wrong: I read completed as the target. Thanks for pointing at wait_host_fence - the format string settles it, and the doc comment about a lost device reporting u64::MAX makes the line a record of the removal rather than a bad value handed to the relay. The title of this issue is misleading for that reason; I would edit it if GitHub let me, and a maintainer is welcome to rename it to "intermittent device removal, relay waits on a normal target".

What that changes for me

Nothing about the failure itself, only about the cause: it is an intermittent device removal on a healthy-looking run, not a fence-value bug. Our two sessions of the same build fit that:

  • v2026.11.28.03, RTX 4060 Ti 8 GB, driver 621.24, --series-s --dlss quality, frame generation 2x, 1920x1080
  • First session: died about ten minutes in, in a chase; fence 18446744073709551615 did not reach 172973
  • Second session, same build and settings: 57 minutes and still fine when I stopped it, then a later one ended in a chase again after about 40 minutes
  • Frame times and VRAM right up to each one: 16 fps at 4,255 draws, 7,643 of 8,188 MB, no texture-room refusals in the log

So a session of this build can be fine for an hour and then go in a chase, which matches your 27.9 minutes followed by an 11-minute rerun that ended normally.

One thing that may narrow it

The two sessions where it happened to me were both chases - scripted vehicle sequences with a lot of streaming and a cutscene camera. If you have a save near one, the same place twice may be cheaper than a general rerun.

What I can offer

A diagnostics build with VICTORY_D3D12_DEBUG=1 and the crash on demand is the obvious next step, but I cannot yet reproduce it at will on this card; the build is 28.03 from the releases, so a diagnostics build of the same revision would be needed. If someone has a diag build of 28.03 or of main and tells me the flag set, I will run chases until it goes and send the named command.

Thanks again for the read - it saved me from chasing a fence that was only a symptom.

**@⁠aef200** on GitHub · 2026-11-30 04:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3563#issuecomment-7268724161) You are right and I was wrong: I read `completed` as the target. Thanks for pointing at `wait_host_fence` - the format string settles it, and the doc comment about a lost device reporting `u64::MAX` makes the line a record of the removal rather than a bad value handed to the relay. The title of this issue is misleading for that reason; I would edit it if GitHub let me, and a maintainer is welcome to rename it to "intermittent device removal, relay waits on a normal target". ## What that changes for me Nothing about the failure itself, only about the cause: it is an intermittent device removal on a healthy-looking run, not a fence-value bug. Our two sessions of the same build fit that: - `v2026.11.28.03`, RTX 4060 Ti 8 GB, driver 621.24, `--series-s --dlss quality`, frame generation 2x, 1920x1080 - First session: died about ten minutes in, in a chase; `fence 18446744073709551615 did not reach 172973` - Second session, same build and settings: 57 minutes and still fine when I stopped it, then a later one ended in a chase again after about 40 minutes - Frame times and VRAM right up to each one: 16 fps at 4,255 draws, 7,643 of 8,188 MB, no texture-room refusals in the log So a session of this build can be fine for an hour and then go in a chase, which matches your 27.9 minutes followed by an 11-minute rerun that ended normally. ## One thing that may narrow it The two sessions where it happened to me were both chases - scripted vehicle sequences with a lot of streaming and a cutscene camera. If you have a save near one, the same place twice may be cheaper than a general rerun. ## What I can offer A diagnostics build with `VICTORY_D3D12_DEBUG=1` and the crash on demand is the obvious next step, but I cannot yet reproduce it at will on this card; the build is 28.03 from the releases, so a diagnostics build of the same revision would be needed. If someone has a `diag` build of 28.03 or of `main` and tells me the flag set, I will run chases until it goes and send the named command. Thanks again for the read - it saved me from chasing a fence that was only a symptom.
Author
Owner

@⁠aef200 on GitHub · 2026-11-30 18:31 UTC · original

One more data point for this thread, and one pattern that may help localise it.

The trigger is opening a UI

On v2026.11.28.03 (RTX 4060 Ti 8 GB, driver 621.24, --series-s --dlss quality, frame generation off, keyboard and mouse on) the device has now gone in four separate sessions, and every one was at the moment a UI opens:

  • scanning a vehicle with the phone camera
  • buying a weapon at the shop, the frame the shop list appears
  • closing the map
  • a scripted chase, at a cutscene camera cut

Ordinary play in between - driving, shooting, walking - has run for an hour without a fault. The last session before this one lasted 57 minutes and only stopped because I stopped it.

The line, for comparison with yours

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 41 lists, for 2962.6 ms; pipeline library: no call running;
  its file is mapped (591540140 bytes), the handle kept open; this run replaced the file under the mapping 2 times, last ...
ERROR victory_gpu::host: host GPU device removed after 17 submissions sent ahead (VICTORY_RELAY=1) of 166 lists;
  no breadcrumbs (0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006)

Why I do not think the milliseconds are the cause

I raised TdrDelay and TdrDdiDelay from the default 2 s to 10 s, rebooted, and reproduced it: the submitting thread's figure that run was 2962 ms, well under the new limit, and the device still went. So that number reads as how long the thread had been waiting on an already-dead device, not as a stall that tripped the watchdog. I have since put the registry back to its default.

If it were a genuine 2-3 second CPU stall, the raise should have saved at least one run; it saved none.

The guess

The four triggers have one thing in common on this title: they are the moments a second swap chain or a full-screen UI layer is created over the world. If a resource the UI path needs is being built while a relay submission is open, that would fit both the "nothing of ours was running on the card" note and the immediacy of the removal.

I have no dump of the offending command; a VICTORY_D3D12_DEBUG=1 build of 28.03 with breadcrumbs on would name it, and I will run whatever you point me at. It may also be worth reproducing by opening a shop twice in a row on a fresh run, which is cheap on any 8 GB card.

**@⁠aef200** on GitHub · 2026-11-30 18:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3563#issuecomment-7287980765) One more data point for this thread, and one pattern that may help localise it. ## The trigger is opening a UI On `v2026.11.28.03` (RTX 4060 Ti 8 GB, driver 621.24, `--series-s --dlss quality`, frame generation off, keyboard and mouse on) the device has now gone in four separate sessions, and every one was at the moment a UI opens: - scanning a vehicle with the phone camera - buying a weapon at the shop, the frame the shop list appears - closing the map - a scripted chase, at a cutscene camera cut Ordinary play in between - driving, shooting, walking - has run for an hour without a fault. The last session before this one lasted 57 minutes and only stopped because I stopped it. ## The line, for comparison with yours ``` 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 41 lists, for 2962.6 ms; pipeline library: no call running; its file is mapped (591540140 bytes), the handle kept open; this run replaced the file under the mapping 2 times, last ... ERROR victory_gpu::host: host GPU device removed after 17 submissions sent ahead (VICTORY_RELAY=1) of 166 lists; no breadcrumbs (0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006) ``` ## Why I do not think the milliseconds are the cause I raised `TdrDelay` and `TdrDdiDelay` from the default 2 s to 10 s, rebooted, and reproduced it: the submitting thread's figure that run was 2962 ms, well under the new limit, and the device still went. So that number reads as how long the thread had been waiting on an already-dead device, not as a stall that tripped the watchdog. I have since put the registry back to its default. If it were a genuine 2-3 second CPU stall, the raise should have saved at least one run; it saved none. ## The guess The four triggers have one thing in common on this title: they are the moments a second swap chain or a full-screen UI layer is created over the world. If a resource the UI path needs is being built while a relay submission is open, that would fit both the "nothing of ours was running on the card" note and the immediacy of the removal. I have no dump of the offending command; a `VICTORY_D3D12_DEBUG=1` build of 28.03 with breadcrumbs on would name it, and I will run whatever you point me at. It may also be worth reproducing by opening a shop twice in a row on a fresh run, which is cheap on any 8 GB card.
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#3563
No description provided.