Linux / GE-Proton11-14 (RTX 5090): title watchdog stops the intro prestream (Unsignaled CrossQueueBarrier) #221

Open
opened 2026-11-27 11:01:39 +00:00 by github-bot · 19 comments
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 10:57 UTC · original

On Linux with GE-Proton11-14, the title reaches the account picker and the loading screen at a steady 30 fps. About 50 s after A is pressed at the picker, while the opening cutscene is prestreaming, the title's own watchdog stops it. This happens on every run and with every setting below.

Setup

OS CachyOS, kernel 7.3.6
CPU / RAM Ryzen 7 9800X3D, 62 GiB
GPU RTX 5090 32 GB, driver 620.73.04
Proton GE-Proton11-14 (CachyOS proton-ge-custom-bin, vkd3d-proton 1.1-5769-gcae8353ed), with the linux/wineserver view-tree server
Prefix Microsoft d3dcompiler_47 (winetricks)
Build 99a7f9b diag, cross-compiled with cargo xwin, plus the composer change in the linked PR
Launch linux/play.sh series-s (play.ps1's NVIDIA settings), input through VICTORY_KEYS_FILE (Enter 0.3 at the picker)

What happens

  • The picker shows ACCOUNT PICKER (Y) PLAYER (A) over a black screen (11 draws/frame). After A, the loading art appears.

  • About 50 s later our crash hook logs the title writing to address 0, its deliberate fatal:

    unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there)
      #0  victory-image-b99f876b74d4a77f.dll+0x23cf683
      #1  victory-image-b99f876b74d4a77f.dll+0x2215c35
      #2  victory-image-b99f876b74d4a77f.dll+0x2215eca
      #3  kernel32.dll+0x11739
    

    +0x23cf683 is mov dword ptr [0], 0x4d8bd421 after an obfuscated message. +0x2215950 is a thread that sleeps 1000 ms per pass, goes over 64 entries, and compares each one's elapsed time with a tunable (hash 0x89aee1d6). It looks like a GPU or queue watchdog.

  • Breakpad then writes T:\victory-*.crash.log. Every run's log has the same lines:

    Game State: Game Running
    Frame: 1266
    Unsignaled CrossQueueBarrier: 779747d8
    Current SRL Name: fbk_stry000_FBK_STRY000_INTRO_min
    Current SRL State: Prestream
    

    Only the frame (806 to 1301) and the barrier value change from run to run.

  • Vice-Tay's log has no error before it. Queue stats show nothing held or forced, and the card is about 4% busy.

Tried, all with the same crash

Change Last frame
baseline 1266
Wine's builtin d3dcompiler_47 1301
-Safe settings 1298
VICTORY_UPSCALER=6 1296
series-x 1226
VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains (from #33) 1253
loopback up in the network namespace 1299
build f1b245a (before #203) 1290
build fab5286 (when #33 was filed) 1247

An older build crashes the same way, so this does not look like a regression. #33's RTX 5080 on the same distribution and driver reached the open world, but slower, at about 3.6 fps. A setting I don't have, or the lower speed, may have kept that run under the watchdog's limit.

Also seen on Proton (fixed or worked around)

  • GE-Proton11-6's dxil-spirv produced invalid SPIR-V for compute 4e296b1885c37b29: a merge block without a terminator. The NVIDIA driver crashed in vkCreateComputePipelines. GE-Proton11-14 is fine.
  • With Wine's builtin d3dcompiler_47, the runtime HLSL fails: the composer (0x80004005), and the argument clamp (Method 'InterlockedOr' is not defined on type 'RWByteAddressBuffer'), which drops indirect execution.
  • proton run victory.exe ... exits 1 with no output. Running GE-Proton's files/bin/wine directly in the prefix works.

Is there a way to see which queue the title is waiting on, or a known reason a cross-queue barrier would stay unsignaled through the intro prestream? I can run a diagnostics build with whatever switches would help.

Investigated with Claude Code on my own copy of the title.

**@⁠zmelumian972** on GitHub · 2026-11-27 10:57 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221) On Linux with GE-Proton11-14, the title reaches the account picker and the loading screen at a steady 30 fps. About 50 s after A is pressed at the picker, while the opening cutscene is prestreaming, the title's own watchdog stops it. This happens on every run and with every setting below. ## Setup | | | | --- | --- | | OS | CachyOS, kernel 7.3.6 | | CPU / RAM | Ryzen 7 9800X3D, 62 GiB | | GPU | RTX 5090 32 GB, driver 620.73.04 | | Proton | GE-Proton11-14 (CachyOS `proton-ge-custom-bin`, vkd3d-proton `1.1-5769-gcae8353ed`), with the `linux/wineserver` view-tree server | | Prefix | Microsoft `d3dcompiler_47` (winetricks) | | Build | `99a7f9b` diag, cross-compiled with `cargo xwin`, plus the composer change in the linked PR | | Launch | `linux/play.sh series-s` (play.ps1's NVIDIA settings), input through `VICTORY_KEYS_FILE` (`Enter 0.3` at the picker) | ## What happens - The picker shows `ACCOUNT PICKER (Y) PLAYER (A)` over a black screen (11 draws/frame). After A, the loading art appears. - About 50 s later our crash hook logs the title writing to address 0, its deliberate fatal: ``` unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there) #0 victory-image-b99f876b74d4a77f.dll+0x23cf683 #1 victory-image-b99f876b74d4a77f.dll+0x2215c35 #2 victory-image-b99f876b74d4a77f.dll+0x2215eca #3 kernel32.dll+0x11739 ``` `+0x23cf683` is `mov dword ptr [0], 0x4d8bd421` after an obfuscated message. `+0x2215950` is a thread that sleeps 1000 ms per pass, goes over 64 entries, and compares each one's elapsed time with a tunable (hash `0x89aee1d6`). It looks like a GPU or queue watchdog. - Breakpad then writes `T:\victory-*.crash.log`. Every run's log has the same lines: ``` Game State: Game Running Frame: 1266 Unsignaled CrossQueueBarrier: 779747d8 Current SRL Name: fbk_stry000_FBK_STRY000_INTRO_min Current SRL State: Prestream ``` Only the frame (806 to 1301) and the barrier value change from run to run. - Vice-Tay's log has no error before it. Queue stats show nothing held or forced, and the card is about 4% busy. ## Tried, all with the same crash | Change | Last frame | | --- | --- | | baseline | 1266 | | Wine's builtin `d3dcompiler_47` | 1301 | | `-Safe` settings | 1298 | | `VICTORY_UPSCALER=6` | 1296 | | `series-x` | 1226 | | `VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains` (from #33) | 1253 | | loopback up in the network namespace | 1299 | | build `f1b245a` (before #203) | 1290 | | build `fab5286` (when #33 was filed) | 1247 | An older build crashes the same way, so this does not look like a regression. #33's RTX 5080 on the same distribution and driver reached the open world, but slower, at about 3.6 fps. A setting I don't have, or the lower speed, may have kept that run under the watchdog's limit. ## Also seen on Proton (fixed or worked around) - GE-Proton11-6's dxil-spirv produced invalid SPIR-V for compute `4e296b1885c37b29`: a merge block without a terminator. The NVIDIA driver crashed in `vkCreateComputePipelines`. GE-Proton11-14 is fine. - With Wine's builtin `d3dcompiler_47`, the runtime HLSL fails: the composer (`0x80004005`), and the argument clamp (`Method 'InterlockedOr' is not defined on type 'RWByteAddressBuffer'`), which drops indirect execution. - `proton run victory.exe ...` exits 1 with no output. Running GE-Proton's `files/bin/wine` directly in the prefix works. Is there a way to see which queue the title is waiting on, or a known reason a cross-queue barrier would stay unsignaled through the intro prestream? I can run a diagnostics build with whatever switches would help. *Investigated with Claude Code on my own copy of the title.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 11:01:39 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 11:08 UTC · original

@⁠zmelumian972 A diagnostics build can show the queue that waits. Set VICTORY_CAPTURE to a local directory outside the checkout and use VICTORY_CAPTURE_FRAMES for a few frames in the prestream interval. The operation file for a listed frame records WAIT queue kind with the requested and current fence values. The queue's normal INFO logging only samples the early waits. Keep the captures local and share any queue kind and requested/current pair that repeats near the stall. That will give us a starting point for the missing signal.

**@⁠TaynanGT** on GitHub · 2026-11-27 11:08 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7216725883) @⁠zmelumian972 A diagnostics build can show the queue that waits. Set `VICTORY_CAPTURE` to a local directory outside the checkout and use `VICTORY_CAPTURE_FRAMES` for a few frames in the prestream interval. The operation file for a listed frame records `WAIT queue kind` with the requested and current fence values. The queue's normal INFO logging only samples the early waits. Keep the captures local and share any queue kind and requested/current pair that repeats near the stall. That will give us a starting point for the missing signal.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 13:01 UTC · original

Follow-up with captures from current main (5b2dc68, diagnostics build), GE-Proton11-14 + viewtree wineserver, RTX 5090 / driver 620.73.04, series-s, windowed. Same fatal at image+0x23cf683 in FBK_STRY000_INTRO Prestream every run.

No queue-level waits near the stall. With VICTORY_CAPTURE_FRAMES covering every frame from 1151 to 1300, no ops file contains a WAIT queue kind line. The last frame written is 1178, the first world frame (109,097 ops). No frame 1179 follows, and the watchdog fires about 31 s later.

Frame 1178 has 68 list-level WAIT VALUE ops, 67 of them met false at record time. They all wait for 0x49c/0x49d (comparison 7, wide) at 0x14577f980–0x14577fc00. Every one of those waits has a WRITE VALUE of at least the reference value somewhere in the same frame. However, many of the writing lists were not submitted before the capture was written. For example, host list 0x416fe2f0 writes 0x49d to 0x14577fae8…0x14577fbf8, which about 20 other lists wait on, and it appears in no SUBMIT op of that frame. That frame has only 20 SUBMIT ops: 4 on queue kind 0 and 16 on kind 2. It looks like a wait that holds back the submissions whose writes would release it, before the present can force it.

Runs:

Run Setting Last game frame (crash log)
cold pipeline cache (1,100–2,100 dropped draws/frame, ~3.5 fps) defaults 1377 (cutscene was rendering)
warm shader cache defaults 1154
VICTORY_PIPELINE_BOOK=1 + dense captures defaults 1178 (ops)
after victory warm --used (1,492 pipelines prebuilt) defaults 1154
VICTORY_CUT_WAITS=0 1056 (no CrossQueueBarrier line in the crash log)
VICTORY_SPLIT_WAITS=0 656

The slow cold-cache run got furthest, so this looks timing dependent. The default cut mode gets furthest of the three wait modes.

I can share the frame-1178-ops.txt excerpts for the waits and writes on 0x14577f9xx–fcxx, plus the matching SUBMIT lines, or run with other switches if that would help.

**@⁠zmelumian972** on GitHub · 2026-11-27 13:01 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7218965852) Follow-up with captures from current `main` (`5b2dc68`, diagnostics build), GE-Proton11-14 + viewtree wineserver, RTX 5090 / driver 620.73.04, `series-s`, windowed. Same fatal at `image+0x23cf683` in `FBK_STRY000_INTRO` Prestream every run. **No queue-level waits near the stall.** With `VICTORY_CAPTURE_FRAMES` covering every frame from 1151 to 1300, no ops file contains a `WAIT queue kind` line. The last frame written is **1178**, the first world frame (109,097 ops). No frame 1179 follows, and the watchdog fires about 31 s later. **Frame 1178 has 68 list-level `WAIT VALUE` ops, 67 of them `met false` at record time.** They all wait for `0x49c`/`0x49d` (comparison 7, wide) at `0x14577f980`–`0x14577fc00`. Every one of those waits has a `WRITE VALUE` of at least the reference value somewhere in the same frame. However, many of the writing lists were not submitted before the capture was written. For example, host list `0x416fe2f0` writes `0x49d` to `0x14577fae8`…`0x14577fbf8`, which about 20 other lists wait on, and it appears in no `SUBMIT` op of that frame. That frame has only 20 `SUBMIT` ops: 4 on queue kind 0 and 16 on kind 2. It looks like a wait that holds back the submissions whose writes would release it, before the present can force it. **Runs:** | Run | Setting | Last game frame (crash log) | |---|---|---| | cold pipeline cache (1,100–2,100 dropped draws/frame, ~3.5 fps) | defaults | 1377 (cutscene was rendering) | | warm shader cache | defaults | 1154 | | `VICTORY_PIPELINE_BOOK=1` + dense captures | defaults | 1178 (ops) | | after `victory warm --used` (1,492 pipelines prebuilt) | defaults | 1154 | | | `VICTORY_CUT_WAITS=0` | 1056 (no CrossQueueBarrier line in the crash log) | | | `VICTORY_SPLIT_WAITS=0` | 656 | The slow cold-cache run got furthest, so this looks timing dependent. The default cut mode gets furthest of the three wait modes. I can share the `frame-1178-ops.txt` excerpts for the waits and writes on `0x14577f9xx`–`fcxx`, plus the matching `SUBMIT` lines, or run with other switches if that would help.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 13:09 UTC · original

@⁠zmelumian972 The 68 list-level waits and the producer absent from the submitted lists narrow this to work within frame 1178. A minimal wait/write/submission sequence would be useful: which list writes the value, whether it was queued, and how the waiting list arrives before it. The lack of queue-level waits is part of the evidence.

**@⁠TaynanGT** on GitHub · 2026-11-27 13:09 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7219120644) @⁠zmelumian972 The 68 list-level waits and the producer absent from the submitted lists narrow this to work within frame 1178. A minimal wait/write/submission sequence would be useful: which list writes the value, whether it was queued, and how the waiting list arrives before it. The lack of queue-level waits is part of the evidence.
Author
Owner

@⁠Melanpan on GitHub · 2026-11-27 14:48 UTC · original · edited 2026-11-27 15:19 UTC

✨ Update: Claude-sama dug further! ✨

Short version: it's a shader writing through an address that was never valid (not an overrun of a buffer of ours). It's not a regression (c4170ce faults the same way), and the suspects below are ruled out. The first faulting dispatch is still unknown. That's next.

What the fault is

VKD3D_CONFIG=fault (VK_EXT_device_fault) reports it once the loss is detected (with VICTORY_WAIT_RESIDENT=0, which turns the same Xid 13 into a device loss straight away):

d3d12_device_poll_device_faults: Address [1]: [000000012f36b000, 000000012f36bfff], type WriteInvalid
vkd3d_address_binding_tracker_check_va: Found no candidate VA entries. Page fault was likely caused by accessing never used memory or out of bounds access.
Run Faulting write Offset in its 4 MiB block
6 0xab9a3000 0x1a3000
7 0x12d17f000 0x17f000
8 0x12db7f000 0x37f000
9 0x12f36b000 0x36b000
10 0x131d7f000 0x17f000
11 0x180e5f000 0x25f000

The addresses always fall in a gap between our 4 MiB windows of title memory, often at +0x17f000/+0x37f000 from a 2 MiB-aligned base, so a fixed offset from a bad base is more likely than a run past an end. I wrote the book (crate::book: every buffer, texture and block of ours with its address, alive and freed, plus recent root views) to a file whenever presents stop for 5 s. Nothing of ours was ever alive or freed within 4 MiB of either fault looked up (runs 9 and 10), and vkd3d-proton's address tracker says the same about its own allocations.

In run 7, vkd3d-proton saw the loss (d3d12_command_queue_execute: Failed to submit queue(s), vr -4), and we still hung exactly as before (the line stopped, the watchdog fired 30 s later). So the mapping-fence fix you mention covers the detected case too.

Ruled out (each still faults with the change)

Suspect Test
Word sends (#286) VICTORY_SEND_OWN=0
VK_EXT_descriptor_heap (new in this vkd3d-proton) VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_heap: vkd3d falls back to VK_EXT_descriptor_buffer and the fault moves (run 11)
Title memory by address (memory.rs) first used 4 s after the fault in run 9, never used in runs 2, 3, 5 and 8
Root views past their window only root CBVs are bound as roots here (40 in the book, read-only). Root SRVs are bounded tables by default and there are no root UAVs
Descriptor-table buffer views past their copy buffer_view_ok refuses any view past the copy's width
A regression from today's merges c4170ce (before #286, #277, #198 …): Xid 13 about 30 s in, watchdog at the same place

Next

The first faulting dispatch, from a VICTORY_RECORD capture of the frame that faults, replayed without the title and run in halves until one faults. vkd3d-proton gives no breadcrumbs on this NVIDIA setup, and D3D12 DRED is stubbed (SetAutoBreadcrumbsEnablement … stub!), so there's nothing on the live run that names the dispatch.


✨ Claude-sama has done this! ✨ A second RTX 5090 reproduces this, and the cause looks like a GPU page fault in a shader. The queues and waits only stop because of it. The unsignaled barrier is what's left about 30 s later.

Setup

OS Fedora, kernel 7.3.4
GPU RTX 5090, driver 620.73.04
Proton GE-Proton11-14 + linux/wineserver view-tree server
Build e45051a diag, cross-compiled (lld-link + xwin SDK), plus a local diagnostics patch (below)
Launch linux/play.sh series-s, windowed, Enter 0.3 every 3 s through VICTORY_KEYS_FILE

1. The GPU faults about 30 s before every crash

NVIDIA's kernel driver logs Xid 13 (Graphics SM Warp Exception … MMU Fault) on many SMs at once, in the same second as a one-second spike to 100 % GPU use:

NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics SM Warp Exception on (GPC 3, TPC 1, SM 0): MMU Fault
NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics SM Global Exception on (GPC 3, TPC 1, SM 0): Multiple Warp Errors
NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics Exception: ESR 0x51a730=0x8020017 0x51a734=0x4 0x51a728=0x1c813b60 0x51a72c=0x1104
…
NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics Exception: channel 0x0000003e, Class 0000ce97, Offset 00000000, Data 00000000
Run Xid 13 Then
1 15:20:52 +0x23cf683 watchdog at 15:21:22
2 15:25:01 watchdog at 15:25:32
3 15:28:11 watchdog at 15:28:41
4 (VICTORY_WAIT_RESIDENT=0) 15:43:05 reported straight away: device removed: 0x887A0005
5 15:43:59 watchdog ~30 s later

An earlier session on a build from before today's merges logged no Xid and exited normally after about 95 s, but it may not have reached the intro.

After the fault, the GPU sits at 1–3 % until the watchdog fires. Neither vkd3d-proton nor Vice-Tay ever sees a device loss, except in run 4.

2. Why nothing moves afterwards: a thread of ours waits forever on the dead channel

A diagnostics patch logs the submission line (queue::behind) when it has done nothing for 5 s, then prints every thread's stack (victory_loader::dump_stacks). From run 3 (symbolized with the PDB):

  • victory-aside holds ASIDE in host::mapped (host.rs:271). Inside it, it waits with INFINITE in mapping_fence::confirm for the 16-byte copy on its own copy queue, which never completes:
    mapped::closure$3 ← Progress::run ← mapped ← Host::shared_buffer ← shadow::loose ← shadow::lookup ← descriptor::host::buffer_srv ← make_twinned ← HostHeap::mirror ← draw::heap_buffer_pass
  • victory-submit is in Mutex::lock_contended ← host::mapped ← Host::uav_buffer ← take_steps ← Host::submit ← send_late ← execute_parts ← behind::go
  • victory-list-0/1/2/5…11 and victory-views-* are in lock_contended ← host::mapped ← shared_buffer (from HostList::budget / shadow::loose).
  • victory-list-3/4 are in aside::Coming::wait ← HostList::take_coming ← HostList::close, waiting for the aside thread.
  • The four vkd3d_queue submission threads are idle. Two vkd3d_fence threads are in vkWaitSemaphores.

The line dump at that point (running=Some(<compute queue>), nothing done for 25 s): the head of every other queue is a RUN or a finished translation. The only memory-value wait there reads met true. The SIGNALs the title waits for sit right behind them:

queue kind 2: #4193 VALUE ValueWait { …, comparison: 7, reference: 838, wide: true } now 0x346 met true | #4193 RUN 1 lists | #4194 SIGNAL fence … 1 (now 0) | #4201 LISTS 1 being translated (1 done) | …
queue kind 0: #4221 RUN 32 lists | #4222 SIGNAL fence … 1680 (now 1679) | #4229 LISTS 31 being translated (28 done) | …

So no wait cycle is involved here, and the title isn't failing to submit work. With VICTORY_THIN=1, a submission gets its SUBMIT capture line only when the lane processes it, which is why the producer lists in the earlier capture showed up in no SUBMIT: they were already queued, behind a stuck thread.

The timing dependence you saw (slower runs get further) also fits a shader fault that depends on timing better than it fits an ordering bug.

What we couldn't get

  • The faulting shader and address. vkd3d-proton only stubs the DRED calls (SetAutoBreadcrumbsEnablement … stub!, SetPageFaultEnablement … stub!), so VICTORY_D3D12_DRED reports nothing here. Next would be VKD3D_CONFIG=breadcrumbs,fault, but that may only report once a device loss is detected, which doesn't happen in the hanging case.
  • VICTORY_WAIT_RESIDENT=0 is not a workaround: the same fault becomes an immediate device loss.

Possible changes

  1. mapping_fence::confirm (and probably the other INFINITE waits on our own fences) could wait with a timeout and check GetDeviceRemovedReason, or go to host::fail after a few seconds. Then this shows up as a GPU fault straight away, not as a title watchdog 30 s later.
  2. The diagnostics patch: a line-stopped dump (VICTORY_LINE_STOPPED=<s>, default 5, 0 off), a describe() for each Job, the title's blocking fence waits, and a stack dump through an on_line_stopped hook. It's local for now. I can open it as a PR if it would help.

Investigated with Claude Code on my own copy of the title.

**@⁠Melanpan** on GitHub · 2026-11-27 14:48 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7221259443) · edited 2026-11-27 15:19 UTC ## ✨ Update: Claude-sama dug further! ✨ Short version: it's **a shader writing through an address that was never valid** (not an overrun of a buffer of ours). It's **not a regression** (`c4170ce` faults the same way), and the suspects below are ruled out. The first faulting dispatch is still unknown. That's next. ### What the fault is `VKD3D_CONFIG=fault` (`VK_EXT_device_fault`) reports it once the loss is detected (with `VICTORY_WAIT_RESIDENT=0`, which turns the same Xid 13 into a device loss straight away): ``` d3d12_device_poll_device_faults: Address [1]: [000000012f36b000, 000000012f36bfff], type WriteInvalid vkd3d_address_binding_tracker_check_va: Found no candidate VA entries. Page fault was likely caused by accessing never used memory or out of bounds access. ``` | Run | Faulting write | Offset in its 4 MiB block | | --- | --- | --- | | 6 | `0xab9a3000` | `0x1a3000` | | 7 | `0x12d17f000` | `0x17f000` | | 8 | `0x12db7f000` | `0x37f000` | | 9 | `0x12f36b000` | `0x36b000` | | 10 | `0x131d7f000` | `0x17f000` | | 11 | `0x180e5f000` | `0x25f000` | The addresses always fall in a gap between our 4 MiB windows of title memory, often at `+0x17f000`/`+0x37f000` from a 2 MiB-aligned base, so a fixed offset from a bad base is more likely than a run past an end. I wrote the book (`crate::book`: every buffer, texture and block of ours with its address, alive and freed, plus recent root views) to a file whenever presents stop for 5 s. **Nothing of ours was ever alive or freed within 4 MiB of either fault looked up** (runs 9 and 10), and vkd3d-proton's address tracker says the same about its own allocations. In run 7, vkd3d-proton saw the loss (`d3d12_command_queue_execute: Failed to submit queue(s), vr -4`), and we still hung exactly as before (the line stopped, the watchdog fired 30 s later). So the mapping-fence fix you mention covers the detected case too. ### Ruled out (each still faults with the change) | Suspect | Test | | --- | --- | | Word sends (#286) | `VICTORY_SEND_OWN=0` | | `VK_EXT_descriptor_heap` (new in this vkd3d-proton) | `VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_heap`: vkd3d falls back to `VK_EXT_descriptor_buffer` and the fault moves (run 11) | | Title memory by address (`memory.rs`) | first used 4 s *after* the fault in run 9, never used in runs 2, 3, 5 and 8 | | Root views past their window | only root CBVs are bound as roots here (40 in the book, read-only). Root SRVs are bounded tables by default and there are no root UAVs | | Descriptor-table buffer views past their copy | `buffer_view_ok` refuses any view past the copy's width | | A regression from today's merges | `c4170ce` (before #286, #277, #198 …): Xid 13 about 30 s in, watchdog at the same place | ### Next The first faulting dispatch, from a `VICTORY_RECORD` capture of the frame that faults, replayed without the title and run in halves until one faults. vkd3d-proton gives no breadcrumbs on this NVIDIA setup, and D3D12 DRED is stubbed (`SetAutoBreadcrumbsEnablement … stub!`), so there's nothing on the live run that names the dispatch. --- ✨ **Claude-sama has done this!** ✨ A second RTX 5090 reproduces this, and the cause looks like a **GPU page fault in a shader**. The queues and waits only stop because of it. The unsignaled barrier is what's left about 30 s later. ## Setup | | | | --- | --- | | OS | Fedora, kernel 7.3.4 | | GPU | RTX 5090, driver 620.73.04 | | Proton | GE-Proton11-14 + `linux/wineserver` view-tree server | | Build | `e45051a` diag, cross-compiled (lld-link + xwin SDK), plus a local diagnostics patch (below) | | Launch | `linux/play.sh series-s`, windowed, `Enter 0.3` every 3 s through `VICTORY_KEYS_FILE` | ## 1. The GPU faults about 30 s before every crash NVIDIA's kernel driver logs Xid 13 (`Graphics SM Warp Exception … MMU Fault`) on many SMs at once, in the same second as a one-second spike to 100 % GPU use: ``` NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics SM Warp Exception on (GPC 3, TPC 1, SM 0): MMU Fault NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics SM Global Exception on (GPC 3, TPC 1, SM 0): Multiple Warp Errors NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics Exception: ESR 0x51a730=0x8020017 0x51a734=0x4 0x51a728=0x1c813b60 0x51a72c=0x1104 … NVRM: Xid (PCI:0000:01:00): 13, pid=…, name=title-main, Graphics Exception: channel 0x0000003e, Class 0000ce97, Offset 00000000, Data 00000000 ``` | Run | Xid 13 | Then | | --- | --- | --- | | 1 | 15:20:52 | `+0x23cf683` watchdog at 15:21:22 | | 2 | 15:25:01 | watchdog at 15:25:32 | | 3 | 15:28:11 | watchdog at 15:28:41 | | 4 (`VICTORY_WAIT_RESIDENT=0`) | 15:43:05 | reported straight away: `device removed: 0x887A0005` | | 5 | 15:43:59 | watchdog ~30 s later | An earlier session on a build from before today's merges logged no Xid and exited normally after about 95 s, but it may not have reached the intro. After the fault, the GPU sits at 1–3 % until the watchdog fires. Neither vkd3d-proton nor Vice-Tay ever sees a device loss, except in run 4. ## 2. Why nothing moves afterwards: a thread of ours waits forever on the dead channel A diagnostics patch logs the submission line (`queue::behind`) when it has done nothing for 5 s, then prints every thread's stack (`victory_loader::dump_stacks`). From run 3 (symbolized with the PDB): - **`victory-aside`** holds `ASIDE` in `host::mapped` (`host.rs:271`). Inside it, it waits with `INFINITE` in `mapping_fence::confirm` for the 16-byte copy on its own copy queue, which never completes: `mapped::closure$3 ← Progress::run ← mapped ← Host::shared_buffer ← shadow::loose ← shadow::lookup ← descriptor::host::buffer_srv ← make_twinned ← HostHeap::mirror ← draw::heap_buffer_pass` - **`victory-submit`** is in `Mutex::lock_contended ← host::mapped ← Host::uav_buffer ← take_steps ← Host::submit ← send_late ← execute_parts ← behind::go` - **`victory-list-0/1/2/5…11`** and **`victory-views-*`** are in `lock_contended ← host::mapped ← shared_buffer` (from `HostList::budget` / `shadow::loose`). - **`victory-list-3/4`** are in `aside::Coming::wait ← HostList::take_coming ← HostList::close`, waiting for the aside thread. - The four `vkd3d_queue` submission threads are idle. Two `vkd3d_fence` threads are in `vkWaitSemaphores`. The line dump at that point (`running=Some(<compute queue>)`, nothing done for 25 s): the head of every other queue is a `RUN` or a finished translation. The only memory-value wait there reads `met true`. The `SIGNAL`s the title waits for sit right behind them: ``` queue kind 2: #4193 VALUE ValueWait { …, comparison: 7, reference: 838, wide: true } now 0x346 met true | #4193 RUN 1 lists | #4194 SIGNAL fence … 1 (now 0) | #4201 LISTS 1 being translated (1 done) | … queue kind 0: #4221 RUN 32 lists | #4222 SIGNAL fence … 1680 (now 1679) | #4229 LISTS 31 being translated (28 done) | … ``` So no wait cycle is involved here, and the title isn't failing to submit work. With `VICTORY_THIN=1`, a submission gets its `SUBMIT` capture line only when the lane processes it, which is why the producer lists in the earlier capture showed up in no `SUBMIT`: they were already queued, behind a stuck thread. The timing dependence you saw (slower runs get further) also fits a shader fault that depends on timing better than it fits an ordering bug. ## What we couldn't get - **The faulting shader and address.** vkd3d-proton only stubs the DRED calls (`SetAutoBreadcrumbsEnablement … stub!`, `SetPageFaultEnablement … stub!`), so `VICTORY_D3D12_DRED` reports nothing here. Next would be `VKD3D_CONFIG=breadcrumbs,fault`, but that may only report once a device loss is detected, which doesn't happen in the hanging case. - `VICTORY_WAIT_RESIDENT=0` is not a workaround: the same fault becomes an immediate device loss. ## Possible changes 1. `mapping_fence::confirm` (and probably the other `INFINITE` waits on our own fences) could wait with a timeout and check `GetDeviceRemovedReason`, or go to `host::fail` after a few seconds. Then this shows up as a GPU fault straight away, not as a title watchdog 30 s later. 2. The diagnostics patch: a line-stopped dump (`VICTORY_LINE_STOPPED=<s>`, default 5, 0 off), a `describe()` for each `Job`, the title's blocking fence waits, and a stack dump through an `on_line_stopped` hook. It's local for now. I can open it as a PR if it would help. *Investigated with Claude Code on my own copy of the title.*
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 14:57 UTC · original

@⁠Melanpan The timestamps put the graphics fault about 30 seconds ahead of the watchdog. That gives us a concrete place to fix the aftermath: the mapping fence wait needs a way to report failure while retaining work whose completion is still unknown. The hang stacks describe the blocked wait. The first faulty dispatch still needs evidence.

**@⁠TaynanGT** on GitHub · 2026-11-27 14:57 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7221434910) @⁠Melanpan The timestamps put the graphics fault about 30 seconds ahead of the watchdog. That gives us a concrete place to fix the aftermath: the mapping fence wait needs a way to report failure while retaining work whose completion is still unknown. The hang stacks describe the blocked wait. The first faulty dispatch still needs evidence.
Author
Owner

@⁠Melanpan on GitHub · 2026-11-27 16:11 UTC · original

✨ Claude-sama found the dispatch! ✨ The first faulting dispatch is compute fdd56d97a806bcca, dispatch 87x1x1. Two runs named it from breadcrumbs, and in 8 more runs it first ran 0.8–2.3 s before the fault.

How

vkd3d-proton gives no breadcrumbs on this NVIDIA setup, so I added our own (local diagnostics patch, VICTORY_GPU_CRUMBS=1). Before each command a host list notes (HostList::note), WriteBufferImmediate writes two words into a readback buffer per list: "reached" (MARKER_IN) and "done" (MARKER_OUT). Close writes "done" for the whole list. When presents stop for 3 s, the lists whose "reached" is ahead of "done" are logged with their noted op texts. With VICTORY_GPU_TIMING=1, each group of lists is sent and waited for alone, so exactly one is in flight.

Run 16 and run 17 (same setup as before, series-s, e45051a + diagnostics):

our own breadcrumbs: the last group sent alone: Title(0) (host list 0x725e6a80) group 2 of 3, 1 lists
our own breadcrumbs: stopped among #8 dispatch 87x1x1 [compute fdd56d97a806bcca] … commands=13 done_before=8 done_known=true reached=9

Every command before #8 was confirmed done, and #8 never finished. vkd3d-proton (VKD3D_CONFIG=fault) reports a WriteInvalid at 0x100a44000, in memory never bound.

First run of fdd56d97a806bcca against Xid 13 in the earlier runs (UTC):

Run First bind Xid 13
2 14:24:59.54 14:25:01
3 14:28:10.23 14:28:11
9 15:03:52.50 15:03:53.31
10 15:08:40.28 15:08:42.57
12 15:12:52.31 15:12:54.57
13 15:22:58.74 15:22:59.74
15 15:43:33.00 15:43:33.94
16 15:46:04.71 15:46:05.67

Runs 5, 11 and 14 faulted without it. Run 14's breadcrumbs stopped at the first draw of a list (pixel fcee612943c008e0, five 2048×2048 targets), but I can't tell yet whether that draw or earlier work on that queue faulted. So there may be another shader with the same problem.

What it binds

Srv s0+688:  placed, 182452224 bytes at title 0xcef0000
Uav s0+1480: buffer (216989696, 182452224)
Srv s1+0:    placed, 348 bytes at 0x129e3b80
Uav s1+8:    placed, 32 bytes at 0xf932000
Uav s1+16:   placed, 524288 bytes at 0xf892000
Uav s1+24:   placed, 5800 bytes at 0xf932080

What it writes (translated DXIL, dxc -dumpbin)

A wave-level compaction kernel (64 threads, WaveSize=32, wave prefix/active ops, an LDS counter). Its only static bindings are cb0 and the read-only t255,space1. Every write goes through a heap handle whose index comes from the constant buffer, clamped to 999999. They're exactly the four UAVs above (the report's s…+n are dwords):

Handle Heap index View Writes
%778 (cb[1].x + 5920) >> 5 s0+1480 (174 MB) 56 atomicBinOp + 14 rawBufferStore
%783 (cb[1].y + 32) >> 5 s1+8 (32 B) 28 atomicBinOp
%787 (cb[1].y + 64) >> 5 s1+16 (512 KiB) 112 rawBufferStore
%791 (cb[1].y + 96) >> 5 s1+24 (5,800 B) 28 atomicBinOp

The byte offsets of those writes are computed from data the kernel reads (counts and indices out of the 174 MB buffer). buffer_view_ok keeps each host view inside its copy, and the book shows the 174 MB copy as one contiguous allocation (title buffer …+0xae00000 and its card copy). So the likely fault is a raw store or atomic past the end of one of these views that the host does not drop. D3D12 discards out-of-bounds UAV writes, and that would explain why this only faults under vkd3d-proton on NVIDIA. I haven't confirmed whether vkd3d-proton's path for raw buffers through VK_EXT_descriptor_heap (or VK_EXT_descriptor_buffer: disabling the first still faults) bounds-checks these writes here. That's the next experiment: a small out-of-bounds RWByteAddressBuffer store test under the same Proton, and logging the offsets this dispatch writes at.

The breadcrumbs patch (host/crumbs.rs, hooks in HostList::note/close/reset, and the group being sent in the timed path) is local. I can open it as a PR if you want it.

Investigated with Claude Code on my own copy of the title.

**@⁠Melanpan** on GitHub · 2026-11-27 16:11 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7222960751) ✨ **Claude-sama found the dispatch!** ✨ The first faulting dispatch is compute **`fdd56d97a806bcca`**, `dispatch 87x1x1`. Two runs named it from breadcrumbs, and in 8 more runs it first ran 0.8–2.3 s before the fault. ### How vkd3d-proton gives no breadcrumbs on this NVIDIA setup, so I added our own (local diagnostics patch, `VICTORY_GPU_CRUMBS=1`). Before each command a host list notes (`HostList::note`), `WriteBufferImmediate` writes two words into a readback buffer per list: "reached" (`MARKER_IN`) and "done" (`MARKER_OUT`). Close writes "done" for the whole list. When presents stop for 3 s, the lists whose "reached" is ahead of "done" are logged with their noted op texts. With `VICTORY_GPU_TIMING=1`, each group of lists is sent and waited for alone, so exactly one is in flight. Run 16 and run 17 (same setup as before, `series-s`, `e45051a` + diagnostics): ``` our own breadcrumbs: the last group sent alone: Title(0) (host list 0x725e6a80) group 2 of 3, 1 lists our own breadcrumbs: stopped among #8 dispatch 87x1x1 [compute fdd56d97a806bcca] … commands=13 done_before=8 done_known=true reached=9 ``` Every command before #8 was confirmed done, and #8 never finished. vkd3d-proton (`VKD3D_CONFIG=fault`) reports a `WriteInvalid` at `0x100a44000`, in memory never bound. First run of `fdd56d97a806bcca` against Xid 13 in the earlier runs (UTC): | Run | First bind | Xid 13 | | --- | --- | --- | | 2 | 14:24:59.54 | 14:25:01 | | 3 | 14:28:10.23 | 14:28:11 | | 9 | 15:03:52.50 | 15:03:53.31 | | 10 | 15:08:40.28 | 15:08:42.57 | | 12 | 15:12:52.31 | 15:12:54.57 | | 13 | 15:22:58.74 | 15:22:59.74 | | 15 | 15:43:33.00 | 15:43:33.94 | | 16 | 15:46:04.71 | 15:46:05.67 | Runs 5, 11 and 14 faulted without it. Run 14's breadcrumbs stopped at the first draw of a list (pixel `fcee612943c008e0`, five 2048×2048 targets), but I can't tell yet whether that draw or earlier work on that queue faulted. So there may be another shader with the same problem. ### What it binds ``` Srv s0+688: placed, 182452224 bytes at title 0xcef0000 Uav s0+1480: buffer (216989696, 182452224) Srv s1+0: placed, 348 bytes at 0x129e3b80 Uav s1+8: placed, 32 bytes at 0xf932000 Uav s1+16: placed, 524288 bytes at 0xf892000 Uav s1+24: placed, 5800 bytes at 0xf932080 ``` ### What it writes (translated DXIL, `dxc -dumpbin`) A wave-level compaction kernel (64 threads, `WaveSize=32`, wave prefix/active ops, an LDS counter). Its only static bindings are `cb0` and the read-only `t255,space1`. Every write goes through a heap handle whose index comes from the constant buffer, clamped to `999999`. They're exactly the four UAVs above (the report's `s…+n` are dwords): | Handle | Heap index | View | Writes | | --- | --- | --- | --- | | `%778` | `(cb[1].x + 5920) >> 5` | `s0+1480` (174 MB) | 56 `atomicBinOp` + 14 `rawBufferStore` | | `%783` | `(cb[1].y + 32) >> 5` | `s1+8` (32 B) | 28 `atomicBinOp` | | `%787` | `(cb[1].y + 64) >> 5` | `s1+16` (512 KiB) | 112 `rawBufferStore` | | `%791` | `(cb[1].y + 96) >> 5` | `s1+24` (5,800 B) | 28 `atomicBinOp` | The byte offsets of those writes are computed from data the kernel reads (counts and indices out of the 174 MB buffer). `buffer_view_ok` keeps each host view inside its copy, and the book shows the 174 MB copy as one contiguous allocation (`title buffer …+0xae00000` and its card copy). So the likely fault is **a raw store or atomic past the end of one of these views that the host does not drop**. D3D12 discards out-of-bounds UAV writes, and that would explain why this only faults under vkd3d-proton on NVIDIA. I haven't confirmed whether vkd3d-proton's path for raw buffers through `VK_EXT_descriptor_heap` (or `VK_EXT_descriptor_buffer`: disabling the first still faults) bounds-checks these writes here. That's the next experiment: a small out-of-bounds `RWByteAddressBuffer` store test under the same Proton, and logging the offsets this dispatch writes at. The breadcrumbs patch (`host/crumbs.rs`, hooks in `HostList::note`/`close`/`reset`, and the group being sent in the timed path) is local. I can open it as a PR if you want it. *Investigated with Claude Code on my own copy of the title.*
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 16:17 UTC · original

@⁠Melanpan The two runs with the command markers give us a concrete dispatch to investigate. The other runs still leave room for a second path. Please open the breadcrumbs as a diagnostics-only PR with the switch off by default. The dispatch and its view state are a useful starting point before changing how memory is handled.

**@⁠TaynanGT** on GitHub · 2026-11-27 16:17 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7223082508) @⁠Melanpan The two runs with the command markers give us a concrete dispatch to investigate. The other runs still leave room for a second path. Please open the breadcrumbs as a diagnostics-only PR with the switch off by default. The dispatch and its view state are a useful starting point before changing how memory is handled.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 16:35 UTC · original

Correction to my earlier comment: the unmet list-level waits are a symptom, not the cause. Melanpan's GPU fault reproduces here too (RTX 5090, driver 620.73.04, GE-Proton11-14 + viewtree). The kernel log shows NVRM: Xid 13 … Graphics SM Warp Exception … MMU Fault (name=title-main) in all six of my runs, about 30 s before each watchdog crash. In the run with dense captures, the Xid came in the same second as frame 1178's ops file (14:47:20 local), so the stall I described starts with the fault.

Next I'm testing f948c70, which includes #315 (scalar operand/SCC fixes), and I'll report whether the Xid 13 still occurs.

**@⁠zmelumian972** on GitHub · 2026-11-27 16:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7223444507) Correction to my earlier comment: the unmet list-level waits are a symptom, not the cause. Melanpan's GPU fault reproduces here too (RTX 5090, driver 620.73.04, GE-Proton11-14 + viewtree). The kernel log shows `NVRM: Xid 13 … Graphics SM Warp Exception … MMU Fault` (`name=title-main`) in all six of my runs, about 30 s before each watchdog crash. In the run with dense captures, the Xid came in the same second as frame 1178's ops file (14:47:20 local), so the stall I described starts with the fault. Next I'm testing `f948c70`, which includes #315 (scalar operand/SCC fixes), and I'll report whether the Xid 13 still occurs.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 16:40 UTC · original

Retested on f948c70 (#315 included). I re-translated the shaders and re-warmed 1,492 pipelines with 0 failures. Same result: Xid 13 … MMU Fault (name=title-main) about 46 s after launch, at the first world frame. The watchdog +0x23cf683 followed, with Unsignaled CrossQueueBarrier, at game frame 1118 in FBK_STRY000_INTRO Prestream. So #315 does not fix it here.

**@⁠zmelumian972** on GitHub · 2026-11-27 16:40 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7223537058) Retested on `f948c70` (#315 included). I re-translated the shaders and re-warmed 1,492 pipelines with 0 failures. Same result: `Xid 13 … MMU Fault` (`name=title-main`) about 46 s after launch, at the first world frame. The watchdog `+0x23cf683` followed, with `Unsignaled CrossQueueBarrier`, at game frame 1118 in `FBK_STRY000_INTRO` Prestream. So #315 does not fix it here.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 16:48 UTC · original

More data from f948c70 (RTX 5090, 620.73.04, GE-Proton11-14 + viewtree, series-s):

  • When fdd56d97a806bcca is bound, its first bind comes 1–2 s before the Xid 13, as in @⁠Melanpan's runs: 18:39:38.16 → Xid 18:39:40, and 15:00:45.95 → Xid 15:00:47. One run (VICTORY_CUT_WAITS=0) faulted without it.
  • VICTORY_SKIP_PIPELINES=fdd56d97a806bcca: the shader is never translated or bound, and Xid 13 still occurs 42 s in (game frame 1068).
  • Skipping it together with 4e296b1885c37b29, 88994c3496045f51 and ba2ea928faffd2b0 (the compute shaders first bound within ~3 s before the Xid in both of those runs): still Xid 13, 39 s in (game frame 1038).

So on this machine, skipping fdd56d97a806bcca alone does not avoid the fault. Either another kernel writes out of bounds the same way, or the bad addresses come from shared state such as view or heap contents, not from one shader. The breadcrumbs PR would help find the next dispatch.

**@⁠zmelumian972** on GitHub · 2026-11-27 16:48 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7223701139) More data from `f948c70` (RTX 5090, 620.73.04, GE-Proton11-14 + viewtree, `series-s`): - When `fdd56d97a806bcca` is bound, its first bind comes 1–2 s before the Xid 13, as in @⁠Melanpan's runs: 18:39:38.16 → Xid 18:39:40, and 15:00:45.95 → Xid 15:00:47. One run (`VICTORY_CUT_WAITS=0`) faulted without it. - `VICTORY_SKIP_PIPELINES=fdd56d97a806bcca`: the shader is never translated or bound, and Xid 13 still occurs 42 s in (game frame 1068). - Skipping it together with `4e296b1885c37b29`, `88994c3496045f51` and `ba2ea928faffd2b0` (the compute shaders first bound within ~3 s before the Xid in both of those runs): still Xid 13, 39 s in (game frame 1038). So on this machine, skipping `fdd56d97a806bcca` alone does not avoid the fault. Either another kernel writes out of bounds the same way, or the bad addresses come from shared state such as view or heap contents, not from one shader. The breadcrumbs PR would help find the next dispatch.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 16:58 UTC · original

@⁠zmelumian972 Those runs put the first GPU fault ahead of the watchdog even after a clean warm-up on f948c70. The same failure with the leading dispatches absent broadens what we need to check. The diagnostic breadcrumbs are the next useful step: compare the first queue and error marker across the runs before changing the submission path.

**@⁠TaynanGT** on GitHub · 2026-11-27 16:58 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7223884359) @⁠zmelumian972 Those runs put the first GPU fault ahead of the watchdog even after a clean warm-up on `f948c70`. The same failure with the leading dispatches absent broadens what we need to check. The diagnostic breadcrumbs are the next useful step: compare the first queue and error marker across the runs before changing the submission path.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 17:51 UTC · original

Breadcrumbs from a second RTX 5090 (driver 620.73.04, GE-Proton11-14 + viewtree, series-s, windowed). The build is 00a8d44 + #332 merged locally, with translator v15, freshly re-translated shaders and 1,493 re-warmed pipelines (0 failed). Runs used VICTORY_GPU_TIMING=1 VICTORY_GPU_CRUMBS=1 VKD3D_CONFIG=fault. Every run had a single list stopped=1:

Run Xid 13 (local) Command in flight vkd3d WriteInvalid Game frame
1 19:45:51 #37 draw 3x1 [vertex 88dc833624e2c5ec, pixel a7cfe758751c20aa] into a 128×128 f10 target (113 lists, 109 not begun) 0x136317000 1099
2 19:46:55 #3 dispatch 9x1x1 [compute 55679a0547649d0b] (93 lists, 87 not begun) 0x12ddd7000 735
3 19:47:57 #3 dispatch 9x1x1 [compute 55679a0547649d0b] (89 lists, 85 not begun) 0x12534c000 698
4 19:49:00 #8 dispatch 87x1x1 [compute fdd56d97a806bcca] (34 lists, 31 not begun) 0x10f5f7000 772

Every fault is followed by Xid 109 4 s later and Xid 31 at teardown.

  • Run 1 is exactly @⁠Melanpan's run-20 draw, so the second path reproduces here.
  • 55679a0547649d0b is new: 2 of 4 runs.
  • 55679a0547649d0b and fdd56d97a806bcca bind the same 174 MB buffer as a UAV: Uav s0+1480: buffer (185532416, 182452224), with the same buffer as Srv s0+688 (182452224x1 at 0xb0f0000). Both also bind u4=0xa00000 [heap 327680 …] title 0x1cd661460+0x10000. That fits the bad addresses coming from what is in that buffer (indices and counts read from it), not from one kernel. It would also explain why skipping fdd56d97a806bcca alone did not help.
  • In every run, the list sent alone before the report was either a texture upload (run 1: 2048x2048 f71 uploads) or noted no command (runs 2–4).

Full logs are kept locally. I can share the complete stopped among lines (all tables) for each run.

**@⁠zmelumian972** on GitHub · 2026-11-27 17:51 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7224852308) Breadcrumbs from a second RTX 5090 (driver 620.73.04, GE-Proton11-14 + viewtree, `series-s`, windowed). The build is `00a8d44` + #332 merged locally, with translator v15, freshly re-translated shaders and 1,493 re-warmed pipelines (0 failed). Runs used `VICTORY_GPU_TIMING=1 VICTORY_GPU_CRUMBS=1 VKD3D_CONFIG=fault`. Every run had a single list `stopped=1`: | Run | Xid 13 (local) | Command in flight | vkd3d `WriteInvalid` | Game frame | |---|---|---|---|---| | 1 | 19:45:51 | `#37 draw 3x1 [vertex 88dc833624e2c5ec, pixel a7cfe758751c20aa]` into a 128×128 `f10` target (113 lists, 109 not begun) | `0x136317000` | 1099 | | 2 | 19:46:55 | `#3 dispatch 9x1x1 [compute 55679a0547649d0b]` (93 lists, 87 not begun) | `0x12ddd7000` | 735 | | 3 | 19:47:57 | `#3 dispatch 9x1x1 [compute 55679a0547649d0b]` (89 lists, 85 not begun) | `0x12534c000` | 698 | | 4 | 19:49:00 | `#8 dispatch 87x1x1 [compute fdd56d97a806bcca]` (34 lists, 31 not begun) | `0x10f5f7000` | 772 | Every fault is followed by Xid 109 4 s later and Xid 31 at teardown. - Run 1 is exactly @⁠Melanpan's run-20 draw, so the second path reproduces here. - `55679a0547649d0b` is new: 2 of 4 runs. - **`55679a0547649d0b` and `fdd56d97a806bcca` bind the same 174 MB buffer as a UAV:** `Uav s0+1480: buffer (185532416, 182452224)`, with the same buffer as `Srv s0+688` (`182452224x1 at 0xb0f0000`). Both also bind `u4=0xa00000 [heap 327680 …] title 0x1cd661460+0x10000`. That fits the bad addresses coming from what is in that buffer (indices and counts read from it), not from one kernel. It would also explain why skipping `fdd56d97a806bcca` alone did not help. - In every run, the list sent alone before the report was either a texture upload (run 1: `2048x2048 f71` uploads) or noted no command (runs 2–4). Full logs are kept locally. I can share the complete `stopped among` lines (all tables) for each run.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 17:58 UTC · original

@⁠zmelumian972 The second RTX 5090 confirms the GPU error comes before the watchdog. It appeared with several different kinds of work in flight, so the underlying cause is still open. The timing and the error category are enough for the issue. Please keep the full diagnostic logs local.

**@⁠TaynanGT** on GitHub · 2026-11-27 17:58 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7224975979) @⁠zmelumian972 The second RTX 5090 confirms the GPU error comes before the watchdog. It appeared with several different kinds of work in flight, so the underlying cause is still open. The timing and the error category are enough for the issue. Please keep the full diagnostic logs local.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 18:00 UTC · original

Got it

**@⁠zmelumian972** on GitHub · 2026-11-27 18:00 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7225020980) Got it
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 18:04 UTC · original

@⁠TaynanGT maybe our agents missed an unconverted console address?

**@⁠zmelumian972** on GitHub · 2026-11-27 18:04 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7225098297) @⁠TaynanGT maybe our agents missed an unconverted console address?
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 18:06 UTC · original

Let me run that theory with my agent

**@⁠zmelumian972** on GitHub · 2026-11-27 18:06 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7225126384) Let me run that theory with my agent
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 18:09 UTC · original

@⁠zmelumian972 Address translation and resource lifetime are both open possibilities from the report. A unit test with generated inputs for valid address mappings can check the translation idea independently. The issue already has the timing of the first GPU error and the watchdog.

**@⁠TaynanGT** on GitHub · 2026-11-27 18:09 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7225187160) @⁠zmelumian972 Address translation and resource lifetime are both open possibilities from the report. A unit test with generated inputs for valid address mappings can check the translation idea independently. The issue already has the timing of the first GPU error and the watchdog.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 18:36 UTC · original

Fair enough, apologies for bothering you

I will leave this one to you

**@⁠zmelumian972** on GitHub · 2026-11-27 18:36 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7225673474) Fair enough, apologies for bothering you I will leave this one to you
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 18:39 UTC · original

@⁠zmelumian972 No worries. I’ve got the driver details and the timeline of the first error. I’ll post an update here when there’s a verified change.

**@⁠TaynanGT** on GitHub · 2026-11-27 18:39 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/221#issuecomment-7225732397) @⁠zmelumian972 No worries. I’ve got the driver details and the timeline of the first error. I’ll post an update here when there’s a verified change.
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/TaynanGT--Vice-Tay#221
No description provided.