Intel Arc B580 Crash after ~30s ingame #227

Closed
opened 2026-11-27 19:54:12 +00:00 by thxnk420 · 52 comments
thxnk420 commented 2026-11-27 19:54:12 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by thxnk420 on 2026-11-27T19:54:12Z.


menu forks fine, but then it crashes after a cutscene with ERROR victory_gpu::host: host GPU device removed after 16 submissions sent ahead (VICTORY_RELAY=1) of 209 lists;

victory-nvidia-play-20261127-194207-12484.log

win 10, arc b580 with 9175 driver

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6653557057 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227). Originally posted by [thxnk420](https://github.com/thxnk420) on 2026-11-27T19:54:12Z. --- menu forks fine, but then it crashes after a cutscene with ERROR victory_gpu::host: host GPU device removed after 16 submissions sent ahead (VICTORY_RELAY=1) of 209 lists; [victory-nvidia-play-20261127-194207-12484.log](https://github.com/user-attachments/files/35528854/victory-nvidia-play-20261127-194207-12484.log) win 10, arc b580 with 9175 driver
trustno1-coder commented 2026-11-27 20:59:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-27T20:59:34Z.


v2026.11.27.6 is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6), with today's crash fixes: the crash after the loading screen ("Failed to allocate upload buffer"), the 0x887E0003 / D3D12SerializeVersionedRootSignature crash at start, and memory that kept growing through a session. Please try it. Intel Arc isn't tested here (this fork is built for NVIDIA), and your crash is the GPU device being removed, so it may still happen. If it does, attach the new victory-nvidia-play-*.log and crashes.log (both in %LOCALAPPDATA%\victory\logs).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7228031289 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7228031289). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-27T20:59:34Z. --- **v2026.11.27.6** is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6), with today's crash fixes: the crash after the loading screen ("Failed to allocate upload buffer"), the 0x887E0003 / D3D12SerializeVersionedRootSignature crash at start, and memory that kept growing through a session. Please try it. Intel Arc isn't tested here (this fork is built for NVIDIA), and your crash is the GPU device being removed, so it may still happen. If it does, attach the new `victory-nvidia-play-*.log` and `crashes.log` (both in %LOCALAPPDATA%\victory\logs).
Denissboss1 commented 2026-11-27 21:08:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Denissboss1 on 2026-11-27T21:08:27Z.


Bump. Same exact issue here.

The logs:

crashes.log
victory-20261127-230346-11420.crash.log
victory-nvidia-play-20261127-210218-11420.log

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7228171789 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7228171789). Originally posted by [Denissboss1](https://github.com/Denissboss1) on 2026-11-27T21:08:27Z. --- Bump. Same exact issue here. The logs: [crashes.log](https://github.com/user-attachments/files/35531173/crashes.log) [victory-20261127-230346-11420.crash.log](https://github.com/user-attachments/files/35531179/victory-20261127-230346-11420.crash.log) [victory-nvidia-play-20261127-210218-11420.log](https://github.com/user-attachments/files/35531185/victory-nvidia-play-20261127-210218-11420.log)
thxnk420 commented 2026-11-27 21:58:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by thxnk420 on 2026-11-27T21:58:29Z.


crashes.log

victory-nvidia-play-20261127-215043-13404.log

Still crashing with latest version

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7228916938 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7228916938). Originally posted by [thxnk420](https://github.com/thxnk420) on 2026-11-27T21:58:29Z. --- [crashes.log](https://github.com/user-attachments/files/35532607/crashes.log) [victory-nvidia-play-20261127-215043-13404.log](https://github.com/user-attachments/files/35532615/victory-nvidia-play-20261127-215043-13404.log) Still crashing with latest version
serrot1005 commented 2026-11-27 22:22:02 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-27T22:22:02Z.


crashes.log

victory-nvidia-20261127-191939.log

Latest build too, would love to play the game on my GPU. Still awesome work.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7229267572 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7229267572). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-27T22:22:02Z. --- [crashes.log](https://github.com/user-attachments/files/35533316/crashes.log) [victory-nvidia-20261127-191939.log](https://github.com/user-attachments/files/35533320/victory-nvidia-20261127-191939.log) Latest build too, would love to play the game on my GPU. Still awesome work.
gilmarcs commented 2026-11-27 23:07:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-27T23:07:49Z.


I could find that this is because one single mesh shader that is called in the beggining, 10 minutes of gameplay here, but I'have a lot of changes to review and isolate

Arc B580

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7229894765 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7229894765). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-27T23:07:49Z. --- I could find that this is because one single mesh shader that is called in the beggining, 10 minutes of gameplay here, but I'have a lot of changes to review and isolate Arc B580
gilmarcs commented 2026-11-27 23:11:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-27T23:11:20Z.


For more information:

Summary of the fix

The problem

The game hung the Arc B580 (DXGI_ERROR_DEVICE_HUNG) every time, on the first big frame of the world. In some runs it page-faulted instead, at an address that looks like a null base plus an offset. The measurements showed:

  • It is not caused by a translated shader, uploads, copies, freed resources, uninitialized descriptors, 64-bit atomics, or command lists running together.
  • The trigger is a mesh pipeline staying bound on a command list while the game records the commands that follow it (copies, clears, dispatches, barriers). No mesh draw is needed; binding the PSO is enough.
  • The pipeline's contents don't matter. A fully synthetic mesh pipeline (trivial shaders, empty root signature, minimal state) hangs the same way.
  • The failure is probabilistic: the more mesh PSO binds, the more likely it is.
  • The same command pattern does not reproduce outside the game. The best explanation is a race in the Intel driver's mesh path (driver 32.0.101.9175). This is not proven.

The fix (a workaround)

VICTORY_MESH_UNBIND, in crates/victory-gpu/src/draw.rs (DrawState::mesh_unbind). It runs right after every mesh draw, direct (DispatchMesh) or indirect (ExecuteIndirect):

  • Level 1: rebinds the last vertex pipeline that was used, so no mesh PSO stays bound over the commands that follow.
  • Level 2: first inserts a global UAV barrier (no specific resource), then rebinds.

The next mesh draw binds its own pipeline again as usual. The host records the last vertex pipeline and marks the rebound one as current, so no binds are wasted.

Results on the normal scene:

Configuration Runs Failures
no workaround every run today TDR every time
level 1 2 (~10 min total) no TDR; 1 page fault at 5 min
level 2 2 (~18 min total) none

What it can affect

  1. Performance. Each mesh draw now costs two extra PSO switches and, at level 2, a global barrier, across thousands of mesh draws per frame. The barrier stops back-to-back mesh draws from overlapping on the GPU. End-of-run FPS matched the runs without mesh draws, but those runs had VICTORY_GPU_TIMING=1, which already serializes the GPU. The real cost is not measured yet.
  2. Batched indirect draws. Indirect draws batched in "windows" were designed to run back to back with nothing between them. The workaround now puts a PSO switch, and at level 2 a barrier, between them. This is valid D3D12, but it reduces the benefit of batching.
  3. Rendering. The workaround only adds state changes and barriers after a draw, so the image should not change. This has not been checked visually.
  4. Global state. The last vertex pipeline is kept in a process-wide static and held alive with list.keep. Each later draw binds its own pipeline, but this assumes a single host device. Before any vertex pipeline has been bound, the workaround does nothing.
  5. Other GPUs. It is opt-in, so nothing changes unless the variable is set. Turning it on by default should be limited to Intel hardware.
  6. It hides the bug rather than fixing it. If the cause is a driver race, a newer driver may fix it and make the workaround unnecessary. The rare page fault might still show up in longer sessions.

Other changes made along the way (diagnostic, opt-in unless noted)

  • Affects every run, not opt-in: the host now queries OPTIONS9/OPTIONS11 for 64-bit atomics, and the translator refuses 64-bit image atomics on hosts that lack them (set_host_atomic64). Because the result is part of the shader cache key, the cache is retranslated once. The B580 supports them.
  • Experiment switches: VICTORY_MESH_TEST=one|prepare|clamp|bind|states, VICTORY_MESH_BIND, VICTORY_MESH_BIND_RANGE, VICTORY_MESH_EMPTY, VICTORY_MESH_SYNTH / _ROOT / _STATE, VICTORY_SUBMIT_EACH, VICTORY_RECORD_UNTIL_HANG.
  • A hardware repro test, mesh_pipeline_switch (ignored by default), plus a test-only render-target override in emit/host.rs.
  • The investigation write-up, appended to docs/investigacao-hang-gpu-arc.md.

Still to do

  • More long runs with level 2.
  • Visual check of the frame.
  • Measuring the cost with GPU timing off.
  • Trying fewer barriers: only after indirect mesh draws, or only at the end of each run of mesh draws.
  • Testing a newer Intel driver.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7229942923 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7229942923). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-27T23:11:20Z. --- For more information: ## Summary of the fix ### The problem The game hung the Arc B580 (`DXGI_ERROR_DEVICE_HUNG`) every time, on the first big frame of the world. In some runs it page-faulted instead, at an address that looks like a null base plus an offset. The measurements showed: - It is not caused by a translated shader, uploads, copies, freed resources, uninitialized descriptors, 64-bit atomics, or command lists running together. - The trigger is **a mesh pipeline staying bound on a command list** while the game records the commands that follow it (copies, clears, dispatches, barriers). No mesh draw is needed; binding the PSO is enough. - The pipeline's contents don't matter. A fully synthetic mesh pipeline (trivial shaders, empty root signature, minimal state) hangs the same way. - The failure is probabilistic: the more mesh PSO binds, the more likely it is. - The same command pattern does not reproduce outside the game. The best explanation is a race in the Intel driver's mesh path (driver 32.0.101.9175). This is not proven. ### The fix (a workaround) `VICTORY_MESH_UNBIND`, in `crates/victory-gpu/src/draw.rs` (`DrawState::mesh_unbind`). It runs right after every mesh draw, direct (`DispatchMesh`) or indirect (`ExecuteIndirect`): - **Level 1:** rebinds the last vertex pipeline that was used, so no mesh PSO stays bound over the commands that follow. - **Level 2:** first inserts a global UAV barrier (no specific resource), then rebinds. The next mesh draw binds its own pipeline again as usual. The host records the last vertex pipeline and marks the rebound one as current, so no binds are wasted. **Results on the normal scene:** | Configuration | Runs | Failures | |---|---|---| | no workaround | every run today | TDR every time | | level 1 | 2 (~10 min total) | no TDR; 1 page fault at 5 min | | **level 2** | 2 (~18 min total) | **none** | ### What it can affect 1. **Performance.** Each mesh draw now costs two extra PSO switches and, at level 2, a global barrier, across thousands of mesh draws per frame. The barrier stops back-to-back mesh draws from overlapping on the GPU. End-of-run FPS matched the runs without mesh draws, but those runs had `VICTORY_GPU_TIMING=1`, which already serializes the GPU. **The real cost is not measured yet.** 2. **Batched indirect draws.** Indirect draws batched in "windows" were designed to run back to back with nothing between them. The workaround now puts a PSO switch, and at level 2 a barrier, between them. This is valid D3D12, but it reduces the benefit of batching. 3. **Rendering.** The workaround only adds state changes and barriers after a draw, so the image should not change. **This has not been checked visually.** 4. **Global state.** The last vertex pipeline is kept in a process-wide static and held alive with `list.keep`. Each later draw binds its own pipeline, but this assumes a single host device. Before any vertex pipeline has been bound, the workaround does nothing. 5. **Other GPUs.** It is opt-in, so nothing changes unless the variable is set. Turning it on by default should be limited to Intel hardware. 6. **It hides the bug rather than fixing it.** If the cause is a driver race, a newer driver may fix it and make the workaround unnecessary. The rare page fault might still show up in longer sessions. ### Other changes made along the way (diagnostic, opt-in unless noted) - **Affects every run, not opt-in:** the host now queries `OPTIONS9`/`OPTIONS11` for 64-bit atomics, and the translator refuses 64-bit image atomics on hosts that lack them (`set_host_atomic64`). Because the result is part of the shader cache key, the cache is retranslated once. The B580 supports them. - Experiment switches: `VICTORY_MESH_TEST=one|prepare|clamp|bind|states`, `VICTORY_MESH_BIND`, `VICTORY_MESH_BIND_RANGE`, `VICTORY_MESH_EMPTY`, `VICTORY_MESH_SYNTH` / `_ROOT` / `_STATE`, `VICTORY_SUBMIT_EACH`, `VICTORY_RECORD_UNTIL_HANG`. - A hardware repro test, `mesh_pipeline_switch` (ignored by default), plus a test-only render-target override in `emit/host.rs`. - The investigation write-up, appended to `docs/investigacao-hang-gpu-arc.md`. ### Still to do - More long runs with level 2. - Visual check of the frame. - Measuring the cost with GPU timing off. - Trying fewer barriers: only after indirect mesh draws, or only at the end of each run of mesh draws. - Testing a newer Intel driver.
gilmarcs commented 2026-11-27 23:13:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-27T23:13:30Z.


Seems to be an Intel Driver problem, with proton nothing of this is needed

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7229971820 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7229971820). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-27T23:13:30Z. --- Seems to be an Intel Driver problem, with proton nothing of this is needed
serrot1005 commented 2026-11-27 23:44:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-27T23:44:40Z.


@gilmarcs , could you create a fork with your modifications? I’m not very knowledgeable about this, but given that the issue doesn’t occur on Linux—only with the Windows driver—does that mean an effective solution would require an update to the Intel driver itself? Or would it be possible to work around this within the translation layer?

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7230375196 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7230375196). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-27T23:44:40Z. --- @gilmarcs , could you create a fork with your modifications? I’m not very knowledgeable about this, but given that the issue doesn’t occur on Linux—only with the Windows driver—does that mean an effective solution would require an update to the Intel driver itself? Or would it be possible to work around this within the translation layer?
gilmarcs commented 2026-11-27 23:59:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-27T23:59:59Z.


I'll do the fork and PR when I found another way to fix it without an workaround, but you could try clone the repo and apply the patch and
enable before execute with:

$env:VICTORY_MESH_UNBIND = '1'

victory-mesh-unbind-level1.patch (made after the commit 64d4931b3d)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7230565179 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7230565179). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-27T23:59:59Z. --- I'll do the fork and PR when I found another way to fix it without an workaround, but you could try clone the repo and apply the patch and enable before execute with: ```psh $env:VICTORY_MESH_UNBIND = '1' ``` [victory-mesh-unbind-level1.patch](https://github.com/user-attachments/files/35535015/victory-mesh-unbind-level1.patch) (made after the commit 64d4931b3dd90305134512b805fc98f04119fb6e)
gilmarcs commented 2026-11-28 00:02:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T00:02:27Z.


8 minutes at 2 FPS, I'm cooking 😎

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7230598694 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7230598694). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T00:02:27Z. --- 8 minutes at 2 FPS, I'm cooking 😎
trustno1-coder commented 2026-11-28 00:42:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T00:42:56Z.


Thanks @gilmarcs, that's excellent work. A mesh pipeline left bound being enough to hang the Arc driver explains a lot. A pull request with the VICTORY_MESH_UNBIND switch (off by default) would be welcome when you're happy with it. This stays open for Arc.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231137247 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7231137247). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T00:42:56Z. --- Thanks @gilmarcs, that's excellent work. A mesh pipeline left bound being enough to hang the Arc driver explains a lot. A pull request with the `VICTORY_MESH_UNBIND` switch (off by default) would be welcome when you're happy with it. This stays open for Arc.
gilmarcs commented 2026-11-28 00:46:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T00:46:56Z.


The PR #546 will auto-enable for Intel GPUs and will unbind only if the type of pipeline changes from mesh to another one, the first patch was unbinding every time...

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231187057 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7231187057). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T00:46:56Z. --- The PR #546 will auto-enable for Intel GPUs and will unbind only if the type of pipeline changes from mesh to another one, the first patch was unbinding every time...
serrot1005 commented 2026-11-28 00:49:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-28T00:49:43Z.


@gilmarcs I managed to test it with the patch, and it was the first build I could actually play—thank you so much for that. I hope you’re able to resolve the issue with the Arc B580. On my end, it hovered around 8 fps (still inside the prison) before crashing after about 5 minutes.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231220836 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7231220836). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-28T00:49:43Z. --- @gilmarcs I managed to test it with the patch, and it was the first build I could actually play—thank you so much for that. I hope you’re able to resolve the issue with the Arc B580. On my end, it hovered around 8 fps (still inside the prison) before crashing after about 5 minutes.
gilmarcs commented 2026-11-28 00:51:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T00:51:39Z.


Go test with the PR version too

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231244441 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7231244441). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T00:51:39Z. --- Go test with the PR version too
serrot1005 commented 2026-11-28 00:59:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-28T00:59:47Z.


It also works

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231342016 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7231342016). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-28T00:59:47Z. --- It also works
gilmarcs commented 2026-11-28 01:26:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T01:26:09Z.


Please, check the memory consumption when the crash occurs

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231663909 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7231663909). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T01:26:09Z. --- Please, check the memory consumption when the crash occurs
gilmarcs commented 2026-11-28 01:27:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T01:27:36Z.


Mine is full...

image
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231680456 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7231680456). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T01:27:36Z. --- Mine is full... <img width="1075" height="624" alt="image" src="https://github.com/user-attachments/assets/1ec8e75e-46a0-4342-bb40-7c7f58fef119" />
serrot1005 commented 2026-11-28 02:32:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-28T02:32:16Z.


Mine too

image

(Legal saber que você também é br kkkkkk)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7232428575 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7232428575). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-28T02:32:16Z. --- Mine too <img width="613" height="386" alt="image" src="https://github.com/user-attachments/assets/1af7a163-6787-4e7c-915f-5f3dfcfe70e2" /> (Legal saber que você também é br kkkkkk)
cbw2580147369-commits commented 2026-11-28 04:27:55 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cbw2580147369-commits on 2026-11-28T04:27:55Z.


Third B580 here (Windows 10 19045, driver 32.0.101.9175, 16 GB), and PR #546 confirms on this card too - thank you @gilmarcs, this is the first build on this machine that gets into the world and stays there without DXGI_ERROR_DEVICE_HUNG.

Applied #546 to the 28 November main with one hand-merged hunk in DrawState::set_pipeline (the newer base has mark_between diagnostics calls around the same lines; the insert is just

self.host_pipeline = p.pso.as_raw() as usize;
if p.mesh {
    list.mesh_bound();
}

), everything else applied cleanly, cargo build --profile diag -p victory --features diagnostics, 55 s incremental. Intel cards pick bind on their own.

victory.exe play <exe> --series-s --dlss off --fps 30 --set VICTORY_MESH_REST=bind:

stage draws/frame fps ms/frame
end of load 367 20 50
entering the world 510 9 106
world 659 13 80
world 1118 12 81
world 1241 9 113

Before the patch, same machine and same kind of scene: 1448 draws/frame at 3 fps (311 ms). So it is ~3x, and above the 8 fps @serrot1005 reports. It went through the intro into the Vice City night street with Jason, Lucia and pedestrians, and the frame is correct - colour, lights, neon, the characters' shading all look right (the only wrong-looking frames earlier were the bright daylight intro, which still runs blown out, but that is a different thing).

And it still ends the same way both of you describe: memory. Private bytes 19.1-19.2 GB, 611 MB of physical memory free, gone 40-60 s after the world appears. So on a 16 GB machine #546 turns this into a memory problem.

Two things I would add to the "still to do" list in your summary, both cheap to read off a log: what VICTORY_MESH_REST=draw does to the same scene (for drivers that only take a pipeline in at a draw), and whether the cost of the extra binds shows up as dropped ... without a host pipeline or as preparation time in the per-frame account - here it did not: 173 ms of a 312 ms frame was copies and textures, not pipeline waits.

Screenshot and samples are in the Arc field-report repository: evidence/2026-11-28-mesh-rest/.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7234056205 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7234056205). Originally posted by [cbw2580147369-commits](https://github.com/cbw2580147369-commits) on 2026-11-28T04:27:55Z. --- Third B580 here (Windows 10 19045, driver 32.0.101.9175, 16 GB), and PR #546 confirms on this card too - thank you @gilmarcs, this is the first build on this machine that gets into the world and stays there without `DXGI_ERROR_DEVICE_HUNG`. Applied #546 to the 28 November main with one hand-merged hunk in `DrawState::set_pipeline` (the newer base has `mark_between` diagnostics calls around the same lines; the insert is just ```rust self.host_pipeline = p.pso.as_raw() as usize; if p.mesh { list.mesh_bound(); } ``` ), everything else applied cleanly, `cargo build --profile diag -p victory --features diagnostics`, 55 s incremental. Intel cards pick `bind` on their own. `victory.exe play <exe> --series-s --dlss off --fps 30 --set VICTORY_MESH_REST=bind`: | stage | draws/frame | fps | ms/frame | |---|---|---|---| | end of load | 367 | 20 | 50 | | entering the world | 510 | 9 | 106 | | world | 659 | 13 | 80 | | world | 1118 | 12 | 81 | | world | 1241 | 9 | 113 | Before the patch, same machine and same kind of scene: **1448 draws/frame at 3 fps (311 ms)**. So it is ~3x, and above the 8 fps @serrot1005 reports. It went through the intro into the Vice City night street with Jason, Lucia and pedestrians, and the frame is correct - colour, lights, neon, the characters' shading all look right (the only wrong-looking frames earlier were the bright daylight intro, which still runs blown out, but that is a different thing). And it still ends the same way both of you describe: **memory**. Private bytes 19.1-19.2 GB, 611 MB of physical memory free, gone 40-60 s after the world appears. So on a 16 GB machine #546 turns this into a memory problem. Two things I would add to the "still to do" list in your summary, both cheap to read off a log: what `VICTORY_MESH_REST=draw` does to the same scene (for drivers that only take a pipeline in at a draw), and whether the cost of the extra binds shows up as `dropped ... without a host pipeline` or as preparation time in the per-frame account - here it did not: 173 ms of a 312 ms frame was copies and textures, not pipeline waits. Screenshot and samples are in the Arc field-report repository: `evidence/2026-11-28-mesh-rest/`.
cbw2580147369-commits commented 2026-11-28 04:47:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cbw2580147369-commits on 2026-11-28T04:47:35Z.


Follow-up from the same B580 / Windows 10 19045 / 16 GB machine: two runs to see whether the 40-60 s it survived after the world appeared can be stretched, now that #546 keeps the driver out of the hang.

Series X at 1080p (--res 1080to1440) is worse on 16 GB - do not bother. 2-4 fps at 4649 / 3080 / 1276 / 476 draws, private bytes 21.8 -> 24.3 GB, gone inside a minute. --res only applies without --series-s, and the Series X profile's bigger pools cost more memory than the smaller render target saves.

Series S with VICTORY_TEXTURE_ROOM_PERCENT=60 is the best configuration found here. Fewer textures stay resident, so fewer host copies are made:

moment draws/frame fps private free physical
entering the world 3775 9 15.8 GB 1.7 GB
world 4600 7 18.7 GB 0.6 GB
world, light view 603 18 18.9 GB 0.5 GB
world, light view 576 18 19.3 GB 0.6 GB
world 1112 9 20.4 GB 0.7 GB
intro field 3691 12.7 - -
world 1702 0 (7606 ms/frame) 23.0 GB 1.4 GB, paging

210 s at the world against 40-60 s without the change, 18 fps peak in light views, and then the same wall as you both describe: 23 GB of private bytes on a 16 GB machine, page file thrash, gone.

Command:

victory.exe play <exe> --series-s --dlss off --fps 30 --set VICTORY_MESH_REST=bind --set VICTORY_TEXTURE_ROOM_PERCENT=60

(VICTORY_MESH_REST=bind is already the default on Intel cards; writing it out only makes the log line explicit.)

Two things worth knowing from this:

  1. The intro field renders with correct colour and light in that run (green grass, blue sky, warm sun) - the all-white frames I reported earlier were the same scene while the driver was still being dragged into the hanging state, not an exposure bug.
  2. The next real gain is memory, not another switch. On 16 GB the session dies at 19-23 GB private whatever the settings; 32 GB of RAM is the only thing that moves that line. Below that, VICTORY_TEXTURE_ROOM_PERCENT=40 buys a little more time at the cost of texture detail.

Screenshots and the per-sample CSVs are in the field-report repository, evidence/2026-11-28-mesh-rest/.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7234262487 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7234262487). Originally posted by [cbw2580147369-commits](https://github.com/cbw2580147369-commits) on 2026-11-28T04:47:35Z. --- Follow-up from the same B580 / Windows 10 19045 / 16 GB machine: two runs to see whether the 40-60 s it survived after the world appeared can be stretched, now that #546 keeps the driver out of the hang. **Series X at 1080p (`--res 1080to1440`) is worse on 16 GB - do not bother.** 2-4 fps at 4649 / 3080 / 1276 / 476 draws, private bytes 21.8 -> 24.3 GB, gone inside a minute. `--res` only applies without `--series-s`, and the Series X profile's bigger pools cost more memory than the smaller render target saves. **Series S with `VICTORY_TEXTURE_ROOM_PERCENT=60` is the best configuration found here.** Fewer textures stay resident, so fewer host copies are made: | moment | draws/frame | fps | private | free physical | |---|---|---|---|---| | entering the world | 3775 | 9 | 15.8 GB | 1.7 GB | | world | 4600 | 7 | 18.7 GB | 0.6 GB | | world, light view | 603 | **18** | 18.9 GB | 0.5 GB | | world, light view | 576 | **18** | 19.3 GB | 0.6 GB | | world | 1112 | 9 | 20.4 GB | 0.7 GB | | intro field | 3691 | **12.7** | - | - | | world | 1702 | 0 (7606 ms/frame) | 23.0 GB | 1.4 GB, paging | **210 s at the world** against 40-60 s without the change, 18 fps peak in light views, and then the same wall as you both describe: 23 GB of private bytes on a 16 GB machine, page file thrash, gone. Command: ```powershell victory.exe play <exe> --series-s --dlss off --fps 30 --set VICTORY_MESH_REST=bind --set VICTORY_TEXTURE_ROOM_PERCENT=60 ``` (`VICTORY_MESH_REST=bind` is already the default on Intel cards; writing it out only makes the log line explicit.) Two things worth knowing from this: 1. The intro field renders with correct colour and light in that run (green grass, blue sky, warm sun) - the all-white frames I reported earlier were the same scene while the driver was still being dragged into the hanging state, not an exposure bug. 2. The next real gain is memory, not another switch. On 16 GB the session dies at 19-23 GB private whatever the settings; 32 GB of RAM is the only thing that moves that line. Below that, `VICTORY_TEXTURE_ROOM_PERCENT=40` buys a little more time at the cost of texture detail. Screenshots and the per-sample CSVs are in the field-report repository, `evidence/2026-11-28-mesh-rest/`.
MrBosseuh commented 2026-11-28 06:54:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by MrBosseuh on 2026-11-28T06:54:33Z.


Version: commit a1b2c3d (built from source on 2026-11-28)

crashes.txt
play-log.txt

Same crash here on AMD Radeon RX 7600 8 GB, Ryzen 5 7600, 16 GB RAM,
Windows 11, driver 32.0.32029.2010. Series S, frame generation off.
The intro plays, then the game closes with:
"relay: fence ... did not reach ...; device removed (0x887A0007)".

F3 panel just before the crash: 6.2 fps, 161 ms/frame, DROPPED 142,
VRAM 6.3/6.4 GB, RAM 17.7 GB.

Logs attached (play log and crashes.log). Happy to test anything.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7235593459 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7235593459). Originally posted by [MrBosseuh](https://github.com/MrBosseuh) on 2026-11-28T06:54:33Z. --- Version: commit a1b2c3d (built from source on 2026-11-28) [crashes.txt](https://github.com/user-attachments/files/35541220/crashes.txt) [play-log.txt](https://github.com/user-attachments/files/35541219/play-log.txt) Same crash here on AMD Radeon RX 7600 8 GB, Ryzen 5 7600, 16 GB RAM, Windows 11, driver 32.0.32029.2010. Series S, frame generation off. The intro plays, then the game closes with: "relay: fence ... did not reach ...; device removed (0x887A0007)". F3 panel just before the crash: 6.2 fps, 161 ms/frame, DROPPED 142, VRAM 6.3/6.4 GB, RAM 17.7 GB. Logs attached (play log and crashes.log). Happy to test anything.
gilmarcs commented 2026-11-28 09:42:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T09:42:25Z.


@serrot1005
Por isso que o seu inglês tava parecido com o meu kkkkk, quando der tudo certo bora jogar um multiplayer.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7237412613 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7237412613). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T09:42:25Z. --- @serrot1005 Por isso que o seu inglês tava parecido com o meu kkkkk, quando der tudo certo bora jogar um multiplayer.
serrot1005 commented 2026-11-28 12:55:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-28T12:55:49Z.


@cbw2580147369-commits, does your game render correctly? Mine has artifacts on the left side, and the rest of the screen is darker than it should be—regardless of the resolution or whether it’s on Series X | S.
Edit: I saw your screenshots and noticed the same errors—artifacts on the left side and a white world.

image

@gilmarcs só no tradutor aqui kkkkkk, tomara que não demore muito tempo.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7239566911 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7239566911). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-28T12:55:49Z. --- @cbw2580147369-commits, does your game render correctly? Mine has artifacts on the left side, and the rest of the screen is darker than it should be—regardless of the resolution or whether it’s on Series X | S. Edit: I saw your screenshots and noticed the same errors—artifacts on the left side and a white world. <img width="849" height="478" alt="image" src="https://github.com/user-attachments/assets/7bd68170-f360-40a8-8f53-d0bde852f4e3" /> @gilmarcs só no tradutor aqui kkkkkk, tomara que não demore muito tempo.
gilmarcs commented 2026-11-28 13:21:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T13:21:07Z.


Renders correctly for a while with the --set VICTORY_TEXTURE_ROOM_PERCENT=60 recommended by the @cbw2580147369-commits, but when memory is close to be full renders like your print, test clear yours shaders to postergate the memory outage and see if renders correctly

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7239874180 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7239874180). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T13:21:07Z. --- Renders correctly for a while with the --set VICTORY_TEXTURE_ROOM_PERCENT=60 recommended by the @cbw2580147369-commits, but when memory is close to be full renders like your print, test clear yours shaders to postergate the memory outage and see if renders correctly
serrot1005 commented 2026-11-28 14:11:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-28T14:11:00Z.


Even with the cache cleared and VRAM usage at 8 out of 12 GB, the artifacts still occur.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7240479054 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7240479054). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-28T14:11:00Z. --- Even with the cache cleared and VRAM usage at 8 out of 12 GB, the artifacts still occur.
cbw2580147369-commits commented 2026-11-28 15:07:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cbw2580147369-commits on 2026-11-28T15:07:47Z.


@cbw2580147369-commits你的游戏画面渲染正常吗?我的游戏左侧有噪点,屏幕其他部分也比正常情况暗——无论分辨率如何,也不管是在 Xbox Series X | S 上玩,都是如此。 编辑:我看了你的截图,发现也有同样的问题——左侧有噪点,而且整个世界一片空白。

图像 [@gilmarcs](https://github.com/gilmarcs)所以,没有翻译者 aqui kkkkkk,tomara que não demore muito tempo。

My rendering isn't working properly either. Right now I can barely get into the game world, and there's a ton of noise/grain. You should have seen my photos—it crashes after about two minutes of playing. As for that strategy of clearing the shaders, I'll try it again tomorrow; it's already past 11 p.m. and too late today.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7241223063 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7241223063). Originally posted by [cbw2580147369-commits](https://github.com/cbw2580147369-commits) on 2026-11-28T15:07:47Z. --- > [@cbw2580147369-commits](https://github.com/cbw2580147369-commits)你的游戏画面渲染正常吗?我的游戏左侧有噪点,屏幕其他部分也比正常情况暗——无论分辨率如何,也不管是在 Xbox Series X | S 上玩,都是如此。 编辑:我看了你的截图,发现也有同样的问题——左侧有噪点,而且整个世界一片空白。 > > <img alt="图像" width="849" height="478" src="https://private-user-images.githubusercontent.com/103365980/722174416-7bd68170-f360-40a8-8f53-d0bde852f4e3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU4Nzg1NzgsIm5iZiI6MTc5NTg3ODI3OCwicGF0aCI6Ii8xMDMzNjU5ODAvNzIyMTc0NDE2LTdiZDY4MTcwLWYzNjAtNDBhOC04ZjUzLWQwYmRlODUyZjRlMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyOFQxNTA0MzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNGM5OWU3MDA2Y2VhNmEzOTVhNWIxYTg4YmYxYWZlNjAzNjExMGM0Yzg4NWRkMTIyNDY4OTJlNDk3YjdjNWYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.eSwP6eZDvPCBV1K5tju6aIlWIbEl2UyE5320_fKk29E"> > [@gilmarcs](https://github.com/gilmarcs)所以,没有翻译者 aqui kkkkkk,tomara que não demore muito tempo。 My rendering isn't working properly either. Right now I can barely get into the game world, and there's a ton of noise/grain. You should have seen my photos—it crashes after about two minutes of playing. As for that strategy of clearing the shaders, I'll try it again tomorrow; it's already past 11 p.m. and too late today.
gilmarcs commented 2026-11-28 17:24:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T17:24:28Z.


I've reached the ocean now, but can't see a thing kkkkk, there's an issue with illumination, is too dark in the prison and too bright in the ocean

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7242992438 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7242992438). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T17:24:28Z. --- I've reached the ocean now, but can't see a thing kkkkk, there's an issue with illumination, is too dark in the prison and too bright in the ocean
gilmarcs commented 2026-11-28 17:44:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-28T17:44:51Z.


Try use the config VICTORY_AMBIENT_AIR=0.8 and see black square gets better

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7243255159 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7243255159). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-28T17:44:51Z. --- Try use the config VICTORY_AMBIENT_AIR=0.8 and see black square gets better
serrot1005 commented 2026-11-28 21:04:42 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by serrot1005 on 2026-11-28T21:04:42Z.


Same problem here regardless of the VICTORY AMBIENT AIR option.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7245755353 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7245755353). Originally posted by [serrot1005](https://github.com/serrot1005) on 2026-11-28T21:04:42Z. --- Same problem here regardless of the VICTORY AMBIENT AIR option.
dengarIicdk commented 2026-11-28 23:56:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-28T23:56:34Z.


Independent report from another Arc B580, plus two bugs I found and fixed. Everything below is measured, not guessed.

Setup: Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200, Ryzen 7 5700X, 32 GB RAM.
Title dump 1.0.2.1, series-s, 720p, frame cap 30, RAY TRACING off.
Build: 64d4931b + the mesh-unbind patch from @gilmarcs (issue #227 comment), built with
rustup run 1.98.1-x86_64-pc-windows-gnu cargo build --release -p victory --features diagnostics.

Before

ERROR victory_gpu::host: host GPU device removed after 22 submissions sent ahead (VICTORY_RELAY=1) of 146 lists; no breadcrumbs (0x887A0004 ...)
followed by 0x887A0006. Time to crash: 60–90 s, often before the first world frame.
0x80070057 (E_INVALIDARG) appeared 64 times per run on pipeline-library loads/makes.

Fix 1 — the mesh workaround must not be optional on Intel

With @gilmarcs' patch the log shows VICTORY_MESH_UNBIND=1: enabled mesh PSO workaround and
the hang within seconds is gone. It is worth making it the default on non-NVIDIA adapters rather
than an env switch nobody finds.

Fix 2 — the pipeline library file was renamed over while it was mapped

After ~16 minutes of a healthy session:

pipeline library: ... its file is mapped (30751725 bytes), the handle kept open;
this run has not replaced the file; its pages were last let go 17.9 s ago;
6 of the 7508 pages looked at read as zeros now (the first is page 185):
the library's contents were lost there

then 0x887A0004 and the device is gone. Renaming a new library over the mapped one loses pages
on this driver even with the handle held open. Fix (crates/victory-gpu/src/pipeline/library.rs):
when this run has the file mapped, never rename over it — write host-pipelines.next and let the
next start promote it before mapping anything.

Fix 3 — the library was serialised through a mapped view and renamed before the pages reached disk

// crates/victory-gpu/src/pipeline/library.rs
fn mapped() -> bool { false }   // was: env VICTORY_LIBRARY_MAP, default on

A library written through a mapped view and renamed right away leaves holes on disk; a later page
trim reads zeros back and the device is removed. Writing through an ordinary buffer fixed it.
After both fixes: 0x80070057 64 → 0 per run, host pipeline library saved bytes=48623683 ... made=1732.

Fix 4 — VICTORY_AMBIENT must have a usable default

The F1 menu rewrites victory-settings.txt and drops keys it does not manage, so a hand-set
VICTORY_AMBIENT disappears and the layer falls back to the probe estimate, which on Arc jumps
between a black frame and a blown-out one. I made constant:0.1 the built-in default when the
variable is unset.

Result

before after
time without device removal 60–90 s 7–16 min
0x80070057 per run 64 0
fps in world (720p, Series S) 2–4 12–14
draws per frame — up to 11 500

Two things that still fail

  1. VICTORY_BVH_BUILDER=1 (ray tracing) makes the title itself crash while loading — its own
    Breakpad makes a 57 MB minidump, no device removal at all. So the RT path cannot be used to fix
    lighting yet.
  2. Sunlit scenes and the sky are blown out to white (same as #1650). The layer has no bloom,
    tonemap or exposure stage to tune: AMBIENT 0/0.1/0.3/0.5/0.8/1 and AMBIENT_AIR 0/1.5/NONE
    change nothing on those frames. At the store robbery in the prologue the frame is 100% white at
    3 fps / 8638 draws while subtitles keep rendering.

Happy to attach full logs and the patch on request.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247765111 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7247765111). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-28T23:56:34Z. --- Independent report from another Arc B580, plus two bugs I found and fixed. Everything below is measured, not guessed. **Setup**: Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200, Ryzen 7 5700X, 32 GB RAM. Title dump 1.0.2.1, `series-s`, 720p, frame cap 30, `RAY TRACING` off. Build: `64d4931b` + the mesh-unbind patch from @gilmarcs (issue #227 comment), built with `rustup run 1.98.1-x86_64-pc-windows-gnu cargo build --release -p victory --features diagnostics`. ### Before `ERROR victory_gpu::host: host GPU device removed after 22 submissions sent ahead (VICTORY_RELAY=1) of 146 lists; no breadcrumbs (0x887A0004 ...)` followed by `0x887A0006`. Time to crash: 60–90 s, often before the first world frame. `0x80070057` (E_INVALIDARG) appeared 64 times per run on pipeline-library loads/makes. ### Fix 1 — the mesh workaround must not be optional on Intel With @gilmarcs' patch the log shows `VICTORY_MESH_UNBIND=1: enabled mesh PSO workaround` and the hang within seconds is gone. It is worth making it the default on non-NVIDIA adapters rather than an env switch nobody finds. ### Fix 2 — the pipeline library file was renamed over while it was mapped After ~16 minutes of a healthy session: ``` pipeline library: ... its file is mapped (30751725 bytes), the handle kept open; this run has not replaced the file; its pages were last let go 17.9 s ago; 6 of the 7508 pages looked at read as zeros now (the first is page 185): the library's contents were lost there ``` then `0x887A0004` and the device is gone. Renaming a new library over the mapped one loses pages on this driver even with the handle held open. Fix (`crates/victory-gpu/src/pipeline/library.rs`): when this run has the file mapped, never rename over it — write `host-pipelines.next` and let the next start promote it before mapping anything. ### Fix 3 — the library was serialised through a mapped view and renamed before the pages reached disk ```rust // crates/victory-gpu/src/pipeline/library.rs fn mapped() -> bool { false } // was: env VICTORY_LIBRARY_MAP, default on ``` A library written through a mapped view and renamed right away leaves holes on disk; a later page trim reads zeros back and the device is removed. Writing through an ordinary buffer fixed it. After both fixes: `0x80070057` 64 → 0 per run, `host pipeline library saved bytes=48623683 ... made=1732`. ### Fix 4 — `VICTORY_AMBIENT` must have a usable default The F1 menu rewrites `victory-settings.txt` and drops keys it does not manage, so a hand-set `VICTORY_AMBIENT` disappears and the layer falls back to the probe estimate, which on Arc jumps between a black frame and a blown-out one. I made `constant:0.1` the built-in default when the variable is unset. ### Result | | before | after | |---|---|---| | time without device removal | 60–90 s | 7–16 min | | `0x80070057` per run | 64 | 0 | | fps in world (720p, Series S) | 2–4 | 12–14 | | draws per frame | — | up to 11 500 | ### Two things that still fail 1. `VICTORY_BVH_BUILDER=1` (ray tracing) makes the **title itself** crash while loading — its own Breakpad makes a 57 MB minidump, no device removal at all. So the RT path cannot be used to fix lighting yet. 2. Sunlit scenes and the sky are blown out to white (same as #1650). The layer has no bloom, tonemap or exposure stage to tune: `AMBIENT` 0/0.1/0.3/0.5/0.8/1 and `AMBIENT_AIR` 0/1.5/NONE change nothing on those frames. At the store robbery in the prologue the frame is 100% white at 3 fps / 8638 draws while subtitles keep rendering. Happy to attach full logs and the patch on request.
dengarIicdk commented 2026-11-28 23:56:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-28T23:56:51Z.


The patch is up as a gist: https://gist.github.com/dengarIicdk/ea8d3b18a483aca1907e0b0749da0ff8

It contains, on top of 64d4931b:

  • crates/victory-gpu/src/draw.rs, host.rs — @gilmarcs' mesh-unbind workaround (issue #227), applied as-is
  • crates/victory-gpu/src/pipeline/library.rs — never rename a new pipeline library over the file this
    run has mapped; write host-pipelines.next and let the next start promote it (replace_library)
  • crates/victory-gpu/src/pipeline/library.rs — mapped() returns false, so a library is serialised
    through an ordinary buffer instead of a mapped view that gets renamed before its pages reach disk
  • crates/victory-gpu/src/ambient.rs — constant:0.1 as the built-in default when VICTORY_AMBIENT
    is unset (the F1 menu drops keys it does not manage)

Built with the GNU toolchain because no MSVC build tools were available here:
rustup toolchain install 1.98.1-x86_64-pc-windows-gnu && cargo build --release --locked -p victory --features diagnostics

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247768241 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7247768241). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-28T23:56:51Z. --- The patch is up as a gist: https://gist.github.com/dengarIicdk/ea8d3b18a483aca1907e0b0749da0ff8 It contains, on top of `64d4931b`: - `crates/victory-gpu/src/draw.rs`, `host.rs` — @gilmarcs' mesh-unbind workaround (issue #227), applied as-is - `crates/victory-gpu/src/pipeline/library.rs` — never rename a new pipeline library over the file this run has mapped; write `host-pipelines.next` and let the next start promote it (`replace_library`) - `crates/victory-gpu/src/pipeline/library.rs` — `mapped()` returns false, so a library is serialised through an ordinary buffer instead of a mapped view that gets renamed before its pages reach disk - `crates/victory-gpu/src/ambient.rs` — `constant:0.1` as the built-in default when `VICTORY_AMBIENT` is unset (the F1 menu drops keys it does not manage) Built with the GNU toolchain because no MSVC build tools were available here: `rustup toolchain install 1.98.1-x86_64-pc-windows-gnu && cargo build --release --locked -p victory --features diagnostics`
dengarIicdk commented 2026-11-28 23:59:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-28T23:59:43Z.


The bot asked for logs, so here is an excerpt of a failing run (Arc B580, driver 32.0.101.9175):
https://gist.github.com/dengarIicdk/f7b45eae889276c661414300e0d1cb77

It has the switch line, the last world frames, every ERROR line and the device removal report.
The failure is host GPU device removed after 6 submissions sent ahead (VICTORY_RELAY=1) of 80 lists; no breadcrumbs (0x887A0004 ...), i.e. DXGI_ERROR_UNSUPPORTED reported by the driver with no DRED
breadcrumbs, while the submitting thread was preparing a submission.

Two other things from the same machine, in case they help point at the cause:

  • A healthy session before the pipeline-library fixes died after ~16 min with
    its pages were last let go 17.9 s ago; 6 of the 7508 pages looked at read as zeros now (the first is page 185): the library's contents were lost there — the library file had been renamed over while mapped.
    After writing the new library beside the mapped one (and never serialising through a mapped view),
    runs of 7–16 minutes end without a device removal at all, so that path was one real cause.
  • VICTORY_BVH_BUILDER=1 makes the title itself crash during loading: its own Breakpad writes a
    57 MB minidump and the log ends with BacktraceBreakpad: ... upload_file_minidump, no device
    removal involved.

Full logs are 4–9 MB each; say the word and I will attach any of them.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247799049 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7247799049). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-28T23:59:43Z. --- The bot asked for logs, so here is an excerpt of a failing run (Arc B580, driver 32.0.101.9175): https://gist.github.com/dengarIicdk/f7b45eae889276c661414300e0d1cb77 It has the switch line, the last world frames, every `ERROR` line and the device removal report. The failure is `host GPU device removed after 6 submissions sent ahead (VICTORY_RELAY=1) of 80 lists; no breadcrumbs (0x887A0004 ...)`, i.e. `DXGI_ERROR_UNSUPPORTED` reported by the driver with no DRED breadcrumbs, while the submitting thread was preparing a submission. Two other things from the same machine, in case they help point at the cause: - A healthy session before the pipeline-library fixes died after ~16 min with `its pages were last let go 17.9 s ago; 6 of the 7508 pages looked at read as zeros now (the first is page 185): the library's contents were lost there` — the library file had been renamed over while mapped. After writing the new library beside the mapped one (and never serialising through a mapped view), runs of 7–16 minutes end without a device removal at all, so that path was one real cause. - `VICTORY_BVH_BUILDER=1` makes the title itself crash during loading: its own Breakpad writes a 57 MB minidump and the log ends with `BacktraceBreakpad: ... upload_file_minidump`, no device removal involved. Full logs are 4–9 MB each; say the word and I will attach any of them.
gilmarcs commented 2026-11-29 00:25:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-29T00:25:23Z.


I'm going to test everything now

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7248101967 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7248101967). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-29T00:25:23Z. --- I'm going to test everything now
gilmarcs commented 2026-11-29 01:01:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-29T01:01:19Z.


So, with all the shaders warmed it still crashing in the initial cutscenes or when skipping it right after start moving Lucia in the prison...

I think there's no need to remove the VICTORY_LIBRARY_MAP config since other vendors could depend on it, just execute with--set VICTORY_LIBRARY_MAP=0

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7248506087 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7248506087). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-29T01:01:19Z. --- So, with all the shaders warmed it still crashing in the initial cutscenes or when skipping it right after start moving Lucia in the prison... I think there's no need to remove the `VICTORY_LIBRARY_MAP` config since other vendors could depend on it, just execute with`--set VICTORY_LIBRARY_MAP=0`
cbw2580147369-commits commented 2026-11-29 05:25:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cbw2580147369-commits on 2026-11-29T05:25:41Z.


@gilmarcs About the illumination you hit at the ocean, from a third Arc B580 (Windows 10, 16 GB, driver 32.0.101.9175), with #546 in draw mode.

Same pair of symptoms here, and some numbers on it:

  • The ocean / beach section is blown out: average frame brightness 189 of 255, everything washed to white, at 476 draws/frame and 12 fps.
  • Interiors sit at the other end: brightness 30-45.
  • VICTORY_AMBIENT=0 changes nothing: 228/255 against 231/255 on the same view. So it is not the ambient term, which matches what you said about the light being wrong rather than missing.
  • Worse for anyone trying to tune it: the tree (28 November base, fxceless main) carries no exposure, tonemap, bloom or luminance switch at all. I grepped the whole workspace: VICTORY_EXPOSURE, VICTORY_TONEMAP, VICTORY_AUTO_EXPOSURE, VICTORY_BLOOM, VICTORY_LUMINANCE do not exist. The only related thing anywhere in the public field is DexNom's VICTORY_AMBIENT_FALLBACK=1 on its --no-rt path, which fills in missing indirect light per material - it does not touch exposure, and it lives in a victory-shader emit path the newer base does not have.

So my reading is the same as yours: the title's auto-exposure path is not being translated correctly, and there is no knob because nobody has written one. If you want a cheap probe on your side: log the value the title writes into its exposure buffer for one frame and compare it against the same frame on console; if it is the console's value and the picture is still white, the bug is downstream in the tonemap shader, not in the exposure compute.

Two other things that may save you time:

  1. VICTORY_MESH_REST=draw (not bind) is what makes this card survive: 9 min 4 s in the world against 210 s for bind, no DXGI_ERROR_DEVICE_HUNG either way, and it ends on memory (memory.load_percent=92, 1.19 GB free, 24.7 GB private). Light views 18-20 fps, intro field 12.7, night street 12.
  2. If you launch through victory play, check the victory_gpu::mesh_rest line in the log says mode=Draw. powershell -File joins -Extra a,b into one comma-separated string, and play deletes every VICTORY_* it was not told about, so a joined --set silently leaves the default bind in place. I spent three runs measuring bind while believing I was measuring draw.

Field report with the numbers, screenshots and samples: https://github.com/cbw2580147369-commits/victory-arc-b580

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7251248237 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7251248237). Originally posted by [cbw2580147369-commits](https://github.com/cbw2580147369-commits) on 2026-11-29T05:25:41Z. --- @gilmarcs About the illumination you hit at the ocean, from a third Arc B580 (Windows 10, 16 GB, driver 32.0.101.9175), with #546 in `draw` mode. Same pair of symptoms here, and some numbers on it: - The ocean / beach section is blown out: average frame brightness **189 of 255**, everything washed to white, at 476 draws/frame and 12 fps. - Interiors sit at the other end: brightness 30-45. - `VICTORY_AMBIENT=0` changes nothing: 228/255 against 231/255 on the same view. So it is not the ambient term, which matches what you said about the light being wrong rather than missing. - Worse for anyone trying to tune it: the tree (28 November base, fxceless main) carries **no exposure, tonemap, bloom or luminance switch at all**. I grepped the whole workspace: `VICTORY_EXPOSURE`, `VICTORY_TONEMAP`, `VICTORY_AUTO_EXPOSURE`, `VICTORY_BLOOM`, `VICTORY_LUMINANCE` do not exist. The only related thing anywhere in the public field is DexNom's `VICTORY_AMBIENT_FALLBACK=1` on its `--no-rt` path, which fills in missing indirect light per material - it does not touch exposure, and it lives in a `victory-shader` emit path the newer base does not have. So my reading is the same as yours: the title's auto-exposure path is not being translated correctly, and there is no knob because nobody has written one. If you want a cheap probe on your side: log the value the title writes into its exposure buffer for one frame and compare it against the same frame on console; if it is the console's value and the picture is still white, the bug is downstream in the tonemap shader, not in the exposure compute. Two other things that may save you time: 1. `VICTORY_MESH_REST=draw` (not `bind`) is what makes this card survive: 9 min 4 s in the world against 210 s for `bind`, no `DXGI_ERROR_DEVICE_HUNG` either way, and it ends on memory (`memory.load_percent=92`, 1.19 GB free, 24.7 GB private). Light views 18-20 fps, intro field 12.7, night street 12. 2. If you launch through `victory play`, check the `victory_gpu::mesh_rest` line in the log says `mode=Draw`. `powershell -File` joins `-Extra a,b` into one comma-separated string, and `play` deletes every `VICTORY_*` it was not told about, so a joined `--set` silently leaves the default `bind` in place. I spent three runs measuring `bind` while believing I was measuring `draw`. Field report with the numbers, screenshots and samples: https://github.com/cbw2580147369-commits/victory-arc-b580
dengarIicdk commented 2026-11-29 06:12:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T06:12:09Z.


Agreed on VICTORY_LIBRARY_MAP: forcing mapped() -> false in the source is wrong for other vendors.
The honest version of that fix is a switch, so here is what I would propose for upstream:

  • VICTORY_LIBRARY_MAP=0 — serialise the library through an ordinary buffer instead of a mapped view
    (default on, as today). This is exactly the --set VICTORY_LIBRARY_MAP=0 you suggested.
  • replace_library: when this run already has the library file mapped, write host-pipelines.next
    instead of renaming over it. That one is safe for everyone — the next start promotes the file before
    it maps anything, so no vendor depends on the old behaviour.
  • VICTORY_AMBIENT getting constant:0.1 as its built-in default: also a policy choice, so it should
    stay a launcher argument rather than a code default. Our launcher now passes everything with
    --set, which solves the real problem I hit: the F1 menu rewrites the settings file and silently
    drops keys it does not manage
    , so a hand-set VICTORY_AMBIENT disappears between runs.
    victory.exe play <game> --set VICTORY_AMBIENT=constant:0.3 --set VICTORY_AMBIENT_AIR=0.8 survives it.

Two questions, if you have the runs at hand:

  1. The crash you still get in the initial cutscenes / when moving Lucia in the prison — was that with the
    library fixes applied, or on unmodified 64d4931b? Ours were:
    its pages were last let go 17.9 s ago; 6 of the 7508 pages looked at read as zeros now (the first is page 185)
    after ~16 minutes, and after the two library changes above a 7–16 minute session ends without a device removal.
  2. Does VICTORY_AMBIENT_AIR=0.8 still help the black squares for you? On our B580 it is the next thing
    we test; on NONE the blocky patches stay.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7251709976 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7251709976). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T06:12:09Z. --- Agreed on `VICTORY_LIBRARY_MAP`: forcing `mapped() -> false` in the source is wrong for other vendors. The honest version of that fix is a switch, so here is what I would propose for upstream: - `VICTORY_LIBRARY_MAP=0` — serialise the library through an ordinary buffer instead of a mapped view (default on, as today). This is exactly the `--set VICTORY_LIBRARY_MAP=0` you suggested. - `replace_library`: when this run already has the library file mapped, write `host-pipelines.next` instead of renaming over it. That one is safe for everyone — the next start promotes the file before it maps anything, so no vendor depends on the old behaviour. - `VICTORY_AMBIENT` getting `constant:0.1` as its built-in default: also a policy choice, so it should stay a launcher argument rather than a code default. Our launcher now passes everything with `--set`, which solves the real problem I hit: **the F1 menu rewrites the settings file and silently drops keys it does not manage**, so a hand-set `VICTORY_AMBIENT` disappears between runs. `victory.exe play <game> --set VICTORY_AMBIENT=constant:0.3 --set VICTORY_AMBIENT_AIR=0.8` survives it. Two questions, if you have the runs at hand: 1. The crash you still get in the initial cutscenes / when moving Lucia in the prison — was that with the library fixes applied, or on unmodified `64d4931b`? Ours were: `its pages were last let go 17.9 s ago; 6 of the 7508 pages looked at read as zeros now (the first is page 185)` after ~16 minutes, and after the two library changes above a 7–16 minute session ends without a device removal. 2. Does `VICTORY_AMBIENT_AIR=0.8` still help the black squares for you? On our B580 it is the next thing we test; on `NONE` the blocky patches stay.
dengarIicdk commented 2026-11-29 07:52:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T07:52:49Z.


Stability report, same machine and build (Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200,
base 64d4931b + mesh-unbind + the two pipeline-library fixes, series-s, 720p, cap 30):

34 minutes in one session, device removals: 0. Up to 14 530 draws per frame, median 8.8 fps in the
world (20.3 max in light scenes, 3–8 in the car chase). The story is now past the prologue into Chapter 1:
prison, store robbery, the chase, dialogue, the boat scene. Before the fixes this was 60–90 seconds and
often never reached the first world frame.

One bug worth fixing for everybody, found while chasing "the second start looks wrong":

VICTORY_MENU_ARGS, the command a run is restarted with, is built as play <title> only — the comment in
apps/victory/src/play.rs even says --set is not carried over. So the warm-up restart (and any restart
from the F1 menu) loses every switch passed on the command line, and the run silently falls back to the
built-in defaults. On Arc that means VICTORY_AMBIENT reverting to the probe estimate, which is the
difference between a readable frame and a black one. Carrying the switches over is a two-line change:

s.insert("VICTORY_MENU_ARGS".to_owned(), format!(
    "play {}{}{}", quoted(&exe),
    if o.no_framegen_ready { " --no-framegen-ready" } else { "" },
    o.more.iter().map(|kv| format!(" --set '{}'", kv.replace('\'', "''"))).collect::<String>()));

Two notes on lighting, for whoever reads this next:

  • the blown-out outdoor frames are best fixed by the title's own brightness slider, not by the layer
    (there is no exposure/tonemap/bloom in victory-gpu); details in #1650
  • VICTORY_AMBIENT_AIR=0.8 softens the blocky dither patches compared with NONE, as @gilmarcs said
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7252747693 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7252747693). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T07:52:49Z. --- Stability report, same machine and build (Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200, base `64d4931b` + mesh-unbind + the two pipeline-library fixes, `series-s`, 720p, cap 30): **34 minutes in one session, device removals: 0.** Up to **14 530 draws per frame**, median 8.8 fps in the world (20.3 max in light scenes, 3–8 in the car chase). The story is now past the prologue into Chapter 1: prison, store robbery, the chase, dialogue, the boat scene. Before the fixes this was 60–90 seconds and often never reached the first world frame. One bug worth fixing for everybody, found while chasing "the second start looks wrong": `VICTORY_MENU_ARGS`, the command a run is restarted with, is built as `play <title>` only — the comment in `apps/victory/src/play.rs` even says `--set` is not carried over. So the warm-up restart (and any restart from the F1 menu) loses every switch passed on the command line, and the run silently falls back to the built-in defaults. On Arc that means `VICTORY_AMBIENT` reverting to the probe estimate, which is the difference between a readable frame and a black one. Carrying the switches over is a two-line change: ```rust s.insert("VICTORY_MENU_ARGS".to_owned(), format!( "play {}{}{}", quoted(&exe), if o.no_framegen_ready { " --no-framegen-ready" } else { "" }, o.more.iter().map(|kv| format!(" --set '{}'", kv.replace('\'', "''"))).collect::<String>())); ``` Two notes on lighting, for whoever reads this next: - the blown-out outdoor frames are best fixed by **the title's own brightness slider**, not by the layer (there is no exposure/tonemap/bloom in `victory-gpu`); details in #1650 - `VICTORY_AMBIENT_AIR=0.8` softens the blocky dither patches compared with `NONE`, as @gilmarcs said
gilmarcs commented 2026-11-29 09:07:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-29T09:07:36Z.


So, I've put it on a loop to find out what's happening, my GPU is failing, after a couple tries it just crashes my entire desktop, but these are the resumes, could match what you've reported.

Intel Arc B580 crash

Reproduction and safeguards

Base command used by the harness:

victory.exe play ".\game_scarlett_master.exe" --series-s --dlss off --fps 30 --set VICTORY_MESH_REST=bind --set VICTORY_TEXTURE_ROOM_PERCENT=40

For each attempt, target/arc-hang/run-attempt.ps1 copies the preserved saves and storage into an isolated profile. The harness waits for 12 draws/frame and injects a single Enter before the Bink video; it does not send Enter repeatedly. Shader warm-up was performed separately (01-shaders.log, 02-native-shaders.log); the full scan found 25,745 shaders. Pipeline warm-up was not run. The experimental texture clamp was reverted.

Available results

Attempt Observed result
01-shaders, 02-native-shaders Shader-only warm-up, separate from pipeline warm-up; full scan found 25,745 shaders. Trace: 02-native-shaders-trace.log.
03-dred-light 0x887A0006; DRED pointed to ExecuteIndirect with mesh 7972997d15fd9e69 and pixel 9f14b72117e2abec.
04-dred-debug Debug-layer state warnings; no comparable reproduction within the run window.
05-dred-no-card-steps Same shader pair at ExecuteIndirect; disabling card steps did not prevent the crash.
06-skip-mesh-shader CPU access violation 0xC0000005; inconclusive for the GPU failure.
07-mesh-scissor 0x887A0006 at DispatchMesh, mesh f0c7efd2aceb2aaa / pixel 7d85c9cab3c80721; a one-pixel scissor did not prevent the error.
08-skip-mesh-dispatch Device removal during submission preparation, with no active GPU list. The mapped library showed ten zero-filled pages, but causation was not established.
09-debug-gbv-dred Full GBV and DRED; the previous run timed out at 240 seconds before comparable gameplay and reported no GBV error.
10-library-held 0x887A0006 while the pipeline library was held in memory; same mesh/pixel pair at ExecuteIndirect.
11-no-indirect-window 0x887A0006 at DispatchMesh with pair f0c7... / 7d85...; disabling the indirect window did not prevent the error.
12-no-indirect-batch 0x887A0006 at ExecuteIndirect with pair 7972... / 9f14...; disabling batching did not prevent it.
13-mesh-ordering-dred Changing PSO binding order did not prevent DispatchMesh or 0x887A0006.
14-mesh-rest-off Control with mesh rest disabled had a different failure at CopyTextureRegion; it did not isolate the cause.
15-dynamic-tables 0x887A0006 at ExecuteIndirect with pair 7972... / 9f14...; DRED did not find the fault address in captured GPU ranges.
16-shader-save Broad dump saved 1,077 shaders, but device removal happened before useful breadcrumbs; changed timing makes it non-comparable.
17-targeted-shaders 0x887A0006 at 103.29 s; host list 1818, command 107/349, ExecuteIndirect, mesh 7972997d15fd9e69 / pixel 9f14b72117e2abec. Fault VA 0x800012e84000. Four filtered shaders were saved under 17-targeted-shaders/dump.

| 18-gbv-extended | Full GBV/DRED confirmed active. The process exited after about 118 s with CPU exception 0xC0000005 in victory-image-...dll+0x23cf683, attempting to write to 0x0; no DXGI_ERROR_DEVICE_HUNG or GBV error was reported before the exception. The run did not reproduce the GPU crash and is non-comparable. The harness sent the single initial Enter and used an isolated profile copy. |rn

Run 17 analysis

Mesh shader user-data word 9 was 0x019f4be0; dividing by the 32-byte descriptor stride gives slot 850527, matching the dynamic-table base reported by DRED. The descriptor at slot 850527 is a placed ByteAddressBuffer view of 0x9c0 bytes; title range 0x6bd042f30+0x9c0, host GPU address 0xffffb80568642f30. Root SRV 2 is a separate range of 0x32d7d0 bytes (0x691ed2830, host 0xffffb8052aed2830).

The DXIL reads the first buffer at fixed offsets 0 and 4, then 12+16*n and 16+16*n, and at further offsets derived from buffer fields and masked with 0x7ffffffc. The dump does not contain the indirect execution values or those buffer contents, so it does not prove an out-of-bounds access. The page-fault address 0x800012e84000 is in device/driver address space and cannot be compared directly with the logged host addresses (0xffff...). This recurring shader pair remains a strong candidate, but the root cause is unconfirmed.

Pipeline library

Persisted file: C:\Users\gilma\AppData\Local\Temp\victory-arc-hang-c428ddc\cache\pipelines\host-pipelines.bin (35,754,546 bytes), SHA-256 1579fd6d9409254ce0de35a2835108023e6f39f1425d405a9861fd7028cb1c6b. Ten zero-filled pages were found inside the file; the entire file is not zero. The same hash and page set were present before the run with mapping disabled, which also reproduced the crash.

Next step

Repeat full GBV/DRED for longer with the shader cache already warm and without pipeline warm-up. If GBV does not report an invalid access before device removal, instrument or capture the indirect arguments and access values at the recurring dispatch. Do not alter the preserved game profile.

Log index

Attempt logs and statuses are under target/arc-hang/<attempt>/ (play.log, stderr.log, stdout.log, and status.txt when available). Harness: target/arc-hang/run-attempt.ps1. Warm-up: 01-shaders.log, 02-native-shaders.log, 02-native-shaders-trace.log. Disassembly: 17-targeted-shaders/797-mesh-disasm.txt and 9f14-pixel-disasm.txt.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253553430 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7253553430). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-29T09:07:36Z. --- So, I've put it on a loop to find out what's happening, my GPU is failing, after a couple tries it just crashes my entire desktop, but these are the resumes, could match what you've reported. # Intel Arc B580 crash ## Reproduction and safeguards Base command used by the harness: ```powershell victory.exe play ".\game_scarlett_master.exe" --series-s --dlss off --fps 30 --set VICTORY_MESH_REST=bind --set VICTORY_TEXTURE_ROOM_PERCENT=40 ``` For each attempt, `target/arc-hang/run-attempt.ps1` copies the preserved `saves` and `storage` into an isolated profile. The harness waits for `12 draws/frame` and injects a single Enter before the Bink video; it does not send Enter repeatedly. Shader warm-up was performed separately (`01-shaders.log`, `02-native-shaders.log`); the full scan found 25,745 shaders. Pipeline warm-up was not run. The experimental texture clamp was reverted. ## Available results | Attempt | Observed result | | --- | --- | | `01-shaders`, `02-native-shaders` | Shader-only warm-up, separate from pipeline warm-up; full scan found 25,745 shaders. Trace: `02-native-shaders-trace.log`. | | `03-dred-light` | `0x887A0006`; DRED pointed to `ExecuteIndirect` with mesh `7972997d15fd9e69` and pixel `9f14b72117e2abec`. | | `04-dred-debug` | Debug-layer state warnings; no comparable reproduction within the run window. | | `05-dred-no-card-steps` | Same shader pair at `ExecuteIndirect`; disabling card steps did not prevent the crash. | | `06-skip-mesh-shader` | CPU access violation `0xC0000005`; inconclusive for the GPU failure. | | `07-mesh-scissor` | `0x887A0006` at `DispatchMesh`, mesh `f0c7efd2aceb2aaa` / pixel `7d85c9cab3c80721`; a one-pixel scissor did not prevent the error. | | `08-skip-mesh-dispatch` | Device removal during submission preparation, with no active GPU list. The mapped library showed ten zero-filled pages, but causation was not established. | | `09-debug-gbv-dred` | Full GBV and DRED; the previous run timed out at 240 seconds before comparable gameplay and reported no GBV error. | | `10-library-held` | `0x887A0006` while the pipeline library was held in memory; same mesh/pixel pair at `ExecuteIndirect`. | | `11-no-indirect-window` | `0x887A0006` at `DispatchMesh` with pair `f0c7...` / `7d85...`; disabling the indirect window did not prevent the error. | | `12-no-indirect-batch` | `0x887A0006` at `ExecuteIndirect` with pair `7972...` / `9f14...`; disabling batching did not prevent it. | | `13-mesh-ordering-dred` | Changing PSO binding order did not prevent `DispatchMesh` or `0x887A0006`. | | `14-mesh-rest-off` | Control with mesh rest disabled had a different failure at `CopyTextureRegion`; it did not isolate the cause. | | `15-dynamic-tables` | `0x887A0006` at `ExecuteIndirect` with pair `7972...` / `9f14...`; DRED did not find the fault address in captured GPU ranges. | | `16-shader-save` | Broad dump saved 1,077 shaders, but device removal happened before useful breadcrumbs; changed timing makes it non-comparable. | | `17-targeted-shaders` | `0x887A0006` at 103.29 s; host list 1818, command 107/349, `ExecuteIndirect`, mesh `7972997d15fd9e69` / pixel `9f14b72117e2abec`. Fault VA `0x800012e84000`. Four filtered shaders were saved under `17-targeted-shaders/dump`. | | `18-gbv-extended` | Full GBV/DRED confirmed active. The process exited after about 118 s with CPU exception `0xC0000005` in `victory-image-...dll+0x23cf683`, attempting to write to `0x0`; no `DXGI_ERROR_DEVICE_HUNG` or GBV error was reported before the exception. The run did not reproduce the GPU crash and is non-comparable. The harness sent the single initial Enter and used an isolated profile copy. |`r`n ## Run 17 analysis Mesh shader user-data word 9 was `0x019f4be0`; dividing by the 32-byte descriptor stride gives slot 850527, matching the dynamic-table base reported by DRED. The descriptor at slot 850527 is a placed `ByteAddressBuffer` view of 0x9c0 bytes; title range `0x6bd042f30+0x9c0`, host GPU address `0xffffb80568642f30`. Root SRV 2 is a separate range of 0x32d7d0 bytes (`0x691ed2830`, host `0xffffb8052aed2830`). The DXIL reads the first buffer at fixed offsets 0 and 4, then `12+16*n` and `16+16*n`, and at further offsets derived from buffer fields and masked with `0x7ffffffc`. The dump does not contain the indirect execution values or those buffer contents, so it does not prove an out-of-bounds access. The page-fault address `0x800012e84000` is in device/driver address space and cannot be compared directly with the logged host addresses (`0xffff...`). This recurring shader pair remains a strong candidate, but the root cause is unconfirmed. ## Pipeline library Persisted file: `C:\Users\gilma\AppData\Local\Temp\victory-arc-hang-c428ddc\cache\pipelines\host-pipelines.bin` (35,754,546 bytes), SHA-256 `1579fd6d9409254ce0de35a2835108023e6f39f1425d405a9861fd7028cb1c6b`. Ten zero-filled pages were found inside the file; the entire file is not zero. The same hash and page set were present before the run with mapping disabled, which also reproduced the crash. ## Next step Repeat full GBV/DRED for longer with the shader cache already warm and without pipeline warm-up. If GBV does not report an invalid access before device removal, instrument or capture the indirect arguments and access values at the recurring dispatch. Do not alter the preserved game profile. ## Log index Attempt logs and statuses are under `target/arc-hang/<attempt>/` (`play.log`, `stderr.log`, `stdout.log`, and `status.txt` when available). Harness: `target/arc-hang/run-attempt.ps1`. Warm-up: `01-shaders.log`, `02-native-shaders.log`, `02-native-shaders-trace.log`. Disassembly: `17-targeted-shaders/797-mesh-disasm.txt` and `9f14-pixel-disasm.txt`.
dengarIicdk commented 2026-11-29 09:36:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T09:36:38Z.


Eighteen attempts is a lot of work; thank you. A fourth B580 (driver 32.0.101.9175, Windows 11 26200) can add
one data point that may cut the search down.

Both recurring pairs were live in a 34-minute crash-free session

In our longest clean run (victory-nvidia-play-20261129-071734-15084.log, 2052 s, 316 world frames, up to
14 530 draws per frame, zero device removals), the exact pairs from your attempts 03/07/11/12/17 were
translated and bound as host mesh pipelines:

07:17:43.907986 host mesh pipeline shaders=[mesh 7972997d15fd9e69, pixel 9f14b72117e2abec]
07:17:43.908089 host mesh pipeline shaders=[mesh f0c7efd2aceb2aaa, pixel 7d85c9cab3c80721]

So the pair on its own is not sufficient: on our machine those two ran for half an hour without a device
removal. Something about how they are bound or what follows them is what kills it.

Our workaround is not MESH_REST=bind

The patch we run with (gilmarcs' own mesh-unbind, level 1) does the opposite of the rest pipeline: after a mesh
dispatch executes, it binds a trivial vertex PSO in its place — a vs_5_1 that returns a single
SV_Position and never draws — so when the next list in the same submission runs, the current PSO is not a
mesh pipeline. Doc comment in our tree: "Makes the vertex pipeline that replaces a mesh pipeline after
execution."

That is a different cut from "bind a rest pipeline before other work": the mesh dispatch is allowed to run,
and what is guaranteed is that it is not the current PSO for anything after it, across the submission
boundary. Your 13 (mesh-ordering-dred) shows plain reordering is not it, which fits: reordering within the
frame still leaves a mesh PSO current when the next command list starts.

If that is cheap to try on your harness, the A/B would be: unbind after execution (ours) versus
VICTORY_MESH_REST=bind (yours), everything else equal. We have logs from seven consecutive runs on this
build — 220, 301, 312, 315, 398 and 2052 seconds — all with zero device removals, ending only because the
window was closed (after which the layer prints "title did not finish suspending in time; ending the title").
The patch is in the gist already linked above; I am happy to send the exact diff for your tree.

The pipeline library agrees with you

We reached the same conclusion as attempts 08 and 10 and can put numbers on it: our log showed
6 of the 7508 pages looked at read as zeros (the first is page 185), followed by 0x887A0004. Fixing it
properly (write host-pipelines.next instead of renaming over a mapped file, and VICTORY_LIBRARY_MAP=0)
took 0x80070057 from 64 per run to 0, and long sessions stopped dying there — but the mesh hang was fixed
by the workaround above, not by that. We also saw your ten zero pages persist with mapping off. Not causal,
agreed.

One question

You wrote that a couple of attempts took the whole desktop down. We have never seen that here: on our B580 the
fault always stayed inside the process (0x887A0004, later 0x887A0006 in other builds). Do those desktop
crashes only appear in the DRED/GBV attempts, or also in plain gameplay runs? It matters for anyone deciding
whether to run the debug layer on this card.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253877658 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7253877658). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T09:36:38Z. --- Eighteen attempts is a lot of work; thank you. A fourth B580 (driver 32.0.101.9175, Windows 11 26200) can add one data point that may cut the search down. ## Both recurring pairs were live in a 34-minute crash-free session In our longest clean run (`victory-nvidia-play-20261129-071734-15084.log`, 2052 s, 316 world frames, up to 14 530 draws per frame, **zero device removals**), the exact pairs from your attempts 03/07/11/12/17 were translated and bound as host mesh pipelines: ``` 07:17:43.907986 host mesh pipeline shaders=[mesh 7972997d15fd9e69, pixel 9f14b72117e2abec] 07:17:43.908089 host mesh pipeline shaders=[mesh f0c7efd2aceb2aaa, pixel 7d85c9cab3c80721] ``` So the pair on its own is not sufficient: on our machine those two ran for half an hour without a device removal. Something about *how* they are bound or what follows them is what kills it. ## Our workaround is not `MESH_REST=bind` The patch we run with (gilmarcs' own mesh-unbind, level 1) does the opposite of the rest pipeline: after a mesh dispatch **executes**, it binds a trivial vertex PSO in its place — a `vs_5_1` that returns a single `SV_Position` and never draws — so when the next list in the same submission runs, the current PSO is not a mesh pipeline. Doc comment in our tree: "Makes the vertex pipeline that replaces a mesh pipeline after execution." That is a different cut from "bind a rest pipeline before other work": the mesh dispatch is allowed to run, and what is guaranteed is that it is not the *current* PSO for anything after it, across the submission boundary. Your 13 (`mesh-ordering-dred`) shows plain reordering is not it, which fits: reordering within the frame still leaves a mesh PSO current when the next command list starts. If that is cheap to try on your harness, the A/B would be: unbind after execution (ours) versus `VICTORY_MESH_REST=bind` (yours), everything else equal. We have logs from seven consecutive runs on this build — 220, 301, 312, 315, 398 and 2052 seconds — all with zero device removals, ending only because the window was closed (after which the layer prints "title did not finish suspending in time; ending the title"). The patch is in the gist already linked above; I am happy to send the exact diff for your tree. ## The pipeline library agrees with you We reached the same conclusion as attempts 08 and 10 and can put numbers on it: our log showed `6 of the 7508 pages looked at read as zeros (the first is page 185)`, followed by `0x887A0004`. Fixing it properly (write `host-pipelines.next` instead of renaming over a mapped file, and `VICTORY_LIBRARY_MAP=0`) took `0x80070057` from 64 per run to **0**, and long sessions stopped dying there — but the mesh hang was fixed by the workaround above, not by that. We also saw your ten zero pages persist with mapping off. Not causal, agreed. ## One question You wrote that a couple of attempts took the whole desktop down. We have never seen that here: on our B580 the fault always stayed inside the process (`0x887A0004`, later `0x887A0006` in other builds). Do those desktop crashes only appear in the DRED/GBV attempts, or also in plain gameplay runs? It matters for anyone deciding whether to run the debug layer on this card.
gilmarcs commented 2026-11-29 09:47:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-29T09:47:34Z.


I'll check with your patch and with the same configs of the #2044, so if continues crashing my desktop, I'll consider that's my hardware's problem

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253998635 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7253998635). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-29T09:47:34Z. --- I'll check with your patch and with the same configs of the #2044, so if continues crashing my desktop, I'll consider that's my hardware's problem
gilmarcs commented 2026-11-29 10:25:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-29T10:25:32Z.


Tested with the patch and configs of #2044 put still crashing my desktop entirely, I'll not investigate it anymore because of my hardware... If I 'm the only with this crash probably something is wrong here

--set VICTORY_MENU_CONSOLE=series-s --set VICTORY_MENU_FPS=30 --set VICTORY_AMBIENT=constant:0.3 --set VICTORY_AMBIENT_AIR=0.8 --set VICTORY_BVH_BUILDER=0 --set VICTORY_MOUSE_CAPTURE=1 --set VICTORY_MOUSE_WARP=1 --set VICTORY_IME_ENGLISH=1 --set VICTORY_MESH_UNBIND=1

edit: the crash I've seen is another one

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7254425302 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7254425302). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-29T10:25:32Z. --- Tested with the patch and configs of #2044 put still crashing my desktop entirely, I'll not investigate it anymore because of my hardware... If I 'm the only with this crash probably something is wrong here ``` --set VICTORY_MENU_CONSOLE=series-s --set VICTORY_MENU_FPS=30 --set VICTORY_AMBIENT=constant:0.3 --set VICTORY_AMBIENT_AIR=0.8 --set VICTORY_BVH_BUILDER=0 --set VICTORY_MOUSE_CAPTURE=1 --set VICTORY_MOUSE_WARP=1 --set VICTORY_IME_ENGLISH=1 --set VICTORY_MESH_UNBIND=1 ``` edit: the crash I've seen is another one
dengarIicdk commented 2026-11-29 10:34:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T10:34:39Z.


One thing worth checking before you call it hardware: --set VICTORY_MESH_UNBIND=1 only does something in a build
that contains the unbind code. On our side it is source, not a switch:

  • Host::make_mesh_unbind_pipeline() compiles a vs_5_1 that returns a single SV_Position and never draws
  • draw.rs binds it after a mesh dispatch executes, so no mesh PSO is current when the next list starts
  • only then does VICTORY_MESH_UNBIND=1 (or the default we compile in) matter

A binary built after #546 has mesh_rest instead, and passes VICTORY_MESH_UNBIND through to nothing. So if you
ran the config on a release or master build, the mesh workaround was never active — which would explain the same
crash. If you ran it on a build with your level-1 patch, then forget this note.

That said, your failure and ours differ in kind, and yours is the worse one: we have never lost the desktop.
Across five sessions today, 60+ minutes in total on the same driver (32.0.101.9175) and the same card, every
failure stayed inside the process (0x887A0004, 0x887A0006), the process exited, Windows stayed up. A
whole-desktop crash is a display-driver reset, and on Battlemage that has a few usual causes unrelated to this
code:

  • the power limit: an A-series/B-series spike can drop the card and reset the display driver; capping the power
    limit or setting a small underclock removes exactly this class of failure
  • ReBAR on plus a driver installed over an older one: a clean install with DDU, then the newest driver
  • PCIe power saving (ASPM) in the BIOS, and a marginal PSU rail on the 8-pin

If you want to separate hardware from code with one test: run the old 64d4931b build with the mesh-unbind patch
(the gist linked above) for half an hour. That build has never reset a display here. If it resets yours, the code
is not the cause and your hardware conclusion is right.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7254527848 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7254527848). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T10:34:39Z. --- One thing worth checking before you call it hardware: `--set VICTORY_MESH_UNBIND=1` only does something in a build that **contains the unbind code**. On our side it is source, not a switch: - `Host::make_mesh_unbind_pipeline()` compiles a `vs_5_1` that returns a single `SV_Position` and never draws - `draw.rs` binds it after a mesh dispatch executes, so no mesh PSO is current when the next list starts - only then does `VICTORY_MESH_UNBIND=1` (or the default we compile in) matter A binary built after #546 has `mesh_rest` instead, and passes `VICTORY_MESH_UNBIND` through to nothing. So if you ran the config on a release or master build, the mesh workaround was never active — which would explain the same crash. If you ran it on a build with your level-1 patch, then forget this note. That said, your failure and ours differ in kind, and yours is the worse one: **we have never lost the desktop.** Across five sessions today, 60+ minutes in total on the same driver (32.0.101.9175) and the same card, every failure stayed inside the process (`0x887A0004`, `0x887A0006`), the process exited, Windows stayed up. A whole-desktop crash is a display-driver reset, and on Battlemage that has a few usual causes unrelated to this code: - the power limit: an A-series/B-series spike can drop the card and reset the display driver; capping the power limit or setting a small underclock removes exactly this class of failure - ReBAR on plus a driver installed over an older one: a clean install with DDU, then the newest driver - PCIe power saving (ASPM) in the BIOS, and a marginal PSU rail on the 8-pin If you want to separate hardware from code with one test: run the old `64d4931b` build with the mesh-unbind patch (the gist linked above) for half an hour. That build has never reset a display here. If it resets yours, the code is not the cause and your hardware conclusion is right.
gilmarcs commented 2026-11-29 10:36:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gilmarcs on 2026-11-29T10:36:14Z.


@dengarIicdk I've applied the patch and reviewed the code, the VICTORY_MESH_UNBIND was present

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7254545395 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7254545395). Originally posted by [gilmarcs](https://github.com/gilmarcs) on 2026-11-29T10:36:14Z. --- @dengarIicdk I've applied the patch and reviewed the code, the VICTORY_MESH_UNBIND was present
dengarIicdk commented 2026-11-29 10:37:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T10:37:08Z.


There is a likely explanation for the config crashing other machines, and it is not the config being wrong: the
switches mean different things in the old and the new tree.

VICTORY_BVH_BUILDER=0 does not turn ray tracing off. It only leaves out the structure builder. Everything else
in the chain keeps running unless it is switched off separately:

pass left out only when
CS_RaytracingResolve (shades the hits) VICTORY_RT_RESOLVE is not 1
CS_ScreenProbes_ActivateRays VICTORY_ACTIVATE_RAYS=0
ray-traced skinning / hair geometry the newer dead_rt_left_out policy

On the old commit that we run (64d4931b) those defaults skip the passes: the log shows
dropped 866/frame: shades ray-tracing hits without BVH, so nothing traverses. In a build where the resolve or
the activation is enabled (an F1 menu saved RAY TRACING on, or a settings file carrying VICTORY_RT_RESOLVE=1
from an earlier experiment), the same command line leaves rays traversing an unbuilt structure. On our card
that shows up as magenta or violet surfaces and dropped passes; a card that resets the display instead of
recovering could take the desktop down with it.

So for anyone reproducing our numbers, be explicit about all three:

--set VICTORY_ACTIVATE_RAYS=0 --set VICTORY_RT_RESOLVE=0

and drop VICTORY_BVH_BUILDER=0 entirely, or set ray tracing off in the F1 menu. Also worth checking that
%LOCALAPPDATA%\victory\victory-settings.txt does not carry keys from an older experiment: play applies the F1
menu's file on every start, and a stale VICTORY_BVH_BUILDER=1 or VICTORY_RT_RESOLVE=1 there overrides what you
think you passed.

One more, since it came up twice: --set VICTORY_MESH_UNBIND=1 only exists in a build with the unbind patch. A
build after #546 has VICTORY_MESH_REST=bind|draw|off instead, and VICTORY_MESH_UNBIND there is a name nothing
reads.

Finally, the honest note on our numbers: our record of 34 minutes and zero device removals comes from
64d4931b plus our patches, not from a current release.
If someone applies these switches to a newer build and
it fails differently, that is a different code path, not a contradiction of the measurement. The 622 pipeline
refusals with 0x8007000E reported above are what the newest builds do on this card, and VICTORY_LIBRARY_MAP=0
took them down to 13 — worth trying before concluding anything about the hardware.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7254555299 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7254555299). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T10:37:08Z. --- There is a likely explanation for the config crashing other machines, and it is not the config being wrong: **the switches mean different things in the old and the new tree.** `VICTORY_BVH_BUILDER=0` does not turn ray tracing off. It only leaves out the structure builder. Everything else in the chain keeps running unless it is switched off separately: | pass | left out only when | |---|---| | `CS_RaytracingResolve` (shades the hits) | `VICTORY_RT_RESOLVE` is not `1` | | `CS_ScreenProbes_ActivateRays` | `VICTORY_ACTIVATE_RAYS=0` | | ray-traced skinning / hair geometry | the newer `dead_rt_left_out` policy | On the old commit that we run (`64d4931b`) those defaults skip the passes: the log shows `dropped 866/frame: shades ray-tracing hits without BVH`, so nothing traverses. In a build where the resolve or the activation is enabled (an F1 menu saved `RAY TRACING` on, or a settings file carrying `VICTORY_RT_RESOLVE=1` from an earlier experiment), the same command line leaves rays traversing an **unbuilt** structure. On our card that shows up as magenta or violet surfaces and dropped passes; a card that resets the display instead of recovering could take the desktop down with it. So for anyone reproducing our numbers, be explicit about all three: ``` --set VICTORY_ACTIVATE_RAYS=0 --set VICTORY_RT_RESOLVE=0 ``` and drop `VICTORY_BVH_BUILDER=0` entirely, or set ray tracing off in the F1 menu. Also worth checking that `%LOCALAPPDATA%\victory\victory-settings.txt` does not carry keys from an older experiment: `play` applies the F1 menu's file on every start, and a stale `VICTORY_BVH_BUILDER=1` or `VICTORY_RT_RESOLVE=1` there overrides what you think you passed. One more, since it came up twice: `--set VICTORY_MESH_UNBIND=1` only exists in a build with the unbind patch. A build after #546 has `VICTORY_MESH_REST=bind|draw|off` instead, and `VICTORY_MESH_UNBIND` there is a name nothing reads. Finally, the honest note on our numbers: **our record of 34 minutes and zero device removals comes from `64d4931b` plus our patches, not from a current release.** If someone applies these switches to a newer build and it fails differently, that is a different code path, not a contradiction of the measurement. The 622 pipeline refusals with `0x8007000E` reported above are what the newest builds do on this card, and `VICTORY_LIBRARY_MAP=0` took them down to 13 — worth trying before concluding anything about the hardware.
cbw2580147369-commits commented 2026-11-29 12:51:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cbw2580147369-commits on 2026-11-29T12:51:56Z.


Twelve hours of runs on a third Arc B580 (Windows 10 19045, 16 GB, driver 32.0.101.9175), and both answers are actual runs rather than recollection.

1. Which build - neither of yours. Ours has no library change at all

Base is 959dcaf (fxceless main, 28 November) with the Agility work and #546 applied by hand: no VICTORY_LIBRARY_MAP, no replace_library change. So our runs are an unmodified-library control, and a newer base than 64d4931b.

What that control produced, over 10 play logs:

  • Not one read as zeros line. The library is reported as the pipeline library's file 59 MB at every copystat sample.
  • Our crashes are the memory wall, not the cutscene crash: 544 s / 9 min 4 s at world with 24.7 GB private on 16 GB of RAM, ending on the title's own supervisor with memory.load_percent=92, system.memory.free=1194488. Frame rates 18-20 fps light, 12.7 intro field, 12 night street, 7-9 heavy.
  • Exactly one device removal in all of it, and it was mine, not the library's: with VICTORY_TEXTURE_BUDGET_MB=2500 + TEXTURE_ROOM_PERCENT=50 I got 0x887A0005 (device instance suspended) on host mesh pipeline refused, then 0x887A0006 on host::awake, then host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 42 lists; no breadcrumbs. The session shrank from 544 s to 242 s and memory climbed faster, because a low budget evicts host copies that are needed again immediately: 23.9 GB at 212 s against 16 GB at the same point with the default. Same for VICTORY_KEEP_FREED=0, which put the menus at 20.7 GB where the control sits at 8.5 GB.

So if anyone is fighting memory with budget knobs: that is how you get a device removal on this card without touching the library path. The default budget plus MESH_REST=draw is what survives.

2. VICTORY_AMBIENT_AIR=0.8 does not clear the blocks

Fresh run today, draw + room 60 + VICTORY_AMBIENT_AIR=0.8 (play's default is 1.5):

  • Dark interior, in-car credits scene at 12.3 fps: white and silver dithered blocks cover the shadowed half of the frame. Still there, still obvious, at 0.8.
  • Sunlit street at 13.8 fps: mean 151 of 255, 7.0% of pixels clipped, and the bloom haze washes the car and the road - the same behaviour as at 1.5, which matches what you and @serrot1005 measured.
  • No device removal, no zero pages, in this run.

Weak supporting number, and I want to flag it as weak: with an 8x8 block measure over the scene (share of blocks that are mid-dark on average but noisy inside), the dark interior at 0.8 gives 1.04% against 1.81% for the night street at 1.5. Different scenes and different lighting, so treat that as a hint that 0.8 softens the dither, not as a measurement - your own note ("0.8 makes them softer than NONE") is the better evidence.

Frames and the per-frame measure, if useful:

Field report with every sample: https://github.com/cbw2580147369-commits/victory-arc-b580

3. What the run taught about session length

That same run went on for 28 min 25 s in total and ended on the title's own Breakpad with 823 MB of free system memory (system.memory.total=16660468) - the memory wall again, no device removal. It survived that long because it sat in the intro cutscenes and credits, where the draw count falls from 3482 to ~1055 per frame and private memory plateaus at 22.8 GB. Free roam keeps streaming and dies at 9 minutes on the same 16 GB. So length here is a property of where the camera is, not of the light mode: AMBIENT_AIR=0.8 and 1.5 were otherwise indistinguishable.

One thing I would add to your launcher argument: powershell -File joins -Extra a,b into one comma-separated string, and play deletes every VICTORY_* it was not told about, so a joined --set silently leaves defaults in place (mode=Bind when you think you are in Draw). Worth printing the switches: line back at start.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256118373 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7256118373). Originally posted by [cbw2580147369-commits](https://github.com/cbw2580147369-commits) on 2026-11-29T12:51:56Z. --- Twelve hours of runs on a third Arc B580 (Windows 10 19045, 16 GB, driver 32.0.101.9175), and both answers are actual runs rather than recollection. ## 1. Which build - neither of yours. Ours has no library change at all Base is `959dcaf` (fxceless main, 28 November) with the Agility work and #546 applied by hand: **no `VICTORY_LIBRARY_MAP`, no `replace_library` change**. So our runs are an unmodified-library control, and a newer base than `64d4931b`. What that control produced, over 10 play logs: - **Not one** `read as zeros` line. The library is reported as `the pipeline library's file 59 MB` at every copystat sample. - Our crashes are the memory wall, not the cutscene crash: 544 s / 9 min 4 s at world with **24.7 GB private** on 16 GB of RAM, ending on the title's own supervisor with `memory.load_percent=92`, `system.memory.free=1194488`. Frame rates 18-20 fps light, 12.7 intro field, 12 night street, 7-9 heavy. - Exactly **one** device removal in all of it, and it was mine, not the library's: with `VICTORY_TEXTURE_BUDGET_MB=2500` + `TEXTURE_ROOM_PERCENT=50` I got `0x887A0005` (device instance suspended) on `host mesh pipeline refused`, then `0x887A0006` on `host::awake`, then `host GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 42 lists; no breadcrumbs`. The session shrank from 544 s to 242 s and memory climbed **faster**, because a low budget evicts host copies that are needed again immediately: 23.9 GB at 212 s against 16 GB at the same point with the default. Same for `VICTORY_KEEP_FREED=0`, which put the menus at 20.7 GB where the control sits at 8.5 GB. So if anyone is fighting memory with budget knobs: that is how you get a device removal on this card without touching the library path. The default budget plus `MESH_REST=draw` is what survives. ## 2. `VICTORY_AMBIENT_AIR=0.8` does not clear the blocks Fresh run today, `draw` + `room 60` + `VICTORY_AMBIENT_AIR=0.8` (play's default is 1.5): - Dark interior, in-car credits scene at 12.3 fps: white and silver dithered blocks **cover the shadowed half of the frame**. Still there, still obvious, at 0.8. - Sunlit street at 13.8 fps: mean **151 of 255**, 7.0% of pixels clipped, and the bloom haze washes the car and the road - the same behaviour as at 1.5, which matches what you and @serrot1005 measured. - No device removal, no zero pages, in this run. Weak supporting number, and I want to flag it as weak: with an 8x8 block measure over the scene (share of blocks that are mid-dark on average but noisy inside), the dark interior at 0.8 gives **1.04%** against **1.81%** for the night street at 1.5. Different scenes and different lighting, so treat that as a hint that 0.8 softens the dither, not as a measurement - your own note ("0.8 makes them softer than NONE") is the better evidence. Frames and the per-frame measure, if useful: - https://github.com/cbw2580147369-commits/victory-arc-b580/blob/main/evidence/2026-11-29-air08/blocks-dark-interior-air08-12fps.jpg - https://github.com/cbw2580147369-commits/victory-arc-b580/blob/main/evidence/2026-11-29-air08/sunlit-street-blown-air08-14fps.jpg - https://github.com/cbw2580147369-commits/victory-arc-b580/blob/main/scripts/frame-stats.py - mean, clipped, crushed, spread and the block share, scene only with the FPS strip cut off, so two frames can be compared the way #1650 does it. Field report with every sample: https://github.com/cbw2580147369-commits/victory-arc-b580 ## 3. What the run taught about session length That same run went on for **28 min 25 s in total** and ended on the title's own Breakpad with 823 MB of free system memory (`system.memory.total=16660468`) - the memory wall again, no device removal. It survived that long because it sat in the intro cutscenes and credits, where the draw count falls from 3482 to ~1055 per frame and private memory plateaus at 22.8 GB. Free roam keeps streaming and dies at 9 minutes on the same 16 GB. So length here is a property of where the camera is, not of the light mode: `AMBIENT_AIR=0.8` and `1.5` were otherwise indistinguishable. One thing I would add to your launcher argument: `powershell -File` joins `-Extra a,b` into one comma-separated string, and `play` deletes every `VICTORY_*` it was not told about, so a joined `--set` silently leaves defaults in place (`mode=Bind` when you think you are in `Draw`). Worth printing the `switches:` line back at start.
dengarIicdk commented 2026-11-29 13:21:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T13:21:43Z.


Two things in here are directly useful to us, and one question.

The budget warning matches what we measured from the other side. With the pool off or a low line,
the texture queue's room: 6746 MB in use - 86 MB free and 26 155 of 28 000 slots waiting, frames went to
2.4-8.9 seconds, and with TEXTURE_POOL=0 the run sat at 0.2-0.4 fps with a black screen while the GPU was
idle (0.2-28 ms of GPU time per frame). Your finding that a low budget makes memory climb faster, because the
host copies are evicted and immediately needed again, explains why our numbers were that bad. We are testing your
profile on our card now: default budget, no room percent, MESH_REST=draw.

The library control is the interesting disagreement, and I think the bases explain it. We saw
6 of the 7508 pages looked at read as zeros (the first is page 185) followed by 0x887A0004 on 64d4931b,
where the mapped library was new that day. Your 959dcaf plus #546 shows not one such line. That suggests the
zero pages were fixed between those bases (the handle kept open while mapped is in the master now), rather than
being a hardware thing. Our own fix — write host-pipelines.next instead of renaming over a mapped file, and
VICTORY_LIBRARY_MAP=0 — took 0x80070057 from 64 per run to 0, but I would not claim it is needed any more.

The question: in your ten logs, do you see any host pipeline failed ... stage="compute" hr=0x8007000e
lines? On the release tag v2026.11.29.01 we get 622 of them per run (compute 319, graphics 267, mesh 36)
with the video budget nearly untouched (budget 11349 MB, in use 117 MB), and VICTORY_LIBRARY_MAP=0 takes that
to 13. Those refusals are what leaves our screen pipelines unmade and stalls 10 s per frame
(ms=10000 made=false). If your base does not produce them at all, then that is a second difference between the
bases worth pinning down, and it would explain why the same knobs behave differently for us.

Also noted on powershell -File joining -Extra a,b: we hit the same class of bug from the other side. play
clears every VICTORY_* it was not told about, so a switch passed any way but --set silently disappears; we now
put everything on the command line after --set and read the switches: line back at every start.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256480544 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7256480544). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T13:21:43Z. --- Two things in here are directly useful to us, and one question. **The budget warning matches what we measured from the other side.** With the pool off or a low line, `the texture queue's room: 6746 MB in use - 86 MB free` and 26 155 of 28 000 slots waiting, frames went to 2.4-8.9 **seconds**, and with `TEXTURE_POOL=0` the run sat at 0.2-0.4 fps with a black screen while the GPU was idle (0.2-28 ms of GPU time per frame). Your finding that a low budget makes memory climb faster, because the host copies are evicted and immediately needed again, explains why our numbers were that bad. We are testing your profile on our card now: default budget, no room percent, `MESH_REST=draw`. **The library control is the interesting disagreement, and I think the bases explain it.** We saw `6 of the 7508 pages looked at read as zeros (the first is page 185)` followed by `0x887A0004` on `64d4931b`, where the mapped library was new that day. Your `959dcaf` plus #546 shows not one such line. That suggests the zero pages were fixed between those bases (the handle kept open while mapped is in the master now), rather than being a hardware thing. Our own fix — write `host-pipelines.next` instead of renaming over a mapped file, and `VICTORY_LIBRARY_MAP=0` — took `0x80070057` from 64 per run to 0, but I would not claim it is needed any more. **The question:** in your ten logs, do you see any `host pipeline failed ... stage="compute" hr=0x8007000e` lines? On the release tag `v2026.11.29.01` we get **622** of them per run (compute 319, graphics 267, mesh 36) with the video budget nearly untouched (`budget 11349 MB, in use 117 MB`), and `VICTORY_LIBRARY_MAP=0` takes that to **13**. Those refusals are what leaves our screen pipelines unmade and stalls 10 s per frame (`ms=10000 made=false`). If your base does not produce them at all, then that is a second difference between the bases worth pinning down, and it would explain why the same knobs behave differently for us. Also noted on `powershell -File` joining `-Extra a,b`: we hit the same class of bug from the other side. `play` clears every `VICTORY_*` it was not told about, so a switch passed any way but `--set` silently disappears; we now put everything on the command line after `--set` and read the `switches:` line back at every start.
dengarIicdk commented 2026-11-29 13:30:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T13:30:10Z.


Two concrete asks, since a lot of logs have piled up in here.

@cbw2580147369-commits — in the ten logs on your 959dcaf base, do you see any
host pipeline failed ... stage="compute" hr=0x8007000e lines? On the release tag we get 622 of them per run
(compute 319, graphics 267, mesh 36) with the video budget nearly untouched, and they are what leaves our screen
pipelines unmade. Your base reports none. If that holds for you, the regression is between your base and the tag,
and it is worth more than any switch we have tried.

@gilmarcs — the one test that separates hardware from code: the old 64d4931b build with your level-1
mesh-unbind patch (the gist linked in the first post), run for half an hour. That build has never reset a display
here over five sessions and 60+ minutes. If it resets yours, your hardware conclusion is right and nobody needs to
chase it further. If it does not, the desktop resets are a newer-code problem and worth reporting with the log.

Our current summary of what works on an Arc B580, and what each build does, is in #2044.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256585466 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7256585466). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T13:30:10Z. --- Two concrete asks, since a lot of logs have piled up in here. **@cbw2580147369-commits** — in the ten logs on your `959dcaf` base, do you see any `host pipeline failed ... stage="compute" hr=0x8007000e` lines? On the release tag we get **622** of them per run (compute 319, graphics 267, mesh 36) with the video budget nearly untouched, and they are what leaves our screen pipelines unmade. Your base reports none. If that holds for you, the regression is between your base and the tag, and it is worth more than any switch we have tried. **@gilmarcs** — the one test that separates hardware from code: the old `64d4931b` build with your level-1 mesh-unbind patch (the gist linked in the first post), run for half an hour. That build has never reset a display here over five sessions and 60+ minutes. If it resets yours, your hardware conclusion is right and nobody needs to chase it further. If it does not, the desktop resets are a newer-code problem and worth reporting with the log. Our current summary of what works on an Arc B580, and what each build does, is in #2044.
cbw2580147369-commits commented 2026-11-29 14:00:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cbw2580147369-commits on 2026-11-29T14:00:32Z.


Counted it for you, over all ten play logs on 959dcaf (Windows 10 19045, driver 32.0.101.9175, Arc B580 12 GB, Series S, the Agility work and #546 applied by hand):

log host pipeline failed / 0x8007000e
all ten, 2026-11-28 04:20 to 2026-11-29 13:01 0

Not one line, in any of them. There is also no hr=0x8007... and no E_OUTOFMEMORY anywhere in the set, so the pattern you are looking for does not exist on this base at all.

What the same runs do instead, counted per session from the host pipeline shaders=[stage hash] lines:

session compute made vertex made refused failed
2026-11-29 13:01 (22 min, killed by me) 1136 581 0 0
2026-11-29 12:26 (28 min 25 s, ended on memory) 1121 562 0 0
2026-11-28 04:36 903 384 0 0

So on this base the screen pipelines are made, not skipped: roughly 1100 compute and 560 vertex pipelines per run, none refused, on a machine with 16 GB of RAM and the video budget untouched exactly as you describe.

The single exception in the whole set, and it is mine rather than the base's: with VICTORY_TEXTURE_BUDGET_MB=2500 + TEXTURE_ROOM_PERCENT=50 I got one host mesh pipeline refused error=... (0x887A0005) shaders=[mesh 147a667fbe39d57d, pixel 6384d72b15e2efe8], then 0x887A0006, then host GPU device removed after 1 submissions sent ahead ... no breadcrumbs. Every run with the default budget has zero refusals. So a squeezed budget is enough to make the card start refusing pipelines before it removes the device - worth knowing when you read someone else's log.

That supports your reading: the 0x8007000e swarms are a regression between 959dcaf and the release tag, not a property of Arc. Which makes one question worth asking next: does the tag's 622-per-run number scale with the video budget, or is it constant? If it is constant, it looks like an accounting change rather than real exhaustion, and the fix may be in how the budget is computed rather than in the allocator.

My logs are 5-25 MB each. Say which session you want and I will cut the pipeline lines out of it and attach that, rather than the whole file.

Two notes for whoever reads this with an Arc card on Windows 10: your base plus the Agility exports is what makes the difference here; on the release tag as shipped, this machine does not reach the world at all (it dies at victory-image-*.dll+0xb5a5f8, read 0x68), so the 622-per-run figure and our zero are not measured on the same code path.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256968195 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7256968195). Originally posted by [cbw2580147369-commits](https://github.com/cbw2580147369-commits) on 2026-11-29T14:00:32Z. --- Counted it for you, over all ten play logs on `959dcaf` (Windows 10 19045, driver 32.0.101.9175, Arc B580 12 GB, Series S, the Agility work and #546 applied by hand): | log | `host pipeline failed` / `0x8007000e` | |---|---| | all ten, 2026-11-28 04:20 to 2026-11-29 13:01 | **0** | Not one line, in any of them. There is also no `hr=0x8007...` and no `E_OUTOFMEMORY` anywhere in the set, so the pattern you are looking for does not exist on this base at all. What the same runs do instead, counted per session from the `host pipeline shaders=[stage hash]` lines: | session | compute made | vertex made | refused | failed | |---|---|---|---|---| | 2026-11-29 13:01 (22 min, killed by me) | 1136 | 581 | 0 | 0 | | 2026-11-29 12:26 (28 min 25 s, ended on memory) | 1121 | 562 | 0 | 0 | | 2026-11-28 04:36 | 903 | 384 | 0 | 0 | So on this base the screen pipelines are made, not skipped: roughly 1100 compute and 560 vertex pipelines per run, none refused, on a machine with 16 GB of RAM and the video budget untouched exactly as you describe. The single exception in the whole set, and it is mine rather than the base's: with `VICTORY_TEXTURE_BUDGET_MB=2500` + `TEXTURE_ROOM_PERCENT=50` I got one `host mesh pipeline refused error=... (0x887A0005) shaders=[mesh 147a667fbe39d57d, pixel 6384d72b15e2efe8]`, then `0x887A0006`, then `host GPU device removed after 1 submissions sent ahead ... no breadcrumbs`. Every run with the default budget has zero refusals. So a squeezed budget is enough to make the card start refusing pipelines before it removes the device - worth knowing when you read someone else's log. That supports your reading: the `0x8007000e` swarms are a **regression between `959dcaf` and the release tag**, not a property of Arc. Which makes one question worth asking next: does the tag's 622-per-run number scale with the video budget, or is it constant? If it is constant, it looks like an accounting change rather than real exhaustion, and the fix may be in how the budget is computed rather than in the allocator. My logs are 5-25 MB each. Say which session you want and I will cut the pipeline lines out of it and attach that, rather than the whole file. Two notes for whoever reads this with an Arc card on Windows 10: your base plus the Agility exports is what makes the difference here; on the release tag as shipped, this machine does not reach the world at all (it dies at `victory-image-*.dll+0xb5a5f8`, read 0x68), so the 622-per-run figure and our zero are not measured on the same code path.
dengarIicdk commented 2026-11-29 15:10:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T15:10:20Z.


For anyone testing on an Arc who does not want to build or patch anything: the configuration that held here is now
a download.

https://github.com/dengarIicdk/victory-arc-b580/releases/tag/arc-b580-v1

Download victory.exe and PLAY.bat, put both beside your own game_scarlett_master.exe, double-click
PLAY.bat. If your dump is somewhere else, PLAY.bat asks for the path. No game files are hosted there, only the
layer binary.

What it is: base 64d4931b plus the mesh-unbind patch and the three library fixes, exactly the build that ran
2011 s and 2052 s with zero device removals here, 8-15 fps, prologue and Chapter 1. The diff for every change
is in arc-fixes.patch in the same repository, so it can be rebuilt from source, and the settings are on the
command line in PLAY.bat with a note on why each one is there.

The README also states what is still broken — no ray-traced light, blown-out sunlit frames that no ambient
setting moves, dithered shadow blocks — so nobody downloads it expecting the console's picture.

If it crashes for you, please open an issue on that repository with your card, driver, Windows version and the
newest log from %LOCALAPPDATA%\victory\logs. Two more B580 data points already changed the diagnosis here once,
and more would help pin the remaining driver-side faults.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7257876853 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7257876853). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T15:10:20Z. --- For anyone testing on an Arc who does not want to build or patch anything: the configuration that held here is now a download. **https://github.com/dengarIicdk/victory-arc-b580/releases/tag/arc-b580-v1** Download `victory.exe` and `PLAY.bat`, put both **beside your own `game_scarlett_master.exe`**, double-click `PLAY.bat`. If your dump is somewhere else, `PLAY.bat` asks for the path. No game files are hosted there, only the layer binary. What it is: base `64d4931b` plus the mesh-unbind patch and the three library fixes, exactly the build that ran **2011 s and 2052 s** with zero device removals here, 8-15 fps, prologue and Chapter 1. The diff for every change is in `arc-fixes.patch` in the same repository, so it can be rebuilt from source, and the settings are on the command line in `PLAY.bat` with a note on why each one is there. The README also states what is still broken — no ray-traced light, blown-out sunlit frames that no ambient setting moves, dithered shadow blocks — so nobody downloads it expecting the console's picture. If it crashes for you, please open an issue on that repository with your card, driver, Windows version and the newest log from `%LOCALAPPDATA%\victory\logs`. Two more B580 data points already changed the diagnosis here once, and more would help pin the remaining driver-side faults.
dengarIicdk commented 2026-11-29 15:11:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T15:11:53Z.


A direct ask, since three of you have been running the same card and the same driver as we have.

@cbw2580147369-commits, @gilmarcs — would either of you run the binary in
https://github.com/dengarIicdk/victory-arc-b580/releases/tag/arc-b580-v1 once? It is the 64d4931b base with
mesh-unbind and the library fixes, no build needed, PLAY.bat beside your own title. What would settle it:

  1. does it hold longer than your MESH_REST=draw runs (you measured 544 s and 636 s to a fault; ours is 2011 s and
    2052 s on the same driver)?
  2. does your log show any host pipeline failed ... hr=0x8007000e with it? Ours shows none, the release tag shows
    622 — your base shows none, so a third answer pins where that regression lives.

If it crashes for you, the log from %LOCALAPPDATA%\victory\logs is all we need. If gilmarcs' display resets on
this build too, his hardware conclusion stands and nobody has to chase it further; if it does not reset, the resets
belong to the newer code and are worth a report of their own.

@InakiMB — same binary, mainly to compare against your 10 m 36 s: your DRED run and ours differ only in how the
mesh pipeline is unbound, so one run of this build on your machine is a clean A/B of that single difference.

No obligation, and nothing to install beyond two files. If it turns out to be worse for you, that is just as useful
to know and I will say so in here.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7257897382 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7257897382). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T15:11:53Z. --- A direct ask, since three of you have been running the same card and the same driver as we have. **@cbw2580147369-commits**, **@gilmarcs** — would either of you run the binary in https://github.com/dengarIicdk/victory-arc-b580/releases/tag/arc-b580-v1 once? It is the `64d4931b` base with mesh-unbind and the library fixes, no build needed, `PLAY.bat` beside your own title. What would settle it: 1. does it hold longer than your `MESH_REST=draw` runs (you measured 544 s and 636 s to a fault; ours is 2011 s and 2052 s on the same driver)? 2. does your log show any `host pipeline failed ... hr=0x8007000e` with it? Ours shows none, the release tag shows 622 — your base shows none, so a third answer pins where that regression lives. If it crashes for you, the log from `%LOCALAPPDATA%\victory\logs` is all we need. If gilmarcs' display resets on this build too, his hardware conclusion stands and nobody has to chase it further; if it does not reset, the resets belong to the newer code and are worth a report of their own. **@InakiMB** — same binary, mainly to compare against your 10 m 36 s: your DRED run and ours differ only in how the mesh pipeline is unbound, so one run of this build on your machine is a clean A/B of that single difference. No obligation, and nothing to install beyond two files. If it turns out to be worse for you, that is just as useful to know and I will say so in here.
dengarIicdk commented 2026-11-29 15:36:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dengarIicdk on 2026-11-29T15:36:10Z.


That table settles it — ten logs, zero refusals, so the 0x8007000e swarm is not a property of Arc. And your
TEXTURE_BUDGET_MB=2500 + ROOM_PERCENT=50 result is worth more than it looks: one host mesh pipeline refused
with 0x887A0005, then 0x887A0006, is the exact order we used to see and had blamed on the shaders. It is the
budget. That closes a question we had open for two days.

Your question — does the tag's 622 scale with the video budget, or is it constant? Constant. From the tag logs
on our side, same machine, same driver as yours:

run on v2026.11.29.01 host pipeline failed video budget at the time
as shipped 622 15578 MB budget, 38 MB in use
VICTORY_LIBRARY_MAP=0 13 same, 38 MB in use
VICTORY_PIPELINE_WORKERS=1 1192 same, 38 MB in use
default budget, squeezed separately refusals appear, then device removal —

Three things that follow:

  1. It is not exhaustion. 38 MB of 15.5 GB in use while the driver answers E_OUTOFMEMORY, so the arithmetic
    that produces the number is not about free memory. Your "accounting change rather than real exhaustion" reading
    is the one the numbers support.
  2. All 622 arrive in a 62-second burst, starting 74 s into the session: 319 compute, 267 graphics, 36 mesh. Not a
    slow leak — one bad window, then the device is gone.
  3. The only knob that moves it is the library path. LIBRARY_MAP=0 takes 622 → 13, and the screen pipeline is
    then made (ms=1496 made=true), but the frames stay 2.4 s because 1049 pipelines are built cold. So the refusals
    and the library are the same bug seen twice: something on that path asks the driver for pipelines it will not
    accept, and the video budget is not what it asks about.

Two useful additions if you ever get the tag to run: (a) whether LIBRARY_MAP=0 also takes your 1100-per-run
number down, and (b) whether the refusals follow the key of a pipeline — if the same key is refused after being
made successfully once, it is bookkeeping and not the shader. Our 13 were all compute and all distinct keys, but
that is a small sample.

Also noted on your point about the release tag dying at victory-image-*.dll+0xb5a5f8 on Windows 10 — that is a
fourth difference between the two bases, and worth saying out loud, because it means the 622 and your zero are not
the same code path, exactly as you put it.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7258219217 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7258219217). Originally posted by [dengarIicdk](https://github.com/dengarIicdk) on 2026-11-29T15:36:10Z. --- That table settles it — ten logs, zero refusals, so the `0x8007000e` swarm is not a property of Arc. And your `TEXTURE_BUDGET_MB=2500` + `ROOM_PERCENT=50` result is worth more than it looks: one `host mesh pipeline refused` with `0x887A0005`, then `0x887A0006`, is the exact order we used to see and had blamed on the shaders. It is the budget. That closes a question we had open for two days. Your question — does the tag's 622 scale with the video budget, or is it constant? **Constant.** From the tag logs on our side, same machine, same driver as yours: | run on `v2026.11.29.01` | `host pipeline failed` | video budget at the time | |---|---|---| | as shipped | **622** | 15578 MB budget, **38 MB in use** | | `VICTORY_LIBRARY_MAP=0` | **13** | same, 38 MB in use | | `VICTORY_PIPELINE_WORKERS=1` | **1192** | same, 38 MB in use | | default budget, squeezed separately | refusals appear, then device removal | — | Three things that follow: 1. **It is not exhaustion.** 38 MB of 15.5 GB in use while the driver answers `E_OUTOFMEMORY`, so the arithmetic that produces the number is not about free memory. Your "accounting change rather than real exhaustion" reading is the one the numbers support. 2. **All 622 arrive in a 62-second burst**, starting 74 s into the session: 319 compute, 267 graphics, 36 mesh. Not a slow leak — one bad window, then the device is gone. 3. **The only knob that moves it is the library path.** `LIBRARY_MAP=0` takes 622 → 13, and the screen pipeline is then made (`ms=1496 made=true`), but the frames stay 2.4 s because 1049 pipelines are built cold. So the refusals and the library are the same bug seen twice: something on that path asks the driver for pipelines it will not accept, and the video budget is not what it asks about. Two useful additions if you ever get the tag to run: (a) whether `LIBRARY_MAP=0` also takes your 1100-per-run number down, and (b) whether the refusals follow the *key* of a pipeline — if the same key is refused after being made successfully once, it is bookkeeping and not the shader. Our 13 were all compute and all distinct keys, but that is a small sample. Also noted on your point about the release tag dying at `victory-image-*.dll+0xb5a5f8` on Windows 10 — that is a fourth difference between the two bases, and worth saying out loud, because it means the 622 and your zero are not the same code path, exactly as you put it.
cbw2580147369-commits commented 2026-11-30 04:32:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cbw2580147369-commits on 2026-11-30T04:32:58Z.


Ran (a): VICTORY_LIBRARY_MAP=0 on the 959dcaf base, MESH_REST=draw, ROOM_PERCENT=60, no other change, and counted the same lines.

run compute made vertex made refused failed 0x8007000e
library mapped (default) 1136 581 0 0 0
VICTORY_LIBRARY_MAP=0 1139 582 0 0 0

So the answer to (a) is: the knob does not move our number, because our number of refusals is zero and the count of pipelines made is the same either way (1136/581 mapped against 1139/582 unmapped, a difference of three compute pipelines across runs). It also does not produce the cold-build storm you describe: we do not get 1049 pipelines built cold because of the switch, because this base builds them anyway. Same ~8 minutes of play, 2607 draws/frame at 4 fps, 22.2 GB private, no device removal.

That is consistent with your reading rather than against it: the library path is where the tag loses pipelines, and on the base that does not lose them the switch has nothing to fix.

(b), partially: we have no refusals to follow, so I cannot test whether they follow a key. What the log does show is the opposite side of the same coin - the same key asked for again and again, always successfully:

  • 1712 host pipeline shaders=[stage hash] lines, 1359 distinct keys;
  • 105 keys were made more than once, three of them 60 times each (25ebc92075b62822, 1d7b30217b395cd8, 72c739b61097456d).

So on this base, re-asking for a pipeline already made succeeds every time, sixty times in a row. If a key on the tag is refused after being made successfully once, that still points at bookkeeping rather than the shader - but the re-ask path itself is not the trigger here.

The other half of (b) needs the tag, and the tag does not start on this machine: Windows 10 plus the Agility exports is the only reason our base runs at all, and on the tag as shipped we die at victory-image-*.dll+0xb5a5f8 (read 0x68) before the first frame. If you ever want that isolated, the interesting question is not my 1100 against your 622 but whether 622 appears when the library is warm: your table is all fresh libraries and your LIBRARY_MAP=0 run still built 1049 cold. A run with a library from a previous session, same switches, would separate "the library path is broken" from "building cold is broken", and those want different fixes.

One more thing from our side that may matter to your 62-second burst: ours is a 16 GB machine, so the session dies on memory at 9 minutes in free roam (memory.load_percent=92) and never reaches whatever window your burst occupies. Your 32 GB runs get further into the session, which is where your burst sits at 74 s in. That is worth keeping in mind before concluding that the burst is base-specific: it may be reachable on your machine and simply cut short on ours.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7268872815 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/227#issuecomment-7268872815). Originally posted by [cbw2580147369-commits](https://github.com/cbw2580147369-commits) on 2026-11-30T04:32:58Z. --- Ran (a): `VICTORY_LIBRARY_MAP=0` on the `959dcaf` base, `MESH_REST=draw`, `ROOM_PERCENT=60`, no other change, and counted the same lines. | run | compute made | vertex made | refused | failed | `0x8007000e` | |---|---|---|---|---|---| | library mapped (default) | 1136 | 581 | 0 | 0 | 0 | | **`VICTORY_LIBRARY_MAP=0`** | **1139** | **582** | **0** | **0** | **0** | So the answer to (a) is: **the knob does not move our number, because our number of refusals is zero and the count of pipelines made is the same either way** (1136/581 mapped against 1139/582 unmapped, a difference of three compute pipelines across runs). It also does not produce the cold-build storm you describe: we do not get 1049 pipelines built cold *because of* the switch, because this base builds them anyway. Same ~8 minutes of play, `2607 draws/frame` at 4 fps, 22.2 GB private, no device removal. That is consistent with your reading rather than against it: the library path is where the tag loses pipelines, and on the base that does not lose them the switch has nothing to fix. (b), partially: we have no refusals to follow, so I cannot test whether they follow a key. What the log does show is the opposite side of the same coin - **the same key asked for again and again, always successfully**: - 1712 `host pipeline shaders=[stage hash]` lines, **1359 distinct keys**; - **105 keys were made more than once**, three of them **60 times each** (`25ebc92075b62822`, `1d7b30217b395cd8`, `72c739b61097456d`). So on this base, re-asking for a pipeline already made succeeds every time, sixty times in a row. If a key on the tag is refused after being made successfully once, that still points at bookkeeping rather than the shader - but the re-ask path itself is not the trigger here. The other half of (b) needs the tag, and the tag does not start on this machine: Windows 10 plus the Agility exports is the only reason our base runs at all, and on the tag as shipped we die at `victory-image-*.dll+0xb5a5f8` (read `0x68`) before the first frame. If you ever want that isolated, the interesting question is not my 1100 against your 622 but **whether 622 appears when the library is warm**: your table is all fresh libraries and your `LIBRARY_MAP=0` run still built 1049 cold. A run with a library from a previous session, same switches, would separate "the library path is broken" from "building cold is broken", and those want different fixes. One more thing from our side that may matter to your 62-second burst: ours is a 16 GB machine, so the session dies on memory at 9 minutes in free roam (`memory.load_percent=92`) and never reaches whatever window your burst occupies. Your 32 GB runs get further into the session, which is where your burst sits at 74 s in. That is worth keeping in mind before concluding that the burst is base-specific: it may be *reachable* on your machine and simply *cut short* on ours.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA#227
No description provided.