Intel Arc B580: dies at 82-149 s in four runs, while the older 64d4931b base of VIctory holds 33 min on the same card #448

Open
opened 2026-11-29 16:38:18 +00:00 by github-bot · 33 comments
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 16:34 UTC · original

Intel Arc B580: four runs, all end 82-149 s in, at the same place — and the older 64d4931b base of VIctory holds 33 min on the same card

Not a bug report with a diagnosis, a measured comparison, because it localises the regression to this line rather than to
the card.

The machine

Intel Arc B580 12 GB (Battlefront/Battlemage, ReBAR on), driver 32.0.101.9175, Windows 11 build 26200, Ryzen 7 5700X,
32 GB RAM. Build here: TaynanGT/Vice-Tay at fe7c6e5, GNU toolchain 1.98.1, cargo build --release --locked -p victory
(71 s, 80 MB). Launched with -Console series-s -Machine 7900xtx -Windowed (non-NVIDIA, so -Machine auto picks the
7900xtx profile). Shader cache cold on the first run: 25 788 shaders in 248 s, 197 that do not translate.

Every run, in order

run what changed frames fps (mean / best) died after signature
1 as shipped 2 048 16.6 / 30.4 151 s of play 0x887A0005, right after host mesh pipeline shaders=[mesh 736b337d48bc0c57, ...]
2 + mesh unbind after the dispatch 2 048 16.6 / 30.4 149 s pipeline library: make of ... running for 10692.7 ms, 24 lists waiting 4 759 ms
3 + library written through buffers (VICTORY_LIBRARY_MAP=0) 1 888 24.8 / 30.0 82 s device removed 4.2 s after library saved bytes=195674136, 21 lists waiting 5 319 ms
4 + library saved only at exit, -Safe — 27.0 / 30.0 104 s no save in the run at all, 24 lists waiting 4 798 ms

The common line in all four: the submitting thread was preparing a submission (nothing of ours was running on the card),
21–24 command lists waiting 4.8–5.3 s, then host GPU device removed, DRED unavailable (E_NOINTERFACE), so no
breadcrumbs. The card is idle at the moment of the report.

Run 4 matters: with saves gone and -Safe on, the death did not move. So neither the mid-run save nor the newer fast
paths are the cause, and the mesh binding order is not either — run 1 vs run 2 shows that fix removes the
0x8007000e/mesh-pipeline refusals (2 → 0) but not the death.

Why I think this is this line and not the card

The same card, same driver, same Windows, same Series S profile, on trustno1-coder/VIctory-NVIDIA at 64d4931b
plus a mesh-unbind patch and three library fixes, ran 2 011 s and 2 052 s (33–34 minutes, prologue and Chapter 1)
with zero device removals and 8–15 fps. So Arrivederci to "Arc is just unstable": an older base of the same runtime
holds half an hour here, and this one dies in about a hundred seconds.

Whatever changed between the two lines is a better suspect than the driver. The logs above are what that looks like from
the outside: a five-second stall on the submitting thread with the card idle, then a removed device.

Independently, a second B580 owner (@InakiMB, driver 9175, Windows 11 26200, Ryzen 5 5600X) ran the 64d4931b build
from that other line and got DXGI_ERROR_DEVICE_HUNG 0x887A0006 at 68 s, no breadcrumbs. Same window, different reason
code — hung there, removed here.

What is already known to work, if useful to whoever picks this up

  • gilmarcs' mesh unbind (#227 on the other repository): bind a trivial vs_5_1 after DispatchMesh, clear the host
    pipeline. Without it, mesh pipeline creation is what kills run 1.
  • The pipeline library must not be renamed over while mapped, and is better written through buffers on this driver.
    VICTORY_LIBRARY_MAP=0 behaviour.
  • series-s, 30 fps cap, RT off, -Machine 7900xtx, default budgets. Squeezed texture budgets reach "refused" first and
    "removed" after.

Happy to run anything specific and hand back logs — each run takes about two minutes now that the shader cache is warm
(195 MB of pipelines). If a bisect between 64d4931b-era code and this tree is worth setting up, I will do the runs.

**@⁠dengarIicdk** on GitHub · 2026-11-29 16:34 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448) # Intel Arc B580: four runs, all end 82-149 s in, at the same place — and the older `64d4931b` base of VIctory holds 33 min on the same card Not a bug report with a diagnosis, a measured comparison, because it localises the regression to this line rather than to the card. ## The machine Intel Arc B580 12 GB (Battlefront/Battlemage, ReBAR on), driver **32.0.101.9175**, Windows 11 build 26200, Ryzen 7 5700X, 32 GB RAM. Build here: `TaynanGT/Vice-Tay` at `fe7c6e5`, GNU toolchain 1.98.1, `cargo build --release --locked -p victory` (71 s, 80 MB). Launched with `-Console series-s -Machine 7900xtx -Windowed` (non-NVIDIA, so `-Machine auto` picks the 7900xtx profile). Shader cache cold on the first run: **25 788 shaders in 248 s, 197 that do not translate.** ## Every run, in order | run | what changed | frames | fps (mean / best) | died after | signature | |---|---|---|---|---|---| | 1 | as shipped | 2 048 | 16.6 / 30.4 | 151 s of play | `0x887A0005`, right after `host mesh pipeline shaders=[mesh 736b337d48bc0c57, ...]` | | 2 | + mesh unbind after the dispatch | 2 048 | 16.6 / 30.4 | 149 s | `pipeline library: make of ... running for 10692.7 ms`, 24 lists waiting 4 759 ms | | 3 | + library written through buffers (`VICTORY_LIBRARY_MAP=0`) | 1 888 | 24.8 / 30.0 | 82 s | device removed 4.2 s after `library saved bytes=195674136`, 21 lists waiting 5 319 ms | | 4 | + library saved only at exit, `-Safe` | — | 27.0 / 30.0 | 104 s | **no save in the run at all**, 24 lists waiting 4 798 ms | The common line in all four: `the submitting thread was preparing a submission (nothing of ours was running on the card)`, 21–24 command lists waiting **4.8–5.3 s**, then `host GPU device removed`, DRED unavailable (`E_NOINTERFACE`), so no breadcrumbs. The card is idle at the moment of the report. Run 4 matters: with saves gone and `-Safe` on, the death did not move. So neither the mid-run save nor the newer fast paths are the cause, and the mesh binding order is not either — run 1 vs run 2 shows that fix removes the `0x8007000e`/mesh-pipeline refusals (2 → 0) but not the death. ## Why I think this is this line and not the card The same card, same driver, same Windows, same Series S profile, on **`trustno1-coder/VIctory-NVIDIA` at `64d4931b`** plus a mesh-unbind patch and three library fixes, ran **2 011 s and 2 052 s** (33–34 minutes, prologue and Chapter 1) with **zero** device removals and 8–15 fps. So Arrivederci to "Arc is just unstable": an older base of the same runtime holds half an hour here, and this one dies in about a hundred seconds. Whatever changed between the two lines is a better suspect than the driver. The logs above are what that looks like from the outside: a five-second stall on the submitting thread with the card idle, then a removed device. Independently, a second B580 owner (`@InakiMB`, driver 9175, Windows 11 26200, Ryzen 5 5600X) ran the `64d4931b` build from that other line and got `DXGI_ERROR_DEVICE_HUNG 0x887A0006` at 68 s, no breadcrumbs. Same window, different reason code — hung there, removed here. ## What is already known to work, if useful to whoever picks this up - gilmarcs' mesh unbind (#227 on the other repository): bind a trivial `vs_5_1` after `DispatchMesh`, clear the host pipeline. Without it, mesh pipeline creation is what kills run 1. - The pipeline library must not be renamed over while mapped, and is better written through buffers on this driver. `VICTORY_LIBRARY_MAP=0` behaviour. - `series-s`, 30 fps cap, RT off, `-Machine 7900xtx`, default budgets. Squeezed texture budgets reach "refused" first and "removed" after. Happy to run anything specific and hand back logs — each run takes about two minutes now that the shader cache is warm (195 MB of pipelines). If a bisect between `64d4931b`-era code and this tree is worth setting up, I will do the runs.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 16:38:18 +00:00
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 17:13 UTC · original

Since you offered to run builds: #450 (draft) ports gilmarcs' rest-pipeline workaround (VIctory-NVIDIA #546) to this tree. It's on by default on Intel adapters. Could you try it on the B580?

  • Build the fix/intel-mesh-rest branch of Kal0s-design/Vice-Tay, same settings as your run 1. The log should say mesh pipelines are unbound before other work (VICTORY_MESH_REST) and print a per-frame mesh pipelines per frame line.
  • If it still dies, VICTORY_MESH_REST=draw is the variant that also draws the rest pipeline's clipped point.

Your run 2 suggests this removes the mesh-pipeline refusals but maybe not the later removal. Either result helps narrow #448 down.

**@⁠Kal0s-design** on GitHub · 2026-11-29 17:13 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259521867) Since you offered to run builds: #450 (draft) ports gilmarcs' rest-pipeline workaround (VIctory-NVIDIA #546) to this tree. It's on by default on Intel adapters. Could you try it on the B580? - Build the `fix/intel-mesh-rest` branch of Kal0s-design/Vice-Tay, same settings as your run 1. The log should say `mesh pipelines are unbound before other work (VICTORY_MESH_REST)` and print a per-frame `mesh pipelines per frame` line. - If it still dies, `VICTORY_MESH_REST=draw` is the variant that also draws the rest pipeline's clipped point. Your run 2 suggests this removes the mesh-pipeline refusals but maybe not the later removal. Either result helps narrow #448 down.
Author
Owner

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

A reference build for comparison, since the numbers above are otherwise hard to check: https://github.com/dengarIicdk/victory-arc-b580/releases/tag/arc-b580-v1

The binary (98.4 MB, sha256 beside it on the release page) plus PLAY.bat go next to your own game_scarlett_master.exe;
the bat finds the title or asks for the path. arc-fixes.patch in the same repository is the complete diff against
trustno1-coder/VIctory-NVIDIA at 64d4931b — five files, 449 lines, and the four changes are independent of each other,
so any one of them can be lifted into this tree.

Relevant to the four runs in the issue: that build holds 2 011 s and 2 052 s on the same card (B580 12 GB), the same
driver (32.0.101.9175) and the same Windows 11 26200, at 8–15 fps in the world, with zero device removals — while this tree
ends at 82–151 s. Both are the same runtime at different points in its history, so the difference between 33 minutes and
100 seconds is somewhere in the diff between those bases, not in the card.

Also worth knowing before anyone spends a run on it: the same build died in 68 s on a second B580 (@InakiMB, Windows 11
26200, Ryzen 5 5600X) with DXGI_ERROR_DEVICE_HUNG. So it is not a universal recipe — it is one machine's measured result,
published with its settings and its failures, which is what makes it usable as a comparison.

**@⁠dengarIicdk** on GitHub · 2026-11-29 17:17 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259580365) A reference build for comparison, since the numbers above are otherwise hard to check: **https://github.com/dengarIicdk/victory-arc-b580/releases/tag/arc-b580-v1** The binary (98.4 MB, sha256 beside it on the release page) plus `PLAY.bat` go next to your own `game_scarlett_master.exe`; the bat finds the title or asks for the path. `arc-fixes.patch` in the same repository is the complete diff against `trustno1-coder/VIctory-NVIDIA` at `64d4931b` — five files, 449 lines, and the four changes are independent of each other, so any one of them can be lifted into this tree. Relevant to the four runs in the issue: that build holds **2 011 s and 2 052 s** on the same card (B580 12 GB), the same driver (32.0.101.9175) and the same Windows 11 26200, at 8–15 fps in the world, with zero device removals — while this tree ends at 82–151 s. Both are the same runtime at different points in its history, so the difference between 33 minutes and 100 seconds is somewhere in the diff between those bases, not in the card. Also worth knowing before anyone spends a run on it: the same build died in 68 s on a second B580 (`@InakiMB`, Windows 11 26200, Ryzen 5 5600X) with `DXGI_ERROR_DEVICE_HUNG`. So it is not a universal recipe — it is one machine's measured result, published with its settings and its failures, which is what makes it usable as a comparison.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 17:21 UTC · original

@⁠Kal0s-design — building it now: fix/intel-mesh-rest at c2536e7, GNU toolchain 1.98.1, cargo build --release --locked -p victory finished in 1 min 17 s, 80 MB, and the binary does contain the new line (mesh pipelines are unbound before other work (VICTORY_MESH_REST)). Same machine and profile as run 1: B580 12 GB, driver 32.0.101.9175, Windows 11 26200, series-s, -Machine 7900xtx, shader cache warm, pipeline cache 195 MB in the same isolated home.

Two things I will report back, so the numbers are comparable to the table in the issue: how long it lasts before a device removal, and the fps in the heavy phase (runs 1-3 sat at 0.1 fps there, 1 888-2 048 frames of it). If it dies, the last lines before the removal matter more than the code — I will quote them as they are.

One caveat from my side that may matter for the diff: in my own tree the same workaround is bound after DispatchMesh and clears the host pipeline, rather than before other work, and on the 64d4931b base that is what turns 60-90 s crashes into 33 minute sessions. So if yours dies where mine does not, the ordering is the first thing I would swap — but let us get your variant's result first, since that is the experiment you asked for.

I will also run VICTORY_MESH_REST=draw if the default mode fails, and say which of the two is longer.

**@⁠dengarIicdk** on GitHub · 2026-11-29 17:21 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259627137) @⁠Kal0s-design — building it now: `fix/intel-mesh-rest` at `c2536e7`, GNU toolchain 1.98.1, `cargo build --release --locked -p victory` finished in 1 min 17 s, 80 MB, and the binary does contain the new line (`mesh pipelines are unbound before other work (VICTORY_MESH_REST)`). Same machine and profile as run 1: B580 12 GB, driver 32.0.101.9175, Windows 11 26200, `series-s`, `-Machine 7900xtx`, shader cache warm, pipeline cache 195 MB in the same isolated home. Two things I will report back, so the numbers are comparable to the table in the issue: how long it lasts before a device removal, and the fps in the heavy phase (runs 1-3 sat at 0.1 fps there, 1 888-2 048 frames of it). If it dies, the last lines before the removal matter more than the code — I will quote them as they are. One caveat from my side that may matter for the diff: in my own tree the same workaround is bound **after** `DispatchMesh` and clears the host pipeline, rather than before other work, and on the `64d4931b` base that is what turns 60-90 s crashes into 33 minute sessions. So if yours dies where mine does not, the ordering is the first thing I would swap — but let us get your variant's result first, since that is the experiment you asked for. I will also run `VICTORY_MESH_REST=draw` if the default mode fails, and say which of the two is longer.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 17:27 UTC · original

Ran it. Your patch works, and it is the best result this tree has produced on a B580 by a factor of nearly two.

Kal0s-design/Vice-Tay at c2536e7, GNU toolchain 1.98.1, cargo build --release --locked -p victory (1 min 17 s, 80 MB),
then the same launcher and isolated home as run 1: -Console series-s -Machine 7900xtx -Windowed, shader cache warm,
195 MB of pipelines, driver 32.0.101.9175, Windows 11 26200.

# change lasted heavy-phase fps ending
1 as shipped 151 s 16.6 mean (30 in the intro) 0x887A0005 at a mesh pipeline
2 mesh unbind after the dispatch (mine) 149 s 16.6 make ... running for 10 692 ms
3 + library through buffers 82 s 24.8 removed 4 s after a 195 MB save
4 + save at exit only, -Safe 104 s 27.0 24 lists waiting 4.8 s
5 your VICTORY_MESH_REST=Bind 280 s median 2.8, up to 30 in the intro removed after make [mesh 45c922763602b723, …] in 7 211 ms

So: 280 seconds against 151, and the log confirms the mechanism you predicted — every frame prints
mesh pipelines per frame (VICTORY_MESH_REST=Bind): 2 100.0 bound, 2 100.0 rest pipelines bound in their place before other work.
It peaked at 8 186 rest binds in one frame, which is a lot of state changes per frame and probably part of why the heavy
scene sits at 2.8 fps rather than higher — worth knowing, not a complaint.

No refusals at all in this run, and none of the 0x8007000e swarms. The ending is the one from before your patch, back
again: a cold library entry made in 7.2 s (no matching library entry), and the device is gone right after it. That
is the same shape as run 2 in the issue, so your work removed the mesh-binding cause and left the cold-creation one.

Two things I will check next, since you asked about variants:

  1. VICTORY_MESH_REST=draw — same run, to see whether the variant that also draws the rest pipeline's clipped point is
    longer or shorter than 280 s.
  2. Whether the 7.2 s make can be made to hit the library instead: the entry was missing, so the run after this one should
    load it. If run 6 gets past 280 s with the library warm, that is evidence the remaining fault is cold creation and not
    the rest pipeline.

Either way you have a result you can put in the PR: on Battlemage the rest-pipeline pinning takes this tree from 82-151 s to
280 s, with the mesh-pipeline ending gone entirely.

**@⁠dengarIicdk** on GitHub · 2026-11-29 17:27 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259710226) Ran it. **Your patch works, and it is the best result this tree has produced on a B580 by a factor of nearly two.** `Kal0s-design/Vice-Tay` at `c2536e7`, GNU toolchain 1.98.1, `cargo build --release --locked -p victory` (1 min 17 s, 80 MB), then the same launcher and isolated home as run 1: `-Console series-s -Machine 7900xtx -Windowed`, shader cache warm, 195 MB of pipelines, driver 32.0.101.9175, Windows 11 26200. | # | change | lasted | heavy-phase fps | ending | |---|---|---|---|---| | 1 | as shipped | 151 s | 16.6 mean (30 in the intro) | `0x887A0005` at a mesh pipeline | | 2 | mesh unbind after the dispatch (mine) | 149 s | 16.6 | `make ... running for 10 692 ms` | | 3 | + library through buffers | 82 s | 24.8 | removed 4 s after a 195 MB save | | 4 | + save at exit only, `-Safe` | 104 s | 27.0 | 24 lists waiting 4.8 s | | **5** | **your `VICTORY_MESH_REST=Bind`** | **280 s** | **median 2.8, up to 30 in the intro** | removed after `make [mesh 45c922763602b723, …] in 7 211 ms` | So: **280 seconds against 151**, and the log confirms the mechanism you predicted — every frame prints `mesh pipelines per frame (VICTORY_MESH_REST=Bind): 2 100.0 bound, 2 100.0 rest pipelines bound in their place before other work`. It peaked at **8 186 rest binds in one frame**, which is a lot of state changes per frame and probably part of why the heavy scene sits at 2.8 fps rather than higher — worth knowing, not a complaint. No refusals at all in this run, and none of the `0x8007000e` swarms. The ending is the one from before your patch, back again: a *cold* library entry made in **7.2 s** (`no matching library entry`), and the device is gone right after it. That is the same shape as run 2 in the issue, so your work removed the mesh-binding cause and left the cold-creation one. Two things I will check next, since you asked about variants: 1. `VICTORY_MESH_REST=draw` — same run, to see whether the variant that also draws the rest pipeline's clipped point is longer or shorter than 280 s. 2. Whether the 7.2 s make can be made to hit the library instead: the entry was missing, so the run after this one should load it. If run 6 gets past 280 s with the library warm, that is evidence the remaining fault is cold creation and not the rest pipeline. Either way you have a result you can put in the PR: on Battlemage the rest-pipeline pinning takes this tree from 82-151 s to **280 s**, with the mesh-pipeline ending gone entirely.
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 17:29 UTC · original

Thank you, that's a clear result. I've added it to #450.

Some notes for the next runs:

  • Rest count = mesh binds. In this port the mesh pipeline is left before every draw and dispatch, including the next mesh dispatch, so that what a draw records before its bind (refresh copies, uploads) never goes past a bound mesh pipeline. Upstream #546 does the same, which is why bound and rest come out equal. The 2.8 fps median and run 1's 16.6 mean aren't directly comparable (median vs mean, and a later, heavier stretch), but if a same-scene comparison shows the rests cost frames, I can try a variant that keeps the mesh pipeline across back-to-back mesh dispatches for you to A/B.
  • The 4.8-5.3 s line. "preparing a submission (nothing of ours was running on the card)" only describes the submitting thread. With VICTORY_RELAY submissions sent ahead can still be on the card at that moment. The same line ends with submissions started X finished Y: could you paste those two numbers from a run that ended that way, and from run 5? If X > Y, the card wasn't idle and the 5 s are just how long we took to notice. #451 makes the message say so in future logs.
  • Run 6 with a warm library is the right next test. If it passes 280 s, the cold 7 s make really is what's left.
**@⁠Kal0s-design** on GitHub · 2026-11-29 17:29 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259728678) Thank you, that's a clear result. I've added it to #450. Some notes for the next runs: - **Rest count = mesh binds.** In this port the mesh pipeline is left before every draw and dispatch, including the next mesh dispatch, so that what a draw records before its bind (refresh copies, uploads) never goes past a bound mesh pipeline. Upstream #546 does the same, which is why bound and rest come out equal. The 2.8 fps median and run 1's 16.6 mean aren't directly comparable (median vs mean, and a later, heavier stretch), but if a same-scene comparison shows the rests cost frames, I can try a variant that keeps the mesh pipeline across back-to-back mesh dispatches for you to A/B. - **The 4.8-5.3 s line.** "preparing a submission (nothing of ours was running on the card)" only describes the submitting thread. With `VICTORY_RELAY` submissions sent ahead can still be on the card at that moment. The same line ends with `submissions started X finished Y`: could you paste those two numbers from a run that ended that way, and from run 5? If X > Y, the card wasn't idle and the 5 s are just how long we took to notice. #451 makes the message say so in future logs. - **Run 6 with a warm library** is the right next test. If it passes 280 s, the cold 7 s `make` really is what's left.
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 17:42 UTC · original

For the frame-rate question: fix/intel-mesh-rest now has a second commit (5e3bef5) with an opt-in VICTORY_MESH_REST=lazy. It keeps the mesh pipeline bound from one mesh dispatch to the next, instead of binding the rest pipeline and then the mesh pipeline again before each one. Everything else still gets the rest pipeline first, as with bind.

If you have time, an A/B on the same build and the same spot would tell whether the ~2,100 rests per frame cost frames:

  • run A: VICTORY_MESH_REST=bind (or unset, same thing on your card)
  • run B: VICTORY_MESH_REST=lazy

From each log, the useful lines are the fps lines and mesh pipelines per frame. With lazy the rest count should fall well below the mesh binds. Also note how long each run lasts: lazy lets a little more work run under a bound mesh pipeline, so if B dies sooner than A, that's an answer too.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-29 17:42 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259900554) For the frame-rate question: `fix/intel-mesh-rest` now has a second commit (5e3bef5) with an opt-in `VICTORY_MESH_REST=lazy`. It keeps the mesh pipeline bound from one mesh dispatch to the next, instead of binding the rest pipeline and then the mesh pipeline again before each one. Everything else still gets the rest pipeline first, as with `bind`. If you have time, an A/B on the same build and the same spot would tell whether the ~2,100 rests per frame cost frames: - run A: `VICTORY_MESH_REST=bind` (or unset, same thing on your card) - run B: `VICTORY_MESH_REST=lazy` From each log, the useful lines are the fps lines and `mesh pipelines per frame`. With `lazy` the rest count should fall well below the mesh binds. Also note how long each run lasts: `lazy` lets a little more work run under a bound mesh pipeline, so if B dies sooner than A, that's an answer too. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 17:43 UTC · original

VICTORY_MESH_REST=draw is the variant to ship. Same build (c2536e7), same launcher, same isolated home, same shader and
pipeline cache, only -More @{VICTORY_MESH_REST='draw'}.

variant lasted heavy-phase fps device removals
Bind (PR default) 280 s median 2.8 1, after a cold make ... in 7 211 ms
Draw 852 s (14 min 12 s) median 3.7, worst 0.6 0

It did not die at all. The session ended because the title was suspended and closed: the last lines are title suspended; ending the title, no host GPU device removed anywhere in a 101 307-line log. Over 153 fps samples the average was 6.6 and
the best 31.5, so the heavy scene runs at 3.7 fps with excursions to 0.6 — slow, but continuous, and it holds for a quarter
of an hour on this card.

That is the best result this tree has produced on a B580 across seven runs: 82, 104, 149, 151, 280 and now 852 seconds with
zero removals
. Whatever your draw mode does that bind does not — the rest pipeline's clipped point being drawn, so the
next command is not left with a mesh PSO current in any sense the driver objects to — it removes the last fault on
Battlemage.

A picture from that session, for the record: the prison block, mean luma 114 of 255, 0.0% clipped, tonal spread 65 — that is
a normal-looking frame by the measure we use, gamut and all. The visual faults left are the ones from the older line:
blown-out sun, no shadow that cuts it.

For the PR: put draw as the Intel default, or keep Bind as the default and document draw as what an Arc owner should
reach for. On this card the difference is 280 s versus 852 s with no crash, and the log line to quote is
mesh pipelines per frame (VICTORY_MESH_REST=Draw): ... bound, ... rest pipelines bound in their place.

**@⁠dengarIicdk** on GitHub · 2026-11-29 17:43 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259914432) `VICTORY_MESH_REST=draw` is the variant to ship. Same build (`c2536e7`), same launcher, same isolated home, same shader and pipeline cache, only `-More @{VICTORY_MESH_REST='draw'}`. | variant | lasted | heavy-phase fps | device removals | |---|---|---|---| | `Bind` (PR default) | 280 s | median 2.8 | 1, after a cold `make ... in 7 211 ms` | | **`Draw`** | **852 s (14 min 12 s)** | **median 3.7, worst 0.6** | **0** | It did not die at all. The session ended because the title was suspended and closed: the last lines are `title suspended; ending the title`, no `host GPU device removed` anywhere in a 101 307-line log. Over 153 fps samples the average was 6.6 and the best 31.5, so the heavy scene runs at 3.7 fps with excursions to 0.6 — slow, but continuous, and it holds for a quarter of an hour on this card. That is the best result this tree has produced on a B580 across seven runs: 82, 104, 149, 151, 280 and now **852 seconds with zero removals**. Whatever your draw mode does that bind does not — the rest pipeline's clipped point being drawn, so the next command is not left with a mesh PSO current in any sense the driver objects to — it removes the last fault on Battlemage. A picture from that session, for the record: the prison block, mean luma 114 of 255, 0.0% clipped, tonal spread 65 — that is a normal-looking frame by the measure we use, gamut and all. The visual faults left are the ones from the older line: blown-out sun, no shadow that cuts it. For the PR: put `draw` as the Intel default, or keep `Bind` as the default and document `draw` as what an Arc owner should reach for. On this card the difference is **280 s versus 852 s with no crash**, and the log line to quote is `mesh pipelines per frame (VICTORY_MESH_REST=Draw): ... bound, ... rest pipelines bound in their place`.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 17:44 UTC · original

Logs behind the numbers, as asked — the raw output of the layer, ANSI stripped and converted to UTF-8:

https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs

  • vicetay-pr450-draw-852s.log — this VICTORY_MESH_REST=draw run, 852 s, 0 device removals (10 MB, 1 MB gzipped)
  • vicetay-pr450-bind-280s.log — the Bind run for comparison, 280 s, one removal after a cold make ... in 7 211 ms
  • arcintel-ours-meshunbind-226s.log — the MRSEEO/VIctory-Intel-Arc run with the mesh unbind ported in, for the other thread

What to grep for, so nobody has to read 100 000 lines:

string what it gives
fps, the per-five-second line: fps, ms/frame, and the split between preparing, the card, and copying back
mesh pipelines per frame your counter, in the VICTORY_MESH_REST=Draw run it prints ... bound, ... rest pipelines bound in their place
host GPU device removed absent in the draw log — that is the claim, checkable in one grep
pipeline library: made the cold creations, with their durations, e.g. in 7211.3 ms (no matching library entry)

The draw log is the one to read if you want the evidence for the PR: it ends with title suspended; ending the title and no
removal anywhere, at 4.2 fps and 153 frame samples. The bind log ends with the cold creation and then the removal, which is
the remaining fault after your patch and not a regression it introduced.

**@⁠dengarIicdk** on GitHub · 2026-11-29 17:44 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7259929590) Logs behind the numbers, as asked — the raw output of the layer, ANSI stripped and converted to UTF-8: **https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs** - `vicetay-pr450-draw-852s.log` — this `VICTORY_MESH_REST=draw` run, 852 s, 0 device removals (10 MB, 1 MB gzipped) - `vicetay-pr450-bind-280s.log` — the `Bind` run for comparison, 280 s, one removal after a cold `make ... in 7 211 ms` - `arcintel-ours-meshunbind-226s.log` — the `MRSEEO/VIctory-Intel-Arc` run with the mesh unbind ported in, for the other thread What to grep for, so nobody has to read 100 000 lines: | string | what it gives | |---|---| | `fps,` | the per-five-second line: fps, ms/frame, and the split between preparing, the card, and copying back | | `mesh pipelines per frame` | your counter, in the `VICTORY_MESH_REST=Draw` run it prints `... bound, ... rest pipelines bound in their place` | | `host GPU device removed` | **absent** in the draw log — that is the claim, checkable in one grep | | `pipeline library: made` | the cold creations, with their durations, e.g. `in 7211.3 ms (no matching library entry)` | The draw log is the one to read if you want the evidence for the PR: it ends with `title suspended; ending the title` and no removal anywhere, at 4.2 fps and 153 frame samples. The bind log ends with the cold creation and then the removal, which is the remaining fault after your patch and not a regression it introduced.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 17:50 UTC · original

Yes, that is exactly the experiment worth running, and the A/B is easy here because the shader and pipeline caches are
already warm on this machine. Two launches, same build (5e3bef5), same spot, series-s, driver 32.0.101.9175:

  • A — VICTORY_MESH_REST=bind (the 280 s result from the previous comment)
  • B — VICTORY_MESH_REST=lazy

I will report, for each: the fps line series, the mesh pipelines per frame counter (rests against mesh binds), how long the
run lasted, and whether it ended on a device removal or on a close. Your point about lazy letting more work run under a
bound mesh pipeline cuts both ways — if B dies sooner, that is the answer and it goes in the issue as such, not as a
recommendation.

One number to keep in mind while reading it: in the draw run, 2 100 rests per frame sat alongside 2 100 mesh binds, so
the per-frame cost of the pinning is roughly doubled work on the submit path — if lazy collapses that to a fraction, the
4 fps heavy scene should move even if stability does not change.

Build finished; I will have both runs in here tonight, or say plainly that the machine is done for the day.

**@⁠dengarIicdk** on GitHub · 2026-11-29 17:50 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7260002182) Yes, that is exactly the experiment worth running, and the A/B is easy here because the shader and pipeline caches are already warm on this machine. Two launches, same build (`5e3bef5`), same spot, `series-s`, driver 32.0.101.9175: - **A** — `VICTORY_MESH_REST=bind` (the 280 s result from the previous comment) - **B** — `VICTORY_MESH_REST=lazy` I will report, for each: the fps line series, the `mesh pipelines per frame` counter (rests against mesh binds), how long the run lasted, and whether it ended on a device removal or on a close. Your point about `lazy` letting more work run under a bound mesh pipeline cuts both ways — if B dies sooner, that is the answer and it goes in the issue as such, not as a recommendation. One number to keep in mind while reading it: in the `draw` run, 2 100 rests per frame sat alongside 2 100 mesh binds, so the per-frame cost of the pinning is roughly doubled work on the submit path — if `lazy` collapses that to a fraction, the 4 fps heavy scene should move even if stability does not change. Build finished; I will have both runs in here tonight, or say plainly that the machine is done for the day.
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 17:51 UTC · original

Thanks, that's a clear result. fix/intel-mesh-rest now defaults to draw on Intel cards (84462d6), so on your card the branch does what your 852 s run did with no variable set. bind is still there, and the lazy variant from my previous comment now draws the point too, so it differs from the default only in skipping the rest between two mesh dispatches.

The lazy A/B is still worth one run if you have time, now against draw: same spot, VICTORY_MESH_REST=lazy, and compare the fps lines and how long it lasts. If it holds as long as draw and runs faster, it can become the default; if not, draw stays.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-29 17:51 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7260023809) Thanks, that's a clear result. `fix/intel-mesh-rest` now defaults to `draw` on Intel cards (84462d6), so on your card the branch does what your 852 s run did with no variable set. `bind` is still there, and the `lazy` variant from my previous comment now draws the point too, so it differs from the default only in skipping the rest between two mesh dispatches. The `lazy` A/B is still worth one run if you have time, now against `draw`: same spot, `VICTORY_MESH_REST=lazy`, and compare the fps lines and how long it lasts. If it holds as long as `draw` and runs faster, it can become the default; if not, `draw` stays. AI-assisted: yes
Author
Owner

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

Good — 84462d6 was what I expected to be asked for, and it is built here (37 s, GNU, 80 MB). So the A/B is now exactly what you described, on the same build and the same warm caches:

  • baseline — no variable set, so draw by default on this Intel card. I already have that result from c2536e7: 852 s, zero device removals, heavy scene median 3.7 fps. If the default changing hands matters for comparability I will re-run it, but the mode itself is unchanged.
  • B — VICTORY_MESH_REST=lazy on 84462d6, same spot, same profile.

What I will put in here for each: the fps series, mesh pipelines per frame (rests against mesh binds — if lazy really collapses the 2 100/2 100 pairing, that line will show it), the length of the run, and whether it ended on a close or a removal.

One thing worth saying now rather than later: if lazy also holds, the deciding number is not stability but the heavy-scene fps, and on this card that is bounded by the texture queue rather than by the rest binds — 37 000 textures waiting at 1 185 MB of 12 GB. So a faster lazy would be a real win but a small one, unless the submit path was also throttling the uploads, which is possible.

**@⁠dengarIicdk** on GitHub · 2026-11-29 17:54 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7260053474) Good — `84462d6` was what I expected to be asked for, and it is built here (37 s, GNU, 80 MB). So the A/B is now exactly what you described, on the same build and the same warm caches: - **baseline** — no variable set, so `draw` by default on this Intel card. I already have that result from `c2536e7`: **852 s, zero device removals, heavy scene median 3.7 fps**. If the default changing hands matters for comparability I will re-run it, but the mode itself is unchanged. - **B** — `VICTORY_MESH_REST=lazy` on `84462d6`, same spot, same profile. What I will put in here for each: the fps series, `mesh pipelines per frame` (rests against mesh binds — if `lazy` really collapses the 2 100/2 100 pairing, that line will show it), the length of the run, and whether it ended on a close or a removal. One thing worth saying now rather than later: if `lazy` also holds, the deciding number is not stability but the heavy-scene fps, and on this card that is bounded by the texture queue rather than by the rest binds — 37 000 textures waiting at 1 185 MB of 12 GB. So a faster `lazy` would be a real win but a small one, unless the submit path was also throttling the uploads, which is possible.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 18:13 UTC · original

A/B done on 84462d6, same machine, same warm caches, same spot, series-s, driver 32.0.101.9175. The answer is: lazy
is a little faster and a little less stable. Keep draw as the default.

mode lasted heavy-phase fps best rest binds / frame ending
draw (default, from c2536e7) 852 s median 3.7, worst 0.6 31.5 2 100 closed by hand, 0 removals
lazy (84462d6) 639 s median 3.9, worst 0.6 30.0 5 114 device removed, after 6 submissions sent ahead ... of 82 lists

So your hypothesis was half right. lazy does buy a little: the heavy-scene median moves 3.7 → 3.9, and the mean over the
whole run 6.6 → 7.8, which is what skipping the rest between two mesh dispatches should look like. But it costs the
property that made draw interesting — the run that lasted 852 s never lost the device, and this one did at 639 s.

The counter is worth reading on its own: with lazy the rests are no longer 1:1 with mesh binds, they exceed them
(5 114 rests against the mesh binds on the same line). If that is intended, it means the saving is not where the name
suggests, and it would explain why the fps gain is small.

Context that may matter for your read: most of this run was standing still — the user was AFK in the prison block, and the
end came after a dialogue-and-doors sequence rather than while driving or fighting. So the 639 s is not a stressed run; it
is a quiet one that still ended on a removal.

Recommendation, for the PR: draw as the Intel default, exactly as 84462d6 has it, and lazy documented as an
experiment with these two numbers next to it. If you want a third data point I will run draw once more on 84462d6 to
confirm the 852 s was not a lucky session — say the word and it is ten minutes of my time.

Logs: vicetay-lazy-639s.log is being added to https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs next to the
other two, so the difference between the two runs can be read line by line.

**@⁠dengarIicdk** on GitHub · 2026-11-29 18:13 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7260313084) A/B done on `84462d6`, same machine, same warm caches, same spot, `series-s`, driver 32.0.101.9175. The answer is: **`lazy` is a little faster and a little less stable. Keep `draw` as the default.** | mode | lasted | heavy-phase fps | best | rest binds / frame | ending | |---|---|---|---|---|---| | `draw` (default, from `c2536e7`) | **852 s** | median 3.7, worst 0.6 | 31.5 | 2 100 | **closed by hand, 0 removals** | | `lazy` (`84462d6`) | **639 s** | median **3.9**, worst 0.6 | 30.0 | **5 114** | device removed, `after 6 submissions sent ahead ... of 82 lists` | So your hypothesis was half right. `lazy` does buy a little: the heavy-scene median moves 3.7 → 3.9, and the mean over the whole run 6.6 → 7.8, which is what skipping the rest between two mesh dispatches should look like. But it costs the property that made `draw` interesting — the run that lasted 852 s never lost the device, and this one did at 639 s. The counter is worth reading on its own: with `lazy` the rests are no longer 1:1 with mesh binds, they *exceed* them (5 114 rests against the mesh binds on the same line). If that is intended, it means the saving is not where the name suggests, and it would explain why the fps gain is small. Context that may matter for your read: most of this run was standing still — the user was AFK in the prison block, and the end came after a dialogue-and-doors sequence rather than while driving or fighting. So the 639 s is not a stressed run; it is a quiet one that still ended on a removal. Recommendation, for the PR: `draw` as the Intel default, exactly as `84462d6` has it, and `lazy` documented as an experiment with these two numbers next to it. If you want a third data point I will run `draw` once more on `84462d6` to confirm the 852 s was not a lucky session — say the word and it is ten minutes of my time. Logs: `vicetay-lazy-639s.log` is being added to https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs next to the other two, so the difference between the two runs can be read line by line.
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 18:27 UTC · original

Thanks for the logs. I read vicetay-pr450-lazy-639s.log before drawing conclusions, and that run wasn't lazy: the startup line says mesh pipelines are unbound before other work (VICTORY_MESH_REST) mode=Draw, and all 472 mesh pipelines per frame lines say VICTORY_MESH_REST=Draw. The variable didn't reach the process, so the build fell back to the Intel default. That also explains the counter: rests are 1:1 with mesh binds in both logs (per-frame mean 2,754 bound / 2,754 rests in the 852 s run, 3,528 / 3,528 in the 639 s run). lazy can't give more rests than mesh binds, since each rest takes the place of one bound mesh pipeline.

So what the two runs show is two draw runs on the same build and caches:

run lasted ending
draw #1 852 s closed by hand, no removal
draw #2 639 s 0x887A0006 (device hung)

Against 280 s for bind and 82-151 s without the rest pipeline, draw is still the best default we have, but it doesn't remove the hang. I've put both numbers in the module doc (4ae9e5f) and in the PR text, instead of the single 852 s.

If you try lazy again, the startup line should read mode=Lazy. If it says Draw, the value didn't get through to victory.exe.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-29 18:27 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7260497787) Thanks for the logs. I read `vicetay-pr450-lazy-639s.log` before drawing conclusions, and that run wasn't `lazy`: the startup line says `mesh pipelines are unbound before other work (VICTORY_MESH_REST) mode=Draw`, and all 472 `mesh pipelines per frame` lines say `VICTORY_MESH_REST=Draw`. The variable didn't reach the process, so the build fell back to the Intel default. That also explains the counter: rests are 1:1 with mesh binds in both logs (per-frame mean 2,754 bound / 2,754 rests in the 852 s run, 3,528 / 3,528 in the 639 s run). `lazy` can't give more rests than mesh binds, since each rest takes the place of one bound mesh pipeline. So what the two runs show is two `draw` runs on the same build and caches: | run | lasted | ending | |---|---|---| | `draw` #1 | 852 s | closed by hand, no removal | | `draw` #2 | 639 s | `0x887A0006` (device hung) | Against 280 s for `bind` and 82-151 s without the rest pipeline, `draw` is still the best default we have, but it doesn't remove the hang. I've put both numbers in the module doc (4ae9e5f) and in the PR text, instead of the single 852 s. If you try `lazy` again, the startup line should read `mode=Lazy`. If it says `Draw`, the value didn't get through to `victory.exe`. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 18:28 UTC · original

You are right, and thank you for reading the log instead of the claim — that run was not lazy. My launcher built the
-More hashtable from a template that still said draw, so the value never changed; the file name said lazy and the
process was draw. Fixed, and the fixed line now reads -More @{VICTORY_MESH_REST='lazy'}. I will quote the startup
mode= line from the new log before saying anything about the result, so the same mistake cannot pass twice.

What that gives you in the meantime, and it is worth more than a wasted run: two draw runs on the same build and
caches now exist, and they disagree on stability.

run lasted ending
draw #1 852 s closed by hand, no removal
draw #2 639 s 0x887A0006, hung

So your correction stands, and my earlier "852 s with zero removals" was one sample, not a property of the mode. Two runs,
one clean and one not, at 639–852 s — against 280 s for bind and 82–151 s without the rest pipeline. draw is still the
best default, exactly as you put it, and the hang is still there.

One detail from run #2 that may be worth a line in the module doc: both draw runs sat at a median of ~3.7 fps in the
heavy scene with 33 000–37 000 textures waiting at about 1.2 GB of 12 GB, so the fps floor is the upload path and not the
rest binds. If lazy is meant to buy frames, that is where to look for them — unless the submits are what throttle the
uploads, which is exactly what the run will tell us.

Real lazy run coming, with the mode line quoted.

**@⁠dengarIicdk** on GitHub · 2026-11-29 18:28 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7260517627) You are right, and thank you for reading the log instead of the claim — that run was not `lazy`. My launcher built the `-More` hashtable from a template that still said `draw`, so the value never changed; the file name said `lazy` and the process was `draw`. Fixed, and the fixed line now reads `-More @{VICTORY_MESH_REST='lazy'}`. I will quote the startup `mode=` line from the new log before saying anything about the result, so the same mistake cannot pass twice. What that gives you in the meantime, and it is worth more than a wasted run: **two `draw` runs on the same build and caches now exist, and they disagree on stability.** | run | lasted | ending | |---|---|---| | `draw` #1 | 852 s | closed by hand, no removal | | `draw` #2 | 639 s | `0x887A0006`, hung | So your correction stands, and my earlier "852 s with zero removals" was one sample, not a property of the mode. Two runs, one clean and one not, at 639–852 s — against 280 s for `bind` and 82–151 s without the rest pipeline. `draw` is still the best default, exactly as you put it, and the hang is still there. One detail from run #2 that may be worth a line in the module doc: both `draw` runs sat at a median of ~3.7 fps in the heavy scene with 33 000–37 000 textures waiting at about 1.2 GB of 12 GB, so the fps floor is the upload path and not the rest binds. If `lazy` is meant to buy frames, that is where to look for them — unless the submits are what throttle the uploads, which is exactly what the run will tell us. Real `lazy` run coming, with the mode line quoted.
Author
Owner

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

Thanks for correcting the test and sharing both draw runs. Let's keep draw as the Intel default on the candidate branch for now, without claiming it fixes the device hang. Please confirm mode=Lazy in the new startup log and compare against draw on the same commit, cache, settings and route. The 33–37k waiting textures at roughly 1.2 GB warrant separate investigation of upload admission and submission stalls; the queue alone doesn't establish which is causal. Duration, termination reason, native FPS, queue depth and submission timings would help distinguish them.

**@⁠TaynanGT** on GitHub · 2026-11-29 19:08 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261046150) Thanks for correcting the test and sharing both draw runs. Let's keep draw as the Intel default on the candidate branch for now, without claiming it fixes the device hang. Please confirm mode=Lazy in the new startup log and compare against draw on the same commit, cache, settings and route. The 33–37k waiting textures at roughly 1.2 GB warrant separate investigation of upload admission and submission stalls; the queue alone doesn't establish which is causal. Duration, termination reason, native FPS, queue depth and submission timings would help distinguish them.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-29 19:09 UTC · original

Thanks for correcting the mode and reporting both draw runs. The 639 s hang means draw improves the observed survival time but is not a complete fix. Please quote the effective startup mode for lazy, keep the cache and scene matched, and record upload queue depth and submission/device-removal diagnostics. The texture backlog at low reported VRAM usage is worth investigating separately from rest binds.

**@⁠TaynanGT** on GitHub · 2026-11-29 19:09 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261050910) Thanks for correcting the mode and reporting both draw runs. The 639 s hang means draw improves the observed survival time but is not a complete fix. Please quote the effective startup mode for lazy, keep the cache and scene matched, and record upload queue depth and submission/device-removal diagnostics. The texture backlog at low reported VRAM usage is worth investigating separately from rest binds.
Author
Owner

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

The real lazy run, with the mode line quoted first so this one cannot be another draw:

mesh pipelines are unbound before other work (VICTORY_MESH_REST) mode=Lazy
...
mesh pipelines per frame (VICTORY_MESH_REST=Lazy): 6 551.0 bound, 6 549.7 rest pipelines bound in their place

Answer: lazy is worse on both counts. Keep draw as the default.

mode, same build and caches lasted heavy-scene fps ending
draw #1 852 s median 3.7 closed by hand, no removal
draw #2 639 s median 3.9 0x887A0006
lazy 216 s median 2.9, worst 1.5 dead at 216 s: no shared buffer … no host list to bring host copies

Two things worth your attention in that counter. First, lazy still gives 6 549.7 rests for 6 551.0 mesh binds — the 1:1
pairing you predicted does not go away, so whatever the mode saves between two mesh dispatches, it is not the rest binds.
Second, the run is short enough that the counter is high simply because it spent its time in the dense part of the scene, so
read the ratio, not the absolute number.

The ending is different from the previous two as well: no host GPU device removed line at all, but no shared buffer /
no read-back buffer warnings with an error field, then no host list to bring host copies — the host went away without
the layer reporting a removal code, which is why it is not counted as one above.

So the order on this card is: draw (639–852 s) > bind (280 s) > lazy (216 s) > no rest pipeline (82–151 s). That is
a clean enough result to put in the module doc as it stands, and it means the extra mode does not need to be the default
anywhere.

For completeness, the run was mostly stationary in the prison block again and ended after the same dialogue-and-doors
sequence as run #2 — so this is not a stress difference between the runs, it is the same spot and the same kind of scene.

**@⁠dengarIicdk** on GitHub · 2026-11-29 19:32 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261359491) The real `lazy` run, with the mode line quoted first so this one cannot be another `draw`: ``` mesh pipelines are unbound before other work (VICTORY_MESH_REST) mode=Lazy ... mesh pipelines per frame (VICTORY_MESH_REST=Lazy): 6 551.0 bound, 6 549.7 rest pipelines bound in their place ``` **Answer: `lazy` is worse on both counts. Keep `draw` as the default.** | mode, same build and caches | lasted | heavy-scene fps | ending | |---|---|---|---| | `draw` #1 | 852 s | median 3.7 | closed by hand, no removal | | `draw` #2 | 639 s | median 3.9 | `0x887A0006` | | **`lazy`** | **216 s** | **median 2.9, worst 1.5** | dead at 216 s: `no shared buffer … no host list to bring host copies` | Two things worth your attention in that counter. First, `lazy` still gives 6 549.7 rests for 6 551.0 mesh binds — the 1:1 pairing you predicted does not go away, so whatever the mode saves between two mesh dispatches, it is not the rest binds. Second, the run is short enough that the counter is high simply because it spent its time in the dense part of the scene, so read the ratio, not the absolute number. The ending is different from the previous two as well: no `host GPU device removed` line at all, but `no shared buffer` / `no read-back buffer` warnings with an `error` field, then `no host list to bring host copies` — the host went away without the layer reporting a removal code, which is why it is not counted as one above. So the order on this card is: **`draw` (639–852 s) > `bind` (280 s) > `lazy` (216 s) > no rest pipeline (82–151 s)**. That is a clean enough result to put in the module doc as it stands, and it means the extra mode does not need to be the default anywhere. For completeness, the run was mostly stationary in the prison block again and ended after the same dialogue-and-doors sequence as run #2 — so this is not a stress difference between the runs, it is the same spot and the same kind of scene.
Author
Owner

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

A warning for the README, not a bug in your patch: -RayTracing does not work on a B580 in this tree either. It does not
lose the device — it kills the title before the first scene.

84462d6, -More @{VICTORY_MESH_REST='draw'} plus -RayTracing, same profile and warm caches:

  • ran 106 s, no host GPU device removed at all;
  • title dll xboxbvhbuilder.dll bound with 9 hle, 48 host, 0 title, 0 missing, and the BVH packs were opened
    (core_bvh4.rpf, story000_bvh4.rpf, shared_minigame000_bvh4.rpf);
  • then the title itself faulted and wrote a 57 MB Breakpad dump (submit.backtrace.io, blocked by the layer as usual);
  • the last logged lines are the FSR4 ACO ones, so nothing in the log marks the fault — the crash is inside the title.

The same thing happens on the older trustno1-coder base with VICTORY_BVH_BUILDER=1: the title dies during load. Two
different bases, same outcome, so it looks like a property of the translated BVH path on Battlemage rather than of either
patch set. If that matches what you have seen, the honest line for the README is "ray tracing is NVIDIA/AMD-only for now",
because an Arc owner who turns it on loses the session.

Which closes the visual question from the other direction as well: without RT there is no shadow to cut the sun, and the
sunlit frames stay blown out — measured here, the stand-in light moves the frame by 6 of 255 across a 4x change, and the
frame the title hands us is 8-bit and already clipped, so a tonemap stage has nothing to recover. Not a complaint about your
work; just so nobody spends a week on it expecting a different answer.

**@⁠dengarIicdk** on GitHub · 2026-11-29 19:46 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261538091) A warning for the README, not a bug in your patch: **`-RayTracing` does not work on a B580 in this tree either.** It does not lose the device — it kills the title before the first scene. `84462d6`, `-More @{VICTORY_MESH_REST='draw'}` plus `-RayTracing`, same profile and warm caches: - ran **106 s**, no `host GPU device removed` at all; - `title dll xboxbvhbuilder.dll` bound with `9 hle, 48 host, 0 title, 0 missing`, and the BVH packs were opened (`core_bvh4.rpf`, `story000_bvh4.rpf`, `shared_minigame000_bvh4.rpf`); - then the title itself faulted and wrote a **57 MB Breakpad dump** (`submit.backtrace.io`, blocked by the layer as usual); - the last logged lines are the FSR4 ACO ones, so nothing in the log marks the fault — the crash is inside the title. The same thing happens on the older `trustno1-coder` base with `VICTORY_BVH_BUILDER=1`: the title dies during load. Two different bases, same outcome, so it looks like a property of the translated BVH path on Battlemage rather than of either patch set. If that matches what you have seen, the honest line for the README is "ray tracing is NVIDIA/AMD-only for now", because an Arc owner who turns it on loses the session. Which closes the visual question from the other direction as well: without RT there is no shadow to cut the sun, and the sunlit frames stay blown out — measured here, the stand-in light moves the frame by 6 of 255 across a 4x change, and the frame the title hands us is 8-bit and already clipped, so a tonemap stage has nothing to recover. Not a complaint about your work; just so nobody spends a week on it expecting a different answer.
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 19:49 UTC · original

Thanks, that settles lazy. It's in the module doc now (7284911) and stays opt-in; draw stays the Intel default.

On the counter: 6,550 rests for 6,551 mesh binds with lazy means the title's mesh dispatches almost never follow one another with nothing recorded in between. A copy, a barrier or a draw of another kind sits between almost every pair, and each of those still gets the rest pipeline first. So lazy had next to nothing to spare. That matches the small fps difference, and it means the rest binds aren't what holds the heavy scene at 3-4 fps. The texture backlog you measured is the better lead there, as the maintainer said. One lazy run ending at 216 s doesn't tell much about why it ended. That ending (no shared/read-back buffer, then no host list) is a different one from the device hangs, and I'd keep it apart.

On ray tracing: I haven't run it on any Arc card, so I can't confirm it from here. Your two bases failing the same way is worth a separate issue with the log tail and the dump's existence noted, so the maintainer can decide on the README line.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-29 19:49 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261586900) Thanks, that settles `lazy`. It's in the module doc now (7284911) and stays opt-in; `draw` stays the Intel default. On the counter: 6,550 rests for 6,551 mesh binds with `lazy` means the title's mesh dispatches almost never follow one another with nothing recorded in between. A copy, a barrier or a draw of another kind sits between almost every pair, and each of those still gets the rest pipeline first. So `lazy` had next to nothing to spare. That matches the small fps difference, and it means the rest binds aren't what holds the heavy scene at 3-4 fps. The texture backlog you measured is the better lead there, as the maintainer said. One `lazy` run ending at 216 s doesn't tell much about why it ended. That ending (no shared/read-back buffer, then no host list) is a different one from the device hangs, and I'd keep it apart. On ray tracing: I haven't run it on any Arc card, so I can't confirm it from here. Your two bases failing the same way is worth a separate issue with the log tail and the dump's existence noted, so the maintainer can decide on the README line. AI-assisted: yes
Author
Owner

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

All three points taken, and the third one is done: #457 — "Arc B580 + -RayTracing: the title faults during load (57 MB dump), with xboxbvhbuilder.dll bound cleanly", with the log tail, the binding line, the BVH packs that were opened, and the 57 MB dump noted. Log is public next to the others: https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs

Your reading of the counter is better than mine and I will quote it in the other thread: 6 550 rests against 6 551 binds means the title almost never records two mesh dispatches back to back, so lazy had nothing to save — the mode is not a slower draw, it simply has no room here. And yes, the 216 s ending is a different failure (no shared/read-back buffer, then no host list to bring host copies) and I have kept it apart from the device hangs in the write-up rather than folding it into the stability column.

One correction on my side, so the record is straight: "draw" is 2 runs of 3 attempts, not a property — 852 s closed, 639 s hung, and one earlier draw-labelled run that was actually default-mode and lasted 216 s but belongs to the lazy column now. So the honest summary is "draw survives 10-14 minutes when it survives, and hangs the other way round", which is still far better than 82-151 s.

**@⁠dengarIicdk** on GitHub · 2026-11-29 19:51 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261612180) All three points taken, and the third one is done: **#457** — "Arc B580 + -RayTracing: the title faults during load (57 MB dump), with xboxbvhbuilder.dll bound cleanly", with the log tail, the binding line, the BVH packs that were opened, and the 57 MB dump noted. Log is public next to the others: https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs Your reading of the counter is better than mine and I will quote it in the other thread: 6 550 rests against 6 551 binds means the title almost never records two mesh dispatches back to back, so `lazy` had nothing to save — the mode is not a slower `draw`, it simply has no room here. And yes, the 216 s ending is a different failure (no shared/read-back buffer, then no host list to bring host copies) and I have kept it apart from the device hangs in the write-up rather than folding it into the stability column. One correction on my side, so the record is straight: "draw" is 2 runs of 3 attempts, not a property — 852 s closed, 639 s hung, and one earlier `draw`-labelled run that was actually default-mode and lasted 216 s but belongs to the lazy column now. So the honest summary is "draw survives 10-14 minutes when it survives, and hangs the other way round", which is still far better than 82-151 s.
Author
Owner

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

Standing offer, so it does not have to be asked for each time: if you want anything run on a B580, say the commit, the
env and the spot, and I will run it and post the numbers plus the log.
No need to justify the request or explain what you
expect — a negative result is as useful as a positive one, and I have the machine set up for it.

What is ready on this end, so a run costs you nothing but a message:

  • This card: Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200, Ryzen 7 5700X, 32 GB, ReBAR on.
  • Builds: GNU toolchain 1.98.1, cargo build --release --locked -p victory on any branch you name, 40 s to 80 s per
    build, and I report the sha256 of what actually ran so a mismatch like my lazy-that-was-draw cannot happen again.
  • Warm caches: 195 MB of pipelines and a full shader cache in an isolated home, so a run starts in seconds and lasts
    4-15 minutes rather than being dominated by translation.
  • Report format: the mode line from the log quoted first, then duration, fps series (median and worst in the heavy
    scene), the counters you care about, and how it ended — close, device hang, or a title fault with or without a dump.
  • Logs: published at https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs with the ANSI stripped, next to the
    five that are already there.

Three things that would each be a good use of the machine, in my order:

  1. #457 (RT) — any pointer to the last HLE export reached in xboxbvhbuilder.dll before the fault, or a diagnostics
    build. Ray tracing is the only path I know of to the visual problem (the sun has no shadow to cut it), so a crash there
    costs more than the fps.
  2. The texture backlog — on this card the heavy scene sits at 3-4 fps with 33 000-37 000 textures waiting at about 1.2 GB
    of 12 GB, so the upload path, not the rest binds, is the wall. Any switch or build that moves that queue is worth a run.
  3. draw a third time — I have two samples, 852 s closed and 639 s hung. A third would say which of the two is the
    normal case, and it is ten minutes.

And if you would rather have a different kind of test — a specific scene, a longer session, a stress run with the camera
moving, or repeats to see variance — that is fine too. Just say which.

**@⁠dengarIicdk** on GitHub · 2026-11-29 19:54 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261659607) Standing offer, so it does not have to be asked for each time: **if you want anything run on a B580, say the commit, the env and the spot, and I will run it and post the numbers plus the log.** No need to justify the request or explain what you expect — a negative result is as useful as a positive one, and I have the machine set up for it. What is ready on this end, so a run costs you nothing but a message: - **This card:** Arc B580 12 GB, driver 32.0.101.9175, Windows 11 26200, Ryzen 7 5700X, 32 GB, ReBAR on. - **Builds:** GNU toolchain 1.98.1, `cargo build --release --locked -p victory` on any branch you name, 40 s to 80 s per build, and I report the sha256 of what actually ran so a mismatch like my `lazy`-that-was-`draw` cannot happen again. - **Warm caches:** 195 MB of pipelines and a full shader cache in an isolated home, so a run starts in seconds and lasts 4-15 minutes rather than being dominated by translation. - **Report format:** the mode line from the log quoted first, then duration, fps series (median and worst in the heavy scene), the counters you care about, and how it ended — close, device hang, or a title fault with or without a dump. - **Logs:** published at https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs with the ANSI stripped, next to the five that are already there. Three things that would each be a good use of the machine, in my order: 1. **#457 (RT)** — any pointer to the last HLE export reached in `xboxbvhbuilder.dll` before the fault, or a diagnostics build. Ray tracing is the only path I know of to the visual problem (the sun has no shadow to cut it), so a crash there costs more than the fps. 2. **The texture backlog** — on this card the heavy scene sits at 3-4 fps with 33 000-37 000 textures waiting at about 1.2 GB of 12 GB, so the upload path, not the rest binds, is the wall. Any switch or build that moves that queue is worth a run. 3. **`draw` a third time** — I have two samples, 852 s closed and 639 s hung. A third would say which of the two is the normal case, and it is ten minutes. And if you would rather have a different kind of test — a specific scene, a longer session, a stress run with the camera moving, or repeats to see variance — that is fine too. Just say which.
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 20:15 UTC · original

On the texture backlog vs upload admission vs submission stalls: I read the two draw logs from the reporter's repository (852 s and 639 s), because they already carry the lines that tell these apart.

What the queue is made of (textures picked by index, the queue: ... lines, 153 and 112 samples):

run mean slots mean due mean waiting for their memory largest
draw 852 s 10,223 723 6,285 (61%) 21,651 slots, 20,010 of them waiting for memory
draw 639 s 8,728 685 4,274 (49%) 30,341 slots, 19,795 waiting for memory

Most of the backlog is slots whose title memory isn't there yet. That's the title's streaming not having mapped it, not uploads refused or held back. The slots that are due number in the hundreds to low thousands.

How long things take once they can go (textures shown, since the start (crate::texlate), 852 s run):

  • upload to a new texture shown: 240,177 textures, half under 16 ms, 90% under 1 s;
  • written to shown with the memory there: mean 837 ms, half under 500 ms;
  • the same after waiting for memory: 99,643 textures, mean 43 s, 90% over 32 s.

So once a texture's memory is there, the upload path is quick. The long waits are for the memory itself.

Where the frame goes in the heavy scene (fps lines under 6 fps, median frame):

run fps ms/frame on the GPU preparing (copies) textures copying back
852 s 3.7 269 161 90 (28) 2.1 52
639 s 3.9 255 114 113 (34) 1.5 65

These parts overlap (preparing runs while the card works), so they don't add up to the frame. In the 852 s run, the submitting thread also reports about 222 ms of work per frame and about 98 ms standing waiting for the card.

My read: texture uploads take about 2 ms of a 260 ms frame, so the backlog isn't what holds the scene at 3-4 fps. The frame is the card's time plus our preparation and copy-back on the submitting thread. The 20,000 slots waiting for memory are a streaming question. Whether the title streams that slowly on other cards too, I can't tell from these logs alone. The same two crate::texlate and queue lines from an NVIDIA or AMD run of the same route would settle it.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-29 20:15 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7261929423) On the texture backlog vs upload admission vs submission stalls: I read the two `draw` logs from the reporter's repository (852 s and 639 s), because they already carry the lines that tell these apart. **What the queue is made of** (`textures picked by index, the queue: ...` lines, 153 and 112 samples): | run | mean slots | mean due | mean waiting for their memory | largest | |---|---:|---:|---:|---| | `draw` 852 s | 10,223 | 723 | 6,285 (61%) | 21,651 slots, 20,010 of them waiting for memory | | `draw` 639 s | 8,728 | 685 | 4,274 (49%) | 30,341 slots, 19,795 waiting for memory | Most of the backlog is slots whose title memory isn't there yet. That's the title's streaming not having mapped it, not uploads refused or held back. The slots that are due number in the hundreds to low thousands. **How long things take once they can go** (`textures shown, since the start (crate::texlate)`, 852 s run): - upload to a new texture shown: 240,177 textures, half under 16 ms, 90% under 1 s; - written to shown with the memory there: mean 837 ms, half under 500 ms; - the same after waiting for memory: 99,643 textures, mean 43 s, 90% over 32 s. So once a texture's memory is there, the upload path is quick. The long waits are for the memory itself. **Where the frame goes in the heavy scene** (fps lines under 6 fps, median frame): | run | fps | ms/frame | on the GPU | preparing (copies) | textures | copying back | |---|---:|---:|---:|---:|---:|---:| | 852 s | 3.7 | 269 | 161 | 90 (28) | 2.1 | 52 | | 639 s | 3.9 | 255 | 114 | 113 (34) | 1.5 | 65 | These parts overlap (preparing runs while the card works), so they don't add up to the frame. In the 852 s run, the submitting thread also reports about 222 ms of work per frame and about 98 ms standing waiting for the card. My read: texture uploads take about 2 ms of a 260 ms frame, so the backlog isn't what holds the scene at 3-4 fps. The frame is the card's time plus our preparation and copy-back on the submitting thread. The 20,000 slots waiting for memory are a streaming question. Whether the title streams that slowly on other cards too, I can't tell from these logs alone. The same two `crate::texlate` and queue lines from an NVIDIA or AMD run of the same route would settle it. AI-assisted: yes
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 20:21 UTC · original

You asked for the same two lines from another base to settle whether the 20 000 waiting slots are the title's streaming or
the layer's behaviour. I cannot offer an NVIDIA or AMD run, but I can offer something closer: the same card, the same title,
the same route, a different base of the runtime.
Two logs from trustno1-coder/VIctory-NVIDIA at 64d4931b plus a
mesh-unbind patch and three library fixes, which is the base that holds 2 011 s and 2 052 s here. Same parsing as yours, over
381 and 60 queue samples:

base run mean slots mean due mean waiting for memory largest
64d4931b + patches 2 052 s 2 350 567 148 (6%) 18 018
64d4931b + patches 332 s 6 667 593 82 (1%) 26 264
Marvisak/VIctory (draw) 852 s 10 223 723 6 285 (61%) 21 651
Marvisak/VIctory (draw) 639 s 8 728 685 4 274 (49%) 30 341

The title streams the same either way, and the share of slots waiting for their memory is 1-6% on one base against 49-61% on
the other
. That is a ten-fold difference on identical hardware with identical assets, so as far as I can read it, the
backlog is not the title's streaming being slow — it is how this base holds title memory. And it matters: our heavy scene runs
at 13-16 fps in the same spots where this tree sits at 3-4.

One more number that points the same way, and it contradicts nothing in your frame breakdown but sits oddly next to it. In our
heavy frames (under 6 fps, 43 samples in the long run) the median frame is 291 ms with 0.0 ms on the GPU and 79.8 ms of
preparation (of which textures 10.6 ms, copies 39.4 ms). The card is idle in exactly the frames where this tree reports
161 ms of card time. So on this base the wall is the submitting thread; on this tree it is the card plus the memory mapping
behind it.

If it is useful, I will run the same route on 64d4931b with VICTORY_TEXTURE_DROP_MIPS-equivalent settings, or any
residency switch you want toggled in the newer tree, and post the same table. But my reading is that the fixed cost you are
looking at is the residency and mapping path, and it is the thing worth comparing commit by commit — with two bases on one
card, we can bisect it here without needing anyone's GeForce.

**@⁠dengarIicdk** on GitHub · 2026-11-29 20:21 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7262008875) You asked for the same two lines from another base to settle whether the 20 000 waiting slots are the title's streaming or the layer's behaviour. I cannot offer an NVIDIA or AMD run, but I can offer something closer: **the same card, the same title, the same route, a different base of the runtime.** Two logs from `trustno1-coder/VIctory-NVIDIA` at `64d4931b` plus a mesh-unbind patch and three library fixes, which is the base that holds 2 011 s and 2 052 s here. Same parsing as yours, over 381 and 60 queue samples: | base | run | mean slots | mean due | mean waiting for memory | largest | |---|---|---:|---:|---:|---:| | **`64d4931b` + patches** | 2 052 s | 2 350 | 567 | **148 (6%)** | 18 018 | | **`64d4931b` + patches** | 332 s | 6 667 | 593 | **82 (1%)** | 26 264 | | `Marvisak/VIctory` (`draw`) | 852 s | 10 223 | 723 | 6 285 (61%) | 21 651 | | `Marvisak/VIctory` (`draw`) | 639 s | 8 728 | 685 | 4 274 (49%) | 30 341 | The title streams the same either way, and the share of slots waiting for their memory is **1-6% on one base against 49-61% on the other**. That is a ten-fold difference on identical hardware with identical assets, so as far as I can read it, the backlog is not the title's streaming being slow — it is how this base holds title memory. And it matters: our heavy scene runs at 13-16 fps in the same spots where this tree sits at 3-4. One more number that points the same way, and it contradicts nothing in your frame breakdown but sits oddly next to it. In our heavy frames (under 6 fps, 43 samples in the long run) the median frame is **291 ms with 0.0 ms on the GPU** and 79.8 ms of preparation (of which textures 10.6 ms, copies 39.4 ms). The card is idle in exactly the frames where this tree reports 161 ms of card time. So on this base the wall is the submitting thread; on this tree it is the card plus the memory mapping behind it. If it is useful, I will run the same route on `64d4931b` with `VICTORY_TEXTURE_DROP_MIPS`-equivalent settings, or any residency switch you want toggled in the newer tree, and post the same table. But my reading is that the fixed cost you are looking at is the residency and mapping path, and it is the thing worth comparing commit by commit — with two bases on one card, we can bisect it here without needing anyone's GeForce.
Author
Owner

@⁠dengarIicdk on GitHub · 2026-11-29 22:57 UTC · original

One thing I can give back, since you are doing this analysis by hand on every report: a script that turns any of these logs
into the same table you just produced, in one command. It reads both encodings the logs land in (UTF-8, and the UTF-16 that a
PowerShell redirect writes), strips the ANSI, and prints:

=  ============================================================================
   vicetay-pr450-draw-852s.log
     17:28:07 - 17:42:19  =  852 s (14.2 min)
     ending: closed (title suspended)
     fps: 153 samples, median 3.8, best 31.5, worst 0.6
     heavy frames (<6 fps): 129 samples, median of these: 3.7 fps, 269 ms/frame,
                            copies 27.5 ms, textures 2.1 ms
     texture queue (uploaded/waiting): 120 samples, mean slots 126 675,
                            due 0, waiting for memory 9 992 (8%), largest 215 166

Ending is classified as one of: closed, device removal (with the 0x887A.. code), or a title fault with a Breakpad dump — the
three cases we keep having to tell apart in this issue. It also accepts the older phrasing of the queue line
(textures picked by index, the queue: N slots, M of them due, K waiting) so it works on older bases as well as this one.

Two ways to have it, your call:

  1. I open a PR adding it as tools/queue-stats.py (pure standard library, no dependencies, runs on the Python every Windows
    has or on any Linux), and you keep it or drop it as you like;
  2. or I just paste it in here and you copy what you want.

It is 120 lines and it exists because I got tired of grepping six logs by hand for the same five numbers. Say which and it is
done in a minute.

**@⁠dengarIicdk** on GitHub · 2026-11-29 22:57 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7264076600) One thing I can give back, since you are doing this analysis by hand on every report: a script that turns any of these logs into the same table you just produced, in one command. It reads both encodings the logs land in (UTF-8, and the UTF-16 that a PowerShell redirect writes), strips the ANSI, and prints: ``` = ============================================================================ vicetay-pr450-draw-852s.log 17:28:07 - 17:42:19 = 852 s (14.2 min) ending: closed (title suspended) fps: 153 samples, median 3.8, best 31.5, worst 0.6 heavy frames (<6 fps): 129 samples, median of these: 3.7 fps, 269 ms/frame, copies 27.5 ms, textures 2.1 ms texture queue (uploaded/waiting): 120 samples, mean slots 126 675, due 0, waiting for memory 9 992 (8%), largest 215 166 ``` Ending is classified as one of: closed, device removal (with the `0x887A..` code), or a title fault with a Breakpad dump — the three cases we keep having to tell apart in this issue. It also accepts the older phrasing of the queue line (`textures picked by index, the queue: N slots, M of them due, K waiting`) so it works on older bases as well as this one. Two ways to have it, your call: 1. I open a PR adding it as `tools/queue-stats.py` (pure standard library, no dependencies, runs on the Python every Windows has or on any Linux), and you keep it or drop it as you like; 2. or I just paste it in here and you copy what you want. It is 120 lines and it exists because I got tired of grepping six logs by hand for the same five numbers. Say which and it is done in a minute.
Author
Owner

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

@⁠Kal0s-design — logs and screenshots for you, and two gameplay findings that may be yours to know about.

Run data, this tree, this card

84462d6 built here, VICTORY_MESH_REST=draw, -SkipShaders, no --features diagnostics, and with the NVIDIA/Streamline files removed from the machine (sl.dlss not supported on current hardware anyway, and the interposer alone was changing presentation).

length 1142 s (19.0 min), closed by hand, no device removal
fps 201 samples: median 4.1, best 31.6
heavy frames (<6 fps) 173 samples, median 3.9 fps / 255 ms (copies 25.0 ms, textures 1.5 ms)
texture queue 129 samples: mean slots 124 811, waiting for memory 10 751 (9%), largest queue 295 737

Log: logs/vicetay-draw-skip-1142s.log.gz (26 MB raw, 2.0 MB gzipped).

The number I want to settle with you

Your analysis of vicetay-pr450-draw-852s.log gave 10 223 mean slots, 6 285 waiting (61%). The same counter on this run gives 124 811 mean slots and 9% waiting — an order of magnitude more slots and a sixth of the share. Both logs come from this tree on this card.

So one of us is counting a different thing, and it matters: any mips/budget work would be judged by that percentage. If you have the exact lines you match (the queue's "due"/"waiting" phrasing has changed between releases), I will run the same expression over both logs and we will see whether the difference is the log wording or the builds. My tool is tools/queue-stats.py and I am happy to paste it here or open it as a PR — your call.

A build note worth its own issue

On this card, building this tree with --features diagnostics produces a binary that never starts: victory run reaches

host D3D12 adapter adapter="Intel(R) Arc(TM) B580 Graphics" ... vram_mb=12118
host D3D12 device ready
host view heaps hold 1000000 views ...

and then exits silently — no dump, no panic, no device removal, 22 log lines total. The same commit built without the feature runs the 19 minutes above. I do not know whether it is the feature or something the feature enables (crash tracing was on in the diagnostic build: crash tracing on (device-removed data)), but it is reproducible twice, and it cost me an afternoon. If you want it filed as a separate issue with both binaries, say where.

Two things that look wrong in draw mode on this card

Not crashes, gameplay:

  1. Boats do not spawn. Water areas are there, the boat mission markers are there, no boat ever appears.
  2. Police pedestrians do not move. They stand in place; a wanted level raises them but they neither walk nor path.

Both could be mine (a switch I pass), yours (something in the rest pipeline), or upstream. Before I spend a session bisecting switches: is either of these known to you?

Lighting, for the record

With the game's own high-contrast shaders on, one frame measured spread 78.9 (mean 121.4, 10.3% at or above 250) — the most detail we have measured on this card in any build, ours included. It is not a fix (models come out as unlit white silhouettes in other frames), but it says the title can still produce a wide tonal range on this hardware, which is more than we could get out of the layer-side exposure work.

Screenshots: screenshots/vicetay-fast/

On the RT reruns

Still willing, with one caveat: the timing-instrumented build would have to be a diagnostics build to log per-pipeline durations — and on this card that is exactly the configuration that refuses to start. So either you tell me a non-diagnostics way to time host pipeline creation (an env switch I missed), or I do the warm-cache rerun only, which needs no instrumentation: -RayTracing twice in a row on the same caches, and the second one tells us whether a warm driver cache gets past the load. That one I can do tomorrow.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 08:28 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7272951173) @⁠Kal0s-design — logs and screenshots for you, and two gameplay findings that may be yours to know about. ## Run data, this tree, this card `84462d6` built here, `VICTORY_MESH_REST=draw`, `-SkipShaders`, **no** `--features diagnostics`, and with the NVIDIA/Streamline files removed from the machine (`sl.dlss not supported on current hardware` anyway, and the interposer alone was changing presentation). | | | |---|---| | length | **1142 s (19.0 min), closed by hand, no device removal** | | fps | 201 samples: median **4.1**, best 31.6 | | heavy frames (<6 fps) | 173 samples, median 3.9 fps / **255 ms** (copies 25.0 ms, textures 1.5 ms) | | texture queue | 129 samples: mean slots **124 811**, waiting for memory **10 751 (9%)**, largest queue 295 737 | Log: [`logs/vicetay-draw-skip-1142s.log.gz`](https://github.com/dengarIicdk/victory-arc-b580/blob/main/logs/vicetay-draw-skip-1142s.log.gz) (26 MB raw, 2.0 MB gzipped). ## The number I want to settle with you Your analysis of `vicetay-pr450-draw-852s.log` gave 10 223 mean slots, 6 285 waiting (61%). The same counter on this run gives **124 811 mean slots and 9% waiting** — an order of magnitude more slots and a sixth of the share. Both logs come from this tree on this card. So one of us is counting a different thing, and it matters: any mips/budget work would be judged by that percentage. If you have the exact lines you match (the queue's "due"/"waiting" phrasing has changed between releases), I will run the same expression over both logs and we will see whether the difference is the log wording or the builds. My tool is `tools/queue-stats.py` and I am happy to paste it here or open it as a PR — your call. ## A build note worth its own issue On this card, building this tree **with `--features diagnostics`** produces a binary that never starts: `victory run` reaches ``` host D3D12 adapter adapter="Intel(R) Arc(TM) B580 Graphics" ... vram_mb=12118 host D3D12 device ready host view heaps hold 1000000 views ... ``` and then exits silently — no dump, no panic, no device removal, 22 log lines total. The same commit built **without** the feature runs the 19 minutes above. I do not know whether it is the feature or something the feature enables (crash tracing was on in the diagnostic build: `crash tracing on (device-removed data)`), but it is reproducible twice, and it cost me an afternoon. If you want it filed as a separate issue with both binaries, say where. ## Two things that look wrong in `draw` mode on this card Not crashes, gameplay: 1. **Boats do not spawn.** Water areas are there, the boat mission markers are there, no boat ever appears. 2. **Police pedestrians do not move.** They stand in place; a wanted level raises them but they neither walk nor path. Both could be mine (a switch I pass), yours (something in the rest pipeline), or upstream. Before I spend a session bisecting switches: is either of these known to you? ## Lighting, for the record With the game's own high-contrast shaders on, one frame measured **spread 78.9** (mean 121.4, 10.3% at or above 250) — the most detail we have measured on this card in any build, ours included. It is not a fix (models come out as unlit white silhouettes in other frames), but it says the title can still produce a wide tonal range on this hardware, which is more than we could get out of the layer-side exposure work. Screenshots: [`screenshots/vicetay-fast/`](https://github.com/dengarIicdk/victory-arc-b580/tree/main/screenshots/vicetay-fast) ## On the RT reruns Still willing, with one caveat: the timing-instrumented build would have to be a **diagnostics** build to log per-pipeline durations — and on this card that is exactly the configuration that refuses to start. So either you tell me a non-diagnostics way to time `host pipeline` creation (an env switch I missed), or I do the warm-cache rerun only, which needs no instrumentation: `-RayTracing` twice in a row on the same caches, and the second one tells us whether a warm driver cache gets past the load. That one I can do tomorrow. AI-assisted: yes
Author
Owner

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

Thanks for the 1142 s run. I ran my same extraction over your new log, and it agrees with the 852 s one. I think the difference is in which numbers on the line get picked up.

What I match: each textures picked by index, the queue: … line, and only its first four numbers:

the queue: (\d+) slots, (\d+) of them due \(the oldest written (\d+) frames ago\), (\d+) waiting for their memory

That's slots, due, oldest-due age and waiting. Means are taken over all such lines. The rest of the line (since the start: … slots found uploaded already…, … slots taken out as read through a table, …) holds cumulative counters, and some of them also say "slots". A pattern that's less anchored can pick one of those up, and they only ever grow.

log lines mean slots (median) mean due mean waiting for memory largest
draw 852 s 153 10,223 (9,495) 723 6,285 (61%) 21,651
draw-skip 1142 s 201 11,371 (10,175) 720 7,356 (65%) 30,520

So both runs look alike. Most of the queue is slots whose title memory isn't there yet, and a few hundred are due at any time. One thing to note when you read your log: it's UTF-16 with lines wrapped at the console width, so it needs decoding and the wrapped lines joined before matching. A line-based match over the raw file can splice the end of one line onto the next.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-30 08:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7273103140) Thanks for the 1142 s run. I ran my same extraction over your new log, and it agrees with the 852 s one. I think the difference is in which numbers on the line get picked up. What I match: each `textures picked by index, the queue: …` line, and only its first four numbers: ``` the queue: (\d+) slots, (\d+) of them due \(the oldest written (\d+) frames ago\), (\d+) waiting for their memory ``` That's slots, due, oldest-due age and waiting. Means are taken over all such lines. The rest of the line (`since the start: … slots found uploaded already…, … slots taken out as read through a table, …`) holds cumulative counters, and some of them also say "slots". A pattern that's less anchored can pick one of those up, and they only ever grow. | log | lines | mean slots (median) | mean due | mean waiting for memory | largest | |---|---:|---:|---:|---:|---:| | `draw` 852 s | 153 | 10,223 (9,495) | 723 | 6,285 (61%) | 21,651 | | `draw-skip` 1142 s | 201 | 11,371 (10,175) | 720 | 7,356 (65%) | 30,520 | So both runs look alike. Most of the queue is slots whose title memory isn't there yet, and a few hundred are due at any time. One thing to note when you read your log: it's UTF-16 with lines wrapped at the console width, so it needs decoding and the wrapped lines joined before matching. A line-based match over the raw file can splice the end of one line onto the next. AI-assisted: yes
Author
Owner

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

You are right and I was wrong: the 9% was our tool, not the logs. Fixed and verified — with the match anchored the way you describe, our numbers now equal yours to the slot.

log our extraction (after the fix) yours
draw 852 s 10 223 slots, 6 285 waiting (61%), largest 21 651 10 223, 6 285 (61%)
draw-skip 1142 s 11 371 slots, 7 356 waiting (65%), largest 30 520 11 371, 7 356 (65%)

Two bugs on our side, both worth writing down because they are easy to repeat:

  1. The regex could not cross the parenthetical. Ours was
    the queue: (\d+) slots, (\d+) of them due[^)]*?, (\d+) waiting — and [^)]*? stops at the ) in
    (the oldest written N frames ago), so the pattern never matched, and the code fell through to the
    loose fallback, which picked up the cumulative counters further along the same line ("slots found
    uploaded already", "slots taken out as read through a table"). Those only grow, hence 124 811 slots
    and a waiting share diluted to 9%. Exactly your diagnosis.
  2. The wrapped lines. The log is UTF-16 and the console wraps mid-word (the que / ue: 434 slots),
    so the joined line must not gain a space. Our first fix added one and still matched nothing.

The tool is now in our repo as tools/queue-stats.py (stdlib only, no dependencies: python queue-stats.py <log> [<log> ...]), and I corrected the figures in the log README with a note saying what the wrong number was and why. If you want it in the tree as a PR, say the path you prefer and I will open one; otherwise copy it freely, it is MIT-licensed like the rest of our repo.

What the corrected number means for the mips work

I had been holding back on it precisely because 9% did not justify much. At 61–65% it is the other way round: most of the queue is slots whose textures are not in memory yet, and that is the bottleneck we can actually move. So:

  • the port of MRSEEO's two switches (VICTORY_TEXTURE_DROP_MIPS, VICTORY_TEXTURE_MAX_DIM) is done and builds cleanly in this tree — one large level dropped on textures above 1024 makes those four times cheaper in memory;
  • I will run the same 10–20 minute city session with and without it and report queue-stats.py on both, using the numbers above as the baseline;
  • if the waiting share does not fall, I will say so and drop the idea rather than dress it up.

One thing I would like your opinion on before spending the session: is dropping the top mip the right lever at all, or is the queue mostly made of textures whose memory has not been written yet for another reason (a stall in the upload path rather than a lack of room)? If you already know which of the two it is from the code, that saves me a run.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 08:56 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7273529337) You are right and I was wrong: the 9% was our tool, not the logs. Fixed and verified — with the match anchored the way you describe, our numbers now equal yours to the slot. | log | our extraction (after the fix) | yours | |---|---|---| | `draw` 852 s | 10 223 slots, **6 285 waiting (61%)**, largest 21 651 | 10 223, 6 285 (61%) | | `draw-skip` 1142 s | 11 371 slots, **7 356 waiting (65%)**, largest 30 520 | 11 371, 7 356 (65%) | Two bugs on our side, both worth writing down because they are easy to repeat: 1. **The regex could not cross the parenthetical.** Ours was `the queue: (\d+) slots, (\d+) of them due[^)]*?, (\d+) waiting` — and `[^)]*?` stops at the `)` in `(the oldest written N frames ago)`, so the pattern never matched, and the code fell through to the loose fallback, which picked up the cumulative counters further along the same line ("slots found uploaded already", "slots taken out as read through a table"). Those only grow, hence 124 811 slots and a waiting share diluted to 9%. Exactly your diagnosis. 2. **The wrapped lines.** The log is UTF-16 and the console wraps mid-word (`the que` / `ue: 434 slots`), so the joined line must not gain a space. Our first fix added one and still matched nothing. The tool is now in our repo as [`tools/queue-stats.py`](https://github.com/dengarIicdk/victory-arc-b580/blob/main/tools/queue-stats.py) (stdlib only, no dependencies: `python queue-stats.py <log> [<log> ...]`), and I corrected the figures in the log README with a note saying what the wrong number was and why. If you want it in the tree as a PR, say the path you prefer and I will open one; otherwise copy it freely, it is MIT-licensed like the rest of our repo. ## What the corrected number means for the mips work I had been holding back on it precisely because 9% did not justify much. At **61–65%** it is the other way round: most of the queue is slots whose textures are not in memory yet, and that is the bottleneck we can actually move. So: - the port of MRSEEO's two switches (`VICTORY_TEXTURE_DROP_MIPS`, `VICTORY_TEXTURE_MAX_DIM`) is done and builds cleanly in this tree — one large level dropped on textures above 1024 makes those four times cheaper in memory; - I will run the same 10–20 minute city session with and without it and report `queue-stats.py` on both, using the numbers above as the baseline; - if the waiting share does not fall, I will say so and drop the idea rather than dress it up. One thing I would like your opinion on before spending the session: **is dropping the top mip the right lever at all, or is the queue mostly made of textures whose memory has not been written yet for another reason** (a stall in the upload path rather than a lack of room)? If you already know which of the two it is from the code, that saves me a run. AI-assisted: yes
Author
Owner

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

Glad the numbers match now.

On the lever: from the code, I'd expect dropping the top mip not to move the 61-65%. In descriptor/host.rs (TextureQueue), a slot counts as "waiting for their memory" when the last look found its title memory not mapped (the away mark: "a look found its memory away"). The title hasn't streamed those pages in yet, so there's nothing to upload, however small our host copy would be. Slots held back because the card had no room for their host copy are a separate list (TextureQueue::hold, driven by VICTORY_FULL_CARD_PASS / VICTORY_REUPLOAD_WHEN_FULL), and they don't count in that number.

VICTORY_TEXTURE_DROP_MIPS / MAX_DIM shrink our host copies, so they help when room is the limit. Your logs show about 1.2 GB of card memory in use on a 12 GB card. Before spending the session, check whether room ever is the limit: look for the full-card lines ("uploads of textures already on the card made while it had no room", the held-back slots). If those stay at or near 0 in the heavy scene, the drop-mips run won't change the waiting share, and the share is a question of how fast the title's streaming maps memory (DirectStorage reads and their completion), not of our upload path.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-30 09:08 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7273802267) Glad the numbers match now. On the lever: from the code, I'd expect dropping the top mip **not** to move the 61-65%. In `descriptor/host.rs` (`TextureQueue`), a slot counts as "waiting for their memory" when the last look found its **title memory not mapped** (the `away` mark: "a look found its memory away"). The title hasn't streamed those pages in yet, so there's nothing to upload, however small our host copy would be. Slots held back because the card had **no room** for their host copy are a separate list (`TextureQueue::hold`, driven by `VICTORY_FULL_CARD_PASS` / `VICTORY_REUPLOAD_WHEN_FULL`), and they don't count in that number. `VICTORY_TEXTURE_DROP_MIPS` / `MAX_DIM` shrink our host copies, so they help when room is the limit. Your logs show about 1.2 GB of card memory in use on a 12 GB card. Before spending the session, check whether room ever is the limit: look for the full-card lines ("uploads of textures already on the card made while it had no room", the held-back slots). If those stay at or near 0 in the heavy scene, the drop-mips run won't change the waiting share, and the share is a question of how fast the title's streaming maps memory (DirectStorage reads and their completion), not of our upload path. AI-assisted: yes
Author
Owner

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

Mips run done, and the tool you fixed makes it readable. Same tree, same settings (draw, -SkipShaders), only VICTORY_TEXTURE_DROP_MIPS=1, VICTORY_TEXTURE_MAX_DIM=1024. Same area, dense city, closed by hand both times.

baseline (no mips) with mips change
length 1142 s 592 s —
device removals 0 0 —
fps, median 4.1 4.6 +12%
heavy frames (<6 fps), median 3.9 fps / 255 ms 4.5 fps / 224 ms −31 ms (−12%)
of a heavy frame: copies 25.0 ms 19.1 ms −6 ms
of a heavy frame: textures 1.5 ms 0.4 ms −1.1 ms
texture queue, mean slots 11 371 12 136 —
waiting for memory 7 356 (65%) 6 418 (53%) −12 points
largest queue 30 520 29 300 −4%

Direction is consistent across every column, and the frame time follows the waiting share, which is what the theory predicted. I will not oversell it: the runs were different sessions in the same district, not a scripted A/B, so ±10% is inside what scene variation can do. The honest summary is modest and in the right direction, and the texture upload cost falling from 1.5 ms to 0.4 ms a frame is the part I believe most, because it is not scene-dependent in the same way.

Picture quality held: three screenshots measured with our luma tool give spread 56.9 and 80.5 (the widest tonal range we have measured on this card), i.e. dropping one level did not flatten far surfaces visibly at 1080p.

One thing I would still like your read on

Our daylit frames still measure mean 250.7, 87.5% of pixels at or above 250 — the sunlit street and sky are a flat white wall, and nothing on the layer side has ever moved it (we measured a 4x change of the stand-in light as 6 of 255). A user with a working XeSS setup shows frames at mean 18 and mean 53 in the same game version — dark, not blown. That suggests the difference is the title's own exposure/brightness setting per user profile, not our build.

Do you know whether anything in the rest pipeline or the layer's shader patches can influence the title's exposure pass (the FFX_FSR4_SPD_AUTOEXPOSURE_PASS that falls back to NewBE on our card), or is that pass entirely inside the title with nothing we can reach?

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 09:09 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7273807814) Mips run done, and the tool you fixed makes it readable. Same tree, same settings (`draw`, `-SkipShaders`), only `VICTORY_TEXTURE_DROP_MIPS=1`, `VICTORY_TEXTURE_MAX_DIM=1024`. Same area, dense city, closed by hand both times. | | baseline (no mips) | with mips | change | |---|---|---|---| | length | 1142 s | 592 s | — | | device removals | 0 | **0** | — | | fps, median | 4.1 | **4.6** | +12% | | heavy frames (<6 fps), median | 3.9 fps / **255 ms** | 4.5 fps / **224 ms** | −31 ms (−12%) | | of a heavy frame: copies | 25.0 ms | 19.1 ms | −6 ms | | of a heavy frame: textures | 1.5 ms | **0.4 ms** | −1.1 ms | | texture queue, mean slots | 11 371 | 12 136 | — | | **waiting for memory** | **7 356 (65%)** | **6 418 (53%)** | **−12 points** | | largest queue | 30 520 | 29 300 | −4% | Direction is consistent across every column, and the frame time follows the waiting share, which is what the theory predicted. I will not oversell it: the runs were different sessions in the same district, not a scripted A/B, so ±10% is inside what scene variation can do. The honest summary is **modest and in the right direction**, and the texture upload cost falling from 1.5 ms to 0.4 ms a frame is the part I believe most, because it is not scene-dependent in the same way. Picture quality held: three screenshots measured with our luma tool give spread 56.9 and **80.5** (the widest tonal range we have measured on this card), i.e. dropping one level did not flatten far surfaces visibly at 1080p. ## One thing I would still like your read on Our daylit frames still measure `mean 250.7, 87.5% of pixels at or above 250` — the sunlit street and sky are a flat white wall, and nothing on the layer side has ever moved it (we measured a 4x change of the stand-in light as 6 of 255). A user with a working XeSS setup shows frames at `mean 18` and `mean 53` in the same game version — dark, not blown. That suggests the difference is the title's own exposure/brightness setting per user profile, not our build. Do you know whether anything in the rest pipeline or the layer's shader patches can influence the title's exposure pass (the `FFX_FSR4_SPD_AUTOEXPOSURE_PASS` that falls back to NewBE on our card), or is that pass entirely inside the title with nothing we can reach? AI-assisted: yes
github-bot referenced this issue from a commit 2026-11-30 15:24:03 +00:00
Author
Owner

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

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

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

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

Noted on the rename, and thank you for saying it plainly rather than letting the old thread quietly rot. vice-tay.exe play with VICE_TAY_* is clear enough, and a rebuilt shader and pipeline cache on first start is the right call for a line this different.

I have not run current main yet, and I will say so rather than pretend a log from the old tree answers it. The reason is that this week's Arc work moved to a different question: we now get Intel XeSS to answer the title's FidelityFX upscale calls inside the layer, on a B580, and a black output is what we are chasing at the moment. That is not your code path and it is not this issue.

What I can put on the table from the Arc side, measured today on trustno1-coder/VIctory-NVIDIA v2026.11.30.01, because two of the three findings are not fork-specific:

1. A long-standing "memory leak to 20-25 GB" on Arc is not a leak. play warms pipelines with --jobs defaulting to two thirds of the logical cores. On a 16-thread machine that is ten processes of about 1.1 GB each, and the machine swaps while it works. Capping it (preload --jobs 4) keeps the same caches with ~4 GB and no swap. Sessions that used to die at 20 GB now run 13 and 24 minutes.

2. A stale host-pipelines.bin is worse than no library at all on this card. With a library written 40 minutes earlier by the same build, 32 entries came back E_INVALIDARG from DeserializeComputePipelineStateX, each rebuilt inside the frame, one of them in 11 836 ms, and the device was removed 779 ms later. Deleting the file and warming it again with the same build and driver gave 0 failed entries and 0 in-frame builds. Same title, same settings, same session length as before.

3. The 0x80070057 in (2) is specific to that call. Our own tree (64d4931b plus gilmarcs' mesh-unbind) restores pipelines through ID3D12PipelineLibrary1 instead, and never logged that error once across a day of runs.

Nothing here needs action from you; (1) is worth a one-line default change in any line that warms in parallel on a 12-16 thread machine, and I will run current main and post a log when the XeSS work stops eating the machine.

AI-assisted: yes

**@⁠dengarIicdk** on GitHub · 2026-11-30 18:05 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7287331914) Noted on the rename, and thank you for saying it plainly rather than letting the old thread quietly rot. `vice-tay.exe play` with `VICE_TAY_*` is clear enough, and a rebuilt shader and pipeline cache on first start is the right call for a line this different. **I have not run current `main` yet, and I will say so rather than pretend a log from the old tree answers it.** The reason is that this week's Arc work moved to a different question: we now get Intel XeSS to answer the title's FidelityFX upscale calls inside the layer, on a B580, and a black output is what we are chasing at the moment. That is not your code path and it is not this issue. What I can put on the table from the Arc side, measured today on `trustno1-coder/VIctory-NVIDIA` `v2026.11.30.01`, because two of the three findings are not fork-specific: **1. A long-standing "memory leak to 20-25 GB" on Arc is not a leak.** `play` warms pipelines with `--jobs` defaulting to two thirds of the logical cores. On a 16-thread machine that is ten processes of about 1.1 GB each, and the machine swaps while it works. Capping it (`preload --jobs 4`) keeps the same caches with ~4 GB and no swap. Sessions that used to die at 20 GB now run 13 and 24 minutes. **2. A stale `host-pipelines.bin` is worse than no library at all on this card.** With a library written 40 minutes earlier by the same build, 32 entries came back `E_INVALIDARG` from `DeserializeComputePipelineStateX`, each rebuilt inside the frame, one of them in **11 836 ms**, and the device was removed 779 ms later. Deleting the file and warming it again with the same build and driver gave **0 failed entries and 0 in-frame builds**. Same title, same settings, same session length as before. **3. The `0x80070057` in (2) is specific to that call.** Our own tree (`64d4931b` plus gilmarcs' mesh-unbind) restores pipelines through `ID3D12PipelineLibrary1` instead, and never logged that error once across a day of runs. Nothing here needs action from you; (1) is worth a one-line default change in any line that warms in parallel on a 12-16 thread machine, and I will run current `main` and post a log when the XeSS work stops eating the machine. AI-assisted: yes
Author
Owner

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

Thanks for being straight that you haven't run current main yet. Your three findings, against this line:

  1. Warm processes. Same default here: vice-tay warm starts two thirds of the logical processors as processes. I'm not changing the number blind, though. On this line the cap should come from free memory, not a guess at a new count, and that means measuring a worker's peak here first. That's queued. If you have per-process numbers from current main when you get to it, they'd help.
  2. Stale library entries. As you said, this line restores through ID3D12PipelineLibrary1, not DeserializeComputePipelineStateX, so the E_INVALIDARG you saw on the other tree isn't a path here. A blob the driver rejects as a whole already starts an empty library (host pipeline library rejected; starting an empty one in the log). If an Arc run here shows single entries failing to load and getting rebuilt in-frame, that's worth its own issue with the log.
  3. Noted, same as 2.

The README now warns Arc owners about ray tracing (#457, #485). When the XeSS work lets go of the machine, a current main log with RT off is what moves this one forward.

**@⁠TaynanGT** on GitHub · 2026-11-30 23:43 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7295453449) Thanks for being straight that you haven't run current `main` yet. Your three findings, against this line: 1. **Warm processes.** Same default here: `vice-tay warm` starts two thirds of the logical processors as processes. I'm not changing the number blind, though. On this line the cap should come from free memory, not a guess at a new count, and that means measuring a worker's peak here first. That's queued. If you have per-process numbers from current `main` when you get to it, they'd help. 2. **Stale library entries.** As you said, this line restores through `ID3D12PipelineLibrary1`, not `DeserializeComputePipelineStateX`, so the `E_INVALIDARG` you saw on the other tree isn't a path here. A blob the driver rejects as a whole already starts an empty library (`host pipeline library rejected; starting an empty one` in the log). If an Arc run here shows single entries failing to load and getting rebuilt in-frame, that's worth its own issue with the log. 3. Noted, same as 2. The README now warns Arc owners about ray tracing (#457, #485). When the XeSS work lets go of the machine, a current `main` log with RT off is what moves this one forward.
Author
Owner

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

Straight answers, and one result that may matter more than any of the three points.

1. Warm processes — no per-process numbers from your main, and I will not invent them.
What I have from our tree (trustno1-coder/VIctory-NVIDIA, B580, 16 threads) is
aggregate: the default warm count is two thirds of the logical processors, so 10
processes here, and watching commit during warm it climbs to 20–25 GB, which is
exactly the "leak" I reported earlier. --jobs 4 keeps an eight-hour session
under about 9 GB commit. That is Task Manager aggregate on our side, not a worker
peak, so for your free-memory cap it is the wrong number — a per-process peak on
your main is what you need, and it should be measured there rather than inferred
from mine. When I run current main I will record per-process peak RSS during warm
and hand it over, rather than a guess.

2. Library: agreed, nothing to chase here. Our E_INVALIDARG comes from the
other restore path, so it is not a path your line has.

3. The data point I would actually want you to have. Our base was 64d4931,
which predates upstream PR #546 (gilmarcs, merged 29 November: a rest pipeline in
place of a mesh pipeline before other work). Before porting it every session on
driver 32.0.101.9175 ended in DXGI_ERROR_DEVICE_HUNG / device removal at 20–24
minutes. After porting it: 77 minutes in one session, 63 149 frames, 35 760
upscales, 0 s on 0x887A0006/0x887A0005/0x887A0004/0x80070057, and the
session ended because the player closed the window.
Mesh binds per frame ran
3 791.8, with 3 791.8 rest pipelines bound in their place.

So on this card the hang was never memory and never ray tracing: it was a mesh
pipeline left bound while other work was recorded. Your tree already carries
crates/vice-tay-gpu/src/mesh_rest.rs, so I expect you are covered — this is
simply confirmation from a second B580 that the fix is the one that ends the wall,
on the driver that failed before it.

One consequence worth flagging for #457: if that was the cause of the RT-on
demise too, RT may no longer be fatal here. I have not tested RT on the fixed
build yet; when I do, the log goes to #457 either way.

**@⁠dengarIicdk** on GitHub · 2026-11-30 23:56 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/448#issuecomment-7295702698) Straight answers, and one result that may matter more than any of the three points. **1. Warm processes — no per-process numbers from your `main`, and I will not invent them.** What I have from our tree (`trustno1-coder/VIctory-NVIDIA`, B580, 16 threads) is aggregate: the default warm count is two thirds of the logical processors, so 10 processes here, and watching commit during warm it climbs to 20–25 GB, which is exactly the "leak" I reported earlier. `--jobs 4` keeps an eight-hour session under about 9 GB commit. That is Task Manager aggregate on our side, not a worker peak, so for your free-memory cap it is the wrong number — a per-process peak on your `main` is what you need, and it should be measured there rather than inferred from mine. When I run current `main` I will record per-process peak RSS during warm and hand it over, rather than a guess. **2. Library: agreed, nothing to chase here.** Our `E_INVALIDARG` comes from the other restore path, so it is not a path your line has. **3. The data point I would actually want you to have.** Our base was `64d4931`, which predates upstream PR #546 (gilmarcs, merged 29 November: a rest pipeline in place of a mesh pipeline before other work). Before porting it every session on driver 32.0.101.9175 ended in `DXGI_ERROR_DEVICE_HUNG` / device removal at 20–24 minutes. After porting it: **77 minutes in one session, 63 149 frames, 35 760 upscales, 0 s on `0x887A0006`/`0x887A0005`/`0x887A0004`/`0x80070057`, and the session ended because the player closed the window.** Mesh binds per frame ran 3 791.8, with 3 791.8 rest pipelines bound in their place. So on this card the hang was never memory and never ray tracing: it was a mesh pipeline left bound while other work was recorded. Your tree already carries `crates/vice-tay-gpu/src/mesh_rest.rs`, so I expect you are covered — this is simply confirmation from a second B580 that the fix is the one that ends the wall, on the driver that failed before it. One consequence worth flagging for #457: if that was the cause of the RT-on demise too, RT may no longer be fatal here. I have not tested RT on the fixed build yet; when I do, the log goes to #457 either way.
This discussion has been locked. Commenting is limited to contributors.
No description provided.