Series S only: vertices jump to random places ("spikes" of stretched triangles) #90

Open
opened 2026-11-26 23:36:02 +00:00 by cafeoh · 25 comments
cafeoh commented 2026-11-26 23:36:02 +00:00 (Migrated from github.com)
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-26T23:36:02Z.


Vice-Tay build

58f0c0e9 diag (plus the Windows 10 Agility exports from #84, nothing else)

Hardware and graphics driver

NVIDIA GeForce RTX 2080 Ti 11 GB, Ryzen 7 7800X3D, Windows 10 22H2 (19045)

How to reproduce

scripts\play.ps1 -Console series-s -Machine 4070 -Windowed, play the prologue, or load a save at the café. It happens in every Series S run we have, on Vice-Tay and on our own tree.

What you observed

Vertices of characters and objects jump to a random offset, so long stretched triangles shoot across the screen. The offset changes, so it never looks the same twice, but it keeps happening:

  • Café (our save): very consistently.
  • Prologue: from the moment you get control, virtually everywhere.

It never happens with -Console series-x, on the same machine and save.

What we ruled out (our tree, same S setup):

Test Spikes
X console, render at 1280x720 like S none, so not the render size
X memory figures, but the S device type (ConsoleMode 0x60) yes, so the device type alone triggers it
S, skipping the six S-only MS(R)_VS_TransformSkin* mesh programs still there
S, NVIDIA structured-view workaround (own copies of off-16-byte views) still there

With the S device type the title binds 28 programs that X runs never bind. Two of them are left as suspects: a91e3fe6f391a0ce (MS_VS_PedTransformPreSkinD_Packed) and bb25605bfaf62070 (MS_VS_Transform, S-only variant). We test those next.

Close reports that may be the same thing: fxceless/victory-fork#1301 (stretched character meshes, RX 7600 XT) and the "web triangles" note in PastiiJay/klbf-lab.

Questions

  • Does anyone see this on Series X, or on Series S with an AMD card?
  • I could attach screenshots, please advise whether that's tolerated or not.

Tested: Vice-Tay 58f0c0e9 and our tree, Series S and Series X, RTX 2080 Ti. Not tested: other cards, Linux.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:6636868595 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-26T23:36:02Z. --- ### Vice-Tay build `58f0c0e9` diag (plus the Windows 10 Agility exports from #84, nothing else) ### Hardware and graphics driver NVIDIA GeForce RTX 2080 Ti 11 GB, Ryzen 7 7800X3D, Windows 10 22H2 (19045) ### How to reproduce `scripts\play.ps1 -Console series-s -Machine 4070 -Windowed`, play the prologue, or load a save at the café. It happens in every Series S run we have, on Vice-Tay and on our own tree. ### What you observed Vertices of characters and objects jump to a random offset, so long stretched triangles shoot across the screen. The offset changes, so it never looks the same twice, but it keeps happening: - **Café** (our save): very consistently. - **Prologue**: from the moment you get control, virtually everywhere. It **never** happens with `-Console series-x`, on the same machine and save. What we ruled out (our tree, same S setup): | Test | Spikes | |---|---| | X console, render at 1280x720 like S | none, so not the render size | | X memory figures, but the S device type (`ConsoleMode` 0x60) | yes, so the device type alone triggers it | | S, skipping the six S-only `MS(R)_VS_TransformSkin*` mesh programs | still there | | S, NVIDIA structured-view workaround (own copies of off-16-byte views) | still there | With the S device type the title binds 28 programs that X runs never bind. Two of them are left as suspects: `a91e3fe6f391a0ce` (`MS_VS_PedTransformPreSkinD_Packed`) and `bb25605bfaf62070` (`MS_VS_Transform`, S-only variant). We test those next. Close reports that may be the same thing: fxceless/victory-fork#1301 (stretched character meshes, RX 7600 XT) and the "web triangles" note in PastiiJay/klbf-lab. ### Questions - Does anyone see this on Series X, or on Series S with an AMD card? - I could attach screenshots, please advise whether that's tolerated or not. Tested: Vice-Tay `58f0c0e9` and our tree, Series S and Series X, RTX 2080 Ti. Not tested: other cards, Linux.
TaynanGT commented 2026-11-27 01:28:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T01:28:20Z.


@cafeoh A cropped screenshot is welcome if it shows the stretched triangles. Please remove any personal details, overlays with account information, or unrelated material. The Series X run at 720p and the Series S device-type control already narrow this down. If the next shader test changes the result, please post the hash, the revision, and whether it affects characters, objects, or both. If anyone can reproduce this on AMD, a matched Series S and Series X pair from the same scene would help. The description here is of moving geometry, so I’m tracking it separately from the stationary water spike in #76.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7207314749 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7207314749). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T01:28:20Z. --- @cafeoh A cropped screenshot is welcome if it shows the stretched triangles. Please remove any personal details, overlays with account information, or unrelated material. The Series X run at 720p and the Series S device-type control already narrow this down. If the next shader test changes the result, please post the hash, the revision, and whether it affects characters, objects, or both. If anyone can reproduce this on AMD, a matched Series S and Series X pair from the same scene would help. The description here is of moving geometry, so I’m tracking it separately from the stationary water spike in #76.
nullexxx commented 2026-11-27 16:21:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by nullexxx on 2026-11-27T16:21:13Z.


Same spikes here, on Linux. One difference from the report: they also show up in Series X mode.

Setup: RTX 5080 16 GB, driver 620.73.04, Ryzen 7 9800X3D, CachyOS (KDE Wayland), GE-Proton11-14 with the viewtree wineserver. Vice-Tay main at 2776268.

What I see: stretched triangles carrying the characters' skin and tattoo textures shoot across the room, in the tattoo shop (The Inked Mermaid) especially. Some NPC faces also show rainbow or solid-blue noise, which may be the same thing. Both are there from the moment you enter.

Run Spikes
--console series-s, DLSS many
--console series-s, with VICTORY_TEXTURE_NO_WAIT, JOIN_COPIES, RELAY_COPY, UPLOAD_AHEAD, INDIRECT_WINDOW, JOIN_PARTS and THIN all off still there, so not those
--console series-x, no upscaler fewer, but still there
--console series-s, with a91e3fe6f391a0ce and bb25605bfaf62070 added to VICTORY_SKIP_PIPELINES still there. NPCs look different, so the skip took effect, but neither shader is the cause on its own

So on this setup the Series S device type isn't the whole story: Series X shows it less, not never.

Not tested: Windows on this machine, AMD. I have before-and-after screenshots from the same spot and can attach cropped ones.

1795795419235_image 1795795423621_image 1795795440049_image
<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7223159133 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7223159133). Originally posted by [nullexxx](https://github.com/nullexxx) on 2026-11-27T16:21:13Z. --- Same spikes here, on Linux. One difference from the report: they also show up in Series X mode. **Setup:** RTX 5080 16 GB, driver 620.73.04, Ryzen 7 9800X3D, CachyOS (KDE Wayland), GE-Proton11-14 with the viewtree wineserver. Vice-Tay `main` at 2776268. **What I see:** stretched triangles carrying the characters' skin and tattoo textures shoot across the room, in the tattoo shop (The Inked Mermaid) especially. Some NPC faces also show rainbow or solid-blue noise, which may be the same thing. Both are there from the moment you enter. | Run | Spikes | |---|---| | `--console series-s`, DLSS | many | | `--console series-s`, with `VICTORY_TEXTURE_NO_WAIT`, `JOIN_COPIES`, `RELAY_COPY`, `UPLOAD_AHEAD`, `INDIRECT_WINDOW`, `JOIN_PARTS` and `THIN` all off | still there, so not those | | `--console series-x`, no upscaler | fewer, but still there | | `--console series-s`, with `a91e3fe6f391a0ce` and `bb25605bfaf62070` added to `VICTORY_SKIP_PIPELINES` | still there. NPCs look different, so the skip took effect, but neither shader is the cause on its own | So on this setup the Series S device type isn't the whole story: Series X shows it less, not never. Not tested: Windows on this machine, AMD. I have before-and-after screenshots from the same spot and can attach cropped ones. <img width="1251" height="721" alt="1795795419235_image" src="https://github.com/user-attachments/assets/2a3bfab7-23dc-442b-af9e-b13f30bd3c4c" /> <img width="1251" height="721" alt="1795795423621_image" src="https://github.com/user-attachments/assets/35236aaa-43bd-40d7-a761-bc750af55269" /> <img width="1262" height="751" alt="1795795440049_image" src="https://github.com/user-attachments/assets/ba093090-92db-40ef-a6d0-997d6e3d8cc9" />
TaynanGT commented 2026-11-27 16:25:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:25:29Z.


@nullexxx The Series X result on Proton widens the repro beyond the original Series S report. The tattoo shop gives us a fixed scene to compare. Keep the same view and record which draw first shows the spike. The two pipeline skips changed the NPCs and left the spike present.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7223244672 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7223244672). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T16:25:29Z. --- @nullexxx The Series X result on Proton widens the repro beyond the original Series S report. The tattoo shop gives us a fixed scene to compare. Keep the same view and record which draw first shows the spike. The two pipeline skips changed the NPCs and left the spike present.
fyrstar commented 2026-11-27 17:23:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by fyrstar on 2026-11-27T17:23:03Z.


Windows data point: the spikes reproduce in both profiles here, and Series X shows more of them, not fewer.

Setup

  • Build: 3c352ce diag (cargo build --locked --profile diag -p victory --features diagnostics), clean tree
  • RTX 4090 24 GB, driver 621.40 (32.0.16.2140), Ryzen 9 7950X3D, 64 GB, Windows 11 Pro 26200
  • Shader cache warmed with victory shaders, then a full victory warm (83,553 known pipelines) before both runs
  • Scene: the prologue, the prison dorm and the guard at the doorway

Series S (-Console series-s -Machine 4090 -Fsr quality -FrameGen)

  • Spikes present: a pale stretched band behind the guard in the doorway.
  • Rainbow noise on faces and arms.

Series X, reduced (-Console series-x -Machine 4090, VICTORY_OUTPUT=1920x1080, VICTORY_RENDER_SCALE=0.5, VICTORY_FRAME_INTERVAL_MS=16.667)

  • Spikes more frequent than Series S: long streaks from the character's head and hair across the room, and a vertical streak through a face in a close-up.
  • Textures cleaner, with no rainbow faces in that session.

Series X, stock (-Console series-x -Machine 4090, no output, scale or frame interval overrides)

  • Spikes fewer than the reduced run, but still there.
  • The same texture errors as Series S, less consistently: blotchy noise on a face, and cell doors showing a wrong texture (what looks like a sheet of unrelated decals and panels) in place of their own.

Notes

  • The stretched triangles come from both characters and static objects. The ones from static objects flash too briefly to capture, so the screenshots only show what I was able to capture.
  • VICTORY_TEXTURE_NO_WAIT=0 on Series S did not change the rainbow faces.
vicetay-90-seriesx-stock-face-noise vicetay-90-seriesx-stock-door-texture vicetay-90-seriesx-hair-spikes vicetay-90-seriesx-face-streak vicetay-90-seriess-guard-band vicetay-90-seriess-rainbow-face
<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7224344744 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7224344744). Originally posted by [fyrstar](https://github.com/fyrstar) on 2026-11-27T17:23:03Z. --- Windows data point: the spikes reproduce in both profiles here, and Series X shows more of them, not fewer. **Setup** - Build: `3c352ce` diag (`cargo build --locked --profile diag -p victory --features diagnostics`), clean tree - RTX 4090 24 GB, driver 621.40 (32.0.16.2140), Ryzen 9 7950X3D, 64 GB, Windows 11 Pro 26200 - Shader cache warmed with `victory shaders`, then a full `victory warm` (83,553 known pipelines) before both runs - Scene: the prologue, the prison dorm and the guard at the doorway **Series S** (`-Console series-s -Machine 4090 -Fsr quality -FrameGen`) - Spikes present: a pale stretched band behind the guard in the doorway. - Rainbow noise on faces and arms. **Series X, reduced** (`-Console series-x -Machine 4090`, `VICTORY_OUTPUT=1920x1080`, `VICTORY_RENDER_SCALE=0.5`, `VICTORY_FRAME_INTERVAL_MS=16.667`) - Spikes more frequent than Series S: long streaks from the character's head and hair across the room, and a vertical streak through a face in a close-up. - Textures cleaner, with no rainbow faces in that session. **Series X, stock** (`-Console series-x -Machine 4090`, no output, scale or frame interval overrides) - Spikes fewer than the reduced run, but still there. - The same texture errors as Series S, less consistently: blotchy noise on a face, and cell doors showing a wrong texture (what looks like a sheet of unrelated decals and panels) in place of their own. **Notes** - The stretched triangles come from both characters and static objects. The ones from static objects flash too briefly to capture, so the screenshots only show what I was able to capture. - `VICTORY_TEXTURE_NO_WAIT=0` on Series S did not change the rainbow faces. <img width="558" height="338" alt="vicetay-90-seriesx-stock-face-noise" src="https://github.com/user-attachments/assets/3ef34af5-d3d5-408f-8736-23edb95fe3bd" /> <img width="618" height="1041" alt="vicetay-90-seriesx-stock-door-texture" src="https://github.com/user-attachments/assets/0c5197ca-e473-4edb-b16c-f0c37c0e41fb" /> <img width="937" height="466" alt="vicetay-90-seriesx-hair-spikes" src="https://github.com/user-attachments/assets/48542246-9908-4ca9-ae23-4028db3d9801" /> <img width="760" height="843" alt="vicetay-90-seriesx-face-streak" src="https://github.com/user-attachments/assets/3d7cdee6-d89b-49b7-8735-b96db232b2c9" /> <img width="384" height="636" alt="vicetay-90-seriess-guard-band" src="https://github.com/user-attachments/assets/2f911b0a-677b-4c19-b33a-409c332c3e11" /> <img width="382" height="254" alt="vicetay-90-seriess-rainbow-face" src="https://github.com/user-attachments/assets/ee6c1db2-fb15-4f99-948e-443bf5c40e99" />
TaynanGT commented 2026-11-27 17:29:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T17:29:19Z.


@fyrstar That puts the spikes in both console profiles on Windows at 3c352ce, including static objects. The reduced Series X run changed output, scale and pacing together. If you run another pair, keep the stock frame interval and change only render scale on the same save and camera. The unchanged face noise with texture waiting off gives us a separate result to track.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7224461704 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7224461704). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T17:29:19Z. --- @fyrstar That puts the spikes in both console profiles on Windows at `3c352ce`, including static objects. The reduced Series X run changed output, scale and pacing together. If you run another pair, keep the stock frame interval and change only render scale on the same save and camera. The unchanged face noise with texture waiting off gives us a separate result to track.
fyrstar commented 2026-11-27 17:45:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by fyrstar on 2026-11-27T17:45:09Z.


Correction on the texture result: that run had VICTORY_TEXTURE_NO_WAIT=0, so texture refreshes waited for remaps. The face noise was unchanged with waiting on, compared to the default no-wait mode.

Render scale pair at 3c352ce, Series X, stock output (3840x2160) and stock frame interval, same save and camera, only VICTORY_RENDER_SCALE changed:

A: VICTORY_RENDER_SCALE unset (0.667, 2560x1440 render)

  • Spikes: a few, mostly in the background, too brief to capture.
  • Textures better than the reduced run, but rainbow noise still shows on a character's arm and hand, and some characters' eyes render bright white and glowing.
  • 11 to 14 rendered FPS, with dips to 2 to 3 FPS.

B: VICTORY_RENDER_SCALE=0.5 (1920x1080 render)

  • Visually the same as A in every area compared: same spike frequency, same texture errors.
  • 11 to 14 rendered FPS, with dips to 2 to 3 FPS.

So at stock pacing, render scale alone doesn't change the spikes or the texture noise. The earlier reduced run (1080p output, 0.5 scale, 16.667 ms interval) had noticeably more spikes, which points at the output size or the frame interval rather than the scale.

vicetay-90-scaleA-rainbow-arm vicetay-90-scaleA-yard vicetay-90-scaleA-glowing-eyes
<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7224748158 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7224748158). Originally posted by [fyrstar](https://github.com/fyrstar) on 2026-11-27T17:45:09Z. --- Correction on the texture result: that run had `VICTORY_TEXTURE_NO_WAIT=0`, so texture refreshes waited for remaps. The face noise was unchanged with waiting on, compared to the default no-wait mode. Render scale pair at `3c352ce`, Series X, stock output (3840x2160) and stock frame interval, same save and camera, only `VICTORY_RENDER_SCALE` changed: **A: `VICTORY_RENDER_SCALE` unset (0.667, 2560x1440 render)** - Spikes: a few, mostly in the background, too brief to capture. - Textures better than the reduced run, but rainbow noise still shows on a character's arm and hand, and some characters' eyes render bright white and glowing. - 11 to 14 rendered FPS, with dips to 2 to 3 FPS. **B: `VICTORY_RENDER_SCALE=0.5` (1920x1080 render)** - Visually the same as A in every area compared: same spike frequency, same texture errors. - 11 to 14 rendered FPS, with dips to 2 to 3 FPS. So at stock pacing, render scale alone doesn't change the spikes or the texture noise. The earlier reduced run (1080p output, 0.5 scale, 16.667 ms interval) had noticeably more spikes, which points at the output size or the frame interval rather than the scale. <img width="704" height="403" alt="vicetay-90-scaleA-rainbow-arm" src="https://github.com/user-attachments/assets/2df48116-42ea-440e-b838-6288b8ef5a17" /> <img width="681" height="529" alt="vicetay-90-scaleA-yard" src="https://github.com/user-attachments/assets/7c9f02ed-d957-4ab3-b477-1eaaa8dfaeee" /> <img width="488" height="380" alt="vicetay-90-scaleA-glowing-eyes" src="https://github.com/user-attachments/assets/fbc9e16e-c92f-4467-980d-59071465748c" />
TaynanGT commented 2026-11-27 17:47:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T17:47:43Z.


@fyrstar I had that switch backward. VICTORY_TEXTURE_NO_WAIT=0 waits for remaps, and the face noise stayed. The two stock-paced runs also put the spikes and noise in the same range at both render scales, with 11–14 rendered FPS. The next single-variable check is the frame interval on the same save, output size and render scale.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7224794221 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7224794221). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T17:47:43Z. --- @fyrstar I had that switch backward. `VICTORY_TEXTURE_NO_WAIT=0` waits for remaps, and the face noise stayed. The two stock-paced runs also put the spikes and noise in the same range at both render scales, with 11–14 rendered FPS. The next single-variable check is the frame interval on the same save, output size and render scale.
nullexxx commented 2026-11-27 18:13:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by nullexxx on 2026-11-27T18:13:36Z.


Same spikes here, on Linux. One difference from the report: they also show up in Series X mode.

Setup: RTX 5080 16 GB, driver 620.73.04, Ryzen 7 9800X3D, CachyOS (KDE Wayland), GE-Proton11-14 with the viewtree wineserver. Vice-Tay main at 2776268.

What I see: stretched triangles carrying the characters' skin and tattoo textures shoot across the room, in the tattoo shop (The Inked Mermaid) especially. Some NPC faces also show rainbow or solid-blue noise, which may be the same thing. Both are there from the moment you enter.

Run Spikes
--console series-s, DLSS many
--console series-s, with VICTORY_TEXTURE_NO_WAIT, JOIN_COPIES, RELAY_COPY, UPLOAD_AHEAD, INDIRECT_WINDOW, JOIN_PARTS and THIN all off still there, so not those
--console series-x, no upscaler fewer, but still there
--console series-s, with a91e3fe6f391a0ce and bb25605bfaf62070 added to VICTORY_SKIP_PIPELINES still there. NPCs look different, so the skip took effect, but neither shader is the cause on its own

So on this setup the Series S device type isn't the whole story: Series X shows it less, not never.

Not tested: Windows on this machine, AMD. I have before-and-after screenshots from the same spot and can attach cropped ones.

image image image
<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7225263076 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7225263076). Originally posted by [nullexxx](https://github.com/nullexxx) on 2026-11-27T18:13:36Z. --- Same spikes here, on Linux. One difference from the report: they also show up in Series X mode. **Setup:** RTX 5080 16 GB, driver 620.73.04, Ryzen 7 9800X3D, CachyOS (KDE Wayland), GE-Proton11-14 with the viewtree wineserver. Vice-Tay `main` at 2776268. **What I see:** stretched triangles carrying the characters' skin and tattoo textures shoot across the room, in the tattoo shop (The Inked Mermaid) especially. Some NPC faces also show rainbow or solid-blue noise, which may be the same thing. Both are there from the moment you enter. | Run | Spikes | |---|---| | `--console series-s`, DLSS | many | | `--console series-s`, with `VICTORY_TEXTURE_NO_WAIT`, `JOIN_COPIES`, `RELAY_COPY`, `UPLOAD_AHEAD`, `INDIRECT_WINDOW`, `JOIN_PARTS` and `THIN` all off | still there, so not those | | `--console series-x`, no upscaler | fewer, but still there | | `--console series-s`, with `a91e3fe6f391a0ce` and `bb25605bfaf62070` added to `VICTORY_SKIP_PIPELINES` | still there. NPCs look different, so the skip took effect, but neither shader is the cause on its own | So on this setup the Series S device type isn't the whole story: Series X shows it less, not never. Not tested: Windows on this machine, AMD. I have before-and-after screenshots from the same spot and can attach cropped ones. <img width="1568" height="711" alt="image" src="https://github.com/user-attachments/assets/0ac7f45c-eb0a-4dce-987a-09aa0e69fabd" /> <img width="1568" height="729" alt="image" src="https://github.com/user-attachments/assets/74020849-1af0-42a3-befb-be45487f81dd" /> <img width="1568" height="594" alt="image" src="https://github.com/user-attachments/assets/37ec1f34-5dae-4066-89e7-8d819a0f4382" />
nullexxx commented 2026-11-27 18:19:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by nullexxx on 2026-11-27T18:19:53Z.


Update on main at 104c3d3 (with #340, "Keep constant buffers in placed-copy order"): same machine, same usual line (card buffers from 64 KiB, VICTORY_PLACED_ORDER=1), same tattoo shop.

  • Spikes: still there, but clearly rarer and shorter-lived than at 312f5a8. #340 seems to cover part of it.
  • fps: about 30 (was about 27).
  • NPC faces: the NPC who showed the corrupted face wasn't there this time, so no result on that yet.

One run so far. I'll add to this if it changes over a longer session.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7225376361 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7225376361). Originally posted by [nullexxx](https://github.com/nullexxx) on 2026-11-27T18:19:53Z. --- Update on `main` at 104c3d3 (with #340, "Keep constant buffers in placed-copy order"): same machine, same usual line (card buffers from 64 KiB, `VICTORY_PLACED_ORDER=1`), same tattoo shop. - **Spikes:** still there, but clearly rarer and shorter-lived than at 312f5a8. #340 seems to cover part of it. - **fps:** about 30 (was about 27). - **NPC faces:** the NPC who showed the corrupted face wasn't there this time, so no result on that yet. One run so far. I'll add to this if it changes over a longer session.
TaynanGT commented 2026-11-27 18:24:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T18:24:34Z.


@nullexxx The repeat gives us shorter, rarer spikes and about 30 FPS in the same shop on 104c3d3. The switch for #340 is VICTORY_PLACED_CONSTANTS=1, alongside VICTORY_PLACED_ORDER=1. Could you confirm whether the constants switch was enabled? A pair on the same save with only that switch changed would isolate its effect.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7225457822 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7225457822). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T18:24:34Z. --- @nullexxx The repeat gives us shorter, rarer spikes and about 30 FPS in the same shop on `104c3d3`. The switch for #340 is `VICTORY_PLACED_CONSTANTS=1`, alongside `VICTORY_PLACED_ORDER=1`. Could you confirm whether the constants switch was enabled? A pair on the same save with only that switch changed would isolate its effect.
nullexxx commented 2026-11-27 18:30:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by nullexxx on 2026-11-27T18:30:32Z.


Update on main at 104c3d3 (with #340, "Keep constant buffers in placed-copy order"): same machine, same usual line (card buffers from 64 KiB, VICTORY_PLACED_ORDER=1), same tattoo shop.

  • Spikes: still there, but clearly rarer and shorter-lived than at 312f5a8. #340 seems to cover part of it.
  • NPC face and tattoo corruption: gone. The same NPC who showed rainbow noise on her face in every earlier run with card buffers on now looks normal, with card buffers still on.
  • fps: about 30 (was about 27).
  • Not the cause of the remaining spikes: VICTORY_CARD_STEPS=2 and VICTORY_CARD_REHASH_RUNS=1. Removing both left the spikes as they were.
<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7225560134 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7225560134). Originally posted by [nullexxx](https://github.com/nullexxx) on 2026-11-27T18:30:32Z. --- Update on `main` at 104c3d3 (with #340, "Keep constant buffers in placed-copy order"): same machine, same usual line (card buffers from 64 KiB, `VICTORY_PLACED_ORDER=1`), same tattoo shop. - **Spikes:** still there, but clearly rarer and shorter-lived than at 312f5a8. #340 seems to cover part of it. - **NPC face and tattoo corruption: gone.** The same NPC who showed rainbow noise on her face in every earlier run with card buffers on now looks normal, with card buffers still on. - **fps:** about 30 (was about 27). - Not the cause of the remaining spikes: `VICTORY_CARD_STEPS=2` and `VICTORY_CARD_REHASH_RUNS=1`. Removing both left the spikes as they were.
TaynanGT commented 2026-11-27 18:36:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T18:36:34Z.


@nullexxx That fills in the NPC comparison: same character, card buffers on, and the face and tattoo render normally on 104c3d3. The spikes still present with both card-step switches off give us another control. The constants switch is the remaining detail for attributing the face result to #340.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7225670778 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7225670778). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T18:36:34Z. --- @nullexxx That fills in the NPC comparison: same character, card buffers on, and the face and tattoo render normally on `104c3d3`. The spikes still present with both card-step switches off give us another control. The constants switch is the remaining detail for attributing the face result to #340.
cafeoh commented 2026-11-27 19:40:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T19:40:27Z.


Found it: the wedges come from our descriptor heap sync racing the card. Heap pacing (VICTORY_HEAP_SYNC_PACE, PR #357, on by default) removes them.

Seen on both Series S and Series X. RTX 2080 Ti, Ryzen 7 7800X3D, Win10.

What happens

A descriptor is a small record that says where a buffer or texture is.
The title reuses the same descriptor slots every frame.

On the console, that's safe: the card runs right behind the title, so frame F is done before frame F+1 rewrites a slot.

On our side, preparing a frame takes ~50 ms before the card even starts it. So the card runs about a frame behind.
F+1's descriptor writes then land in the host heaps while the card still draws F.
F's draws read F+1's buffer address, and the triangle stretches.

Timeline: today the card runs a frame behind, so F3 rewrites slot B while the card still reads it for F2. With the fix, our side waits for the card, and the card idles in the gaps.

The fix

Heap pacing: our side starts preparing frame F+1's submissions only once the card has finished F.
The heaps' 4 ms sync rounds stop too. The title itself is not held.

Off (=0) On (default)
Wedges, Series S yes no (3 runs)
Wedges, Series X yes not checked yet
fps, Series S, café / cell 17.05 / 18.61 12.5 / 13.7

It costs about a quarter of the frame rate on our PC: the card sits idle while we wait. Elsewhere it depends on how our preparing compares with the card's time: little when one is much faster than the other, up to about half when they are equal.
But the spikes are on both consoles and very visible, so it's on by default. VICTORY_HEAP_SYNC_PACE=0 turns it off.

Proof: writes to the host heaps while the card hadn't finished the last frame

A counter (VICTORY_HEAP_WRITERS=1, on a test branch) counts every host heap write, by writer, and whether the card had finished the newest frame we sent.
It can't see which slots a frame really reads, so "early" is an upper bound.

Per frame, average:

Writer Off =2 (holds only the sync rounds) =1
Our heap sync rounds 174 1 1
Card steps 2,242 2 1
Our other threads (translation, repairs at recording) 5,781 217 81
The title's own view calls 139 73 76
Total early ~8,340 ~290 ~160
Wedges yes yes no

=1 removes about 98% of the early writes. The ones left look harmless: no wedges.
=2 held only one writer, and still had wedges. So there isn't one single writer to fix.

The real fix, later

One host heap copy per frame in flight. Then F+1's writes can never reach the records F still reads, and the card doesn't have to wait.
That's a big change (lists bake heap addresses), so it's not in this PR.

What else it could cause (not verified)

Any draw can read a descriptor too early, not only vertex buffers. So the same race could plausibly show as:

  • a surface showing another texture, or black, for a frame (texture blinking);
  • an object drawn in the wrong place for a frame (wrong matrices in a constant buffer);
  • lighting or effects flashing wrong for a frame;
  • a compute pass writing into the wrong buffer, which could leave lasting garbage.

We only confirmed the wedges. If you see one of these, try VICTORY_HEAP_SYNC_PACE=0 against the default and tell us if it changes.

Why some PCs see it and others don't (reasoning, not tested)

The race needs one thing: the card running behind the title. Anything that widens that gap makes wedges more likely.

What differs Effect
Slower CPU our preparing takes longer, the card starts each frame later: more
Slower card the card is still on F when F+1 writes: more
Fast CPU + slow card the title runs far ahead of the card: the worst mix
Very fast card done with F before slots are reused: few or none
Vsync or a frame cap the title is held back: fewer
Settings and machine profiles (play.ps1 gives AMD and NVIDIA different defaults) change how much work is sent ahead; VICTORY_RELAY=0 had none
Cold caches stalls put the card behind in bursts: wedges in bursts
Busy scenes (the cell, many characters) more draws and more slot reuse a frame: more

So the same title can look clean on one PC and broken on another, or clean in a calm scene and broken in a busy one.

Still open

Why it showed more on Series S at first: our guess (?) is smaller budgets, so slots are reused sooner. It does show on Series X too (cell scene, with the inmates).

Every test and suspect we went through (54 rows)

Every wedge verdict below was checked by eye, by watching the same scene, about 50 runs over two days. (Yes, my head hurts...)

"Wedges" = seen by eye. fps = café / cell; "-" = not measured. "Base" = play.ps1 defaults (relay on, card steps 2). Normal base: 17.05 / 18.61.

# Suspect / idea Test (switches, run) Result (wedges, fps café / cell) Verdict
1 Only some programs on S are mistranslated Offline: compare translated sets, X run 442 vs S run 445 Same programs: 2,736 vs 2,734 First reading: "same programs, other data". Later corrected by #5 (28 S-only programs)
2 Our thread-id changes (HALVES_RUN1) Offline: thread path of all 61 skinning programs All plain path; wedges also predate the change Dropped
3 Approximate wave64 forms (32-lane halves) Offline: 33 approximate programs found Geometry ones (CS_CollectTriangles_Meshlets, CS_Visibility) run on X too Dropped: cannot explain S-only
4 NVIDIA misreads structured views not on 16 bytes (upstream #2885) VICTORY_OWN_UNALIGNED=1, S, run 523 (geoA) yes. Switch acted (~370-400 own copies a frame) Dropped
5 Render size / LOD at 720p X + VICTORY_RENDER_SCALE=0.3333, run 524 (geoX720) no (X) Dropped: not the resolution
6 S device type vs S memory figures console-split patch: X + VICTORY_DEVICE_TYPE=s, run 526 (splitC) yes, on X Kept then: the device type alone triggers them. 28 programs bound only with the S type. The memory-only run (splitD) was not needed (?)
7 S-only mesh skinning programs (MS(R)_VS_TransformSkin*, 6 hashes) VICTORY_SKIP_PIPELINES= the 6 + 2cc4c197, S (geoE, run number ?) yes; card device removed ~20 s into the café Dropped
8 Upscaler (title's FSR path on S) FSR stand-in and own upscaler (earlier runs) yes with both Dropped
9 Plain Vice-Tay has them too? Vice-Tay 58f0c0e9 as-is, run 534 (vicetay5) yes Not our port's fault alone
10 S-only packed ped program a91e3fe6 (rank 2) VICTORY_SKIP_PIPELINES=a91e3fe6..., run 558 (vtt23) none in 95 captured café frames, but none in the control's 20 either Inconclusive: captures cannot settle it. The rank-3 skip (bb25605b) was never run (?)
11 Stale CPU-side copies (older lead, wedge-lead1.patch) Runs 446 (card windows off), 447 (CONSTANTS_NO_WAIT=0), 449 (WAIT_FORCE=0), relay stage 1 yes in all Left open then; the patch was never built
12 Null skinning-buffer slot (upstream #1567) Read only That bug gives collapsed triangles on X too Dropped (not checked line by line)
13 POOL_COMPACT, HOSTOWN_COPY Read only Textures only; wedges predate them Dropped
14 NVIDIA view heap cap (1,000,000 of 1,245,184 views) X runs 662-664 (same cap line); X 700 / 702 control no on X, with the same cap Dropped: X has the cap and no wedges
15 Tables past the cap (over-the-cap path) X + VICTORY_TITLE_SLOTS_KEPT=400000, run 703 (x-fewslots2; 701 was cold) no (X) Dropped. Fresh tables a frame: X ~12-13k, S ~8.6k, so S does not send more
16 Missing waits inside lists (a reader before its writer) VICTORY_BARRIER_TEST=add (a full wait after every draw, dispatch, indirect, copy), café run 718 no; - / 9.02 Looked like a lead
17 Same, free play BARRIER_TEST=add, run 719 (free play) yes; - / 9.36 (?) Weakened
18 Normal control for 16 No switches, run 722; then BARRIER_TEST=add, run 723 722 yes (17.05 / 18.61); 723 no (- / 8.61) Looked like "waits remove most"
19 Wedges with ray tracing on? RT runs 724 / 725 (tcq-rt-share-b) yes; - / 11.44 (725) RT is not needed for them
20 Bisect the added waits by kind BARRIER_ADD_KIND=dispatch,indirect, run 726 yes; - / 8.62 Slowness alone does not hide them
21 Bisect by kind (other half) BARRIER_ADD_KIND=draw,copy,upload, run 727 not recorded (?); - / 17.82 Bisect stopped (see #24)
22 Bisect by bucket BARRIER_ADD_BUCKET=0-3/8, run 728; =4-7/8, run 729 not recorded (?); - / 10.71, - / 13.04 Bisect stopped (see #24)
23 Barrier ceiling (speed only) BARRIER_TEST=both, run 716 Picture broken by design; 17.61 / 19.19 Not a wedge test
24 Full waits, free play to the cell BARRIER_TEST=add, run 730 yes, in the café; - / 10.35 Dropped the whole waits direction. 718 / 723 clean were luck
25 Title pipeline syncs record no barrier (Vice-Tay 0b5f191b8) Read only (scan) Vice-Tay has this fix and still shows spikes Not ported; not enough alone
26 Relay sends work ahead with stale data (avatarmanz #434, #13; Belobug #547) VICTORY_RELAY=0, runs 733 (scripted) and 734 (free play) no; - / 6.77 and - / 6.44 Kept: the relay is involved. First clean free play
27 Counter for absurd vertex positions VICTORY_VERTEX_WATCH=1, relay on run 737, relay off run 738 738 no; both show the same ~300k-2.5M suspect vertices a second Dropped: it counts the title's own culled geometry, it cannot see wedges
28 Late pages =1: drain before fills on pages the title changed after we prepared VICTORY_RELAY_LATE_PAGES=1 with card steps 2, run 739 yes; - / 17.71 The switch refused card steps: no fix acted
29 Late pages =1, card steps off LATE_PAGES=1 + VICTORY_CARD_STEPS=0, runs 740 (free play), 743 (scripted) no; - / 8.46 and 8.67 / 8.86 Fixes, but too slow (~7 drains, ~60 ms a frame waited)
30 Late pages =2: copy fills again after a rewrite ("copy-again") LATE_PAGES=2, runs 746 (card steps 2), 747 (card steps 0) yes; - / 16.69 and - / 12.83 Learning broke in 747 (1 page). Fixed in round 3
31 =2 with learning fixed LATE_PAGES=2, run 748 yes; - / 16.23 Dropped: copy-again comes too late, or copies next frame's bytes
32 Where is the card at each late write? LATE_PAGES=2 + diagnostic, run 750 yes (?); - / 19.46 The card was in the middle of the submission that reads the rewritten bytes
33 =3 idea: card copies title memory at the start of the list Judged, not built (round 4) - Dropped: it reads at list start, not later than =2
34 Memory-value waits passed too early LATE_PAGES=2 + VICTORY_LATE_WAITS_STRICT=1, run 751 flashing and glitches, wedges probably (?); - / 16.61. Stopped Dropped: worse
35 Who writes the awaited values? LATE_PAGES=2 + wait diagnostic, run 752 yes (?); - / 19.52 Dropped: all ~20 early-passed waits got their value from our landing, none from the title's CPU
36 Late pages =3: drain for buffer copies and host-copy refreshes (64 KiB) LATE_PAGES=3, run 755 no; - / 9.77 Fixes, as slow as =1 (14 drains, ~61 ms a frame). Learned the title's ring
37 Copy-again for refreshes Judged (round 7) - Not possible cheaply: host copies are in card memory
38 Late pages =4: same at 4 KiB, by bytes LATE_PAGES=4, run 757 no; - / 6.12 Dropped: waiting is a dead end, learning grows to a full drain
39 Card reads the ring in place (renderer port 1) VICTORY_PORT_CONSTANTS=1 + VICTORY_PORT_CBV=1, run 758 yes; - / 13.50 (cold cache) Dropped: the ring is not the carrier. Every draining run is clean, every non-draining run is not
40 The title gets too far ahead of the card VICTORY_LATE_WAIT=2 (present settles everything), runs 760 (scripted), 761 (free play) no; 13.94 / 14.43 and - / 13.68 Kept: the lead across a present is the key
41 Pace the present: card has run F-N VICTORY_PRESENT_PACE=1, runs 762, 764, 765 not judged: cold cache Cache was emptied at 18:42; redone in 767
42 Present pacing, 2 frames PRESENT_PACE=2, runs 763 (no world), 766 766: never held; - / 19.62 (cold) Today's lead is already at most 2 frames, so =2 does nothing
43 Present pacing, 1 frame PRESENT_PACE=1, run 767 yes; - / 16.04 Dropped: one frame of lead is too much
44 Pace to F itself, plus landing (= LATE_WAIT=2 with our submit thread on) PRESENT_PACE=self + PRESENT_PACE_LAND=1, run 768 no; 13.1 / 13.44 Kept: our submit thread is not the cause
45 Present returns before we have prepared F VICTORY_SUBMIT_FRAMES=0, run 769 yes; - / 16.97 Dropped: our copies are safe; the card reads something live
46 Refreshes overwrite results not yet landed Judged (round 13), no build Guard exists and barely acts in 769 Dropped
47 Landing (copy-back) matters PRESENT_PACE=self, no _LAND, run 770 no; 13.2 / 13.75 Landing not needed: the card must have run F. Points at something read live: the descriptor heaps
48 Descriptor heaps synced by us while the card still runs F VICTORY_HEAP_SYNC_PACE=1 + SUBMIT_FRAMES=0, run 771 no; 13.66 / 13.74 Confirmed
49 Same, alone VICTORY_HEAP_SYNC_PACE=1, run 772 no; 12.46 / 13.73. Card idles ~21 ms a frame Confirmed. This is the fix (for now)
50 Next: double-buffered descriptor heaps, so F+1's sync overlaps F Not built - Open. Nobody upstream has this (searched)
51 Hold only the heap sync rounds, not all our preparing VICTORY_HEAP_SYNC_PACE=2, run 775 yes Dropped: other writers still land early
52 Which writer lands early? VICTORY_HEAP_WRITERS=1 counter, runs 776-778 (off, =2, =1) see the table above Several writers, so =1 is the fix for now
53 Clean branch on top of main PR branch, Series S, free play in the cell, run 780 no Confirmed on main
54 Series X too? PR branch, Series X, fix off, run 781 yes Not S only: on by default
<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7226758928 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7226758928). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-27T19:40:27Z. --- **Found it: the wedges come from our descriptor heap sync racing the card. Heap pacing (`VICTORY_HEAP_SYNC_PACE`, PR #357, on by default) removes them.** Seen on both Series S and Series X. RTX 2080 Ti, Ryzen 7 7800X3D, Win10. ### What happens A descriptor is a small record that says where a buffer or texture is. The title reuses the same descriptor slots every frame. On the console, that's safe: the card runs right behind the title, so frame F is done before frame F+1 rewrites a slot. On our side, preparing a frame takes ~50 ms before the card even starts it. So the card runs about a frame behind. F+1's descriptor writes then land in the host heaps while the card still draws F. F's draws read F+1's buffer address, and the triangle stretches. <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/13f31425-e849-4a4a-9a84-ba44a34b5494"> <img width="680" alt="Timeline: today the card runs a frame behind, so F3 rewrites slot B while the card still reads it for F2. With the fix, our side waits for the card, and the card idles in the gaps." src="https://github.com/user-attachments/assets/b4c36621-ad67-468d-be87-e7faef46cfe1"> </picture> ### The fix Heap pacing: our side starts preparing frame F+1's submissions only once the card has finished F. The heaps' 4 ms sync rounds stop too. The title itself is not held. | | Off (`=0`) | On (default) | |---|---|---| | Wedges, Series S | yes | no (3 runs) | | Wedges, Series X | yes | not checked yet | | fps, Series S, café / cell | 17.05 / 18.61 | 12.5 / 13.7 | It costs about a quarter of the frame rate on our PC: the card sits idle while we wait. Elsewhere it depends on how our preparing compares with the card's time: little when one is much faster than the other, up to about half when they are equal. But the spikes are on both consoles and very visible, so it's on by default. `VICTORY_HEAP_SYNC_PACE=0` turns it off. ### Proof: writes to the host heaps while the card hadn't finished the last frame A counter (`VICTORY_HEAP_WRITERS=1`, on a test branch) counts every host heap write, by writer, and whether the card had finished the newest frame we sent. It can't see which slots a frame really reads, so "early" is an upper bound. Per frame, average: | Writer | Off | `=2` (holds only the sync rounds) | `=1` | |---|---|---|---| | Our heap sync rounds | 174 | 1 | 1 | | Card steps | 2,242 | 2 | 1 | | Our other threads (translation, repairs at recording) | 5,781 | 217 | 81 | | The title's own view calls | 139 | 73 | 76 | | **Total early** | **~8,340** | **~290** | **~160** | | Wedges | yes | **yes** | no | `=1` removes about 98% of the early writes. The ones left look harmless: no wedges. `=2` held only one writer, and still had wedges. So there isn't one single writer to fix. ### The real fix, later One host heap copy per frame in flight. Then F+1's writes can never reach the records F still reads, and the card doesn't have to wait. That's a big change (lists bake heap addresses), so it's not in this PR. ### What else it could cause (not verified) Any draw can read a descriptor too early, not only vertex buffers. So the same race could plausibly show as: - a surface showing another texture, or black, for a frame (texture blinking); - an object drawn in the wrong place for a frame (wrong matrices in a constant buffer); - lighting or effects flashing wrong for a frame; - a compute pass writing into the wrong buffer, which could leave lasting garbage. We only confirmed the wedges. If you see one of these, try `VICTORY_HEAP_SYNC_PACE=0` against the default and tell us if it changes. ### Why some PCs see it and others don't (reasoning, not tested) The race needs one thing: the card running behind the title. Anything that widens that gap makes wedges more likely. | What differs | Effect | |---|---| | Slower CPU | our preparing takes longer, the card starts each frame later: more | | Slower card | the card is still on F when F+1 writes: more | | Fast CPU + slow card | the title runs far ahead of the card: the worst mix | | Very fast card | done with F before slots are reused: few or none | | Vsync or a frame cap | the title is held back: fewer | | Settings and machine profiles (`play.ps1` gives AMD and NVIDIA different defaults) | change how much work is sent ahead; `VICTORY_RELAY=0` had none | | Cold caches | stalls put the card behind in bursts: wedges in bursts | | Busy scenes (the cell, many characters) | more draws and more slot reuse a frame: more | So the same title can look clean on one PC and broken on another, or clean in a calm scene and broken in a busy one. ### Still open Why it showed more on Series S at first: our guess (?) is smaller budgets, so slots are reused sooner. It does show on Series X too (cell scene, with the inmates). <details> <summary>Every test and suspect we went through (54 rows)</summary> Every wedge verdict below was checked by eye, by watching the same scene, about 50 runs over two days. (Yes, my head hurts...) "Wedges" = seen by eye. fps = café / cell; "-" = not measured. "Base" = play.ps1 defaults (relay on, card steps 2). Normal base: 17.05 / 18.61. | # | Suspect / idea | Test (switches, run) | Result (wedges, fps café / cell) | Verdict | |---|---|---|---|---| | 1 | Only some programs on S are mistranslated | Offline: compare translated sets, X run 442 vs S run 445 | Same programs: 2,736 vs 2,734 | First reading: "same programs, other data". Later corrected by #5 (28 S-only programs) | | 2 | Our thread-id changes (HALVES_RUN1) | Offline: thread path of all 61 skinning programs | All plain path; wedges also predate the change | Dropped | | 3 | Approximate wave64 forms (32-lane halves) | Offline: 33 approximate programs found | Geometry ones (CS_CollectTriangles_Meshlets, CS_Visibility) run on X too | Dropped: cannot explain S-only | | 4 | NVIDIA misreads structured views not on 16 bytes (upstream #2885) | `VICTORY_OWN_UNALIGNED=1`, S, run 523 (geoA) | yes. Switch acted (~370-400 own copies a frame) | Dropped | | 5 | Render size / LOD at 720p | X + `VICTORY_RENDER_SCALE=0.3333`, run 524 (geoX720) | no (X) | Dropped: not the resolution | | 6 | S device type vs S memory figures | console-split patch: X + `VICTORY_DEVICE_TYPE=s`, run 526 (splitC) | yes, on X | Kept then: the device type alone triggers them. 28 programs bound only with the S type. The memory-only run (splitD) was not needed (?) | | 7 | S-only mesh skinning programs (`MS(R)_VS_TransformSkin*`, 6 hashes) | `VICTORY_SKIP_PIPELINES=` the 6 + 2cc4c197, S (geoE, run number ?) | yes; card device removed ~20 s into the café | Dropped | | 8 | Upscaler (title's FSR path on S) | FSR stand-in and own upscaler (earlier runs) | yes with both | Dropped | | 9 | Plain Vice-Tay has them too? | Vice-Tay 58f0c0e9 as-is, run 534 (vicetay5) | yes | Not our port's fault alone | | 10 | S-only packed ped program a91e3fe6 (rank 2) | `VICTORY_SKIP_PIPELINES=a91e3fe6...`, run 558 (vtt23) | none in 95 captured café frames, but none in the control's 20 either | Inconclusive: captures cannot settle it. The rank-3 skip (bb25605b) was never run (?) | | 11 | Stale CPU-side copies (older lead, wedge-lead1.patch) | Runs 446 (card windows off), 447 (CONSTANTS_NO_WAIT=0), 449 (WAIT_FORCE=0), relay stage 1 | yes in all | Left open then; the patch was never built | | 12 | Null skinning-buffer slot (upstream #1567) | Read only | That bug gives collapsed triangles on X too | Dropped (not checked line by line) | | 13 | POOL_COMPACT, HOSTOWN_COPY | Read only | Textures only; wedges predate them | Dropped | | 14 | NVIDIA view heap cap (1,000,000 of 1,245,184 views) | X runs 662-664 (same cap line); X 700 / 702 control | no on X, with the same cap | Dropped: X has the cap and no wedges | | 15 | Tables past the cap (over-the-cap path) | X + `VICTORY_TITLE_SLOTS_KEPT=400000`, run 703 (x-fewslots2; 701 was cold) | no (X) | Dropped. Fresh tables a frame: X ~12-13k, S ~8.6k, so S does not send more | | 16 | Missing waits inside lists (a reader before its writer) | `VICTORY_BARRIER_TEST=add` (a full wait after every draw, dispatch, indirect, copy), café run 718 | no; - / 9.02 | Looked like a lead | | 17 | Same, free play | `BARRIER_TEST=add`, run 719 (free play) | yes; - / 9.36 (?) | Weakened | | 18 | Normal control for 16 | No switches, run 722; then `BARRIER_TEST=add`, run 723 | 722 yes (17.05 / 18.61); 723 no (- / 8.61) | Looked like "waits remove most" | | 19 | Wedges with ray tracing on? | RT runs 724 / 725 (tcq-rt-share-b) | yes; - / 11.44 (725) | RT is not needed for them | | 20 | Bisect the added waits by kind | `BARRIER_ADD_KIND=dispatch,indirect`, run 726 | yes; - / 8.62 | Slowness alone does not hide them | | 21 | Bisect by kind (other half) | `BARRIER_ADD_KIND=draw,copy,upload`, run 727 | not recorded (?); - / 17.82 | Bisect stopped (see #24) | | 22 | Bisect by bucket | `BARRIER_ADD_BUCKET=0-3/8`, run 728; `=4-7/8`, run 729 | not recorded (?); - / 10.71, - / 13.04 | Bisect stopped (see #24) | | 23 | Barrier ceiling (speed only) | `BARRIER_TEST=both`, run 716 | Picture broken by design; 17.61 / 19.19 | Not a wedge test | | 24 | Full waits, free play to the cell | `BARRIER_TEST=add`, run 730 | yes, in the café; - / 10.35 | Dropped the whole waits direction. 718 / 723 clean were luck | | 25 | Title pipeline syncs record no barrier (Vice-Tay 0b5f191b8) | Read only (scan) | Vice-Tay has this fix and still shows spikes | Not ported; not enough alone | | 26 | Relay sends work ahead with stale data (avatarmanz #434, #13; Belobug #547) | `VICTORY_RELAY=0`, runs 733 (scripted) and 734 (free play) | no; - / 6.77 and - / 6.44 | **Kept: the relay is involved.** First clean free play | | 27 | Counter for absurd vertex positions | `VICTORY_VERTEX_WATCH=1`, relay on run 737, relay off run 738 | 738 no; both show the same ~300k-2.5M suspect vertices a second | Dropped: it counts the title's own culled geometry, it cannot see wedges | | 28 | Late pages =1: drain before fills on pages the title changed after we prepared | `VICTORY_RELAY_LATE_PAGES=1` with card steps 2, run 739 | yes; - / 17.71 | The switch refused card steps: no fix acted | | 29 | Late pages =1, card steps off | `LATE_PAGES=1` + `VICTORY_CARD_STEPS=0`, runs 740 (free play), 743 (scripted) | no; - / 8.46 and 8.67 / 8.86 | Fixes, but too slow (~7 drains, ~60 ms a frame waited) | | 30 | Late pages =2: copy fills again after a rewrite ("copy-again") | `LATE_PAGES=2`, runs 746 (card steps 2), 747 (card steps 0) | yes; - / 16.69 and - / 12.83 | Learning broke in 747 (1 page). Fixed in round 3 | | 31 | =2 with learning fixed | `LATE_PAGES=2`, run 748 | yes; - / 16.23 | Dropped: copy-again comes too late, or copies next frame's bytes | | 32 | Where is the card at each late write? | `LATE_PAGES=2` + diagnostic, run 750 | yes (?); - / 19.46 | The card was in the middle of the submission that reads the rewritten bytes | | 33 | =3 idea: card copies title memory at the start of the list | Judged, not built (round 4) | - | Dropped: it reads at list start, not later than =2 | | 34 | Memory-value waits passed too early | `LATE_PAGES=2` + `VICTORY_LATE_WAITS_STRICT=1`, run 751 | flashing and glitches, wedges probably (?); - / 16.61. Stopped | Dropped: worse | | 35 | Who writes the awaited values? | `LATE_PAGES=2` + wait diagnostic, run 752 | yes (?); - / 19.52 | Dropped: all ~20 early-passed waits got their value from our landing, none from the title's CPU | | 36 | Late pages =3: drain for buffer copies and host-copy refreshes (64 KiB) | `LATE_PAGES=3`, run 755 | no; - / 9.77 | Fixes, as slow as =1 (14 drains, ~61 ms a frame). Learned the title's ring | | 37 | Copy-again for refreshes | Judged (round 7) | - | Not possible cheaply: host copies are in card memory | | 38 | Late pages =4: same at 4 KiB, by bytes | `LATE_PAGES=4`, run 757 | no; - / 6.12 | Dropped: waiting is a dead end, learning grows to a full drain | | 39 | Card reads the ring in place (renderer port 1) | `VICTORY_PORT_CONSTANTS=1` + `VICTORY_PORT_CBV=1`, run 758 | yes; - / 13.50 (cold cache) | Dropped: the ring is not the carrier. Every draining run is clean, every non-draining run is not | | 40 | The title gets too far ahead of the card | `VICTORY_LATE_WAIT=2` (present settles everything), runs 760 (scripted), 761 (free play) | no; 13.94 / 14.43 and - / 13.68 | **Kept: the lead across a present is the key** | | 41 | Pace the present: card has run F-N | `VICTORY_PRESENT_PACE=1`, runs 762, 764, 765 | not judged: cold cache | Cache was emptied at 18:42; redone in 767 | | 42 | Present pacing, 2 frames | `PRESENT_PACE=2`, runs 763 (no world), 766 | 766: never held; - / 19.62 (cold) | Today's lead is already at most 2 frames, so =2 does nothing | | 43 | Present pacing, 1 frame | `PRESENT_PACE=1`, run 767 | yes; - / 16.04 | Dropped: one frame of lead is too much | | 44 | Pace to F itself, plus landing (= LATE_WAIT=2 with our submit thread on) | `PRESENT_PACE=self` + `PRESENT_PACE_LAND=1`, run 768 | no; 13.1 / 13.44 | Kept: our submit thread is not the cause | | 45 | Present returns before we have prepared F | `VICTORY_SUBMIT_FRAMES=0`, run 769 | yes; - / 16.97 | Dropped: our copies are safe; the card reads something live | | 46 | Refreshes overwrite results not yet landed | Judged (round 13), no build | Guard exists and barely acts in 769 | Dropped | | 47 | Landing (copy-back) matters | `PRESENT_PACE=self`, no `_LAND`, run 770 | no; 13.2 / 13.75 | Landing not needed: the card must have run F. Points at something read live: the descriptor heaps | | 48 | **Descriptor heaps synced by us while the card still runs F** | `VICTORY_HEAP_SYNC_PACE=1` + `SUBMIT_FRAMES=0`, run 771 | **no**; 13.66 / 13.74 | **Confirmed** | | 49 | Same, alone | `VICTORY_HEAP_SYNC_PACE=1`, run 772 | **no**; 12.46 / 13.73. Card idles ~21 ms a frame | **Confirmed. This is the fix (for now)** | | 50 | Next: double-buffered descriptor heaps, so F+1's sync overlaps F | Not built | - | Open. Nobody upstream has this (searched) | | 51 | Hold only the heap sync rounds, not all our preparing | `VICTORY_HEAP_SYNC_PACE=2`, run 775 | yes | Dropped: other writers still land early | | 52 | Which writer lands early? | `VICTORY_HEAP_WRITERS=1` counter, runs 776-778 (off, =2, =1) | see the table above | Several writers, so `=1` is the fix for now | | 53 | Clean branch on top of main | PR branch, Series S, free play in the cell, run 780 | no | Confirmed on main | | 54 | Series X too? | PR branch, Series X, fix off, run 781 | **yes** | Not S only: on by default | </details>
cafeoh commented 2026-11-27 19:51:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T19:51:57Z.


Series X wedge proof:

https://github.com/user-attachments/assets/b398ac6f-4788-455f-9c8d-cce4e9873e47

As explained above, this issue hits folks in the "Fast CPU + slow card" category, like myself, the most. But it remains an unsolved race condition for everyone, without the fix proposed in #357.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7226945326 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7226945326). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-27T19:51:57Z. --- Series X wedge proof: https://github.com/user-attachments/assets/b398ac6f-4788-455f-9c8d-cce4e9873e47 As explained above, this issue hits folks in the "Fast CPU + slow card" category, like myself, the most. But it remains an unsolved race condition for everyone, without the fix proposed in #357.
TaynanGT commented 2026-11-27 19:59:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T19:59:05Z.


@cafeoh The Series X capture extends the report to both profiles. On Series S, the spikes cleared with pacing and café/cell FPS fell from 17.05/18.61 to 12.5/13.7. Please make #357 opt-in while we check a narrower wait. A paired Series X run would show whether pacing clears the same artifact there.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7227060851 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7227060851). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T19:59:05Z. --- @cafeoh The Series X capture extends the report to both profiles. On Series S, the spikes cleared with pacing and café/cell FPS fell from 17.05/18.61 to 12.5/13.7. Please make #357 opt-in while we check a narrower wait. A paired Series X run would show whether pacing clears the same artifact there.
cafeoh commented 2026-11-27 20:17:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T20:17:47Z.


@TaynanGT Done: TaynanGT/Vice-Tay#357 · GPU: heap pacing against… is opt-in now (VICTORY_HEAP_SYNC_PACE=1).

Series X with pacing, same cell scene (2× speed, the game runs at ~5 fps here; our test branch, same change):

https://github.com/user-attachments/assets/c0916184-544e-46ac-b15f-c1d6fcf90d36

No spikes.

On a narrower wait, we tried two:

=2: hold only the heaps' sync rounds. Still spikes.
=3: hold every write of ours into the host heaps (sync rounds, card steps, views made at recording, placed views) until the card has run the frame before. Our copies and fills still overlap the card. Our early writes dropped to 0, and the spikes stayed. The only early writes left were the title's own view calls (~87 a frame).

So once our preparing overlaps the card again, the card falls behind, and the title's own descriptor writes hit slots still in use. Holding our side isn't enough. It takes one of these:

keeping the card close (=1);
holding the title's view writes until the card catches up;
one host heap copy per frame in flight.

Happy to test whatever you try.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7227364962 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7227364962). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-27T20:17:47Z. --- @TaynanGT Done: [TaynanGT/Vice-Tay#357 · GPU: heap pacing against…](https://github.com/TaynanGT/Vice-Tay/pull/357) is opt-in now (VICTORY_HEAP_SYNC_PACE=1). Series X with pacing, same cell scene (2× speed, the game runs at ~5 fps here; our test branch, same change): https://github.com/user-attachments/assets/c0916184-544e-46ac-b15f-c1d6fcf90d36 No spikes. On a narrower wait, we tried two: =2: hold only the heaps' sync rounds. Still spikes. =3: hold every write of ours into the host heaps (sync rounds, card steps, views made at recording, placed views) until the card has run the frame before. Our copies and fills still overlap the card. Our early writes dropped to 0, and the spikes stayed. The only early writes left were the title's own view calls (~87 a frame). So once our preparing overlaps the card again, the card falls behind, and the title's own descriptor writes hit slots still in use. Holding our side isn't enough. It takes one of these: keeping the card close (=1); holding the title's view writes until the card catches up; one host heap copy per frame in flight. Happy to test whatever you try.
cafeoh commented 2026-11-27 21:24:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T21:24:31Z.


Correction: it's not the descriptor heaps.

Our first comment said the cause was our host descriptor heaps being written while the card still read them. Follow-up tests rule that out. What still holds: VICTORY_HEAP_SYNC_PACE=1 (#357) removes the spikes, so the cause is something our side does while preparing frame F+1 as the card still runs F. We haven't pinned down what yet.

Ruled out (each held only that part until the card had run the frame before; spikes stayed in every case):

Test Held back Spikes
=2 the heaps' sync rounds yes
=3 every write of ours into the host heaps (early writes: 0) yes
=4 =3 plus the title's own view writes (early writes: 0) yes
VICTORY_REFRESH_ON_CARD=1 refreshes of host copies done by the card, queue-ordered after the frame before (all ~160 a frame, none left to the CPU) yes

One more, =5 (hold in-place writes, mostly refreshes), looked clean, but it doesn't single anything out. The first refresh of each frame waited, so all the preparing waited behind it, which is the same as =1 (same fps).

Still open

Something in our preparing of F+1 that the card reads live while it runs F. That's neither the host heaps nor refreshes on our queue. One candidate we haven't tested: host copies read on another queue (the title's compute work).

The next step is a tool that records which memory the card reads during a frame, and which of our writes land in it, instead of guessing part by part.

=1 stays the working fix, opt-in, as in #357.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7228416770 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7228416770). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-27T21:24:31Z. --- **Correction: it's not the descriptor heaps.** Our first comment said the cause was our host descriptor heaps being written while the card still read them. Follow-up tests rule that out. What still holds: **`VICTORY_HEAP_SYNC_PACE=1` (#357) removes the spikes**, so the cause is something our side does while preparing frame F+1 as the card still runs F. We haven't pinned down what yet. **Ruled out** (each held only that part until the card had run the frame before; spikes stayed in every case): | Test | Held back | Spikes | |---|---|---| | `=2` | the heaps' sync rounds | yes | | `=3` | every write of ours into the host heaps (early writes: 0) | yes | | `=4` | `=3` plus the title's own view writes (early writes: 0) | yes | | `VICTORY_REFRESH_ON_CARD=1` | refreshes of host copies done by the card, queue-ordered after the frame before (all ~160 a frame, none left to the CPU) | yes | One more, `=5` (hold in-place writes, mostly refreshes), looked clean, but it doesn't single anything out. The first refresh of each frame waited, so all the preparing waited behind it, which is the same as `=1` (same fps). **Still open** Something in our preparing of F+1 that the card reads live while it runs F. That's neither the host heaps nor refreshes on our queue. One candidate we haven't tested: host copies read on another queue (the title's compute work). The next step is a tool that records which memory the card reads during a frame, and which of our writes land in it, instead of guessing part by part. `=1` stays the working fix, opt-in, as in #357.
Neckername commented 2026-11-28 03:11:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by Neckername on 2026-11-28T03:11:43Z.


I have the same thing happening but my build is old. I'm at work rn so can't post much helpful data when away from my workstation at home.

oDuwxXZK-t.png

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7232870385 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7232870385). Originally posted by [Neckername](https://github.com/Neckername) on 2026-11-28T03:11:43Z. --- I have the same thing happening but my build is old. I'm at work rn so can't post much helpful data when away from my workstation at home. ![oDuwxXZK-t.png](https://github.com/user-attachments/assets/49fbf65f-5163-4cc4-8463-1dd7420a0638)
CristianCiubancan commented 2026-11-28 04:07:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by CristianCiubancan on 2026-11-28T04:07:57Z.


Windows / NVIDIA data point, with two things that may help narrow this

Setup: RTX 5070 Ti 16 GB, Ryzen 7 9850X3D, 31 GB, Windows 11 Pro 26200. Series S. Same scripted walking route for every run, frames saved with VICTORY_CAPTURE and counted by eye from contact sheets of the player character. What I count is the black patches on the character's clothes and arms plus the stretched triangles; they come together here.

Caveat on the base: apart from the last section, these runs were on a local branch cut from 369f940 with a number of then-open PRs merged in (-Machine 4080, which existed then), so treat the rates as relative, not as numbers for main.

What agrees with @cafeoh's result

VICTORY_LATE_WAIT=2 (each frame's flights settled at the present; the default is 3) was clean: 0 of 30 saved frames, against roughly 1 in 4 with the launcher defaults. Cost was about 16–19 fps down to 12–13 while capturing. So "frame F finished before F+1 is prepared" clears it on this machine too, through a different switch.

Two additions

  1. VICTORY_THIN accounts for most of it here. With VICTORY_THIN=0 (and VICTORY_JOIN_PARTS=1) it dropped from about 1 frame in 4 to occasional, at about the same frame rate. Splitting it: VICTORY_THIN=0 with VICTORY_ASYNC_SUBMIT=1 still showed only the small residue, so it is the translate-later half and not the submit thread. Earlier reports here say the spikes are "still there" with THIN off, which matches the residue; I'd be interested whether others also see a large drop in how often.

  2. A blind pause is enough. A fixed 1 ms sleep before each sent-ahead submission is prepared (a local diagnostic, no waiting on the card) was clean. That fits "overlap in time" better than any single resource being held back.

Ruled out here (each still glitched unless noted)

Tried Result
VICTORY_CARD_STEPS=0 clean, about half speed
Card steps on, but the submission also settles as if they were off (local) clean, so the card-side fills themselves are right
The "learn late-written pages" fix from avatarmanz/VIctory-7900XTX #434, ported still glitched
VICTORY_UNDER_FUSED=0, VICTORY_UNDER_WIDE=0, VICTORY_UNDER_WORDS=0, VICTORY_LAND=0, VICTORY_WIDE_BACK=0 still glitched
VICTORY_COPIES_IN_PLACE=0, VICTORY_PLACED_ORDER=0, VICTORY_JOIN_PARTS=1 still glitched
VICTORY_SUBMIT_DEPTH=1 (2–3 submissions queued behind the title instead of 22–24) still glitched
At most 30 submissions in the air (local) still glitched; the cap rarely triggered, so less than a frame in flight is already enough

Three negative measurements (local diagnostics; I can share the patches)

  • Title memory that a submission reads, re-read 1.5 ms after preparing starts: 26 unexplained changes in 1.2 million reads, once flights' writes and the submission's own shader writes and copies are excluded. So the title is not changing it after we start preparing.
  • Fills whose source a flight is writing in a card copy but that the line's written ranges miss: 0.
  • Descriptor table slots given to draws, re-read 25 ms later: 52 of 315 million changed.

On current main

  • b6ea434 with VICTORY_PLACED_CONSTANTS=1: about 2–3 glitched frames in 30.
  • fe7c6e5, launcher defaults for -Machine 4070tisuper (so VICTORY_PLACED_FILL_REDIRECT=1), VICTORY_BCPACK_TABLES set: 14 of 120 sampled frames, median 17.9 fps while capturing. So #340 and #374 bring it from roughly 1 in 4 to roughly 1 in 8 here, and it is not gone.

I have not yet re-run VICTORY_LATE_WAIT=2 or VICTORY_THIN=0 on fe7c6e5; I'll follow up when I have.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7233725105 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7233725105). Originally posted by [CristianCiubancan](https://github.com/CristianCiubancan) on 2026-11-28T04:07:57Z. --- **Windows / NVIDIA data point, with two things that may help narrow this** **Setup:** RTX 5070 Ti 16 GB, Ryzen 7 9850X3D, 31 GB, Windows 11 Pro 26200. Series S. Same scripted walking route for every run, frames saved with `VICTORY_CAPTURE` and counted by eye from contact sheets of the player character. What I count is the black patches on the character's clothes and arms plus the stretched triangles; they come together here. **Caveat on the base:** apart from the last section, these runs were on a local branch cut from `369f940` with a number of then-open PRs merged in (`-Machine 4080`, which existed then), so treat the rates as relative, not as numbers for `main`. **What agrees with @cafeoh's result** `VICTORY_LATE_WAIT=2` (each frame's flights settled at the present; the default is 3) was clean: 0 of 30 saved frames, against roughly 1 in 4 with the launcher defaults. Cost was about 16–19 fps down to 12–13 while capturing. So "frame F finished before F+1 is prepared" clears it on this machine too, through a different switch. **Two additions** 1. **`VICTORY_THIN` accounts for most of it here.** With `VICTORY_THIN=0` (and `VICTORY_JOIN_PARTS=1`) it dropped from about 1 frame in 4 to occasional, at about the same frame rate. Splitting it: `VICTORY_THIN=0` with `VICTORY_ASYNC_SUBMIT=1` still showed only the small residue, so it is the translate-later half and not the submit thread. Earlier reports here say the spikes are "still there" with THIN off, which matches the residue; I'd be interested whether others also see a large drop in how often. 2. **A blind pause is enough.** A fixed 1 ms sleep before each sent-ahead submission is prepared (a local diagnostic, no waiting on the card) was clean. That fits "overlap in time" better than any single resource being held back. **Ruled out here** (each still glitched unless noted) | Tried | Result | |---|---| | `VICTORY_CARD_STEPS=0` | clean, about half speed | | Card steps on, but the submission also settles as if they were off (local) | clean, so the card-side fills themselves are right | | The "learn late-written pages" fix from avatarmanz/VIctory-7900XTX #434, ported | still glitched | | `VICTORY_UNDER_FUSED=0`, `VICTORY_UNDER_WIDE=0`, `VICTORY_UNDER_WORDS=0`, `VICTORY_LAND=0`, `VICTORY_WIDE_BACK=0` | still glitched | | `VICTORY_COPIES_IN_PLACE=0`, `VICTORY_PLACED_ORDER=0`, `VICTORY_JOIN_PARTS=1` | still glitched | | `VICTORY_SUBMIT_DEPTH=1` (2–3 submissions queued behind the title instead of 22–24) | still glitched | | At most 30 submissions in the air (local) | still glitched; the cap rarely triggered, so less than a frame in flight is already enough | **Three negative measurements** (local diagnostics; I can share the patches) - Title memory that a submission reads, re-read 1.5 ms after preparing starts: 26 unexplained changes in 1.2 million reads, once flights' writes and the submission's own shader writes and copies are excluded. So the title is not changing it after we start preparing. - Fills whose source a flight is writing in a card copy but that the line's written ranges miss: 0. - Descriptor table slots given to draws, re-read 25 ms later: 52 of 315 million changed. **On current `main`** - `b6ea434` with `VICTORY_PLACED_CONSTANTS=1`: about 2–3 glitched frames in 30. - `fe7c6e5`, launcher defaults for `-Machine 4070tisuper` (so `VICTORY_PLACED_FILL_REDIRECT=1`), `VICTORY_BCPACK_TABLES` set: 14 of 120 sampled frames, median 17.9 fps while capturing. So #340 and #374 bring it from roughly 1 in 4 to roughly 1 in 8 here, and it is not gone. I have not yet re-run `VICTORY_LATE_WAIT=2` or `VICTORY_THIN=0` on `fe7c6e5`; I'll follow up when I have.
CristianCiubancan commented 2026-11-28 04:59:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by CristianCiubancan on 2026-11-28T04:59:33Z.


Follow-up on fe7c6e5, same machine and route, -Machine 4070tisuper, VICTORY_BCPACK_TABLES set, 240 s recorded walks, frames sampled evenly and counted by eye:

Setting Glitched frames Median fps while capturing
launcher defaults 14 of 120 17.9
VICTORY_LATE_WAIT=2 0 of 106 18.8
VICTORY_THIN=0, VICTORY_JOIN_PARTS=1 0 of 113 20.1

One run each, so the zeros mean "much rarer", not "never". A free-play session with VICTORY_THIN=0, VICTORY_JOIN_PARTS=1 afterwards also looked clean. On the older base VICTORY_LATE_WAIT=2 cost about a quarter of the frame rate; here it costs nothing measurable, and turning translate-later off is clean at full speed. That points at the translate-later path as where the remaining overlap comes from on this setup.

Still to do here: THIN off on its own (joining left on), repeats, and frame rates without capture.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7234385371 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7234385371). Originally posted by [CristianCiubancan](https://github.com/CristianCiubancan) on 2026-11-28T04:59:33Z. --- Follow-up on `fe7c6e5`, same machine and route, `-Machine 4070tisuper`, `VICTORY_BCPACK_TABLES` set, 240 s recorded walks, frames sampled evenly and counted by eye: | Setting | Glitched frames | Median fps while capturing | |---|---|---| | launcher defaults | 14 of 120 | 17.9 | | `VICTORY_LATE_WAIT=2` | 0 of 106 | 18.8 | | `VICTORY_THIN=0`, `VICTORY_JOIN_PARTS=1` | 0 of 113 | 20.1 | One run each, so the zeros mean "much rarer", not "never". A free-play session with `VICTORY_THIN=0`, `VICTORY_JOIN_PARTS=1` afterwards also looked clean. On the older base `VICTORY_LATE_WAIT=2` cost about a quarter of the frame rate; here it costs nothing measurable, and turning translate-later off is clean at full speed. That points at the translate-later path as where the remaining overlap comes from on this setup. Still to do here: THIN off on its own (joining left on), repeats, and frame rates without capture.
cafeoh commented 2026-11-28 09:21:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-28T09:21:56Z.


Found the cause: old title bytes merged into buffer memory a compute pass was still writing. Fix in #357 (VICTORY_MERGE_AFTER_LANDING=3, on by default there).

Some buffers are written both by the title and by the card (compute passes, for example skinning output). When the title wrote a page of such a buffer before a compute pass writing the same range had landed, our merge (merge_under_writes / stale_under_writes) put the title's bytes into that range. They were older than the card's results, and at the landing a byte both had written was taken from the title. That frame drew from old vertices: a wedge.

How we found it: holding only the refreshes and merges of copies that shaders write until the card had run the frame before removed the wedges; its counter showed ~167 merges a frame into ranges of flights not landed yet.

@CristianCiubancan your results fit this: LATE_WAIT=2 and THIN=0 both move our preparing to a moment when the card's earlier work has usually landed, so the overlap gets rare. Pacing worked the same way. But it depends on the machine: on our 2080 Ti, THIN=0 + JOIN_PARTS=1 without the fix showed as many wedges as no fix at all, maybe more (free play to the inmates). The fix itself never merges old bytes there, whatever the timing.

Video of that run (THIN=0 + JOIN_PARTS=1, no fix, the cell):

https://github.com/user-attachments/assets/910e6e48-c51e-4ae9-8e8e-bb377e0291f4

RTX 2080 Ti, Ryzen 7 7800X3D, Win10, Series S, café -> cell, 40 s window:

Off =2 =3
fps café -> cell / cell 19.17 / 20.07 18.66 / 19.77 19.64 / 19.41
p99 124 ms 100 ms 117 ms
Wedges, by eye most frames among the inmates a dozen or two in a long free run none seen in three free runs to the inmates

=3 covers every path we found, and our three free runs with it showed no wedges; that's one PC so far. If you see wedges, we'd be thankful if you could try #357 (no switch needed) and tell us whether they're gone on your setup (card, console profile, a rough count), especially on the Series S setups here.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7237191399 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7237191399). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-28T09:21:56Z. --- **Found the cause: old title bytes merged into buffer memory a compute pass was still writing. Fix in #357 (`VICTORY_MERGE_AFTER_LANDING=3`, on by default there).** Some buffers are written both by the title and by the card (compute passes, for example skinning output). When the title wrote a page of such a buffer before a compute pass writing the same range had landed, our merge (`merge_under_writes` / `stale_under_writes`) put the title's bytes into that range. They were older than the card's results, and at the landing a byte both had written was taken from the title. That frame drew from old vertices: a wedge. How we found it: holding only the refreshes and merges of copies that shaders write until the card had run the frame before removed the wedges; its counter showed ~167 merges a frame into ranges of flights not landed yet. @CristianCiubancan your results fit this: `LATE_WAIT=2` and `THIN=0` both move our preparing to a moment when the card's earlier work has usually landed, so the overlap gets rare. Pacing worked the same way. But it depends on the machine: on our 2080 Ti, `THIN=0` + `JOIN_PARTS=1` without the fix showed as many wedges as no fix at all, maybe more (free play to the inmates). The fix itself never merges old bytes there, whatever the timing. Video of that run (`THIN=0` + `JOIN_PARTS=1`, no fix, the cell): https://github.com/user-attachments/assets/910e6e48-c51e-4ae9-8e8e-bb377e0291f4 RTX 2080 Ti, Ryzen 7 7800X3D, Win10, Series S, café -> cell, 40 s window: | | Off | `=2` | `=3` | |---|---|---|---| | fps café -> cell / cell | 19.17 / 20.07 | 18.66 / 19.77 | 19.64 / 19.41 | | p99 | 124 ms | 100 ms | 117 ms | | Wedges, by eye | most frames among the inmates | a dozen or two in a long free run | none seen in three free runs to the inmates | `=3` covers every path we found, and our three free runs with it showed no wedges; that's one PC so far. If you see wedges, we'd be thankful if you could try #357 (no switch needed) and tell us whether they're gone on your setup (card, console profile, a rough count), especially on the Series S setups here.
cafeoh commented 2026-11-28 12:23:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-28T12:23:34Z.


Correction: #357 (VICTORY_MERGE_AFTER_LANDING=3) does not fix this after all. With ray tracing on and longer play the wedges and black flashing skin are back; our earlier clean runs were luck in timing. VICTORY_LATE_WAIT=2 removes both here too (2 of 2 RT runs on an RTX 2080 Ti), matching @CristianCiubancan's 0/106. Likely cause: the title writing the next frame's per-frame data while the current frame is still being prepared. Still hunting the exact cause and a cheaper fix; #357 is now a draft.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7239195637 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7239195637). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-28T12:23:34Z. --- Correction: #357 (`VICTORY_MERGE_AFTER_LANDING=3`) does not fix this after all. With ray tracing on and longer play the wedges and black flashing skin are back; our earlier clean runs were luck in timing. `VICTORY_LATE_WAIT=2` removes both here too (2 of 2 RT runs on an RTX 2080 Ti), matching @CristianCiubancan's 0/106. Likely cause: the title writing the next frame's per-frame data while the current frame is still being prepared. Still hunting the exact cause and a cheaper fix; #357 is now a draft.
cafeoh commented 2026-11-28 18:30:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-28T18:30:38Z.


Correction: VICTORY_MERGE_AFTER_LANDING=3 (#357) does not fix the wedges. Wedges are still there with it on.

More free runs today on RTX 2080 Ti, Series S, ray tracing on, all with =3 on: wedges in every run that doesn't hold our side. Sorry for the early "cause found".

What did hold up across runs:

  • The carrier is on our side, in the landing window. Holding our preparing of frame F+1 until frame F has landed (the title not held; it runs ~2 frames ahead) gave no wedges in two runs. Holding only until the card has run F gave more wedges than doing nothing.
  • Ruled out on this tree: card bytes overwriting title writes at the landing, title changes merged under unlanded flights (=3 itself, plus two stronger variants), and the title's bytes held back from the card. Each was tested with the fix confirmed active in the logs.

So =3 probably narrows it, but the real collision is another part of our preparing that overlaps the landing. We're narrowing it down now, with an automatic wedge counter instead of eyes. #357 stays useful as a partial measure, but please don't count on it as the fix.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7243844196 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7243844196). Originally posted by [cafeoh](https://github.com/cafeoh) on 2026-11-28T18:30:38Z. --- **Correction: `VICTORY_MERGE_AFTER_LANDING=3` (#357) does not fix the wedges. Wedges are still there with it on.** More free runs today on RTX 2080 Ti, Series S, ray tracing on, all with `=3` on: wedges in every run that doesn't hold our side. Sorry for the early "cause found". What did hold up across runs: - **The carrier is on our side, in the landing window.** Holding our preparing of frame F+1 until frame F has *landed* (the title not held; it runs ~2 frames ahead) gave no wedges in two runs. Holding only until the card has *run* F gave more wedges than doing nothing. - **Ruled out on this tree:** card bytes overwriting title writes at the landing, title changes merged under unlanded flights (`=3` itself, plus two stronger variants), and the title's bytes held back from the card. Each was tested with the fix confirmed active in the logs. So `=3` probably narrows it, but the real collision is another part of our preparing that overlaps the landing. We're narrowing it down now, with an automatic wedge counter instead of eyes. `#357` stays useful as a partial measure, but please don't count on it as the fix.
TaynanGT commented 2026-11-29 11:23:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:23:46Z.


Thanks for correcting the earlier result. The difference between waiting for GPU execution and landing is especially useful. I'll treat #357 as partial rather than a wedge fix. The automatic wedge counter is the right way to narrow the remaining overlap.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7255082708 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7255082708). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T11:23:46Z. --- Thanks for correcting the earlier result. The difference between waiting for GPU execution and landing is especially useful. I'll treat #357 as partial rather than a wedge fix. The automatic wedge counter is the right way to narrow the remaining overlap.
TaynanGT commented 2026-11-30 17:04:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:04:03Z.


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?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285666570 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/90#issuecomment-7285666570). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:04:03Z. --- `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?
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
TaynanGT/Vice-Tay#90
No description provided.