v2026.11.28.03: relay fence 18446744073709551615 (u64::MAX) never reached, device removed 0x887A0006 #3563
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by aef200 on 2026-11-30T01:03:35Z.
v2026.11.28.03ends a run with a relay fence ofu64::MAX, which the device can never reach; the GPU then stops answering and the run dies.v2026.11.29.05does not do this in my sessions (it ends differently, see the last section), so it looks specific to the 28.03 build.The line
18446744073709551615isu64::MAX: something handed the relay a fence with the "no value" sentinel set as if it were a real target, soSetEventOnCompletionwaits 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-NVIDIAreleasev2026.11.28.03,victory.exe(11,369 KB) from the release pagevictory.exe play --series-s --dlss quality --fps 1000 <game_scarlett_master.exe>18 fps (frame gen 35 fps));victory-settings.txtfrom the F1 menu hadVICTORY_MENU_FRAMEGEN=0at the time, so I am not sure whether that start had it on or offv1.0.2.1-CYBERLEEK, Series S profilevictory.exe shaders <dump>thenvictory.exe warm --again(89,137 pipelines, 1,025 s), so no pipeline is being built during playRight 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.05on the same machine, fully warmed with its ownwarm --again: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=1build of either and send the named command.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by futurepro62 on 2026-11-30T03:39:56Z.
A note on reading that line, and a second case on a different build.
The
u64::MAXis 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}", wherecompletedcomes fromfence.GetCompletedValue()after the wait. In D3D12 a fence on a removed device reportsUINT64_MAXas its completed value, and the function's own doc comment says so ("a lost device (a completed value ofu64::MAX) made every wait pass at once"). So infence 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:
main9300875(2026-11-28) plus local picks (#339, #348, #638, #1074/#1145, #1551,main's25b3b5cported, #2538's ledger ported, and #1677 for that run). Not a release.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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by aef200 on 2026-11-30T04:22:54Z.
You are right and I was wrong: I read
completedas the target. Thanks for pointing atwait_host_fence- the format string settles it, and the doc comment about a lost device reportingu64::MAXmakes 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, 1920x1080fence 18446744073709551615 did not reach 172973So 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=1and 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 adiagbuild of 28.03 or ofmainand 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by aef200 on 2026-11-30T18:31:43Z.
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: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
Why I do not think the milliseconds are the cause
I raised
TdrDelayandTdrDdiDelayfrom 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=1build 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.