Linux / GE-Proton11-14 (RTX 5090): title watchdog stops the intro prestream (Unsignaled CrossQueueBarrier) #221
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 TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T10:57:19Z.
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
proton-ge-custom-bin, vkd3d-proton1.1-5769-gcae8353ed), with thelinux/wineserverview-tree serverd3dcompiler_47(winetricks)99a7f9bdiag, cross-compiled withcargo xwin, plus the composer change in the linked PRlinux/play.sh series-s(play.ps1's NVIDIA settings), input throughVICTORY_KEYS_FILE(Enter 0.3at 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:
+0x23cf683ismov dword ptr [0], 0x4d8bd421after an obfuscated message.+0x2215950is a thread that sleeps 1000 ms per pass, goes over 64 entries, and compares each one's elapsed time with a tunable (hash0x89aee1d6). It looks like a GPU or queue watchdog.Breakpad then writes
T:\victory-*.crash.log. Every run's log has the same lines: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
d3dcompiler_47-SafesettingsVICTORY_UPSCALER=6series-xVKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains(from #33)f1b245a(before #203)fab5286(when #33 was filed)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)
4e296b1885c37b29: a merge block without a terminator. The NVIDIA driver crashed invkCreateComputePipelines. GE-Proton11-14 is fine.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'sfiles/bin/winedirectly 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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T11:08:26Z.
@zmelumian972 A diagnostics build can show the queue that waits. Set
VICTORY_CAPTUREto a local directory outside the checkout and useVICTORY_CAPTURE_FRAMESfor a few frames in the prestream interval. The operation file for a listed frame recordsWAIT queue kindwith 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.Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T13:01:36Z.
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 atimage+0x23cf683inFBK_STRY000_INTROPrestream every run.No queue-level waits near the stall. With
VICTORY_CAPTURE_FRAMEScovering every frame from 1151 to 1300, no ops file contains aWAIT queue kindline. 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 VALUEops, 67 of themmet falseat record time. They all wait for0x49c/0x49d(comparison 7, wide) at0x14577f980–0x14577fc00. Every one of those waits has aWRITE VALUEof 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 list0x416fe2f0writes0x49dto0x14577fae8…0x14577fbf8, which about 20 other lists wait on, and it appears in noSUBMITop of that frame. That frame has only 20SUBMITops: 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:
VICTORY_PIPELINE_BOOK=1+ dense capturesvictory warm --used(1,492 pipelines prebuilt)VICTORY_CUT_WAITS=0VICTORY_SPLIT_WAITS=0The 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.txtexcerpts for the waits and writes on0x14577f9xx–fcxx, plus the matchingSUBMITlines, or run with other switches if that would help.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T13:09:03Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by Melanpan on 2026-11-27T14:48:46Z.
✨ 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 (
c4170cefaults 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 (withVICTORY_WAIT_RESIDENT=0, which turns the same Xid 13 into a device loss straight away):0xab9a30000x1a30000x12d17f0000x17f0000x12db7f0000x37f0000x12f36b0000x36b0000x131d7f0000x17f0000x180e5f0000x25f000The addresses always fall in a gap between our 4 MiB windows of title memory, often at
+0x17f000/+0x37f000from 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)
VICTORY_SEND_OWN=0VK_EXT_descriptor_heap(new in this vkd3d-proton)VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_heap: vkd3d falls back toVK_EXT_descriptor_bufferand the fault moves (run 11)memory.rs)buffer_view_okrefuses any view past the copy's widthc4170ce(before #286, #277, #198 …): Xid 13 about 30 s in, watchdog at the same placeNext
The first faulting dispatch, from a
VICTORY_RECORDcapture 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
linux/wineserverview-tree servere45051adiag, cross-compiled (lld-link + xwin SDK), plus a local diagnostics patch (below)linux/play.sh series-s, windowed,Enter 0.3every 3 s throughVICTORY_KEYS_FILE1. 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:+0x23cf683watchdog at 15:21:22VICTORY_WAIT_RESIDENT=0)device removed: 0x887A0005An 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-asideholdsASIDEinhost::mapped(host.rs:271). Inside it, it waits withINFINITEinmapping_fence::confirmfor 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_passvictory-submitis inMutex::lock_contended ← host::mapped ← Host::uav_buffer ← take_steps ← Host::submit ← send_late ← execute_parts ← behind::govictory-list-0/1/2/5…11andvictory-views-*are inlock_contended ← host::mapped ← shared_buffer(fromHostList::budget/shadow::loose).victory-list-3/4are inaside::Coming::wait ← HostList::take_coming ← HostList::close, waiting for the aside thread.vkd3d_queuesubmission threads are idle. Twovkd3d_fencethreads are invkWaitSemaphores.The line dump at that point (
running=Some(<compute queue>), nothing done for 25 s): the head of every other queue is aRUNor a finished translation. The only memory-value wait there readsmet true. TheSIGNALs the title waits for sit right behind them:So no wait cycle is involved here, and the title isn't failing to submit work. With
VICTORY_THIN=1, a submission gets itsSUBMITcapture line only when the lane processes it, which is why the producer lists in the earlier capture showed up in noSUBMIT: 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
SetAutoBreadcrumbsEnablement … stub!,SetPageFaultEnablement … stub!), soVICTORY_D3D12_DREDreports nothing here. Next would beVKD3D_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=0is not a workaround: the same fault becomes an immediate device loss.Possible changes
mapping_fence::confirm(and probably the otherINFINITEwaits on our own fences) could wait with a timeout and checkGetDeviceRemovedReason, or go tohost::failafter a few seconds. Then this shows up as a GPU fault straight away, not as a title watchdog 30 s later.VICTORY_LINE_STOPPED=<s>, default 5, 0 off), adescribe()for eachJob, the title's blocking fence waits, and a stack dump through anon_line_stoppedhook. 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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T14:57:01Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by Melanpan on 2026-11-27T16:11:16Z.
✨ 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),WriteBufferImmediatewrites 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. WithVICTORY_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):Every command before #8 was confirmed done, and #8 never finished. vkd3d-proton (
VKD3D_CONFIG=fault) reports aWriteInvalidat0x100a44000, in memory never bound.First run of
fdd56d97a806bccaagainst Xid 13 in the earlier runs (UTC):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
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 arecb0and the read-onlyt255,space1. Every write goes through a heap handle whose index comes from the constant buffer, clamped to999999. They're exactly the four UAVs above (the report'ss…+nare dwords):%778(cb[1].x + 5920) >> 5s0+1480(174 MB)atomicBinOp+ 14rawBufferStore%783(cb[1].y + 32) >> 5s1+8(32 B)atomicBinOp%787(cb[1].y + 64) >> 5s1+16(512 KiB)rawBufferStore%791(cb[1].y + 96) >> 5s1+24(5,800 B)atomicBinOpThe byte offsets of those writes are computed from data the kernel reads (counts and indices out of the 174 MB buffer).
buffer_view_okkeeps each host view inside its copy, and the book shows the 174 MB copy as one contiguous allocation (title buffer …+0xae00000and 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 throughVK_EXT_descriptor_heap(orVK_EXT_descriptor_buffer: disabling the first still faults) bounds-checks these writes here. That's the next experiment: a small out-of-boundsRWByteAddressBufferstore test under the same Proton, and logging the offsets this dispatch writes at.The breadcrumbs patch (
host/crumbs.rs, hooks inHostList::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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:17:22Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T16:35:46Z.
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.Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T16:40:25Z.
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+0x23cf683followed, withUnsignaled CrossQueueBarrier, at game frame 1118 inFBK_STRY000_INTROPrestream. So #315 does not fix it here.Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T16:48:55Z.
More data from
f948c70(RTX 5090, 620.73.04, GE-Proton11-14 + viewtree,series-s):fdd56d97a806bccais 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).4e296b1885c37b29,88994c3496045f51andba2ea928faffd2b0(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
fdd56d97a806bccaalone 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.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:58:35Z.
@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.Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T17:51:01Z.
Breadcrumbs from a second RTX 5090 (driver 620.73.04, GE-Proton11-14 + viewtree,
series-s, windowed). The build is00a8d44+ #332 merged locally, with translator v15, freshly re-translated shaders and 1,493 re-warmed pipelines (0 failed). Runs usedVICTORY_GPU_TIMING=1 VICTORY_GPU_CRUMBS=1 VKD3D_CONFIG=fault. Every run had a single liststopped=1:WriteInvalid#37 draw 3x1 [vertex 88dc833624e2c5ec, pixel a7cfe758751c20aa]into a 128×128f10target (113 lists, 109 not begun)0x136317000#3 dispatch 9x1x1 [compute 55679a0547649d0b](93 lists, 87 not begun)0x12ddd7000#3 dispatch 9x1x1 [compute 55679a0547649d0b](89 lists, 85 not begun)0x12534c000#8 dispatch 87x1x1 [compute fdd56d97a806bcca](34 lists, 31 not begun)0x10f5f7000Every fault is followed by Xid 109 4 s later and Xid 31 at teardown.
55679a0547649d0bis new: 2 of 4 runs.55679a0547649d0bandfdd56d97a806bccabind the same 174 MB buffer as a UAV:Uav s0+1480: buffer (185532416, 182452224), with the same buffer asSrv s0+688(182452224x1 at 0xb0f0000). Both also bindu4=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 skippingfdd56d97a806bccaalone did not help.2048x2048 f71uploads) or noted no command (runs 2–4).Full logs are kept locally. I can share the complete
stopped amonglines (all tables) for each run.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T17:58:02Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T18:00:36Z.
Got it
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T18:04:42Z.
@TaynanGT maybe our agents missed an unconverted console address?
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T18:06:11Z.
Let me run that theory with my agent
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T18:09:27Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-27T18:36:42Z.
Fair enough, apologies for bothering you
I will leave this one to you
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T18:39:52Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by craftycorvid on 2026-11-28T11:01:09Z.
Same fault reproduced on a third RTX 5090, with a list of what does not avoid it.
Setup: RTX 5090 32 GB, driver 620.73.04 (open kernel module), Ryzen 7 9800X3D, CachyOS kernel 7.3.6, GE-Proton11-14 with the
linux/wineserverview-tree server (vkd3d-protonv3.1-83-gcae8353ed), Microsoftd3dcompiler_47,series-s, diag builds cross-compiled withcargo xwin, Wine called directly as inlinux/play.sh.What happens: every run reaches the account picker and the loading screen at 30 fps. About 45–50 s after launch (the first world frame) the kernel logs
NVRM: Xid 13 … Graphics SM Warp Exception … MMU Fault(name=title-main), Vice-Tay reportshost GPU device removed … 0x887A0005, and the title's watchdog follows atimage+0x23cf683. 11 recorded runs, all the same.Tried, all with the same Xid 13:
linux/play.shNVIDIA settingsfe7c6e5(main)SAFE=1fe7c6e5-Machine 4070-style memory values,MAP_THREADS=1,PLACED_FILL_REDIRECT=1, DLSS Quality,NO_WATCHDOG=1)fe7c6e5VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chainsfe7c6e5VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains,VK_EXT_descriptor_heap(vkd3d-proton's descriptor-buffer path instead)fe7c6e5VICTORY_WAVE_WIDE_ONLY=a10179ab7eda0dc3fe7c6e5VICTORY_WAVE_PAIRS=1(every wave64 program paired)fe7c6e5877a40efe7c6e5+ patchAlso checked: the runtime sees the card as NVIDIA (
vendor=0x10de), and the view heap is capped and clamped as expected (host view heaps hold 1000000 views). Root SRVs/UAVs are already bound as bounded one-view tables by default, so unbounded root descriptors are not the path.A control on the same machine: a build of another VIctory fork (
linux-nvidia: upstreammainplus upstream PRs #233/#223, #320 and #439, "console flow" for wave64 on 32-lane hosts, among others) played 2–8 minutes in the world on this PC, same driver and Proton, with no Xid at all. Vice-Tay has none of that console-flow translator work. The common ancestor of the two trees (ffe310e) does not run under Proton at all (pipelines refused), so the two can't be bisected against each other directly. Next I'm going after the exact faulting dispatch withVKD3D_CONFIG=fault.Recordings and logs are kept locally.
AI use: Claude Code (Claude Opus 5.5) ran the builds and the recorded runs and wrote this comment.
Imported from TaynanGT/Vice-Tay. Originally posted by craftycorvid on 2026-11-28T12:13:56Z.
Follow-up: one title shader reproduces the Xid 13 on its own (same RTX 5090 setup as above,
fe7c6e5plus local diagnostics).Method: a diagnostics-only extension of
VICTORY_SKIP_PIPELINES:all, and hex-prefix entries such asf7*that also skip shaders not seen yet. Without prefixes, each run reached new shaders and still faulted. Every run is recorded, and each result is the kernel log plusexit code.all)f*f8*–ff*f0*–f3*,f4*–f5*,f6*f7*f7c*only (one shader seen)The shader: compute
f7c4f227a2a4c4b2=smh_gen_130:CS_InterpolateStrands. It is a wave32 program (so no wave64 handling is involved). Its only writes are sixbuffer_storethrough one descriptor,s_load_dwordx4 s[16:19], s[4:5], 0x480: the raw table UAV at table dword 288 (stride 1). Skipping it alone does not avoid the fault, because other shaders reach it too.Where it writes vs. where the fault is (strand shader alone,
VKD3D_CONFIG=fault VICTORY_WAIT_RESIDENT=0, a local trace of its table views at dispatch):0x1a1f00000, 47,185,920 bytes, host copy0x9c000000..0x9ed00000(the view covers exactly the copy)FaultPCentries, thenWriteInvalidat0x12c7e0000, about 2.3 GB away from that copy, with no candidate VA in the address log (never-bound memory)Not the cause (strand shader alone, still Xid 13):
VICTORY_CARD_STEPS=0VICTORY_CARD_REHASH_RUNS=0So the stores the shader encodes are bounded by a 47 MB view, yet running it is enough for a shader write to land 2.3 GB away. Next I am looking at the translated DXIL for this shader: where its store handles and offsets come from.
AI use: Claude Code (Claude Opus 5.5) ran the builds and the recorded runs and wrote this comment.
Imported from TaynanGT/Vice-Tay. Originally posted by craftycorvid on 2026-11-28T12:35:38Z.
Correction and update to my last comment.
The strand shader's own stores are not the faulting write. In vkd3d-proton's SPIR-V for
CS_InterpolateStrands(VKD3D_SHADER_DUMP_PATH, thenspirv-dis), every store goes through the bindless SSBO array with no bounds check of its own. So I tried a local translator change: each raw buffer store and atomic is checked againstgetDimensionsand does nothing past the view's end. All six of the shader's stores carry the check in the dumped SPIR-V (OpArrayLengthbefore each one). The Xid 13 remains, both with only this shader running and in the full game.A trap for anyone testing translator changes: the runtime's shader cache key comes from
shader_cache::build(), which hashesvictory_shader::emit::host_settings(), nottranslation_fingerprint(). A new translator setting that only goes into the latter lets runs reuse the old cached translations. Two of the results in my earlier comment (the null-view guard) were affected. I reran them with the setting in the key, and they still fault.Also not the cause (full game unless noted):
VICTORY_RELAY=0linux/play.sh's settings (strand shader alone)What holds: with every title pipeline skipped there is no Xid, and with only
f7c4f227a2a4c4b2running there is one every time. That shader's own writes are now bounded. So the wild write comes from work that runs because of its dispatches, probably the runtime's own GPU work around them. Next I am turning off the runtime's default-on features in halves, with only this shader running, to find which one.AI use: Claude Code (Claude Opus 5.5) ran the builds and the recorded runs and wrote this comment.
Imported from TaynanGT/Vice-Tay. Originally posted by craftycorvid on 2026-11-28T16:47:51Z.
Update: GPU breadcrumbs place the fault inside the strand shader's own dispatches (same RTX 5090 setup as above,
fe7c6e5plus local diagnostics). This corrects the guess at the end of my last comment that the runtime's work around them was to blame.Method: the breadcrumbs from closed PR #332, applied locally with two fixes:
HostList. Before this, a list's reuse erased its record, and the report said the list "noted no command".Runs used the direct launcher with the runtime's defaults (
VICTORY_GPU_CRUMBS=1 VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1 VKD3D_CONFIG=fault) and onlyf7c4f227a2a4c4b2running.VICTORY_THINandVICTORY_JOIN_PARTSalso break the keying, so leave them off for this.Result: the lost list's last completed mark is command 558, in the middle of a run of
CS_InterpolateStrandsdispatches (commands 557–566). Everything before that run had finished, including the list's texture uploads. The fault report again shows aWriteInvalidat an address that no vkd3d resource covers, withFaultPCentries, so a shader did the write.What changes the outcome
Dispatchskipped (a localVICTORY_NO_DISPATCH=1): no Xid.getDimensionsof its own view: still Xid. In vkd3d-proton's dumped SPIR-V, all 17 of the shader's stores are SSBO stores into the bindless array, each behind anOpArrayLengthcheck of the same descriptor.Also not the cause (strand shader alone unless noted):
VICTORY_SEND_OWN=0)VICTORY_CARD_BUFFERS=0)VICTORY_switches turned off togetherLeading hypothesis: a store that is bounded by its own descriptor can only land gigabytes away if that descriptor is wrong when the shader runs, with a garbage base and a plausible size. The shader reads its UAV (u6, a raw table view) from the title's table in place. The title alternates between two tables, one per frame (
+0xa67100and+0xa67600), and the slots match what was recorded (32-aligned, the slot the shader computes). If the title rewrites a table while the GPU is still running work that reads it, the shader sees a different or half-written descriptor. That may be harmless on native drivers but becomes a wild address under vkd3d-proton. I haven't confirmed this yet.Next: a diagnostics switch that makes each compute dispatch read a list-owned snapshot of its tables (like the existing "fresh tables" path) instead of the title's live slots. If the Xid goes away with that, the fix is either to snapshot at record time under Wine, or to hold the title's slot contents until in-flight lists finish. @TaynanGT, you know the heap code best. If there is already a way to force the fresh-table path, or a reason this race can't happen, that would save me a step.
Logs and recordings are kept locally, as you asked earlier. I can send specific excerpts.
AI use: Claude Code (Claude Opus 5.5) ran the builds and the recorded runs and wrote this comment.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-28T18:16:17Z.
Two results that narrow @craftycorvid's table-race hypothesis, from another RTX 5090 (620.73.04, CachyOS 7.3.6, GE-Proton11-14 / vkd3d-proton
v3.1-83-gcae8353ed,fe7c6e5plus local diagnostics):The GPU is not overwriting descriptors (one run). A local vkd3d-proton patch keeps a shadow copy of each shader-visible CBV/SRV/UAV heap. It updates the copy after every CPU descriptor call and compares it with the live mapped memory four times a second. Up to the Xid 13, nothing changed without a CPU write in any slot of the 1,000,000-view heap. The only changes were in vkd3d-proton's own slots and the driver's reserved range, plus two slots of a small heap 29 s earlier, from a write path I haven't identified. That leaves a CPU rewrite while the GPU is still reading, which this check can't see because that write is legitimate.
The fault reports do mean a garbage address. As a control, a local switch points one of the runtime's own dispatches 64 GiB past its buffer. vkd3d-proton reports it exactly like #221 (
WriteInvalid, "no candidate VA entries", Xid 109, exit code 5).Possibly related: a local check of what each table UAV slot holds at bind time finds wrong-type views (SRVs in slots the shader declares as UAVs) from the end of loading on, though not in the shaders that were on the card at the fault.
Also no change (still Xid): drivers 620.70.06 and 615.78.08, kernel 6.18 LTS, a vkd3d-proton descriptor QA build patched to also check at device loss (0 reports), a 4 fps cap (fault delayed to about 146 s), and a clean environment.
Next here: a switch that gives each compute dispatch a snapshot of its tables taken at record time, tested with only
f7c4f227a2a4c4b2running. @craftycorvid, if you already have one, I'll run yours instead.AI use: Claude Code (Claude Opus 5.5) ran the builds and the recorded runs and wrote this comment.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-28T18:47:20Z.
Tested the table-race idea on my RTX 5090 (same setup as my last comment). A local diagnostics switch makes draws and dispatches read a list-owned copy of their descriptor tables, made at record time. It forces on the runtime's existing path for tables that hold a constant buffer. No call was dropped for lack of copy slots, and no table fell back to the title's slots.
VICTORY_THINf7c4f227a2a4c4b2play.sh)f7c4f227a2a4c4b2channel 0x9, intr0 0x40000), 2 of 2, within a second of the first copyWith
VICTORY_THIN=0(so recording happens inside the title's own calls), a second check copies each bound table's records at record time and compares them with title memory when the title submits the list. Of 8,192+ tables, none changed in between. So, on this machine, the title doesn't change a table between recording and submitting, and a private copy doesn't help either. That makes a table race unlikely here, whether thin recording is on or off.linux/play.shsetsVICTORY_THIN=1, and then every bind-time hook runs on the runtime's translation threads, not on the title's lists. That is probably the same keying problem @craftycorvid hit with the breadcrumbs.The Xid 32 when copying that one shader's tables is a different failure, and I haven't looked into it.
AI use: Claude Code (Claude Opus 5.5) ran the builds and the recorded runs and wrote this comment.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-28T19:25:57Z.
You know what you already got the shader hash, I got an idea
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-28T21:13:43Z.
that idea worked
https://github.com/TaynanGT/Vice-Tay/pull/428
@craftycorvid try it out and let me know :)
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:23:45Z.
Glad #428 got past the watchdog! A second GE-Proton11-14 run that reaches interactive gameplay would help separate the startup fix from remaining rendering issues.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-29T11:57:03Z.
@TaynanGT i see #408 also solved it too :) you can decide which of those to merge
I think 408 is better, though I didn't run A/B yet
waiting for monday once Claude-Sama wakes up again
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T14:39:02Z.
Thanks for the comparison with #408. I will keep both approaches separate until there is evidence from the same Proton setup that the intro reaches interactive gameplay and the rendering is still correct. The report does not establish an A/B winner yet.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-29T15:58:23Z.
When I ran it (428), rendering was off, high freq colors were too bright
But because it didn't boot at all, I couldn't account it clearly to 408 or 428 or an issue in the repo itself we will solve in a different PR once this baseline is in
Unsure about 408, I will try it today and I will let you know
The important thing is that this bug is behind us and we can move on :)
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-29T17:18:11Z.
I got artifacts on both (408 and 428)
imho different problem to solve, let's not compress too much to a single PR
https://github.com/user-attachments/assets/0cff08f7-9d4e-41a1-a7a5-8be5cc1d0229
you can see it on his arms, the sirens and stuff
what do you think? should we merge 408/428 as is or ask claude-sama to dig further?
does windows runs have the same issue?
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T19:02:03Z.
I would keep the constant-table fix and the visual artifacts as separate issues. Since both branches show the same artifacts, that alone doesn't establish a regression caused by the fix. Before merging, let's compare the same scene on the parent commit and #428, with the same settings and driver, and get a native Windows capture if possible. The existing Windows shader tests do not establish that the scene renders correctly. Please keep the video and logs linked here.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-29T20:46:48Z.
A/B for #428 against its parent (
fe7c6e5), same scene, settings, driver and Proton. I don't have a native Windows machine (this is Linux only), so I can't provide the Windows capture; Kal0s-design or anyone on Windows + NVIDIA, a capture of the intro there would settle it.Setup (all legs): RTX 5090, NVIDIA 620.73.04, GE-Proton11-14 (viewtree wineserver), vkd3d-proton 3.1, Series S profile,
linux/play.shsettings, windowed 1920x1080 inside headless gamescope, recorded from gamescope's PipeWire stream (game only). Same input script (Enter every 12 s), warm shader caches, 240 s cap. Logs:ab-GS-{MAIN,CTRL,428}-1.log.fe7c6e5fe7c6e5+ the fix applied to one program only (the one I traced the fault to)85a3ebfWhat this shows
The artifacts (#428 at 1:18, 1:24, 1:42): the tattoo sleeves on both characters' arms render as colored block noise, the look of compressed texture data that wasn't decoded. All three legs log, on startup:
Since #366 removed the bundled tables, this setup runs without BCPack decoding. My guess is that the artifacts come from that and not from the constant-table fix, but I haven't confirmed it: it needs a run with the tables set. It would also explain why #408 and #428 show the same artifacts.
Agree on keeping them separate. I'll open a new issue for the artifacts once it's tested with the tables.
Videos (parent, control, #428) and run logs follow in a reply.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-29T20:48:51Z.
Videos and logs for the A/B above: parent, control, #428 (same order as the table).
log-GS-MAIN.txt
log-GS-CTRL.txt
log-GS-428.txt
https://github.com/user-attachments/assets/0a2e4a65-4c28-41f5-bb54-6ed2023e7f68
https://github.com/user-attachments/assets/d95cd7dd-0f62-4724-8bd0-97a7b1e27ce5
https://github.com/user-attachments/assets/3de7faf0-05fe-4aed-b865-2eb0ce778c04
https://github.com/user-attachments/assets/84191a83-c781-4f3f-a9b1-aa25955302a9
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-30T06:32:47Z.
The block-noise artifacts in the #428 intro (the arms at ~1:18) are probably the same as #385:
VICTORY_BCPACK_TABLESwas unset in my runs. Setting the tables is what fixes it; #391 (still open) only adds a warning and docs, and doesn't touchlinux/play.sh. Claude retested #428 locally with the tables set (same scene and settings): the artifacts are gone, and so is theBCPack requests failwarning in the log.Edit: I got it by reverting #366 .. I understand the licensing problem, let me try to figure out a soution
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:02:39Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay:vice-tay.exe play, andVICE_TAY_*switches instead ofVICTORY_*(details in #468). Could you check whether this still happens on the currentmainand say so here, with a log if you can?Imported from TaynanGT/Vice-Tay. Originally posted by craftycorvid on 2026-12-01T00:31:13Z.
Checked on the current
main(206e07b4): it still happens with the default settings. WithVICE_TAY_CODE_TABLE_AFTER=1, one run got into gameplay with no Xid.Setup: RTX 5090, NVIDIA 620.73.04 (open kernel module), CachyOS kernel 7.3.6, GE-Proton11-14 with the viewtree wineserver, vkd3d-proton 3.1, diagnostics build (
--profile diag --features diagnostics).mainhas no Linux launcher any more, so I ranvice-tay.exe play <game_scarlett_master.exe>with Proton's Wine directly: Proton's prefix,d3d12,d3d12core,dxgi,d3d11,d3d10core,d3d9=n, network off. The game ran in a 2560x1440 gamescope window, recorded.playchose Series X, 1440p and ray tracing on. DLSS and frame generation were off because there were no NVIDIA files: stdin isn't a terminal, so it skips the download.playdefaults, played by hand, nothing else on the GPUcore_restofworld001opened), on the black screen after the loading art. vkd3d-proton:VK_ERROR_DEVICE_LOST(vr -4). Exit 5.play --set VICE_TAY_CODE_TABLE_AFTER=1Kernel, defaults run (97 lines, all within the same second):
This is the same signature as on the earlier line, and the same thing #428 fixed there (the hair-strand shader
f7c4f227a2a4c4b2and its whole-program constant table). Sincece27154aputs that change behindVICE_TAY_CODE_TABLE_AFTER(off by default) and no profile turns it on, the default start on this card still faults.Not measured: for the
VICE_TAY_CODE_TABLE_AFTER=1run, another GPU-heavy program was running on the same machine. I'm not reporting its frame rate or judging its picture from that run. A clean rerun with the switch is the next step. That matters given the Series X / ray-tracing slowdownce27154adescribes.Two things I hit on the way that others under Proton will too:
playremovesVICE_TAY_*environment variables it didn't set itself ("leftovers"), so a switch exported in the shell does nothing. It has to go through--set NAME=VALUE.vid_320f&pid_504b) as a pad, and the Steam Controller (Steam Input's virtual Xbox 360 pad) never reached the game. Enter on the keyboard worked for the account picker. I can open a separate issue for this if it's useful.AI use: Claude Code (Claude Opus 5.5) ran the builds and the recorded runs and wrote this comment.
main-206e07b4-default-xid13-piloted.log.gz
main-206e07b4-code-table-after.log.gz
Imported from TaynanGT/Vice-Tay. Originally posted by craftycorvid on 2026-12-01T01:44:34Z.
Follow-up on
65b9beaa(#485 merged): withVICE_TAY_CODE_TABLE_AFTER=1and a full preload, the game no longer crashes and the cache now works under Wine, but the intro doesn't render properly and the game is slow. Same RTX 5090 / Proton setup as my last comment, played by hand with nothing else running.What #485 fixed here
no host pipeline library (VICE_TAY_LIBRARY): pipelines come from the driver and its disk cachein the log.Full preload (
vice-tay preload --all, run with the switchesplayset, includingVICE_TAY_CODE_TABLE_AFTER=1): 37 min 44 s in all.The run:
playwith--set VICE_TAY_CODE_TABLE_AFTER=1, which chose Series X, 1440p and ray tracing on. There were no NVIDIA files, so DLSS and frame generation were off. No Xid in 3.5 min. Times below are from the recording:So the intro stall isn't GPU work: the card is mostly idle while frames take seconds, and models and scenery are missing. Gameplay is GPU-bound. The largest items in the card meter are the compute lists with
00e6aef268b1ef81/03e3e26783a5799b(6.0 + 4.8 ms) and08055d95e9ee79c0/0873f80dd84a3c5c(3.9 ms).Warnings in that run (no BCPack warning this time):
title memory by address: shaders touched pages that had no copy (those accesses read 0 or were dropped)a texture picked by index changed after its upload with nothing to tell of it: uploaded againHERO LEAD: a placed texture view lies in the memory of a texture the host copied intoa dispatch without a host pipeline dropped pipeline=0x53755180What I can't separate: whether
VICE_TAY_CODE_TABLE_AFTERitself causes any of this. Without it, the game crashes before the intro on this card, so there's no baseline in the same configuration. For comparison, on the old line, #428 with Series S (1080p, no ray tracing) played the same intro correctly at about 17 fps. The next runs I can do are ray tracing off (--set VICE_TAY_BVH_BUILDER=0) and the newseries-s/build, if either would help.AI use: Claude Code (Claude Opus 5.5) ran the builds, the preload and the recorded run and wrote this comment.
main-65b9beaa-code-table-after-preloaded.log.gz
main-65b9beaa-preload-all.txt.gz