Arc B580 + -RayTracing: the title faults during load (57 MB dump), with xboxbvhbuilder.dll bound cleanly #457

Open
opened 2026-11-29 19:53:25 +00:00 by github-bot · 16 comments
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 19:51 UTC · original

Ray tracing on an Intel Arc B580: the title faults during load, with the BVH builder bound cleanly

Split out from #448 as asked. This is not a complaint about the rest-pipeline work — that is what makes this tree usable at all
on this card. This is the other half of the visual problem, and it is the one nobody can fix from our side.

What happens

Build 84462d6, -More @{VICTORY_MESH_REST='draw'} plus -RayTracing (which sets VICTORY_BVH_BUILDER=1), otherwise
the same profile as every other run: Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200, Ryzen 7 5700X, 32 GB, series-s,
-Machine 7900xtx, warm shader and pipeline caches.

  • Ran 106 s and never reached the first scene.
  • No host GPU device removed — the device is fine. The title itself faulted and wrote a 57 MB Breakpad dump
    (submit.backtrace.io, blocked by the layer as usual: HTTP connection blocked destination=submit.backtrace.io:443).
  • Right before it, the builder was bound cleanly and the data opened:
title dll      xboxbvhbuilder.dll at 0x7ffe3dbb0000
bound          xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing
dstorage: file opened path="G:\pack\core_bvh4\core_bvh4.rpf"
dstorage: file opened path="G:\pack\story000_bvh4\story000_bvh4.rpf"
dstorage: file opened path="G:\pack\shared_minigame000_bvh4\shared_minigame000_bvh4.rpf"
  • The last logged lines are the title's own FSR4 ACO messages (DeserializeComputePipelineStateX FAILED hr=0x80004001 ... falling back to NewBE), so nothing in the log marks the fault. There is no layer error to point at; the crash is
    inside the title.

It is not this build

The same outcome on the older trustno1-coder/VIctory-NVIDIA base at 64d4931b with VICTORY_BVH_BUILDER=1: the title dies
during load, dump and all. Two unrelated bases, two patch sets, same result, same driver. That reads like the translated BVH
path on Battlemage rather than a regression in either tree.

What it costs, and why it matters more than fps

Without ray-traced occlusion there is no shadow to cut direct sun, so the sunlit outdoor frames stay blown out. We measured the
alternatives and they are all dead ends:

lever effect
the layer's stand-in light, 4x change (0.1 → 0.4) moves the frame's mean luma by 6 of 255
a tonemap / auto-exposure stage (written and tested) clipped pixels 92.7% → 0%, but the picture stays flat: the title hands over an 8-bit, already clipped frame
the title's own brightness slider works, at the cost of crushing shadow detail

So the picture cannot be fixed in post, and the one thing that would fix it is the thing that crashes the title. That is why
this is worth an issue of its own rather than a footnote.

What would help

  1. A line in the README saying ray tracing is NVIDIA/AMD-only for now, so an Arc owner does not lose a session to it. On this
    card it is not slow, it is fatal, and it is fatal within two minutes.
  2. If you want to look at it: the log is
    vicetay-raytracing-title-crash-106s.log
    (2.2 MB, ANSI stripped). I have the dump's existence recorded but not the dump itself.
  3. Any pointer to which HLE'ed export in xboxbvhbuilder.dll is reached last would let me try a targeted run — I can repeat
    this in two minutes as often as needed, and I can run a diagnostics build if you want one.

For completeness, the working configuration on this card without RT is in #448: draw, 639–852 s, 3.7–3.9 fps in the heavy
scene, and the 82–151 s baseline without the rest pipeline.

**@⁠dengarIicdk** on GitHub · 2026-11-29 19:51 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457) # Ray tracing on an Intel Arc B580: the title faults during load, with the BVH builder bound cleanly Split out from #448 as asked. This is not a complaint about the rest-pipeline work — that is what makes this tree usable at all on this card. This is the other half of the visual problem, and it is the one nobody can fix from our side. ## What happens Build `84462d6`, `-More @{VICTORY_MESH_REST='draw'}` **plus `-RayTracing`** (which sets `VICTORY_BVH_BUILDER=1`), otherwise the same profile as every other run: Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200, Ryzen 7 5700X, 32 GB, `series-s`, `-Machine 7900xtx`, warm shader and pipeline caches. - Ran **106 s** and never reached the first scene. - **No `host GPU device removed`** — the device is fine. The title itself faulted and wrote a **57 MB Breakpad dump** (`submit.backtrace.io`, blocked by the layer as usual: `HTTP connection blocked destination=submit.backtrace.io:443`). - Right before it, the builder was bound cleanly and the data opened: ``` title dll xboxbvhbuilder.dll at 0x7ffe3dbb0000 bound xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing ``` ``` dstorage: file opened path="G:\pack\core_bvh4\core_bvh4.rpf" dstorage: file opened path="G:\pack\story000_bvh4\story000_bvh4.rpf" dstorage: file opened path="G:\pack\shared_minigame000_bvh4\shared_minigame000_bvh4.rpf" ``` - The last logged lines are the title's own FSR4 ACO messages (`DeserializeComputePipelineStateX FAILED hr=0x80004001 ... falling back to NewBE`), so **nothing in the log marks the fault**. There is no layer error to point at; the crash is inside the title. ## It is not this build The same outcome on the older `trustno1-coder/VIctory-NVIDIA` base at `64d4931b` with `VICTORY_BVH_BUILDER=1`: the title dies during load, dump and all. Two unrelated bases, two patch sets, same result, same driver. That reads like the translated BVH path on Battlemage rather than a regression in either tree. ## What it costs, and why it matters more than fps Without ray-traced occlusion there is no shadow to cut direct sun, so the sunlit outdoor frames stay blown out. We measured the alternatives and they are all dead ends: | lever | effect | |---|---| | the layer's stand-in light, 4x change (`0.1` → `0.4`) | moves the frame's mean luma by **6 of 255** | | a tonemap / auto-exposure stage (written and tested) | clipped pixels 92.7% → 0%, but the picture stays flat: the title hands over an **8-bit, already clipped** frame | | the title's own brightness slider | works, at the cost of crushing shadow detail | So the picture cannot be fixed in post, and the one thing that would fix it is the thing that crashes the title. That is why this is worth an issue of its own rather than a footnote. ## What would help 1. A line in the README saying ray tracing is NVIDIA/AMD-only for now, so an Arc owner does not lose a session to it. On this card it is not slow, it is fatal, and it is fatal within two minutes. 2. If you want to look at it: the log is [vicetay-raytracing-title-crash-106s.log](https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs) (2.2 MB, ANSI stripped). I have the dump's existence recorded but not the dump itself. 3. Any pointer to which HLE'ed export in `xboxbvhbuilder.dll` is reached last would let me try a targeted run — I can repeat this in two minutes as often as needed, and I can run a diagnostics build if you want one. For completeness, the working configuration on this card without RT is in #448: `draw`, 639–852 s, 3.7–3.9 fps in the heavy scene, and the 82–151 s baseline without the rest pipeline.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 19:53:25 +00:00
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 19:54 UTC · original

The log is public and linked in the issue body, but here are the lines that matter, in case nobody wants to download 2.2 MB
for them. Build 1800E3A1CA131C0C2A6777FA647C2526F07D57896453F5FBFF440211AAAF0C1B (that is 84462d6 built here), launched
with -RayTracing and VICTORY_MESH_REST=draw.

Startup, confirming RT is actually on:

Settings for the 7900xtx, with ray tracing.

The builder bound cleanly — nothing missing:

title dll      xboxbvhbuilder.dll at 0x7ffe3dbb0000
bound          xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing

The BVH data opened:

dstorage: file opened path="G:\pack\core_bvh4\core_bvh4.rpf"
dstorage: file opened path="G:\pack\story000_bvh4\story000_bvh4.rpf"
dstorage: file opened path="G:\pack\shared_minigame000_bvh4\shared_minigame000_bvh4.rpf"

The last twelve lines before the fault, unedited — the title's own FSR4 messages and then the dump:

title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_23' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_24' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_25' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_26' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_SPD_AUTOEXPOSURE_PASS' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_RCAS_PASS' -- falling back to NewBE
INFO title: BacktraceBreakpad:c:\code\xbox\breakpad\src\common\windows\backtrace.cc:99:XSystemGetConsoleId(): 00000000000000000000000000000000000001
INFO title: BacktraceBreakpad: ... Payload size: 57243729
INFO victory_hle::modules::net: HTTP connection blocked destination=submit.backtrace.io:443

Three things I would underline for whoever reads it:

  1. No host GPU device removed anywhere in the 22 964 lines. The device never went; the process faulted.
  2. No layer error precedes the fault. Like the runner-up in the FSR4 list, the last thing the layer logs is the title's own
    message, so there is no HLE call to point at, only the dump's existence.
  3. The FSR4 lines are probably innocent — the same DeserializeComputePipelineStateX FAILED ... falling back to NewBE
    appears in every run in #448, including the 852 s one, with and without RT. Worth not chasing them.

If a diagnostics build would tell you more, or if you can name the export in xboxbvhbuilder.dll that is reached last, I can
run it in two minutes — that is how long a failed RT attempt takes on this machine.

**@⁠dengarIicdk** on GitHub · 2026-11-29 19:54 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7261652044) The log is public and linked in the issue body, but here are the lines that matter, in case nobody wants to download 2.2 MB for them. Build `1800E3A1CA131C0C2A6777FA647C2526F07D57896453F5FBFF440211AAAF0C1B` (that is `84462d6` built here), launched with `-RayTracing` and `VICTORY_MESH_REST=draw`. Startup, confirming RT is actually on: ``` Settings for the 7900xtx, with ray tracing. ``` The builder bound cleanly — nothing missing: ``` title dll xboxbvhbuilder.dll at 0x7ffe3dbb0000 bound xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing ``` The BVH data opened: ``` dstorage: file opened path="G:\pack\core_bvh4\core_bvh4.rpf" dstorage: file opened path="G:\pack\story000_bvh4\story000_bvh4.rpf" dstorage: file opened path="G:\pack\shared_minigame000_bvh4\shared_minigame000_bvh4.rpf" ``` The last twelve lines before the fault, unedited — the title's own FSR4 messages and then the dump: ``` title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_23' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_24' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_25' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_26' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_SPD_AUTOEXPOSURE_PASS' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_RCAS_PASS' -- falling back to NewBE INFO title: BacktraceBreakpad:c:\code\xbox\breakpad\src\common\windows\backtrace.cc:99:XSystemGetConsoleId(): 00000000000000000000000000000000000001 INFO title: BacktraceBreakpad: ... Payload size: 57243729 INFO victory_hle::modules::net: HTTP connection blocked destination=submit.backtrace.io:443 ``` Three things I would underline for whoever reads it: 1. **No `host GPU device removed` anywhere in the 22 964 lines.** The device never went; the process faulted. 2. **No layer error precedes the fault.** Like the runner-up in the FSR4 list, the last thing the layer logs is the title's own message, so there is no HLE call to point at, only the dump's existence. 3. **The FSR4 lines are probably innocent** — the same `DeserializeComputePipelineStateX FAILED ... falling back to NewBE` appears in every run in #448, including the 852 s one, with and without RT. Worth not chasing them. If a diagnostics build would tell you more, or if you can name the export in `xboxbvhbuilder.dll` that is reached last, I can run it in two minutes — that is how long a failed RT attempt takes on this machine.
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-30 06:59 UTC · original

I looked at where this crash happens, statically in the title image (the same image as in your log, victory-image-b99f876b74d4a77f) and against your log. It isn't a memory fault in the usual sense: it's the title's own watchdog stopping the process on purpose.

What the code at the fault does (offsets from the image base):

  • +0x23cf620 decodes a 12-byte obfuscated string, GPU Loc Sig, the same key as the Breakpad parameter in your log (GPU Loc Sig: 7690681c). It hands that key to the crash reporter, then writes 0x4D8BD421 to address 0. That write is your 0xc0000005 at +0x23cf683 (write 0x0). A deliberate stop, not a stray pointer.
  • It's called through a callback from a watchdog loop at +0x2215a60 (your frames #1 +0x2215c35 and #2 +0x2215eca are that loop and its thread entry). The loop runs about once a second, with QueryPerformanceCounter time, and stops the title in two cases:
    1. a timed section a thread opened has stayed open for more than 300 s (constant in .rdata); or
    2. while no timed section is open, a heartbeat (+0x22159f0, a QPC stamp) hasn't changed for about 30 checks in a row. That heartbeat is called from four places, among them what look like a frame loop and a loading loop that sleeps between steps.

The run was 106 s long, so case 2 is the one that fits: for about 30 s, whatever calls that heartbeat didn't get there.

What the log shows for those 30 s:

  • The frame counter in our lines stops at frame=1982 at 19:45:01-03 and never moves again. The crash comes at 19:45:31.
  • After 19:45:04 there are no first bind lines and no per-frame meter lines. What's left is shader translation and host pipeline creation for about 100 compute pipelines, slowing down over time: two of them took about 10.6 s and 10.8 s between shader translated and host pipeline, and nothing at all is logged between 19:45:13.4 and 19:45:22.5.
  • At 19:45:03.670 a dispatch was dropped for lack of a host pipeline (not waited for). At 19:45:04.058 there's a host memory pressure warning with 2,055 MiB of commit left.

What this doesn't settle: which thread stopped, and on what. Slow pipeline creation on its own doesn't trip the watchdog: your 852 s draw run had a 65.8 s gap on one compute pipeline and kept going. Candidates are still open: a wait on the card (the B580 hangs we know from #448), a pipeline wait somewhere, the BVH builder, or memory.

What would decide it: the thread stacks in the 57 MB minidump you kept. Opened in WinDbg (~*k) or Visual Studio, the text of every thread's stack, especially the one that last ran the frame loop, would show what it was waiting on. Text is enough; the dump itself can stay with you.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-30 06:59 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7271237636) I looked at where this crash happens, statically in the title image (the same image as in your log, `victory-image-b99f876b74d4a77f`) and against your log. It isn't a memory fault in the usual sense: it's the title's own watchdog stopping the process on purpose. **What the code at the fault does** (offsets from the image base): - `+0x23cf620` decodes a 12-byte obfuscated string, `GPU Loc Sig`, the same key as the Breakpad parameter in your log (`GPU Loc Sig: 7690681c`). It hands that key to the crash reporter, then writes `0x4D8BD421` to address 0. That write is your `0xc0000005 at +0x23cf683 (write 0x0)`. A deliberate stop, not a stray pointer. - It's called through a callback from a watchdog loop at `+0x2215a60` (your frames `#1 +0x2215c35` and `#2 +0x2215eca` are that loop and its thread entry). The loop runs about once a second, with `QueryPerformanceCounter` time, and stops the title in two cases: 1. a timed section a thread opened has stayed open for more than 300 s (constant in `.rdata`); or 2. while no timed section is open, a heartbeat (`+0x22159f0`, a QPC stamp) hasn't changed for about 30 checks in a row. That heartbeat is called from four places, among them what look like a frame loop and a loading loop that sleeps between steps. The run was 106 s long, so case 2 is the one that fits: for about 30 s, whatever calls that heartbeat didn't get there. **What the log shows for those 30 s:** - The frame counter in our lines stops at `frame=1982` at 19:45:01-03 and never moves again. The crash comes at 19:45:31. - After 19:45:04 there are no `first bind` lines and no per-frame meter lines. What's left is shader translation and host pipeline creation for about 100 compute pipelines, slowing down over time: two of them took about 10.6 s and 10.8 s between `shader translated` and `host pipeline`, and nothing at all is logged between 19:45:13.4 and 19:45:22.5. - At 19:45:03.670 a dispatch was dropped for lack of a host pipeline (not waited for). At 19:45:04.058 there's a host memory pressure warning with 2,055 MiB of commit left. **What this doesn't settle:** which thread stopped, and on what. Slow pipeline creation on its own doesn't trip the watchdog: your 852 s `draw` run had a 65.8 s gap on one compute pipeline and kept going. Candidates are still open: a wait on the card (the B580 hangs we know from #448), a pipeline wait somewhere, the BVH builder, or memory. **What would decide it:** the thread stacks in the 57 MB minidump you kept. Opened in WinDbg (`~*k`) or Visual Studio, the text of every thread's stack, especially the one that last ran the frame loop, would show what it was waiting on. Text is enough; the dump itself can stay with you. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-30 07:19 UTC · original

Thanks — the watchdog reading explains the shape of it, and I went and opened the 57 MB minidump you asked about. It answers your open question (which thread stopped, and on what) at least in terms of where everybody was parked.

Method: cdb -z <dump> -c "~*kb;q". Our build is x86_64-pc-windows-gnu, so there is no PDB and cdb gives module+offset only — no Rust symbol names, sorry. Text of all stacks is below in summary form; the dump stays with me.

141 threads, and where they were

count top of stack (non-system frame)
54 victory+0x990342 (our queue/fence wait)
15 victory_image_b99f876b74d4a77f+0x221c3c2 (title)
13 igc_default64!getJITVersion / !CIFCreateMain (Intel Graphics Compiler)
13 igd12um64xe2!ctlGetSupported3DCapabilities+0x26214 (Intel D3D12 driver)
11 victory_image...+0x22511f (title)
7 victory_image...+0x56a0d (title)
5 victory+0x98fe57
5 victory_image...+0x43c421e (title)

The part that answers your "on what"

Thirteen threads were inside igc_default64.dll, Intel's shader compiler, at the moment of the stop, e.g.:

43: igc_default64!getJITVersion+0x27d4a1 <- +0x27d40c <- +0x1e8928 <- +0x1f3767
44: igc_default64!CIFCreateMain+0x5d8b0d <- +0x5d8b8e <- getJITVersion+0x862448 <- ...
45: igc_default64!getJITVersion+0x2354c2 <- +0x25ba6f <- +0x24831f <- +0x215487

and the same thirteen threads also appear in igd12um64xe2 at an identical three-frame stack:

igd12um64xe2!ctlGetSupported3DCapabilities+0x26214 <- igd12um64xe2+0x12adf7 <- igd12um64xe2+0xf19d2

Thirteen threads with byte-identical stacks in Intel's compiler is one compilation job fanned out across its worker pool, not thirteen separate ones.

So, for the watchdog

That matches your case-2 story exactly and names the waiter: your ~100 compute pipelines were being compiled by Intel's own compiler, and for as long as that took the heartbeat thread had nothing to report. Your log said two pipelines took 10.6 s and 10.8 s between shader translated and host pipeline; the dump was taken with the compiler still inside 13 threads.

The faulting thread itself is parked normally:

ntdll!NtWaitForSingleObject <- KERNELBASE!WaitForSingleObjectEx+0xaf
  <- victory+0x98f589 <- victory+0x79856 <- victory+0x7160f <- victory+0x5a494

so nothing here contradicts "deliberate stop" — the process was stopped while waiting, not while executing garbage.

What this suggests for RT on Intel, and where I would go next

Two consequences, both cheap to test if you think they are worth it:

  1. A 30 s heartbeat budget is not enough for RT compute on this compiler. Without RT, the same machine compiles the same kind of pipelines in small batches and never approaches it (our 852 s draw run had a 65.8 s gap on one pipeline and survived, because that was the drawing path, not the loading one).
  2. If the watchdog is the only thing standing between us and RT, then an earlier question is whether RT pipelines can be pre-compiled before the first frames, so the compiler's wall time does not overlap the loading loop's heartbeat. That is a layer-side question (host pipeline creation is ours), not a title one.

What I can do from my side, if useful: rerun -RayTracing with per-pipeline timings logged and a timestamp for every heartbeat-relevant step, so we can see whether the 30 s is spent entirely in the compiler or partly waiting on the card. Say the word and I will produce that log and link it here.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 07:19 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7271600000) Thanks — the watchdog reading explains the shape of it, and I went and opened the 57 MB minidump you asked about. It answers your open question (**which thread stopped, and on what**) at least in terms of where everybody was parked. Method: `cdb -z <dump> -c "~*kb;q"`. Our build is `x86_64-pc-windows-gnu`, so there is **no PDB** and cdb gives module+offset only — no Rust symbol names, sorry. Text of all stacks is below in summary form; the dump stays with me. ## 141 threads, and where they were | count | top of stack (non-system frame) | |---|---| | 54 | `victory+0x990342` (our queue/fence wait) | | 15 | `victory_image_b99f876b74d4a77f+0x221c3c2` (title) | | 13 | `igc_default64!getJITVersion` / `!CIFCreateMain` (Intel Graphics Compiler) | | 13 | `igd12um64xe2!ctlGetSupported3DCapabilities+0x26214` (Intel D3D12 driver) | | 11 | `victory_image...+0x22511f` (title) | | 7 | `victory_image...+0x56a0d` (title) | | 5 | `victory+0x98fe57` | | 5 | `victory_image...+0x43c421e` (title) | ## The part that answers your "on what" **Thirteen threads were inside `igc_default64.dll`**, Intel's shader compiler, at the moment of the stop, e.g.: ``` 43: igc_default64!getJITVersion+0x27d4a1 <- +0x27d40c <- +0x1e8928 <- +0x1f3767 44: igc_default64!CIFCreateMain+0x5d8b0d <- +0x5d8b8e <- getJITVersion+0x862448 <- ... 45: igc_default64!getJITVersion+0x2354c2 <- +0x25ba6f <- +0x24831f <- +0x215487 ``` and the same thirteen threads also appear in `igd12um64xe2` at an identical three-frame stack: ``` igd12um64xe2!ctlGetSupported3DCapabilities+0x26214 <- igd12um64xe2+0x12adf7 <- igd12um64xe2+0xf19d2 ``` Thirteen threads with byte-identical stacks in Intel's compiler is one compilation job fanned out across its worker pool, not thirteen separate ones. ## So, for the watchdog That matches your case-2 story exactly and names the waiter: your ~100 compute pipelines were being compiled by **Intel's own compiler**, and for as long as that took the heartbeat thread had nothing to report. Your log said two pipelines took 10.6 s and 10.8 s between `shader translated` and `host pipeline`; the dump was taken with the compiler still inside 13 threads. The faulting thread itself is parked normally: ``` ntdll!NtWaitForSingleObject <- KERNELBASE!WaitForSingleObjectEx+0xaf <- victory+0x98f589 <- victory+0x79856 <- victory+0x7160f <- victory+0x5a494 ``` so nothing here contradicts "deliberate stop" — the process was stopped *while* waiting, not while executing garbage. ## What this suggests for RT on Intel, and where I would go next Two consequences, both cheap to test if you think they are worth it: 1. **A 30 s heartbeat budget is not enough for RT compute on this compiler.** Without RT, the same machine compiles the same kind of pipelines in small batches and never approaches it (our 852 s `draw` run had a 65.8 s gap on one pipeline and survived, because that was the drawing path, not the loading one). 2. If the watchdog is the only thing standing between us and RT, then an earlier question is whether **RT pipelines can be pre-compiled before the first frames**, so the compiler's wall time does not overlap the loading loop's heartbeat. That is a layer-side question (`host pipeline` creation is ours), not a title one. What I can do from my side, if useful: rerun `-RayTracing` with per-pipeline timings logged and a timestamp for every heartbeat-relevant step, so we can see whether the 30 s is spent entirely in the compiler or partly waiting on the card. Say the word and I will produce that log and link it here. AI-assisted: yes
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-30 08:01 UTC · original

Thanks, that's the data that was missing. One step short of the conclusion, though: thirteen threads inside Intel's compiler show what was working, not what the heartbeat's thread was waiting on. I checked the title addresses at the top of your table against the image:

top of stack what it is
+0x221c3c2, +0x43c421e return from a title helper that calls WaitForSingleObject(h, INFINITE)
+0x22511f return from WaitForSingleObject directly
+0x56a0d a loop calling a wait function with 0xFFFFFFFF

So every thread whose top frame is the title's was idle, parked on an infinite wait (job workers and the like). The thread that runs the frame or loading loop wasn't busy in title code. It was blocked inside our layer, which means it's among the stacks topped by victory+0x990342 (54) or victory+0x98fe57 (5).

The frames that tell what it was waiting on are the title ones below our frames on those threads. Without a PDB for victory.exe I can't name our functions, but I can name the title's from the image. Could you post, as text, the full stacks (all frames) of the threads that have both victory+... frames and victory_image_b99f876b74d4a77f+... frames under them? In particular, whichever of those has the deepest title part, which is likely the frame loop calling into D3D (a present, a fence wait, a pipeline creation, a map). I'll map those title return addresses here.

On your offer: yes, a -RayTracing rerun with per-pipeline timings would help. Even more useful is a second rerun on the same caches right after, to see whether a warm driver cache gets past the load. If it does, the compile time is what the stall is made of, whichever thread was waiting.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-30 08:01 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7272384854) Thanks, that's the data that was missing. One step short of the conclusion, though: thirteen threads inside Intel's compiler show what was *working*, not what the heartbeat's thread was *waiting on*. I checked the title addresses at the top of your table against the image: | top of stack | what it is | |---|---| | `+0x221c3c2`, `+0x43c421e` | return from a title helper that calls `WaitForSingleObject(h, INFINITE)` | | `+0x22511f` | return from `WaitForSingleObject` directly | | `+0x56a0d` | a loop calling a wait function with `0xFFFFFFFF` | So every thread whose top frame is the title's was idle, parked on an infinite wait (job workers and the like). The thread that runs the frame or loading loop wasn't busy in title code. It was blocked inside our layer, which means it's among the stacks topped by `victory+0x990342` (54) or `victory+0x98fe57` (5). The frames that tell what it was waiting on are the title ones *below* our frames on those threads. Without a PDB for `victory.exe` I can't name our functions, but I can name the title's from the image. Could you post, as text, the full stacks (all frames) of the threads that have both `victory+...` frames and `victory_image_b99f876b74d4a77f+...` frames under them? In particular, whichever of those has the deepest title part, which is likely the frame loop calling into D3D (a present, a fence wait, a pipeline creation, a map). I'll map those title return addresses here. On your offer: yes, a `-RayTracing` rerun with per-pipeline timings would help. Even more useful is a second rerun on the same caches right after, to see whether a warm driver cache gets past the load. If it does, the compile time is what the stall is made of, whichever thread was waiting. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-30 08:04 UTC · original

You are right that the thirteen compiler threads were the ones working, not the one waiting. Here are the only two threads in the dump that have both our frames and the title's frames under them — full stacks, all frames, exactly as cdb printed them. No editing beyond the thread headers.

Thread 3, "title-main" — the one with the deepest title part:

 3  Id: 4d30.3458 Suspend: 0 Teb: 00000058`31432000 Unfrozen "title-main"
 ntdll!NtWaitForSingleObject+0x14
 KERNELBASE!WaitForSingleObjectEx+0xaf
 victory_image_b99f876b74d4a77f+0x56a0d
 victory_image_b99f876b74d4a77f+0x23cf735
 victory_image_b99f876b74d4a77f+0x8126a7
 victory_image_b99f876b74d4a77f+0x53ec040
 victory_image_b99f876b74d4a77f+0x53ebf3a
 victory_image_b99f876b74d4a77f+0x661f0
 victory_image_b99f876b74d4a77f+0x1d109c9
 victory_image_b99f876b74d4a77f+0x5a91c0d
 victory_image_b99f876b74d4a77f+0x56a1e5a
 victory+0x2119fb
 victory+0x2128b2
 victory+0x9bc465
 kernel32!BaseThreadInitThunk+0x17
 ntdll!RtlUserThreadStart+0x2c

Note +0x56a0d at the top and +0x56a1e5a near the bottom — the same helper twice in one stack, which is why I quoted both.

Thread 42 — no name, but its bottom frames are +0x2215eca, which is the watchdog thread entry you named the first time round:

42  Id: 4d30.472c Suspend: 0 Teb: 00000058`31480000 Unfrozen
 ntdll!ZwWaitForAlertByThreadId+0x14
 ntdll!RtlWaitOnAddress+0x213
 KERNELBASE!WaitOnAddress+0x38
 victory+0x990342
 victory+0x35cc3b
 victory+0x454245
 victory_image_b99f876b74d4a77f+0x24824c7
 victory_image_b99f876b74d4a77f+0x2215eca
 kernel32!BaseThreadInitThunk+0x17
 ntdll!RtlUserThreadStart+0x2c

Two things worth your eye there, since I cannot name our functions without a PDB:

  1. The 54 threads topped by victory+0x990342 are all inside one WaitOnAddress (the run of 54 identical tops in the table). Whatever we wait on there, they wait on it together.
  2. Thread 42 reached that same wait through the title's watchdog loop (+0x2215eca -> +0x24824c7 -> victory+0x454245 -> victory+0x35cc3b -> victory+0x990342). So if that address is a lock of ours, the watchdog's own thread was parked in it, which would starve the heartbeat by the mechanism you described — and would also mean the heartbeat is a hostage of whatever the 54 hold.

If the addresses say something else to you once you map them, say which, and I will dump every thread that shares that wait rather than only the two.

On the reruns

Both agreed, in this order:

  1. -RayTracing with per-pipeline timings, so each shader translated -> host pipeline pair carries its own duration and we can total the compiler's share.
  2. The same run again, immediately, on the warm driver cache (the same intel-blobs and our pipeline library), to see if the load gets past the point it died at. That one is the cheaper test and I can hand you the log either way.

One caveat before I start them: I rebuilt this tree with the wrong cargo features today (--features diagnostics), and the resulting binary fails to start at all — victory run reaches host D3D12 device ready and then exits silently, no dump, on a card where the previous 80 MB build of the same commit ran 852 s. I am rebuilding without that feature and will confirm it launches before spending your time on RT numbers. If the rebuild reproduces the same silent exit, that is worth its own issue, because it would mean the diagnostics feature alone makes this tree unusable on Arc.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 08:04 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7272451477) You are right that the thirteen compiler threads were the ones *working*, not the one waiting. Here are the only two threads in the dump that have both our frames and the title's frames under them — full stacks, all frames, exactly as cdb printed them. No editing beyond the thread headers. **Thread 3, `"title-main"`** — the one with the deepest title part: ``` 3 Id: 4d30.3458 Suspend: 0 Teb: 00000058`31432000 Unfrozen "title-main" ntdll!NtWaitForSingleObject+0x14 KERNELBASE!WaitForSingleObjectEx+0xaf victory_image_b99f876b74d4a77f+0x56a0d victory_image_b99f876b74d4a77f+0x23cf735 victory_image_b99f876b74d4a77f+0x8126a7 victory_image_b99f876b74d4a77f+0x53ec040 victory_image_b99f876b74d4a77f+0x53ebf3a victory_image_b99f876b74d4a77f+0x661f0 victory_image_b99f876b74d4a77f+0x1d109c9 victory_image_b99f876b74d4a77f+0x5a91c0d victory_image_b99f876b74d4a77f+0x56a1e5a victory+0x2119fb victory+0x2128b2 victory+0x9bc465 kernel32!BaseThreadInitThunk+0x17 ntdll!RtlUserThreadStart+0x2c ``` Note `+0x56a0d` at the top and `+0x56a1e5a` near the bottom — the same helper twice in one stack, which is why I quoted both. **Thread 42** — no name, but its bottom frames are `+0x2215eca`, which is the watchdog thread entry you named the first time round: ``` 42 Id: 4d30.472c Suspend: 0 Teb: 00000058`31480000 Unfrozen ntdll!ZwWaitForAlertByThreadId+0x14 ntdll!RtlWaitOnAddress+0x213 KERNELBASE!WaitOnAddress+0x38 victory+0x990342 victory+0x35cc3b victory+0x454245 victory_image_b99f876b74d4a77f+0x24824c7 victory_image_b99f876b74d4a77f+0x2215eca kernel32!BaseThreadInitThunk+0x17 ntdll!RtlUserThreadStart+0x2c ``` Two things worth your eye there, since I cannot name our functions without a PDB: 1. **The 54 threads topped by `victory+0x990342` are all inside one `WaitOnAddress`** (the run of 54 identical tops in the table). Whatever we wait on there, they wait on it together. 2. **Thread 42 reached that same wait through the title's watchdog loop** (`+0x2215eca` -> `+0x24824c7` -> `victory+0x454245` -> `victory+0x35cc3b` -> `victory+0x990342`). So if that address is a lock of ours, the watchdog's own thread was parked in it, which would starve the heartbeat by the mechanism you described — and would also mean the heartbeat is a hostage of whatever the 54 hold. If the addresses say something else to you once you map them, say which, and I will dump every thread that shares that wait rather than only the two. ## On the reruns Both agreed, in this order: 1. `-RayTracing` with per-pipeline timings, so each `shader translated` -> `host pipeline` pair carries its own duration and we can total the compiler's share. 2. The same run again, immediately, on the warm driver cache (the same `intel-blobs` and our pipeline library), to see if the load gets past the point it died at. That one is the cheaper test and I can hand you the log either way. One caveat before I start them: I rebuilt this tree with the wrong cargo features today (`--features diagnostics`), and the resulting binary fails to start at all — `victory run` reaches `host D3D12 device ready` and then exits silently, no dump, on a card where the previous 80 MB build of the same commit ran 852 s. I am rebuilding without that feature and will confirm it launches before spending your time on RT numbers. If the rebuild reproduces the same silent exit, that is worth its own issue, because it would mean the diagnostics feature alone makes this tree unusable on Arc. AI-assisted: yes
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-30 08:34 UTC · original

Those two stacks settle it. Mapped against the image:

title-main was waiting on purpose. Its frames (top down):

  • +0x56a0d is a loop of WaitForSingleObject(h, INFINITE), reached by a tail jump from +0x23ceeb0, which waits on a handle the title keeps at 0x14A210CF8. That handle is the fourth of four semaphores the renderer module creates at start-up (+0x5ca7b50).
  • +0x23cf735 is inside +0x23cf6a0, which, before that wait, registers +0x23cf620 (the GPU Loc Sig stop) as the watchdog's callback. On the way out it restores the old one.
  • +0x8126a7 is the call to +0x23cf6a0 in +0x812620, on the branch it takes when one of two state flags ([0x147453ED4], or byte +0x1b3 of the object at [0x14AAE3B70]) is clear. That branch first runs a short series of shutdown-looking calls.

So the main thread wasn't stuck by accident. It had gone into a guarded wait for the renderer's semaphore, with the GPU Loc Sig crash armed for the case that this wait outlasts the watchdog. That's why the stop carries that key.

Thread 42 is the one it was waiting for, and it was in our PresentX. +0x24824c1 is call [vtable+0x100] on a queue, which for this title's queue layout is PresentX (queue.rs already notes "PresentX 0x100" from the call at +0x24841a6). From there it goes victory+0x454245 → +0x35cc3b → +0x990342 (WaitOnAddress), the same wait the other 53 threads were parked in. (Its bottom frame, +0x2215eca, is the title's generic thread start, not the watchdog's own thread; sorry if my first note made it look that way.)

So the chain is: the title's present stayed inside our layer for 30 s or more → the renderer never released its semaphore → the main thread's guarded wait outlasted the watchdog → GPU Loc Sig. Which flag sent the main thread down that branch is still open. So is what our present waited on: with VICTORY_ASYNC_SUBMIT the present goes into the submission line, so a submission thread blocked on a pipeline still being compiled, or on the card, would hold it there.

To name our side without a PDB: your build is x86_64-pc-windows-gnu, so unless it was stripped, its symbol table can name the three frames. From the same build directory, addr2line -f -C -e victory.exe 0x140454245 0x14035cc3b 0x140990342, assuming the default image base 0x140000000 (check with objdump -p victory.exe | grep ImageBase). This needs the exact binary that wrote the dump, not today's rebuild. The two frames under +0x990342 on a few of the other 53 threads would show what they all wait on.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-30 08:34 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7273084670) Those two stacks settle it. Mapped against the image: **`title-main` was waiting on purpose.** Its frames (top down): - `+0x56a0d` is a loop of `WaitForSingleObject(h, INFINITE)`, reached by a tail jump from `+0x23ceeb0`, which waits on a handle the title keeps at `0x14A210CF8`. That handle is the fourth of four semaphores the renderer module creates at start-up (`+0x5ca7b50`). - `+0x23cf735` is inside `+0x23cf6a0`, which, before that wait, **registers `+0x23cf620` (the `GPU Loc Sig` stop) as the watchdog's callback**. On the way out it restores the old one. - `+0x8126a7` is the call to `+0x23cf6a0` in `+0x812620`, on the branch it takes when one of two state flags (`[0x147453ED4]`, or byte `+0x1b3` of the object at `[0x14AAE3B70]`) is clear. That branch first runs a short series of shutdown-looking calls. So the main thread wasn't stuck by accident. It had gone into a guarded wait for the renderer's semaphore, with the `GPU Loc Sig` crash armed for the case that this wait outlasts the watchdog. That's why the stop carries that key. **Thread 42 is the one it was waiting for, and it was in our `PresentX`.** `+0x24824c1` is `call [vtable+0x100]` on a queue, which for this title's queue layout is PresentX (`queue.rs` already notes "PresentX 0x100" from the call at `+0x24841a6`). From there it goes `victory+0x454245 → +0x35cc3b → +0x990342 (WaitOnAddress)`, the same wait the other 53 threads were parked in. (Its bottom frame, `+0x2215eca`, is the title's generic thread start, not the watchdog's own thread; sorry if my first note made it look that way.) So the chain is: the title's present stayed inside our layer for 30 s or more → the renderer never released its semaphore → the main thread's guarded wait outlasted the watchdog → `GPU Loc Sig`. Which flag sent the main thread down that branch is still open. So is what our present waited on: with `VICTORY_ASYNC_SUBMIT` the present goes into the submission line, so a submission thread blocked on a pipeline still being compiled, or on the card, would hold it there. **To name our side without a PDB:** your build is `x86_64-pc-windows-gnu`, so unless it was stripped, its symbol table can name the three frames. From the same build directory, `addr2line -f -C -e victory.exe 0x140454245 0x14035cc3b 0x140990342`, assuming the default image base `0x140000000` (check with `objdump -p victory.exe | grep ImageBase`). This needs the exact binary that wrote the dump, not today's rebuild. The two frames under `+0x990342` on a few of the other 53 threads would show what they all wait on. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-30 08:39 UTC · original

Your mapping holds, and addr2line works on this build — the GNU target keeps its DWARF, and objdump -p confirms ImageBase 140000000, so your assumed base was right. Names for the three frames of thread 42:

0x140454245  victory_gpu::queue::present                        queue.rs:1085
0x14035cc3b  victory_gpu::queue::behind::wait_presents::<Job>   queue/behind.rs:256
             (through std::sync::Condvar::wait -> futex_wait -> WaitOnAddress)
0x140990342  std::sys::pal::windows::futex::wait_on_address<u32>

So thread 42 was in our present, throttled on presents sent ahead, not on a lock shared with the crowd.

And I have to correct the thing I flagged to you: the 54 are not the same wait. Symbolising their second frame gives

0x140169d9f  victory_hle::modules::dstorage::Lanes::wait   (inside `work`)
0x14019be19  victory_hle::modules::dstorage::scheduler::{closure#1}::{closure#1}

which is the DirectStorage worker pool parked for work — normal, idle, unrelated. My "one lock for 54 threads" reading was wrong; they only share the condvar implementation.

What wait_presents is

pub(super) fn wait_presents(&self, most: usize) {
    let mut state = self.lock();
    while state.presents > most {
        state = self.moved.wait(state).unwrap_or_else(|e| e.into_inner());
    }
}

It blocks the title's present until the number of presents in the line has fallen to most. That count only falls when the submission side serves the line.

And the RT run had VICTORY_ASYNC_SUBMIT=1, straight from its own log:

and sent by a thread of ours, not by the thread that submits (VICTORY_ASYNC_SUBMIT=1)
a thread of ours, per frame (VICTORY_ASYNC_SUBMIT): 3.2 in 1.0 presents, 1.1 in the line when one was added (at most 6)

So the side that must serve the line is our own thread, and it is the same thread that was compiling ~100 RT compute pipelines. Present waits for it, the renderer never releases its semaphore, and the main thread's guarded wait outlives the watchdog — exactly your chain, now with both ends named.

Which also means: whatever holds presents > most for 30 s is the real question, and it is not a mystery lock, it is a slow submission thread. Two candidates left, both testable without a PDB:

  1. The submission thread blocked on pipeline creation — matches your log reading of 10.6 s and 10.8 s single pipelines, and total compile time beyond 30 s.
  2. The submission thread blocked on the card — the B580 hang we know from #448.

What I propose to run, if you agree

Cheaper than instrumenting: rerun -RayTracing with VICTORY_ASYNC_SUBMIT=0, so the present is submitted by the calling thread and wait_presents has nothing of ours to wait on. Two outcomes, both informative:

  • It gets past the load. Then the stall is ours in the submission line, and the throttle is what turns a slow compile into a watchdog kill — a fixable layer bug, not a driver limit.
  • It dies the same way. Then the present was not what starved the heartbeat, and your other branch (where the main thread went) is the one to chase.

I will do that run together with the warm-cache rerun and post both logs. One caveat from my earlier note still stands: any build that needs --features diagnostics to time things does not start on this card at all (silent exit after host D3D12 device ready, no dump), so these two runs will be plain builds and I will read them from the existing log lines rather than new instrumentation.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 08:39 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7273171111) Your mapping holds, and `addr2line` works on this build — the GNU target keeps its DWARF, and `objdump -p` confirms `ImageBase 140000000`, so your assumed base was right. Names for the three frames of thread 42: ``` 0x140454245 victory_gpu::queue::present queue.rs:1085 0x14035cc3b victory_gpu::queue::behind::wait_presents::<Job> queue/behind.rs:256 (through std::sync::Condvar::wait -> futex_wait -> WaitOnAddress) 0x140990342 std::sys::pal::windows::futex::wait_on_address<u32> ``` So thread 42 was in **our present, throttled on presents sent ahead**, not on a lock shared with the crowd. And I have to correct the thing I flagged to you: **the 54 are not the same wait.** Symbolising their second frame gives ``` 0x140169d9f victory_hle::modules::dstorage::Lanes::wait (inside `work`) 0x14019be19 victory_hle::modules::dstorage::scheduler::{closure#1}::{closure#1} ``` which is the DirectStorage worker pool parked for work — normal, idle, unrelated. My "one lock for 54 threads" reading was wrong; they only share the condvar implementation. ## What `wait_presents` is ```rust pub(super) fn wait_presents(&self, most: usize) { let mut state = self.lock(); while state.presents > most { state = self.moved.wait(state).unwrap_or_else(|e| e.into_inner()); } } ``` It blocks the title's present until the number of presents in the line has fallen to `most`. That count only falls when the submission side serves the line. And the RT run **had `VICTORY_ASYNC_SUBMIT=1`**, straight from its own log: ``` and sent by a thread of ours, not by the thread that submits (VICTORY_ASYNC_SUBMIT=1) a thread of ours, per frame (VICTORY_ASYNC_SUBMIT): 3.2 in 1.0 presents, 1.1 in the line when one was added (at most 6) ``` So the side that must serve the line is **our own thread**, and it is the same thread that was compiling ~100 RT compute pipelines. Present waits for it, the renderer never releases its semaphore, and the main thread's guarded wait outlives the watchdog — exactly your chain, now with both ends named. Which also means: whatever holds `presents > most` for 30 s is the real question, and it is not a mystery lock, it is a slow submission thread. Two candidates left, both testable without a PDB: 1. **The submission thread blocked on pipeline creation** — matches your log reading of 10.6 s and 10.8 s single pipelines, and total compile time beyond 30 s. 2. **The submission thread blocked on the card** — the B580 hang we know from #448. ## What I propose to run, if you agree Cheaper than instrumenting: rerun `-RayTracing` with **`VICTORY_ASYNC_SUBMIT=0`**, so the present is submitted by the calling thread and `wait_presents` has nothing of ours to wait on. Two outcomes, both informative: - **It gets past the load.** Then the stall is ours in the submission line, and the throttle is what turns a slow compile into a watchdog kill — a fixable layer bug, not a driver limit. - **It dies the same way.** Then the present was not what starved the heartbeat, and your other branch (where the main thread went) is the one to chase. I will do that run together with the warm-cache rerun and post both logs. One caveat from my earlier note still stands: any build that needs `--features diagnostics` to time things does not start on this card at all (silent exit after `host D3D12 device ready`, no dump), so these two runs will be plain builds and I will read them from the existing log lines rather than new instrumentation. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-30 08:45 UTC · original

Both runs done. They answer different questions, and the second one is the more interesting result.

1. VICTORY_ASYNC_SUBMIT=0 — still the watchdog, so that was not the trigger

length             103 s
GPU Loc Sig        1        (the same deliberate stop)
Breakpad payload   56 486 924 bytes
largest log gap    3.7 s     <- and yet the heartbeat starved

No device removal, same deliberate stop with the same key. So the present throttle is not what starves the heartbeat on its own: with the present submitted by the calling thread, wait_presents had nothing of ours to wait for, and the title still died the same way after about a minute. Your other branch — wherever the main thread's flags sent it — is the one left standing.

Worth noting for that branch: the longest gap in the log is 3.7 s, not 30. So whatever the heartbeat waits on does not log anything while it waits; a silent wait, not a slow compile.

2. Warm cache — past the load, and then the card itself hangs

length             145 s
frames presented   12       (it was in the cutscene)
ending             host GPU device removed after 4 s
                   0x887A0004 (unsupported) + 0x887A0006 (hung)
                   "after 4 submissions sent ahead (effective relay mode 2) of 20 lists"

So your reading of the cold-load stall is confirmed: on the warm cache the load got through, the title reached rendering, twelve frames went out, and then the device was removed — 4 s into the cutscene, with the B580 hung. That is the same signature as #448's heavy-scene endings, not the watchdog:

run what ended it where
cold, -RayTracing, async on watchdog GPU Loc Sig during load
cold, -RayTracing, async off watchdog GPU Loc Sig during load
warm, -RayTracing device removed 0x887A0006 12th frame, cutscene

Two separate blockers then, in this order: the load-time watchdog, and after that, RT rendering hanging the card. The second one is now the real limit on this hardware, and it looks like the same class of failure we see on the card without RT in heavy scenes.

What I would try next, if it is worth your time

  1. The same warm run with the RT BVH builder off but BVH data present (VICTORY_BVH_BUILDER=0, which is what we normally pass) to see whether the hang belongs to the builder or to RT shading. If it survives with the builder off, the hang is in the RT pipeline, not in the builder.
  2. Warm run with a shorter frame cap and the picture at 720p (-Console series-x with the picture at 1080p is not available in this tree below 1080p, so a smaller window is the only lever) to find out whether the hang is time-based (a long frame) or content-based. A 4 s ending after 12 frames smells like one very long frame tripping TDR, which would point at a single expensive dispatch rather than a cumulative stall.

Tell me which of the two you would rather have, and I will produce the log. I can also hand you the 56 MB minidump of the async0 run if the stack of a silent wait is what you need — that one now has no wait_presents in it, which by itself narrows the branch.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 08:45 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7273313837) Both runs done. They answer different questions, and the second one is the more interesting result. ## 1. `VICTORY_ASYNC_SUBMIT=0` — still the watchdog, so that was not the trigger ``` length 103 s GPU Loc Sig 1 (the same deliberate stop) Breakpad payload 56 486 924 bytes largest log gap 3.7 s <- and yet the heartbeat starved ``` No device removal, same deliberate stop with the same key. So the present throttle is **not** what starves the heartbeat on its own: with the present submitted by the calling thread, `wait_presents` had nothing of ours to wait for, and the title still died the same way after about a minute. Your other branch — wherever the main thread's flags sent it — is the one left standing. Worth noting for that branch: the longest gap in the log is **3.7 s**, not 30. So whatever the heartbeat waits on does not log anything while it waits; a silent wait, not a slow compile. ## 2. Warm cache — past the load, and then the card itself hangs ``` length 145 s frames presented 12 (it was in the cutscene) ending host GPU device removed after 4 s 0x887A0004 (unsupported) + 0x887A0006 (hung) "after 4 submissions sent ahead (effective relay mode 2) of 20 lists" ``` So your reading of the cold-load stall is confirmed: on the warm cache the load got through, the title reached rendering, twelve frames went out, and then the device was removed — 4 s into the cutscene, with the B580 hung. That is the same signature as #448's heavy-scene endings, not the watchdog: | run | what ended it | where | |---|---|---| | cold, `-RayTracing`, async on | watchdog `GPU Loc Sig` | during load | | cold, `-RayTracing`, async **off** | watchdog `GPU Loc Sig` | during load | | **warm**, `-RayTracing` | **device removed `0x887A0006`** | 12th frame, cutscene | Two separate blockers then, in this order: the load-time watchdog, and after that, RT rendering hanging the card. The second one is now the real limit on this hardware, and it looks like the same class of failure we see on the card without RT in heavy scenes. ## What I would try next, if it is worth your time 1. **The same warm run with the RT BVH builder off but BVH data present** (`VICTORY_BVH_BUILDER=0`, which is what we normally pass) to see whether the hang belongs to the builder or to RT shading. If it survives with the builder off, the hang is in the RT pipeline, not in the builder. 2. **Warm run with a shorter frame cap and the picture at 720p** (`-Console series-x` with the picture at 1080p is not available in this tree below 1080p, so a smaller window is the only lever) to find out whether the hang is time-based (a long frame) or content-based. A 4 s ending after 12 frames smells like one very long frame tripping TDR, which would point at a single expensive dispatch rather than a cumulative stall. Tell me which of the two you would rather have, and I will produce the log. I can also hand you the 56 MB minidump of the `async0` run if the stack of a silent wait is what you need — that one now has no `wait_presents` in it, which by itself narrows the branch. AI-assisted: yes
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-30 09:08 UTC · original

Thanks, the names close the loop on thread 42, and your correction on the 54 DirectStorage workers is right.

One thing about run 1 before reading it as "the present isn't it". With VICTORY_ASYNC_SUBMIT=0, queue::present doesn't become wait-free. When submissions are sent ahead (host::late(), your relay mode 2) and the present isn't late-free, it calls host::settle_for_present() twice, which is settle_now: the title's present thread then waits for the card to finish those flights itself. Without the submission thread, the work it did (preparing lists, the pipeline waits at dispatch) also runs on the title's threads. So run 1 moved the wait onto the title's own thread rather than removing it. A death with the same signature fits "the renderer was stuck in our layer for 30 s" just as well, whether on the card or on pipeline creation.

Run 2 is the telling one: same build, same scene, only a warm driver and pipeline cache, and the load gets through. That points at cold pipeline creation (tens of seconds of compiling, with the frame loop waiting behind it) as what starves the heartbeat during the load. After that, the card's own hang (0x887A0006) is the #448 problem again.

On the 3.7 s largest gap: pipeline creation logs when a pipeline is made (host pipeline ...), from worker threads. A thread blocked behind them stays silent while the log keeps moving, so the gap size doesn't tell whether anything waited.

If you want one more A/B on the cold path: clear only the driver cache (keep our pipeline library), run with -RayTracing twice, and compare the time from the first shader translated to the last host pipeline line before the stop against the warm run. If that span is over 30 s cold and well under warm, that's the stall.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-30 09:08 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7273787494) Thanks, the names close the loop on thread 42, and your correction on the 54 DirectStorage workers is right. One thing about run 1 before reading it as "the present isn't it". With `VICTORY_ASYNC_SUBMIT=0`, `queue::present` doesn't become wait-free. When submissions are sent ahead (`host::late()`, your relay mode 2) and the present isn't late-free, it calls `host::settle_for_present()` twice, which is `settle_now`: the title's present thread then waits for the card to finish those flights itself. Without the submission thread, the work it did (preparing lists, the pipeline waits at dispatch) also runs on the title's threads. So run 1 moved the wait onto the title's own thread rather than removing it. A death with the same signature fits "the renderer was stuck in our layer for 30 s" just as well, whether on the card or on pipeline creation. Run 2 is the telling one: same build, same scene, only a warm driver and pipeline cache, and the load gets through. That points at cold pipeline creation (tens of seconds of compiling, with the frame loop waiting behind it) as what starves the heartbeat during the load. After that, the card's own hang (`0x887A0006`) is the #448 problem again. On the 3.7 s largest gap: pipeline creation logs when a pipeline is made (`host pipeline ...`), from worker threads. A thread blocked behind them stays silent while the log keeps moving, so the gap size doesn't tell whether anything waited. If you want one more A/B on the cold path: clear only the driver cache (keep our pipeline library), run with `-RayTracing` twice, and compare the time from the first `shader translated` to the last `host pipeline` line before the stop against the warm run. If that span is over 30 s cold and well under warm, that's the stall. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-30 09:30 UTC · original

Correction accepted on run 1: with VICTORY_ASYNC_SUBMIT=0 the present still calls settle_for_present() twice, so the wait moved onto the title's thread instead of disappearing. Run 1 therefore says nothing about the throttle, only that the wait is real either way. I have struck that conclusion in my own notes.

Before spending a cold-cache A/B, I measured the span you asked for on the three logs we already have (first shader translated to last host pipeline, plus where the frames stop). The result changes the story a little, so here it is first:

run frames last frame log ends silent after last frame pipelines created after the last frame
cold, async on (106 s) 11 +40 s +106 s 66.1 s 139
cold, async off (104 s) 11 +45 s +104 s 59.0 s 534
warm (145 s) 12 +72 s +145 s 72.3 s 1 096

Three things fall out:

  1. Frames stop early in every run, at +40 to +72 s, and the log keeps going for another minute. So the title was rendering and then stopped, rather than never starting: the first frame is at +3 to +5 s in all three.
  2. Pipeline creation continues to the end of the session (last host pipeline at +101 to +137 s), and most of it happens after the last presented frame. 139, 534 and 1 096 pipelines respectively — the warm run, which is supposed to be the one that gets past the load, creates the most of them after it stopped presenting.
  3. So the stall is not "the level is loading and the frame loop waits behind the compile" — the frame loop already ran, and then presents stopped while compilation carried on. The warm cache did not shorten that; it only changed how the process died: watchdog on both cold runs, 0x887A0006 on the warm one, 72 s after the last frame instead of 30-ish.

If that reading is right, then the question is not how long a cold compile takes, but why presents stop while pipelines are still being created, and why the heartbeat survives in the warm case for 72 s and not in the cold ones for 60.

The A/B you asked for, and one addition

I will do it as you described — clear only the driver cache (intel-blobs), keep our pipeline library (cache\pipelines), then -RayTracing twice, and report the cold-to-warm span.

One addition I would like to make, because of point 3 above: log when each present stops. A single extra line per present with its frame number and the count of host pipelines made so far would let us line up "present N stopped" against "pipeline M was being created". That needs --features diagnostics in this tree — which on this card does not start at all (silent exit after host D3D12 device ready, no dump, reproducible). If you know an env switch that prints pipeline timings in a non-diagnostics build, that saves me from having to make the diagnostics build boot first; otherwise I will file that as its own issue with both binaries, since a feature that makes the whole tree unusable on Arc is worth knowing about regardless of RT.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 09:30 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7274291060) Correction accepted on run 1: with `VICTORY_ASYNC_SUBMIT=0` the present still calls `settle_for_present()` twice, so the wait moved onto the title's thread instead of disappearing. Run 1 therefore says nothing about the throttle, only that the wait is real either way. I have struck that conclusion in my own notes. Before spending a cold-cache A/B, I measured the span you asked for on the three logs we already have (first `shader translated` to last `host pipeline`, plus where the frames stop). The result changes the story a little, so here it is first: | run | frames | last frame | log ends | silent after last frame | pipelines created **after** the last frame | |---|---|---|---|---|---| | cold, async on (106 s) | 11 | +40 s | +106 s | 66.1 s | **139** | | cold, async off (104 s) | 11 | +45 s | +104 s | 59.0 s | **534** | | **warm** (145 s) | 12 | **+72 s** | +145 s | 72.3 s | **1 096** | Three things fall out: 1. **Frames stop early in every run**, at +40 to +72 s, and the log keeps going for another minute. So the title was *rendering* and then stopped, rather than never starting: the first frame is at +3 to +5 s in all three. 2. **Pipeline creation continues to the end of the session** (last `host pipeline` at +101 to +137 s), and most of it happens *after* the last presented frame. 139, 534 and 1 096 pipelines respectively — the warm run, which is supposed to be the one that gets past the load, creates the **most** of them after it stopped presenting. 3. So the stall is not "the level is loading and the frame loop waits behind the compile" — the frame loop already ran, and then presents stopped while compilation carried on. The warm cache did not shorten that; it only changed *how* the process died: watchdog on both cold runs, `0x887A0006` on the warm one, 72 s after the last frame instead of 30-ish. If that reading is right, then the question is not how long a cold compile takes, but **why presents stop while pipelines are still being created**, and why the heartbeat survives in the warm case for 72 s and not in the cold ones for 60. ## The A/B you asked for, and one addition I will do it as you described — clear only the driver cache (`intel-blobs`), keep our pipeline library (`cache\pipelines`), then `-RayTracing` twice, and report the cold-to-warm span. One addition I would like to make, because of point 3 above: log **when each present stops**. A single extra line per present with its frame number and the count of host pipelines made so far would let us line up "present N stopped" against "pipeline M was being created". That needs `--features diagnostics` in this tree — which on this card does not start at all (silent exit after `host D3D12 device ready`, no dump, reproducible). If you know an env switch that prints pipeline timings in a non-diagnostics build, that saves me from having to make the diagnostics build boot first; otherwise I will file that as its own issue with both binaries, since a feature that makes the whole tree unusable on Arc is worth knowing about regardless of RT. AI-assisted: yes
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 16:59 UTC · original

main has moved to a new line of the code and everything is now named Vice-Tay: vice-tay.exe play, and VICE_TAY_* switches instead of VICTORY_* (details in #468). Could you check whether this still happens on the current main and say so here, with a log if you can?

**@⁠TaynanGT** on GitHub · 2026-11-30 16:59 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7285553663) `main` has moved to a new line of the code and everything is now named Vice-Tay: `vice-tay.exe play`, and `VICE_TAY_*` switches instead of `VICTORY_*` (details in #468). Could you check whether this still happens on the current `main` and say so here, with a log if you can?
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-30 18:05 UTC · original

Same as in #448: I have not run current main yet, so I am not going to claim this is fixed or still broken, and no log from the old tree settles it.

One correction to my own reporting while I am here, because it outlives the rebrand. My last table showed that frames stop at +40 to +72 s while the log continues for another minute, and that 139 to 1 096 pipelines are created after the last frame. At the time I read that as pipeline creation pushing the driver over. The Arc numbers from today make a duller explanation more likely on this card: the title asks the system's memory status, its own allocator runs out, and what it keeps doing afterwards is allocating, not rendering. VICTORY_TEXTURE_POOL=0 plus a texture room of 40 gets past it here; it never involved ray tracing at all.

That does not contradict your -RayTracing dump in the issue title: with RT on the BVH builder also runs on a card whose driver faults on the console's, and that part is ours. It does mean the "frames stop, log continues" signature may be two different faults wearing the same shape, and when I run current main I will run RT off first so the two are not mixed.

If it helps your side at all, the pipeline-library finding in #448 is the one I would port first: on this card a library written by an earlier run came back with 32 entries failing E_INVALIDARG, one rebuild took 11.8 s inside a frame, and the device went 779 ms later. A fresh library from the same build and driver gave zero failures. That is a cheap guard wherever a library is loaded from a file.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 18:05 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7287334600) Same as in #448: I have not run current `main` yet, so I am not going to claim this is fixed or still broken, and no log from the old tree settles it. One correction to my own reporting while I am here, because it outlives the rebrand. My last table showed that frames stop at +40 to +72 s while the log continues for another minute, and that 139 to 1 096 pipelines are created *after* the last frame. At the time I read that as pipeline creation pushing the driver over. The Arc numbers from today make a duller explanation more likely on this card: the title asks the system's memory status, its own allocator runs out, and what it keeps doing afterwards is allocating, not rendering. `VICTORY_TEXTURE_POOL=0` plus a texture room of 40 gets past it here; it never involved ray tracing at all. That does not contradict your `-RayTracing` dump in the issue title: with RT on the BVH builder also runs on a card whose driver faults on the console's, and that part is ours. It does mean the "frames stop, log continues" signature may be two different faults wearing the same shape, and when I run current `main` I will run RT off first so the two are not mixed. If it helps your side at all, the pipeline-library finding in #448 is the one I would port first: on this card a library written by an earlier run came back with 32 entries failing `E_INVALIDARG`, one rebuild took 11.8 s inside a frame, and the device went 779 ms later. A fresh library from the same build and driver gave zero failures. That is a cheap guard wherever a library is loaded from a file. AI-assisted: yes
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 23:43 UTC · original

Done for item 1 of "what would help": the README's known problems now have an Intel Arc line (#485). It says ray tracing made the game crash while loading on a B580 on the earlier line, and how to start with it off (RAY TRACING off in F1, or --set VICE_TAY_BVH_BUILDER=0). RT is on by default on this line, so an Arc owner would hit it first thing otherwise.

Your plan for current main is the right one: RT off first, so the two shapes of "frames stop, log keeps going" don't get mixed up. Once that's stable, the RT-on run with its log is what I'd look at next. I'll keep this open until then.

**@⁠TaynanGT** on GitHub · 2026-11-30 23:43 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7295453845) Done for item 1 of "what would help": the README's known problems now have an **Intel Arc** line (#485). It says ray tracing made the game crash while loading on a B580 on the earlier line, and how to start with it off (**RAY TRACING** off in F1, or `--set VICE_TAY_BVH_BUILDER=0`). RT is on by default on this line, so an Arc owner would hit it first thing otherwise. Your plan for current `main` is the right one: RT off first, so the two shapes of "frames stop, log keeps going" don't get mixed up. Once that's stable, the RT-on run with its log is what I'd look at next. I'll keep this open until then.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-30 23:56 UTC · original

Two additions, one of them a plan I owe you.

Your README line is right for the wrong reason, and it matters for what we test next.
RT made the game die while loading on a B580 on the earlier line — that part is
measured and stays. But our 20–24 minute device-removal wall was not RT: it was a
mesh pipeline left bound while other work is recorded, fixed by upstream PR #546.
After porting it the same card, same driver (32.0.101.9175), same dump held
77 minutes / 63 149 frames / 0 device errors, ended by the player closing the
window. Before it, every session died. So VICE_TAY_BVH_BUILDER=0 still gets an
Arc owner into the game, but the reason to keep it off may be narrower than "RT
kills the card".

Which means the RT-on run you are waiting for is now worth doing properly, and I
will do it on the fixed build. Nothing about it is claimed yet: xboxbvhbuilder.dll
bound cleanly in our last attempt and the dump was still saved, so the fault may be
somewhere in the builder path rather than in the GPU. If RT does come up, it also
answers the question this build shows most plainly: our evening streets are lit like
noon because the console got its sun occlusion from ray queries and we have none.
Either result goes in here as a log, not as a suggestion.

**@⁠dengarIicdk** on GitHub · 2026-11-30 23:56 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7295703338) Two additions, one of them a plan I owe you. **Your README line is right for the wrong reason, and it matters for what we test next.** RT made the game die while loading on a B580 on the earlier line — that part is measured and stays. But our 20–24 minute device-removal wall was not RT: it was a mesh pipeline left bound while other work is recorded, fixed by upstream PR #546. After porting it the same card, same driver (32.0.101.9175), same dump held **77 minutes / 63 149 frames / 0 device errors**, ended by the player closing the window. Before it, every session died. So `VICE_TAY_BVH_BUILDER=0` still gets an Arc owner into the game, but the reason to keep it off may be narrower than "RT kills the card". Which means the RT-on run you are waiting for is now worth doing properly, and I will do it on the fixed build. Nothing about it is claimed yet: `xboxbvhbuilder.dll` bound cleanly in our last attempt and the dump was still saved, so the fault may be somewhere in the builder path rather than in the GPU. If RT does come up, it also answers the question this build shows most plainly: our evening streets are lit like noon because the console got its sun occlusion from ray queries and we have none. Either result goes in here as a log, not as a suggestion.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-12-01 00:10 UTC · original

RT-on result on the fixed build, as promised, and it cuts against the assumption in my last message.

It renders. It does not ray trace. With VICTORY_BVH_BUILDER=1 on a B580
(driver 32.0.101.9175) the run reached the world for the first time: 11 256–12 596
draws a frame, 1.4 fps, 712–733 ms a frame, one real frame of picture, then
host GPU device removed after 1 submissions sent ahead of 2 lists. Getting there
also needed commit: the first attempt died with available_commit_mib=891 while
physical_free_mib=9046, and a fixed 16 GB pagefile (commit limit 38.2 → 47.9 GB)
removed that particular death entirely.

Then the part worth having: 0 acceleration structures, 0 state objects, 0
DispatchRays
, and every mention of a structure builder is the layer's own line
— ray-tracing passes without the structure builder. So on the Arc line the RT
flag does not turn ray tracing on, it moves the title onto a slower draw path
(draw counts match the RT-off session: 12 596 against 11 822), and the passes that
would need a BVH are dropped. The frame I have is a night scene from the ordinary
path, not evidence of ray queries.

Two things follow for your #457:

  1. -RayTracing failing on Arc may be exactly this and nothing about the card: no
    BVH builder in the layer means the passes have nowhere to run. If your line has
    a working builder, an Arc run there would separate the two cleanly, and I would
    like to know which shape you have.
  2. The death I can reproduce on the fixed build is a device removal at 1.4 fps,
    not the load-time fault in your title line, so it is probably the watchdog on a
    720 ms frame rather than the same bug.
**@⁠dengarIicdk** on GitHub · 2026-12-01 00:10 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7296018390) RT-on result on the fixed build, as promised, and it cuts against the assumption in my last message. **It renders. It does not ray trace.** With `VICTORY_BVH_BUILDER=1` on a B580 (driver 32.0.101.9175) the run reached the world for the first time: 11 256–12 596 draws a frame, 1.4 fps, 712–733 ms a frame, one real frame of picture, then `host GPU device removed after 1 submissions sent ahead of 2 lists`. Getting there also needed commit: the first attempt died with `available_commit_mib=891` while `physical_free_mib=9046`, and a fixed 16 GB pagefile (commit limit 38.2 → 47.9 GB) removed that particular death entirely. Then the part worth having: **0 acceleration structures, 0 state objects, 0 `DispatchRays`**, and every mention of a structure builder is the layer's own line — `ray-tracing passes without the structure builder`. So on the Arc line the RT flag does not turn ray tracing on, it moves the title onto a slower draw path (draw counts match the RT-off session: 12 596 against 11 822), and the passes that would need a BVH are dropped. The frame I have is a night scene from the ordinary path, not evidence of ray queries. Two things follow for your #457: 1. `-RayTracing` failing on Arc may be exactly this and nothing about the card: no BVH builder in the layer means the passes have nowhere to run. If your line has a working builder, an Arc run there would separate the two cleanly, and I would like to know which shape you have. 2. The death I can reproduce on the fixed build is a device removal at 1.4 fps, not the load-time fault in your title line, so it is probably the watchdog on a 720 ms frame rather than the same bug.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-12-01 00:11 UTC · original

I have to correct my own comment above, and the correction matters more than the original.

VICTORY_BVH_BUILDER=1 does turn the ray work on — it just does it without D3D12
ray tracing.
In our layer the flag is read in pipeline/make.rs::left_out, and it
does one thing: it stops the layer dropping two shader families. Measured on the
counter the layer prints every second:

BVH_BUILDER=0 BVH_BUILDER=1
CS_RaytracingResolve left out — "shades ray-tracing hits without BVH" compiled and dispatched
ray-tracing passes … left out on purpose, worst in a session 965 0 (2 in the crash run)

So roughly 963 more compute passes a frame run with the flag on: the title's own
ray-hit shading and its screen probes. What is still absent is the D3D12 API side —
0 acceleration structures, 0 state objects, 0 DispatchRays — which is what I
measured and wrongly generalised from. The lighting result is the frame itself:
mean 43.4, clip 0.0%, crush 34.4%, spread 43.0, natural colour, real shadow
shapes, against a build where an evening street clipped at mean 244.

The cost is those passes and nothing else: 1.4 fps, 712–733 ms a frame, and the
death on the fixed build is a device removal at that frame time — a watchdog, not
the load-time fault in your title line. If your line still drops ray-hit shading
when RT is off, that flag alone may be the difference between the flat and the lit
look, at about 960 compute passes a frame.

What I would now ask an Arc owner of your build: does your log carry the same
ray-tracing passes without the structure builder counter going to zero when the
BVH builder is on? That one number separates "the card cannot" from "the layer
drops it".

**@⁠dengarIicdk** on GitHub · 2026-12-01 00:11 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/457#issuecomment-7296046420) I have to correct my own comment above, and the correction matters more than the original. **`VICTORY_BVH_BUILDER=1` does turn the ray work on — it just does it without D3D12 ray tracing.** In our layer the flag is read in `pipeline/make.rs::left_out`, and it does one thing: it stops the layer dropping two shader families. Measured on the counter the layer prints every second: | | `BVH_BUILDER=0` | `BVH_BUILDER=1` | |---|---|---| | `CS_RaytracingResolve` | left out — "shades ray-tracing hits without BVH" | **compiled and dispatched** | | `ray-tracing passes … left out on purpose`, worst in a session | **965** | **0** (2 in the crash run) | So roughly 963 more compute passes a frame run with the flag on: the title's own ray-hit shading and its screen probes. What is still absent is the D3D12 API side — 0 acceleration structures, 0 state objects, 0 `DispatchRays` — which is what I measured and wrongly generalised from. The lighting result is the frame itself: `mean 43.4, clip 0.0%, crush 34.4%, spread 43.0`, natural colour, real shadow shapes, against a build where an evening street clipped at `mean 244`. The cost is those passes and nothing else: 1.4 fps, 712–733 ms a frame, and the death on the fixed build is a device removal at that frame time — a watchdog, not the load-time fault in your title line. If your line still drops ray-hit shading when RT is off, that flag alone may be the difference between the flat and the lit look, at about 960 compute passes a frame. What I would now ask an Arc owner of your build: does your log carry the same `ray-tracing passes without the structure builder` counter going to zero when the BVH builder is on? That one number separates "the card cannot" from "the layer drops it".
This discussion has been locked. Commenting is limited to contributors.
No description provided.