Boat mission: the boat sinks to hull depth the moment the cutscene ends (engine destroyed, cannot move) – RTX 4070 SUPER, f85101b #863

Open
opened 2026-11-26 03:52:46 +00:00 by github-bot · 23 comments
Owner

@⁠KaV3R on GitHub · 2026-11-25 11:01 UTC · original

Hardware: RTX 4070 SUPER 12 GB, Ryzen 9 9950X3D, 32 GB RAM, Windows 11. Game: Xbox Series build 1.0.2.1.
Tree: victory-fork up to f85101b, plus a few local changes (listed below).

What happens

In Jason's first boat mission ("Follow the plane"), the boat sinks the moment the cutscene ends, as soon as physics takes over. It doesn't sink slowly: it drops straight to about hull depth and stays there.

  • The HUD shows "Engine destroyed": the engine is underwater.
  • The throttle responds but the boat doesn't move, so the mission can't be continued. This looks like the same failure as #372 ("boat doesn't go forward").
  • The water around the hull shows a deep rectangular "trench": the title's cut-out of the water inside the hull, rendered with the hull far below the surface.
  • The rest of the scene looks right: water surface, waves, mangroves, characters and subtitles. About 2.5 fps (~400 ms/frame).

What it is not (checked)

  • Copy-back timing. It sinks the same with VICTORY_RELAY=0 VICTORY_LATE_WAIT=0 (no relay, no late waits) as with the defaults.

  • Translation failures. The only compute programs that fail or are refused in that run are visual:

    • water_shading:CS_TransmissionVolumetrics* (refused as pipelines; ...Submerged doesn't translate);
    • cascadeshadows_rendering:CS_ShadowRenderTiledCascadesAlphaCBPPPC;
    • alphaResolve:CS_AlphTransmissionPrefilterMip, vfx_triangleClip:CS_DefragHeap_ComputeRelocations;
    • vfx_proj_decal_hit_detection:CS_ComputeHitDetectionSkinnedResults (skipped with VICTORY_SKIP_PIPELINES here; it hung the card in an older tree).

    The ShallowWaterSim, OceanWaveSim, RiverSimPacket and WaterSimMgr programs are not on the translator's failure list (victory translate --list over the game directory).

  • Streaming. No failed or dropped DirectStorage requests in that run. The boat model itself loads.

  • View heap cap. "title slot past the host heap" is never logged.

  • Texture read-backs. Only the two small exposure targets (5x1 and 1x1 RGBA32F), and both are made.

Suspect

The title answers the physics' water-height queries on the GPU: ShallowWaterSim:CS_ResolveHeightLookUps (and CS_ExtractHeightAndVelXYZAndDivVel), with a CPU read-back buffer (the exe has CpuReadBackShaderResourceBuffer). If the CPU reads that buffer before the results land, or reads zeros or stale data, buoyancy sees no water at the boat. That would match a boat that "falls" to hull depth the instant physics starts.

I haven't yet confirmed whether that program is dispatched in this scene, or whether its output reaches title memory. The next test is the same scene with VICTORY_CARD_BUFFERS=0 as well (no card copies of title buffers).

Very low fps (large physics steps) could also play a part, but it wouldn't explain a stable resting depth with the engine flooded.

Local changes in this tree (in case they matter)

  • Pad presses are latched until the title reads them.
  • DirectStorage requests whose destination is page 0 are completed and dropped (a page-0 destination is taken as no page).
  • v_cvt_f32_f64 and a size-only buffer descriptor path in the translator (the fork has its own versions now).
  • Per-program VICTORY_WAVE_WIDE_ONLY / VICTORY_FIRSTLANE_OWN hash lists.
  • VICTORY_TEXTURE_NO_WAIT=1, VICTORY_CARD_BUFFERS_MIN_MB=1, VICTORY_CARD_BUFFERS_MB=1024, card fill 93 %.

Has anyone with the boat working seen the same, or does anyone know where the title reads the height look-up results back?

**@⁠KaV3R** on GitHub · 2026-11-25 11:01 UTC · [original](https://github.com/fxceless/victory-fork/issues/863) **Hardware:** RTX 4070 SUPER 12 GB, Ryzen 9 9950X3D, 32 GB RAM, Windows 11. Game: Xbox Series build 1.0.2.1. **Tree:** victory-fork up to f85101b, plus a few local changes (listed below). ## What happens In Jason's first boat mission ("Follow the plane"), **the boat sinks the moment the cutscene ends**, as soon as physics takes over. It doesn't sink slowly: it drops straight to about hull depth and stays there. - The HUD shows **"Engine destroyed"**: the engine is underwater. - The throttle responds but the boat doesn't move, so the mission can't be continued. This looks like the same failure as #372 ("boat doesn't go forward"). - The water around the hull shows a deep rectangular "trench": the title's cut-out of the water inside the hull, rendered with the hull far below the surface. - The rest of the scene looks right: water surface, waves, mangroves, characters and subtitles. About 2.5 fps (~400 ms/frame). ## What it is not (checked) - **Copy-back timing.** It sinks the same with `VICTORY_RELAY=0 VICTORY_LATE_WAIT=0` (no relay, no late waits) as with the defaults. - **Translation failures.** The only compute programs that fail or are refused in that run are visual: - `water_shading:CS_TransmissionVolumetrics*` (refused as pipelines; `...Submerged` doesn't translate); - `cascadeshadows_rendering:CS_ShadowRenderTiledCascadesAlphaCBPPPC`; - `alphaResolve:CS_AlphTransmissionPrefilterMip`, `vfx_triangleClip:CS_DefragHeap_ComputeRelocations`; - `vfx_proj_decal_hit_detection:CS_ComputeHitDetectionSkinnedResults` (skipped with `VICTORY_SKIP_PIPELINES` here; it hung the card in an older tree). The `ShallowWaterSim`, `OceanWaveSim`, `RiverSimPacket` and `WaterSimMgr` programs are not on the translator's failure list (`victory translate --list` over the game directory). - **Streaming.** No failed or dropped DirectStorage requests in that run. The boat model itself loads. - **View heap cap.** "title slot past the host heap" is never logged. - **Texture read-backs.** Only the two small exposure targets (5x1 and 1x1 RGBA32F), and both are made. ## Suspect The title answers the physics' water-height queries on the GPU: `ShallowWaterSim:CS_ResolveHeightLookUps` (and `CS_ExtractHeightAndVelXYZAndDivVel`), with a CPU read-back buffer (the exe has `CpuReadBackShaderResourceBuffer`). If the CPU reads that buffer before the results land, or reads zeros or stale data, buoyancy sees no water at the boat. That would match a boat that "falls" to hull depth the instant physics starts. I haven't yet confirmed whether that program is dispatched in this scene, or whether its output reaches title memory. The next test is the same scene with `VICTORY_CARD_BUFFERS=0` as well (no card copies of title buffers). Very low fps (large physics steps) could also play a part, but it wouldn't explain a stable resting depth with the engine flooded. ## Local changes in this tree (in case they matter) - Pad presses are latched until the title reads them. - DirectStorage requests whose destination is page 0 are completed and dropped (a page-0 destination is taken as no page). - `v_cvt_f32_f64` and a size-only buffer descriptor path in the translator (the fork has its own versions now). - Per-program `VICTORY_WAVE_WIDE_ONLY` / `VICTORY_FIRSTLANE_OWN` hash lists. - `VICTORY_TEXTURE_NO_WAIT=1`, `VICTORY_CARD_BUFFERS_MIN_MB=1`, `VICTORY_CARD_BUFFERS_MB=1024`, card fill 93 %. Has anyone with the boat working seen the same, or does anyone know where the title reads the height look-up results back?
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:52:46 +00:00
Author
Owner

@⁠LukaManstein on GitHub · 2026-11-25 12:52 UTC · original

Same here, and VICTORY_CARD_BUFFERS=0 does not fix it.

Setup: RTX 3080 Ti 12 GB, Ryzen 7 2700, Windows 10 LTSC (Agility SDK 1.620), Series X, build 1.0.2.1. Tree: victory-fork f85101b + uiliannn/VItoriaBr merged (77 translator fixes) + a constant indirect light ported from Belobug (VICTORY_AMBIENT) — branch turbo of LukaManstein/CHIMERA.

Test (loaded the autosave at the start of the boat mission, watched past the cutscene's end):

VICTORY_CARD_BUFFERS=0 VICTORY_LATE_WAIT=0 VICTORY_RELAY=0
(no ASYNC_SUBMIT, QUEUE2, INDIRECT_WINDOW, TEXTURE_NO_WAIT, MERGE_GAP/MERGE_RUNS, WIDE_MERGE, JOIN_COPIES)

Result: the boat drops to hull depth the moment physics takes over, "Engine destroyed", exactly as in the report. The run was 0.5–0.7 fps (copy-back 350–1070 ms a frame with no card copies), so very large physics steps are still possible, but the resting depth is the same as at 4 fps.

So with title buffers living only in title memory, no relay and no late waits, the read-back path through card copies is ruled out as well. Next on my list is checking whether ShallowWaterSim:CS_ResolveHeightLookUps is dispatched at all in that scene (and with which pipeline) — translate --list only prints failures, so if someone has a hash→name list for the water programs, that would save a step.

Side note from the same comparison: the picture is visibly cleaner with all the inexact switches off; VICTORY_MERGE_GAP/MERGE_RUNS is my first suspect for that.

**@⁠LukaManstein** on GitHub · 2026-11-25 12:52 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7162972761) Same here, and `VICTORY_CARD_BUFFERS=0` does **not** fix it. **Setup:** RTX 3080 Ti 12 GB, Ryzen 7 2700, Windows 10 LTSC (Agility SDK 1.620), Series X, build 1.0.2.1. Tree: victory-fork `f85101b` + uiliannn/VItoriaBr merged (77 translator fixes) + a constant indirect light ported from Belobug (`VICTORY_AMBIENT`) — branch [`turbo` of LukaManstein/CHIMERA](https://github.com/LukaManstein/CHIMERA/tree/turbo). **Test** (loaded the autosave at the start of the boat mission, watched past the cutscene's end): ``` VICTORY_CARD_BUFFERS=0 VICTORY_LATE_WAIT=0 VICTORY_RELAY=0 (no ASYNC_SUBMIT, QUEUE2, INDIRECT_WINDOW, TEXTURE_NO_WAIT, MERGE_GAP/MERGE_RUNS, WIDE_MERGE, JOIN_COPIES) ``` Result: the boat drops to hull depth the moment physics takes over, "Engine destroyed", exactly as in the report. The run was 0.5–0.7 fps (copy-back 350–1070 ms a frame with no card copies), so very large physics steps are still possible, but the resting depth is the same as at 4 fps. So with title buffers living only in title memory, no relay and no late waits, the read-back path through card copies is ruled out as well. Next on my list is checking whether `ShallowWaterSim:CS_ResolveHeightLookUps` is dispatched at all in that scene (and with which pipeline) — `translate --list` only prints failures, so if someone has a hash→name list for the water programs, that would save a step. Side note from the same comparison: the picture is visibly cleaner with all the inexact switches off; `VICTORY_MERGE_GAP`/`MERGE_RUNS` is my first suspect for that.
Author
Owner

@⁠tippythetaidum on GitHub · 2026-11-25 13:05 UTC · original

Some things from my side that may narrow it down. I can't reach the boat (no save there), so none of this is from that scene.

What ShallowWaterSim:CS_ResolveHeightLookUps (92b4790eb4c29f6d) does, from its code:

  • It reads a lookup count from a constant buffer, then loops over 32-byte records in a structured buffer (t108): x, y, a base height, and an output index (the record's 4th dword).
  • For each, it reads three textures of the shallow-water simulation at the 4 cells around (x, y), blends them, clamps that to ±100, and stores base + it at the output index of a typed buffer (u11, in a descriptor table).
  • If the record's base height is -10000 or below, it stores -10000 instead: that's the "no water here" answer.

So a boat that finds no water is getting either -10000 from that path, or results that never reach title memory. Watching the u11 buffer for -10000 would tell those apart.

Results reaching title memory: u11 is a table view, so the layer declares its range written and copies it back after the list runs (readable → gpu_writes). One way they could still arrive late: the title's own buffer copies (CopyBufferRegion, CopyMemoryToMemoryX) run on the CPU when the list is submitted, before the card runs it. A copy of the results recorded after the dispatch in the same submission would take the bytes from before the dispatch. I counted exactly that with a diagnostics patch: in eight runs on f85101b from the opening cutscene into the prison (RTX 5080; about 376,000 submissions and 368,000 title buffer copies, one run with VICTORY_LATE_WAIT=0), no title buffer copy came after a shader write of its source in the same submission. So it doesn't happen in those scenes. Whether it happens at the boat I can't say. If you'd like to check, I can put the counter up as a diagnostics-only PR.

All the ShallowWaterSim, OceanWaveSim and WaterSimMgr programs translate and validate offline on f85101b, as you found.

AI-assisted (Claude Code, with Claude Opus 5.5 and Claude Fable 5.2): the decode, the counter and this text. Counts and log lines only, nothing from the game attached.

**@⁠tippythetaidum** on GitHub · 2026-11-25 13:05 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7163266080) Some things from my side that may narrow it down. I can't reach the boat (no save there), so none of this is from that scene. **What `ShallowWaterSim:CS_ResolveHeightLookUps` (`92b4790eb4c29f6d`) does**, from its code: - It reads a lookup count from a constant buffer, then loops over 32-byte records in a structured buffer (`t108`): x, y, a base height, and an output index (the record's 4th dword). - For each, it reads three textures of the shallow-water simulation at the 4 cells around (x, y), blends them, clamps that to ±100, and stores base + it at the output index of a typed buffer (`u11`, in a descriptor table). - If the record's base height is -10000 or below, it stores -10000 instead: that's the "no water here" answer. So a boat that finds no water is getting either -10000 from that path, or results that never reach title memory. Watching the `u11` buffer for -10000 would tell those apart. **Results reaching title memory:** `u11` is a table view, so the layer declares its range written and copies it back after the list runs (`readable` → `gpu_writes`). One way they could still arrive late: the title's own buffer copies (`CopyBufferRegion`, `CopyMemoryToMemoryX`) run on the CPU when the list is *submitted*, before the card runs it. A copy of the results recorded after the dispatch in the same submission would take the bytes from before the dispatch. I counted exactly that with a diagnostics patch: in eight runs on `f85101b` from the opening cutscene into the prison (RTX 5080; about 376,000 submissions and 368,000 title buffer copies, one run with `VICTORY_LATE_WAIT=0`), no title buffer copy came after a shader write of its source in the same submission. So it doesn't happen in those scenes. Whether it happens at the boat I can't say. If you'd like to check, I can put the counter up as a diagnostics-only PR. All the `ShallowWaterSim`, `OceanWaveSim` and `WaterSimMgr` programs translate and validate offline on `f85101b`, as you found. AI-assisted (Claude Code, with Claude Opus 5.5 and Claude Fable 5.2): the decode, the counter and this text. Counts and log lines only, nothing from the game attached.
Author
Owner

@⁠sawetco on GitHub · 2026-11-25 13:32 UTC · original

I captured the water-height dispatch in the boat mission itself on an RTX 5070 (driver 621.24), Ryzen 5 7600X and Windows 11 build 26100. The renderer was Zettrox 90b529f with the fxceless #203 shader changes, Series X, relay 2 and shader loop limit 256. I reloaded the saved start of Gone Fishing.

Captured frame Game window ResolveHeightLookUps ExtractHeightAndVelXYZAndDivVel
2976 Cal talking in the boat two direct 1×1×1 dispatches two direct 32×32×1 dispatches
3168 “Follow the plane” HUD two direct 1×1×1 dispatches two direct 32×32×1 dispatches
3264 “Cal fell off the boat” two direct 1×1×1 dispatches two direct 32×32×1 dispatches

I matched the original shader containers locally by BLAKE3 to the host command-list records. ResolveHeightLookUps is 92b4790eb4c29f6d, ExtractHeightAndVelXYZAndDivVel is ee153b918d4ef2c9, and MinTimestepReduce is ceb5eb68cd99cb07. On frame 3168 the two height-lookups bind distinct output buffers at the UAV descriptor-table offset +32. The command trace reports a 1,024-byte range for each. These are recorded host dispatches. I have no measurement of the output float values or the bytes the CPU subsequently consumed.

This gives a scene and an output to target with a readback probe. No mission input was scheduled during these captures. Codex prepared the build and analyzed the local trace.

**@⁠sawetco** on GitHub · 2026-11-25 13:32 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7163917366) I captured the water-height dispatch in the boat mission itself on an RTX 5070 (driver 621.24), Ryzen 5 7600X and Windows 11 build 26100. The renderer was Zettrox 90b529f with the fxceless #203 shader changes, Series X, relay 2 and shader loop limit 256. I reloaded the saved start of Gone Fishing. | Captured frame | Game window | ResolveHeightLookUps | ExtractHeightAndVelXYZAndDivVel | | --- | --- | --- | --- | | 2976 | Cal talking in the boat | two direct 1×1×1 dispatches | two direct 32×32×1 dispatches | | 3168 | “Follow the plane” HUD | two direct 1×1×1 dispatches | two direct 32×32×1 dispatches | | 3264 | “Cal fell off the boat” | two direct 1×1×1 dispatches | two direct 32×32×1 dispatches | I matched the original shader containers locally by BLAKE3 to the host command-list records. ResolveHeightLookUps is `92b4790eb4c29f6d`, ExtractHeightAndVelXYZAndDivVel is `ee153b918d4ef2c9`, and MinTimestepReduce is `ceb5eb68cd99cb07`. On frame 3168 the two height-lookups bind distinct output buffers at the UAV descriptor-table offset +32. The command trace reports a 1,024-byte range for each. These are recorded host dispatches. I have no measurement of the output float values or the bytes the CPU subsequently consumed. This gives a scene and an output to target with a readback probe. No mission input was scheduled during these captures. Codex prepared the build and analyzed the local trace.
Author
Owner

@⁠KaV3R on GitHub · 2026-11-25 13:55 UTC · original

Update from the boat scene, with the look-up's buffers logged at its dispatches (a small diagnostics switch, VICTORY_PEEK=<hash>; run without relay or late waits). Thanks @⁠tippythetaidum, your decode of CS_ResolveHeightLookUps made this quick.

The look-up works, and its answers reach title memory.

  • The output buffer (u11, 1 KiB) of a dispatch shows the previous dispatch's answers there: 0.0, 0.3.
  • A diagnostics translation that forced the clamped offset (med3(offset, -100, 100)) to +5 m changed nothing in the scene. The base heights below explain why.
  • A separate fix that moves a title buffer copy after the card when its source is written by shaders of the same submission found 0 such copies in the boat scene. So that isn't it either.

The questions are wrong. The records physics sends (x, y, base height, index) at the boat look like:

x=-1740.3  y=-4352.9  base=0.0  index=2
x=-1739.3  y=-4256.4  base=0.3  index=2   (the other dispatch of the pair)

The base height the CPU puts in is sea level (0 or 0.3), not the swamp's water level. Physics then looks for water below the riverbed, and the boat rests on the bottom. A free-camera shot shows exactly that: the boat on the bed, no water around its hull.

Why the CPU has no river/swamp level: none of the 40 RiverSimPacket:* programs (CS_WaterTextureCodecGPU_*, CS_SparseTexture_*, CS_HighDetailDeltas_*, ...) is ever bound in the run. The OceanWaveSim and WaterSimMgr programs and the ShallowWaterSim look-up all are.

Likely cause: the two console device methods at 0x1c8 and 0x218 are not implemented (unknown_pipeline in device.rs). The title creates pipelines through them and goes without each one when the call fails: 16,384+ calls at 0x1c8 and 2,048+ at 0x218 by the boat.

From the logged descriptions, they look like pipelines made from pre-compiled native code rather than from a DXIL container:

  • 0x218 (one stage):
    [root signature, blob 0x1c, blob 0x14, GPU code address, code size (0x180-0x240), blob (0x118-0x198), ptr, ptr, 64-bit hash], then the next record.
  • 0x1c8 (two stages): the same shape twice, after a root signature.

The 64-bit hashes in the descriptions are found in shaders.rpf, inside containers (the ones checked sit among the ...im:CS_Texture2DArrayMipmap* programs). So each call should map to a known container that the translator already handles.

I'm now working on implementing the two methods by mapping the hash to its container. I haven't verified yet that RiverSimPacket is among the pipelines the title goes without; that's the first thing the implementation will show.

AI-assisted (Claude Code, Claude Opus 5.5): the diagnostics, the analysis and this text. Log lines and numbers only, nothing from the game attached.

**@⁠KaV3R** on GitHub · 2026-11-25 13:55 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7164477836) Update from the boat scene, with the look-up's buffers logged at its dispatches (a small diagnostics switch, `VICTORY_PEEK=<hash>`; run without relay or late waits). Thanks @⁠tippythetaidum, your decode of `CS_ResolveHeightLookUps` made this quick. **The look-up works, and its answers reach title memory.** - The output buffer (`u11`, 1 KiB) of a dispatch shows the previous dispatch's answers there: `0.0`, `0.3`. - A diagnostics translation that forced the clamped offset (`med3(offset, -100, 100)`) to +5 m changed nothing in the scene. The base heights below explain why. - A separate fix that moves a title buffer copy after the card when its source is written by shaders of the same submission found **0** such copies in the boat scene. So that isn't it either. **The questions are wrong.** The records physics sends (x, y, base height, index) at the boat look like: ``` x=-1740.3 y=-4352.9 base=0.0 index=2 x=-1739.3 y=-4256.4 base=0.3 index=2 (the other dispatch of the pair) ``` The base height the CPU puts in is sea level (0 or 0.3), not the swamp's water level. Physics then looks for water below the riverbed, and the boat rests on the bottom. A free-camera shot shows exactly that: the boat on the bed, no water around its hull. **Why the CPU has no river/swamp level:** none of the 40 `RiverSimPacket:*` programs (`CS_WaterTextureCodecGPU_*`, `CS_SparseTexture_*`, `CS_HighDetailDeltas_*`, ...) is ever bound in the run. The `OceanWaveSim` and `WaterSimMgr` programs and the `ShallowWaterSim` look-up all are. **Likely cause: the two console device methods at `0x1c8` and `0x218` are not implemented** (`unknown_pipeline` in `device.rs`). The title creates pipelines through them and goes without each one when the call fails: 16,384+ calls at `0x1c8` and 2,048+ at `0x218` by the boat. From the logged descriptions, they look like pipelines made from **pre-compiled native code** rather than from a DXIL container: - **`0x218` (one stage):** `[root signature, blob 0x1c, blob 0x14, GPU code address, code size (0x180-0x240), blob (0x118-0x198), ptr, ptr, 64-bit hash]`, then the next record. - **`0x1c8` (two stages):** the same shape twice, after a root signature. The 64-bit hashes in the descriptions are found in `shaders.rpf`, inside containers (the ones checked sit among the `...im:CS_Texture2DArrayMipmap*` programs). So each call should map to a known container that the translator already handles. I'm now working on implementing the two methods by mapping the hash to its container. I haven't verified yet that `RiverSimPacket` is among the pipelines the title goes without; that's the first thing the implementation will show. AI-assisted (Claude Code, Claude Opus 5.5): the diagnostics, the analysis and this text. Log lines and numbers only, nothing from the game attached.
Author
Owner

@⁠tippythetaidum on GitHub · 2026-11-25 14:00 UTC · original

Glad it helped, and good find on the base heights. Before you implement 0x218/0x1c8, our measurements on them may save you a day (we went down that road yesterday; details on #113: #113):

  • 0x218 failing leaves no compute pipeline missing. The title then creates the same pipeline with CreateComputePipelineStateX from its container. Per root signature, the 0x218 calls equalled the container creations exactly, for every one of the 26 signatures that saw 0x218 (2,689 and 2,689, first scenes, 4e17478).
  • Implementing it made things worse. The pre-built programs it hands over translated 228 of 2,689 times (8.5 %), against 2,720 of 2,734 (99.5 %) for the fallback containers. With 0x218 succeeding, the title skips the container path.
  • 0x1c8 is a cache the title fills ahead; per #113 its misses are made the usual way at draw time.

So for RiverSimPacket I'd first look at whether the title creates those pipelines at all at the boat (a shader translated / does not translate line or a pipeline creation with their containers' hashes), and if it does, why they're never dispatched (refused, dropped, or simply not scheduled because the CPU side decided there's no river there).

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠tippythetaidum** on GitHub · 2026-11-25 14:00 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7164606624) Glad it helped, and good find on the base heights. Before you implement `0x218`/`0x1c8`, our measurements on them may save you a day (we went down that road yesterday; details on #113: https://git.gtahub.st/github/fxceless--victory-fork/issues/113): - **`0x218` failing leaves no compute pipeline missing.** The title then creates the same pipeline with `CreateComputePipelineStateX` from its container. Per root signature, the `0x218` calls equalled the container creations exactly, for every one of the 26 signatures that saw `0x218` (2,689 and 2,689, first scenes, `4e17478`). - **Implementing it made things worse.** The pre-built programs it hands over translated 228 of 2,689 times (8.5 %), against 2,720 of 2,734 (99.5 %) for the fallback containers. With `0x218` succeeding, the title skips the container path. - **`0x1c8`** is a cache the title fills ahead; per #113 its misses are made the usual way at draw time. So for `RiverSimPacket` I'd first look at whether the title creates those pipelines at all at the boat (a `shader translated` / `does not translate` line or a pipeline creation with their containers' hashes), and if it does, why they're never dispatched (refused, dropped, or simply not scheduled because the CPU side decided there's no river there). AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@⁠tinygusie2 on GitHub · 2026-11-25 14:09 UTC · original

Same on AMD (RX 9060 XT 16 GB, Ryzen 5 7500F, 32 GB, Windows 11; Series X profile, 1.0.2.1). Tree: fork main a253706 plus local changes (AMD view-index fixes, VICTORY_MAX_COMPUTE_KB=48, a constant indirect light, #868 with its switches off). The boat is at hull depth right after the cutscene, as in the first post. One run, about 4–5 fps.

The look-up's answers reach title memory here too. I logged the buffers CS_ResolveHeightLookUps (92b4790eb4c29f6d) is bound to and read them from title memory ten times a second:

  • Two dispatches a frame, output buffers of 1,024 bytes, three of them in turn for each dispatch.
  • At the boat 11 entries are used (3 at the start of the scene). All hold heights, around 0.0 for one dispatch of the pair and around 0.3 for the other, with small waves on top. Only unused entries hold -10000. No NaN or infinity seen.
  • This fits the base heights of 0 and 0.3 found above. I did not decode the input records myself.
  • No title buffer copy with that output as its source was recorded.
  • Not measured: when the CPU reads the buffers, so a late read is not ruled out by this alone.

None of the 40 RiverSimPacket containers appears in the log. I unpacked shaders.rpf, took the BLAKE3 of each container and looked the hashes up in the run's log: no translation, no bind, no refusal, for any of the 40. As a check on the method, ResolveHeightLookUps and the other water programs do match:

Family Seen in the log
RiverSimPacket 0 of 40
OceanWaveSim 5 of 6 (all but CS_FindMaxWaveAmplitude)
ShallowWaterSim, WaterSimMgr many, not all variants

Unused programs of the other families are absent from the log as well, so this does not show whether the title creates the pipelines. It does show that they are never tried and refused.

Also checked:

  • The compute programs of mine that do not run are water_shading:CS_TransmissionVolumetricsSubmerged (does not translate) and postfx_lut:CS_LUT3DBakeColorGradingAdjustments; neither looks related. The run also left out bvh_skinning:CSComputeSkinningTreeAnimVelocity (compiler crash here), the CS_RaytracingResolve programs and compute containers over 48 KB.
  • All files in the layout file are present, and the log has no DirectStorage warning.
  • Switches: VICTORY_INDIRECT_WINDOW=1, VICTORY_LEVELS_ON_DEMAND=1, VICTORY_LATE_WAIT=3, VICTORY_WIDE_BACK=1; no ASYNC_SUBMIT or QUEUE2.

AI-assisted (Claude Code, Claude Opus 5.5): the diagnostics, the analysis and this text. Log lines and numbers only, nothing from the game attached.

**@⁠tinygusie2** on GitHub · 2026-11-25 14:09 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7164850979) Same on AMD (RX 9060 XT 16 GB, Ryzen 5 7500F, 32 GB, Windows 11; Series X profile, 1.0.2.1). Tree: fork main `a253706` plus local changes (AMD view-index fixes, `VICTORY_MAX_COMPUTE_KB=48`, a constant indirect light, #868 with its switches off). The boat is at hull depth right after the cutscene, as in the first post. One run, about 4–5 fps. **The look-up's answers reach title memory here too.** I logged the buffers `CS_ResolveHeightLookUps` (`92b4790eb4c29f6d`) is bound to and read them from title memory ten times a second: - Two dispatches a frame, output buffers of 1,024 bytes, three of them in turn for each dispatch. - At the boat 11 entries are used (3 at the start of the scene). All hold heights, around `0.0` for one dispatch of the pair and around `0.3` for the other, with small waves on top. Only unused entries hold `-10000`. No NaN or infinity seen. - This fits the base heights of 0 and 0.3 found above. I did not decode the input records myself. - No title buffer copy with that output as its source was recorded. - Not measured: when the CPU reads the buffers, so a late read is not ruled out by this alone. **None of the 40 `RiverSimPacket` containers appears in the log.** I unpacked `shaders.rpf`, took the BLAKE3 of each container and looked the hashes up in the run's log: no translation, no bind, no refusal, for any of the 40. As a check on the method, `ResolveHeightLookUps` and the other water programs do match: | Family | Seen in the log | | --- | --- | | `RiverSimPacket` | 0 of 40 | | `OceanWaveSim` | 5 of 6 (all but `CS_FindMaxWaveAmplitude`) | | `ShallowWaterSim`, `WaterSimMgr` | many, not all variants | Unused programs of the other families are absent from the log as well, so this does not show whether the title creates the pipelines. It does show that they are never tried and refused. Also checked: - The compute programs of mine that do not run are `water_shading:CS_TransmissionVolumetricsSubmerged` (does not translate) and `postfx_lut:CS_LUT3DBakeColorGradingAdjustments`; neither looks related. The run also left out `bvh_skinning:CSComputeSkinningTreeAnimVelocity` (compiler crash here), the `CS_RaytracingResolve` programs and compute containers over 48 KB. - All files in the layout file are present, and the log has no DirectStorage warning. - Switches: `VICTORY_INDIRECT_WINDOW=1`, `VICTORY_LEVELS_ON_DEMAND=1`, `VICTORY_LATE_WAIT=3`, `VICTORY_WIDE_BACK=1`; no `ASYNC_SUBMIT` or `QUEUE2`. AI-assisted (Claude Code, Claude Opus 5.5): the diagnostics, the analysis and this text. Log lines and numbers only, nothing from the game attached.
Author
Owner

@⁠sawetco on GitHub · 2026-11-25 14:20 UTC · original

I checked the creation-versus-binding question from the last two comments. All 40 RiverSimPacket compute containers reached the guest pipeline factory in one Series S run. The runtime recorded zero first binds for those 40 from launch through the boat handover and the on-screen “Cal fell off the boat” failure.

I used the victory-perf renderer at 97c3aa2 on an RTX 5070 (621.24), Windows 11, 0.5 scale. My local change captures the composed HUD. The pipeline code is the published code. Enabling the victory_gpu::pipeline=trace target in the diagnostics build prints the shader list when the guest requests a pipeline. I matched the 40 locally indexed compute containers against this trace in the gameplay process. All 40 appeared once, about 1.9 s after startup, before player selection. There were 2,734 distinct compute containers in creation requests across the run. The separate offline precompiler log was excluded.

Compute group Distinct containers requested Distinct containers first bound Dispatches in one boat frame
RiverSimPacket 40 0 0
ResolveHeightLookUps 1 1 2
OceanWaveSim 6 5 39
WaterSimMgr 13 7 8

The dispatch column is from a captured frame with both occupants aboard and the plane in view. None of the 40 produced a translation attempt or refusal in the gameplay log. The creation trace is emitted on entry to the common factory, before its return status or native D3D12 compilation. That narrows the outstanding question on this configuration to what happens between the title's request and its first bind. The exact activation condition and the cause of the bad water height are still open. Creation instrumentation · First-bind instrumentation

Codex assisted with the local measurements and write-up.

**@⁠sawetco** on GitHub · 2026-11-25 14:20 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7165125564) I checked the creation-versus-binding question from the last two comments. All 40 `RiverSimPacket` compute containers reached the guest pipeline factory in one Series S run. The runtime recorded zero first binds for those 40 from launch through the boat handover and the on-screen “Cal fell off the boat” failure. I used the `victory-perf` renderer at `97c3aa2` on an RTX 5070 (621.24), Windows 11, 0.5 scale. My local change captures the composed HUD. The pipeline code is the published code. Enabling the `victory_gpu::pipeline=trace` target in the diagnostics build prints the shader list when the guest requests a pipeline. I matched the 40 locally indexed compute containers against this trace in the gameplay process. All 40 appeared once, about 1.9 s after startup, before player selection. There were 2,734 distinct compute containers in creation requests across the run. The separate offline precompiler log was excluded. | Compute group | Distinct containers requested | Distinct containers first bound | Dispatches in one boat frame | | --- | ---: | ---: | ---: | | RiverSimPacket | 40 | 0 | 0 | | ResolveHeightLookUps | 1 | 1 | 2 | | OceanWaveSim | 6 | 5 | 39 | | WaterSimMgr | 13 | 7 | 8 | The dispatch column is from a captured frame with both occupants aboard and the plane in view. None of the 40 produced a translation attempt or refusal in the gameplay log. The creation trace is emitted on **entry** to the common factory, before its return status or native D3D12 compilation. That narrows the outstanding question on this configuration to what happens between the title's request and its first bind. The exact activation condition and the cause of the bad water height are still open. [Creation instrumentation](https://github.com/vitutu1/victory-perf/blob/97c3aa24263b90fa6691fca8ca88fca179593a19/crates/victory-gpu/src/pipeline.rs#L517-L547) · [First-bind instrumentation](https://github.com/vitutu1/victory-perf/blob/97c3aa24263b90fa6691fca8ca88fca179593a19/crates/victory-gpu/src/pipeline.rs#L392-L408) Codex assisted with the local measurements and write-up.
Author
Owner

@⁠CuteBooty on GitHub · 2026-11-25 14:26 UTC · original

The boat floats and drives here with vx-layer's texture copy-back (Geckomacabre/vx-layer eee5667d), RTX 3070 8 GB, Series S

Same failure here first: after the cutscene the boat sat in the rectangular trench and would not move (two runs, last
night and this morning).

With a port of vx-layer commit eee5667d ("textures shaders write that the title reads on the CPU are copied back
into title memory", switch VICTORY_TEXTURE_BACK) the boat sat on the surface and could be driven, in two runs of
about 7 and 8 minutes. I did not write the fix; this is only a confirmation on another card and in Series S.

  • What it does: after a submission, textures of four kinds that shaders wrote are copied from the card back into
    the title's memory. The kinds are upstream's default list, width x height and the title's format number:
    256x256 f41, 256x256 f16, 64x64 f16, 128x128 f36.
  • From the log in the boat scene: 350-374 textures, 102-108 MB, copied back per 5-second interval, for 40-230 ms of
    CPU time in that interval. Nothing is copied during loading; it starts with the world.
  • Frame time on the water with it: about 300 ms in one run and 222-250 ms in the other (3,600-3,900 draws); the
    two runs differ in other changes, so I cannot give the fix's own cost.
  • No error or device removal in either run.

So on this machine what the physics was missing is the contents of those shader-written textures in title memory,
not the look-up's own buffers.

One caution from reading the port before running it: the copy-back has no check that the title still owns the
same memory when the copy lands, so in principle it can write old pixels over memory the title has reused or
remapped in between. A version that refused every such case also refused all the textures the boat needs, so it
needs proper tracking, not a blanket guard. I saw no sign of corruption in two short runs, which proves little.

Setup: RTX 3070 8 GB (driver 621.24, 32-lane waves), Ryzen 5 3600, 32 GB, Windows 11, Series S mode (PR #188), 1920x1080, VICTORY_TEXTURE_DROP_MIPS=1, relay at its default, a diagnostics build of a tree at main 310c6eb6 with a number of open PRs picked.

**@⁠CuteBooty** on GitHub · 2026-11-25 14:26 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7165278139) **The boat floats and drives here with vx-layer's texture copy-back (Geckomacabre/vx-layer eee5667d), RTX 3070 8 GB, Series S** Same failure here first: after the cutscene the boat sat in the rectangular trench and would not move (two runs, last night and this morning). With a port of vx-layer commit eee5667d ("textures shaders write that the title reads on the CPU are copied back into title memory", switch `VICTORY_TEXTURE_BACK`) the boat sat on the surface and could be driven, in two runs of about 7 and 8 minutes. I did not write the fix; this is only a confirmation on another card and in Series S. - What it does: after a submission, textures of four kinds that shaders wrote are copied from the card back into the title's memory. The kinds are upstream's default list, width x height and the title's format number: 256x256 f41, 256x256 f16, 64x64 f16, 128x128 f36. - From the log in the boat scene: 350-374 textures, 102-108 MB, copied back per 5-second interval, for 40-230 ms of CPU time in that interval. Nothing is copied during loading; it starts with the world. - Frame time on the water with it: about 300 ms in one run and 222-250 ms in the other (3,600-3,900 draws); the two runs differ in other changes, so I cannot give the fix's own cost. - No error or device removal in either run. So on this machine what the physics was missing is the contents of those shader-written textures in title memory, not the look-up's own buffers. One caution from reading the port before running it: the copy-back has no check that the title still owns the same memory when the copy lands, so in principle it can write old pixels over memory the title has reused or remapped in between. A version that refused every such case also refused all the textures the boat needs, so it needs proper tracking, not a blanket guard. I saw no sign of corruption in two short runs, which proves little. Setup: RTX 3070 8 GB (driver 621.24, 32-lane waves), Ryzen 5 3600, 32 GB, Windows 11, Series S mode (PR #188), 1920x1080, `VICTORY_TEXTURE_DROP_MIPS=1`, relay at its default, a diagnostics build of a tree at main 310c6eb6 with a number of open PRs picked.
Author
Owner

@⁠KaV3R on GitHub · 2026-11-25 14:43 UTC · original

Confirmed: the boat floats and drives with vx-layer's texture copy-back (eee5667d), on an RTX 4070 SUPER, Series X profile.

Thank you @⁠CuteBooty for finding and confirming it, @⁠Geckomacabre for the fix in vx-layer, and @⁠tippythetaidum for the measurements on 0x218/0x1c8, which saved us a lot of time.

Setup:

  • RTX 4070 SUPER 12 GB (32-lane waves), Ryzen 9 9950X3D, 32 GB, Windows 11, Series X profile, build 1.0.2.1.
  • Tree: victory-fork 0b0074e plus local changes, with eee5667d cherry-picked. It conflicted only with local code in host.rs, draw.rs, resource.rs and lib.rs; I left out the read-watch diagnostics.
  • Switches: relay 2 (default), VICTORY_ASYNC_SUBMIT=1, VICTORY_QUEUE2=1, VICTORY_INDIRECT_WINDOW=1, VICTORY_COPY_PLAIN=1.

Result:

  • Through the "Gone Fishing" cutscene the boat sits on the surface afterwards and can be driven.
  • 3.9–5.4 fps on the water, no crash, no driver entry.
  • VICTORY_TEXTURE_BACK default kinds: 256x256 f41, 256x256 f16, 64x64 f16, 128x128 f36.
  • One a texture copied back could not be tiled e=Unsupported mip=0 slice=0 warning in the run, which didn't seem to matter for the boat.

Correction to my earlier comment: the 0x218/0x1c8 lead was wrong, as @⁠tippythetaidum said.

  • I implemented 0x218 (record lookup by the trailing hash in shaders.rpf). The title then made 2,600+ compute pipelines through it, including all 40 RiverSimPacket ones.
  • It crashed at the boat (a null tracker in a recycling list in the title's code). With part of the families left out, the picture was much too bright and blurred, and the boat sank all the same.
  • It's off in my tree.
  • The base heights of 0/0.3 in the look-up's records are apparently fine. What physics was missing were the ocean height/displacement textures in title memory.

AI-assisted (Claude Code, Claude Opus 5.5): the port, the runs' analysis and this text. Log lines and numbers only, nothing from the game attached.

**@⁠KaV3R** on GitHub · 2026-11-25 14:43 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7165728646) **Confirmed: the boat floats and drives with vx-layer's texture copy-back (`eee5667d`), on an RTX 4070 SUPER, Series X profile.** Thank you @⁠CuteBooty for finding and confirming it, @⁠Geckomacabre for the fix in vx-layer, and @⁠tippythetaidum for the measurements on `0x218`/`0x1c8`, which saved us a lot of time. **Setup:** - RTX 4070 SUPER 12 GB (32-lane waves), Ryzen 9 9950X3D, 32 GB, Windows 11, Series X profile, build 1.0.2.1. - Tree: victory-fork `0b0074e` plus local changes, with `eee5667d` cherry-picked. It conflicted only with local code in `host.rs`, `draw.rs`, `resource.rs` and `lib.rs`; I left out the read-watch diagnostics. - Switches: relay 2 (default), `VICTORY_ASYNC_SUBMIT=1`, `VICTORY_QUEUE2=1`, `VICTORY_INDIRECT_WINDOW=1`, `VICTORY_COPY_PLAIN=1`. **Result:** - Through the "Gone Fishing" cutscene the boat sits on the surface afterwards and can be driven. - 3.9–5.4 fps on the water, no crash, no driver entry. - `VICTORY_TEXTURE_BACK` default kinds: `256x256 f41`, `256x256 f16`, `64x64 f16`, `128x128 f36`. - One `a texture copied back could not be tiled e=Unsupported mip=0 slice=0` warning in the run, which didn't seem to matter for the boat. **Correction to my earlier comment:** the `0x218`/`0x1c8` lead was wrong, as @⁠tippythetaidum said. - I implemented `0x218` (record lookup by the trailing hash in `shaders.rpf`). The title then made 2,600+ compute pipelines through it, including all 40 `RiverSimPacket` ones. - It crashed at the boat (a null tracker in a recycling list in the title's code). With part of the families left out, the picture was much too bright and blurred, and the boat sank all the same. - It's off in my tree. - The base heights of 0/0.3 in the look-up's records are apparently fine. What physics was missing were the ocean height/displacement textures in title memory. AI-assisted (Claude Code, Claude Opus 5.5): the port, the runs' analysis and this text. Log lines and numbers only, nothing from the game attached.
Author
Owner

@⁠Mishkile on GitHub · 2026-11-25 14:44 UTC · original

Independent confirmation on an RTX 5090, with the passes that write those textures and what else is in the same position

Same result here as in the comment above: with the textures copied back into title memory the boat floats. I reached it separately, by tracing, before I saw vx-layer eee5667d, so this is a second route to the same cause and a few details that route gave.

Result (RTX 5090, Windows 11, Series X profile; tree: f85101b plus community PRs and local changes; one save at the start of the Gone Fishing cutscenes, no input):

boat
9 runs without the copy-back on the bed in 9 of 9, during the boat cutscene, before control is handed over (PS_HeatHazeUnderwater first bound at that frame every time)
1 run with it on the surface through the cutscene and about 200 frames of "Follow the plane"; that shader never bound

One run with the fix, one machine.

Which passes write the textures the CPU reads. I listed every pass of 24 frames (20 of them in the boat scene, from 390 frames before the boat drops to 95 after) and collected each texture written through an unordered-access view of a dispatch. 57 of 485 are never named again in any of the listings: no shader-resource view, no copy, no alias, no target. The water ones:

Writer Textures (DXGI format)
water_compressed_simulation_rendertarget:CS_MinMax_Int_SinglePlane_Parallel bdf438d5731d36cc 2048x128 R8_UINT, 128x128 R16G16_UINT
...:CS_MinMax_Float_DualPlane_Parallel 9809b8d965b04935 (two dispatches a frame) 4096x64 R8_UINT, 64x64 R32G32_FLOAT
...:CS_MinMax_Float_SinglePlane_Parallel a2f1004f8d6d7aad 4096x64 R16_UINT, 64x64 R32G32_FLOAT
WaterSimMgr:CS_CompositeSimDataIntoOutputTexture0101 256x256 R32_FLOAT, 256x256 R32G32_FLOAT

Each compress dispatch has three sets of outputs and uses them in turn, like the look-up's three result buffers. The compress passes read the shallow-water height and velocity textures (512x512), so these are the simulation's heights in a block form: a min/max plane and an index plane per input.

A difference that may matter. vx-layer's default kinds as quoted above (256x256 f41, 256x256 f16, 64x64 f16, 128x128 f36) cover the min/max planes and the composite outputs, but not the index planes the same dispatches write (4096x64 R8_UINT and R16_UINT, 2048x128 R8_UINT), which are just as unread on the card. My copy-back keys on the writing program instead of the shape: it has the min/max and index planes and not the 256x256 composite outputs. The boat floats with either set, so the planes both have (64x64 f16, 128x128 f36) are enough for that. What the title does with the others I have not tested; waves under a moving boat would be the place to look.

Other textures in the same position in those listings (written, never read on the card). Candidates only, none tested, and "never read in 24 listed frames" also fits scratch targets:

  • terrain_virtual_texture:CS_ProcessFeedbackBuffer and CS_ClearPageFeedback: 240x135 R32_UINT, in 19 of the 24 listings
  • WindNew:CS_PreProjection, CS_PreProjectionChild, CS_ProjectionIteration, CS_PostProjection: 66x66 R16G16_FLOAT
  • ShallowWaterSim:CS_ExtractHeightAndVelXYZAndDivVel: 512x512 R32_FLOAT, 256x256 R32_FLOAT, 256x256 R32G32_FLOAT
  • OceanWaveSim:CS_ApplyOceanDisplacement: 256x256 R16G16_FLOAT
  • sr_tracing:CS_Tiling_* and CS_RaytraceVBuffer_RayBinning_*: 3x3 and 1x1 R32_UINT

Also measured on the way, agreeing with the comments above:

  • CS_ResolveHeightLookUps: the card's copy of the result buffer and the title's memory hold the same values at every dispatch traced, before and after the boat drops (three records, base 0 and 0.3).
  • A UAV barrier before every dispatch changes nothing for the boat.
  • The title makes 35 to 65 buffer copies a frame there and none touches the look-up's results.
  • No RiverSimPacket program is dispatched in the scene.

How mine does it, in case the program-keyed form is useful: after a dispatch of a listed program, each two-dimensional single-level texture its tables bind for unordered access is copied out in the title's own list (to copy source and back). At the next present, behind a wait for everything submitted, the rows go through victory_formats::texture::Layout::tile into a copy of the texture's memory, which copy_mapped(.., true) writes and watch::wrote reports. 8,520 textures in the run, none failed, all layouts addressable. I did not measure its cost on its own.

AI-assisted (Claude Code, Claude Fable 5.2): the tracer, the analysis and this text. Names, counts and log lines only; nothing from the game attached.

**@⁠Mishkile** on GitHub · 2026-11-25 14:44 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7165747535) **Independent confirmation on an RTX 5090, with the passes that write those textures and what else is in the same position** Same result here as in the comment above: with the textures copied back into title memory the boat floats. I reached it separately, by tracing, before I saw vx-layer `eee5667d`, so this is a second route to the same cause and a few details that route gave. **Result** (RTX 5090, Windows 11, Series X profile; tree: `f85101b` plus community PRs and local changes; one save at the start of the Gone Fishing cutscenes, no input): | | boat | | --- | --- | | 9 runs without the copy-back | on the bed in 9 of 9, during the boat cutscene, before control is handed over (`PS_HeatHazeUnderwater` first bound at that frame every time) | | 1 run with it | on the surface through the cutscene and about 200 frames of "Follow the plane"; that shader never bound | One run with the fix, one machine. **Which passes write the textures the CPU reads.** I listed every pass of 24 frames (20 of them in the boat scene, from 390 frames before the boat drops to 95 after) and collected each texture written through an unordered-access view of a dispatch. 57 of 485 are never named again in any of the listings: no shader-resource view, no copy, no alias, no target. The water ones: | Writer | Textures (DXGI format) | | --- | --- | | `water_compressed_simulation_rendertarget:CS_MinMax_Int_SinglePlane_Parallel` `bdf438d5731d36cc` | 2048x128 R8_UINT, 128x128 R16G16_UINT | | `...:CS_MinMax_Float_DualPlane_Parallel` `9809b8d965b04935` (two dispatches a frame) | 4096x64 R8_UINT, 64x64 R32G32_FLOAT | | `...:CS_MinMax_Float_SinglePlane_Parallel` `a2f1004f8d6d7aad` | 4096x64 R16_UINT, 64x64 R32G32_FLOAT | | `WaterSimMgr:CS_CompositeSimDataIntoOutputTexture0101` | 256x256 R32_FLOAT, 256x256 R32G32_FLOAT | Each compress dispatch has three sets of outputs and uses them in turn, like the look-up's three result buffers. The compress passes read the shallow-water height and velocity textures (512x512), so these are the simulation's heights in a block form: a min/max plane and an index plane per input. **A difference that may matter.** vx-layer's default kinds as quoted above (256x256 f41, 256x256 f16, 64x64 f16, 128x128 f36) cover the min/max planes and the composite outputs, but not the index planes the same dispatches write (4096x64 R8_UINT and R16_UINT, 2048x128 R8_UINT), which are just as unread on the card. My copy-back keys on the writing program instead of the shape: it has the min/max and index planes and not the 256x256 composite outputs. The boat floats with either set, so the planes both have (64x64 f16, 128x128 f36) are enough for that. What the title does with the others I have not tested; waves under a moving boat would be the place to look. **Other textures in the same position** in those listings (written, never read on the card). Candidates only, none tested, and "never read in 24 listed frames" also fits scratch targets: - `terrain_virtual_texture:CS_ProcessFeedbackBuffer` and `CS_ClearPageFeedback`: 240x135 R32_UINT, in 19 of the 24 listings - `WindNew:CS_PreProjection`, `CS_PreProjectionChild`, `CS_ProjectionIteration`, `CS_PostProjection`: 66x66 R16G16_FLOAT - `ShallowWaterSim:CS_ExtractHeightAndVelXYZAndDivVel`: 512x512 R32_FLOAT, 256x256 R32_FLOAT, 256x256 R32G32_FLOAT - `OceanWaveSim:CS_ApplyOceanDisplacement`: 256x256 R16G16_FLOAT - `sr_tracing:CS_Tiling_*` and `CS_RaytraceVBuffer_RayBinning_*`: 3x3 and 1x1 R32_UINT **Also measured on the way**, agreeing with the comments above: - `CS_ResolveHeightLookUps`: the card's copy of the result buffer and the title's memory hold the same values at every dispatch traced, before and after the boat drops (three records, base 0 and 0.3). - A UAV barrier before every dispatch changes nothing for the boat. - The title makes 35 to 65 buffer copies a frame there and none touches the look-up's results. - No `RiverSimPacket` program is dispatched in the scene. **How mine does it**, in case the program-keyed form is useful: after a dispatch of a listed program, each two-dimensional single-level texture its tables bind for unordered access is copied out in the title's own list (to copy source and back). At the next present, behind a wait for everything submitted, the rows go through `victory_formats::texture::Layout::tile` into a copy of the texture's memory, which `copy_mapped(.., true)` writes and `watch::wrote` reports. 8,520 textures in the run, none failed, all layouts addressable. I did not measure its cost on its own. AI-assisted (Claude Code, Claude Fable 5.2): the tracer, the analysis and this text. Names, counts and log lines only; nothing from the game attached.
Author
Owner

@⁠LukaManstein on GitHub · 2026-11-25 15:16 UTC · original

Confirming @⁠CuteBooty's result on NVIDIA under Windows 10: with vx-layer eee5667d (Geckomacabre's texture copy-back, default kinds 256x256 f41/f16, 64x64 f16, 128x128 f36) the boat floats, drives, and the whole boat chase plays through — the plane, the binoculars and the swamp — until the mission moves on to its next objective with Jason on foot at the camp.

RTX 3080 Ti, Ryzen 7 2700, Windows 10 LTSC 21H2 (Agility SDK), Series X profile, 1280×720. Tree: victory-fork f85101b + uiliannn/VItoriaBr + eee5667d cherry-picked (conflicts only next to it) — https://github.com/LukaManstein/CHIMERA/tree/turbo at 9da5726. One session of 31 minutes, no crash or device removal; in the mission median 3.9 fps (1.3–5.8). A recording of the whole boat chase will follow.

One texback warning per run: a texture copied back could not be tiled e=Unsupported mip=0 slice=0 (logged once, so I don't know which of the four kinds); it didn't stop the boat.

For the record, what my diagnostics showed before the fix, in case it helps someone check the mechanism: the height look-ups' answers were fine (~0.0/0.3 m), no title copy read them, and the integration programs (CS_AdvectionStep, CS_IntegrateHeight, CS_IntegrateVelocity) were never bound at all — the CPU never scheduled them, which fits it reading the wave maps from memory nothing had written. I'll retract my earlier guess about the raw-view own copy: it doesn't affect the boat.

**@⁠LukaManstein** on GitHub · 2026-11-25 15:16 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7166577898) Confirming @⁠CuteBooty's result on NVIDIA under **Windows 10**: with vx-layer `eee5667d` (Geckomacabre's texture copy-back, default kinds 256x256 f41/f16, 64x64 f16, 128x128 f36) the boat floats, drives, and **the whole boat chase plays through** — the plane, the binoculars and the swamp — until the mission moves on to its next objective with Jason on foot at the camp. RTX 3080 Ti, Ryzen 7 2700, Windows 10 LTSC 21H2 (Agility SDK), Series X profile, 1280×720. Tree: victory-fork `f85101b` + uiliannn/VItoriaBr + `eee5667d` cherry-picked (conflicts only next to it) — https://github.com/LukaManstein/CHIMERA/tree/turbo at `9da5726`. One session of 31 minutes, no crash or device removal; in the mission median 3.9 fps (1.3–5.8). A recording of the whole boat chase will follow. One `texback` warning per run: `a texture copied back could not be tiled e=Unsupported mip=0 slice=0` (logged once, so I don't know which of the four kinds); it didn't stop the boat. For the record, what my diagnostics showed before the fix, in case it helps someone check the mechanism: the height look-ups' answers were fine (~0.0/0.3 m), no title copy read them, and the integration programs (`CS_AdvectionStep`, `CS_IntegrateHeight`, `CS_IntegrateVelocity`) were never bound at all — the CPU never scheduled them, which fits it reading the wave maps from memory nothing had written. I'll retract my earlier guess about the raw-view own copy: it doesn't affect the boat.
Author
Owner

@⁠Kajcsi on GitHub · 2026-11-25 15:49 UTC · original

Hi @⁠KaV3R, could you share the saves folder from this run (the one with the autosave at the start of the boat mission)? A crash cost me my progress after the prologue, and your autosave would let me continue from about the same spot. It's the 7952987A\saves folder inside your VICTORY_DATA_DIR. Zipping it and attaching it here would be perfect. Thanks!

**@⁠Kajcsi** on GitHub · 2026-11-25 15:49 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7167346941) Hi @⁠KaV3R, could you share the saves folder from this run (the one with the autosave at the start of the boat mission)? A crash cost me my progress after the prologue, and your autosave would let me continue from about the same spot. It's the `7952987A\saves` folder inside your VICTORY_DATA_DIR. Zipping it and attaching it here would be perfect. Thanks!
Author
Owner

@⁠not-rex on GitHub · 2026-11-25 16:17 UTC · original

Two crashes later in "Gone Fishing" with the texture copy-back in. Both are in the title's own code, and the boat floated and drove in both runs.

RTX 5070 Ti 16 GB (driver 621.14), 31 GB RAM, Windows 11, Series X. Tree: 0b0074e + vx-layer eee5667d (default four kinds) + #768 (off). Both runs started from the same autosave at the start of the mission.

run switches where crash
1 ASYNC_SUBMIT=1 QUEUE2=1 INDIRECT_WINDOW=1 TEXTURE_NO_WAIT=1, relay default binoculars, while zooming in (about 14 min) 0xc0000005 at victory-image+0x4f28e0f, read 0x18, on a title worker thread
2 defaults passed the binoculars; camp rescue, in the gunfight with many enemies and cars (about 25 min) 0xc0000005 at victory-image+0x4f46cc2, read 0xffffffffffffffff
  • Memory was fine in both: about 57-59 of 85 GB commit, and no device removal or driver entry.
  • In run 2 the gunfight dropped to 1.5-2 fps (up to 11,500 draws a frame). Shortly before the crash, older frames flashed back on screen.
  • Run 1 settled at 7.3-7.9 fps on the water (4,000-5,000 draws), run 2 at 4-6 fps.
  • Neither run wrote a save between the mission's opening autosave and the crash, so both started over from the boat.

The read of 0xffffffffffffffff is the same kind as #811's (+0x4f0ed7d, Jason's first mission, a26859f).

**@⁠not-rex** on GitHub · 2026-11-25 16:17 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7167764954) Two crashes later in "Gone Fishing" with the texture copy-back in. Both are in the title's own code, and the boat floated and drove in both runs. RTX 5070 Ti 16 GB (driver 621.14), 31 GB RAM, Windows 11, Series X. Tree: `0b0074e` + vx-layer `eee5667d` (default four kinds) + #768 (off). Both runs started from the same autosave at the start of the mission. | run | switches | where | crash | |---|---|---|---| | 1 | `ASYNC_SUBMIT=1 QUEUE2=1 INDIRECT_WINDOW=1 TEXTURE_NO_WAIT=1`, relay default | binoculars, while zooming in (about 14 min) | `0xc0000005` at `victory-image+0x4f28e0f`, read `0x18`, on a title worker thread | | 2 | defaults | passed the binoculars; camp rescue, in the gunfight with many enemies and cars (about 25 min) | `0xc0000005` at `victory-image+0x4f46cc2`, read `0xffffffffffffffff` | - Memory was fine in both: about 57-59 of 85 GB commit, and no device removal or driver entry. - In run 2 the gunfight dropped to 1.5-2 fps (up to 11,500 draws a frame). Shortly before the crash, older frames flashed back on screen. - Run 1 settled at 7.3-7.9 fps on the water (4,000-5,000 draws), run 2 at 4-6 fps. - Neither run wrote a save between the mission's opening autosave and the crash, so both started over from the boat. The read of `0xffffffffffffffff` is the same kind as #811's (`+0x4f0ed7d`, Jason's first mission, `a26859f`).
Author
Owner

@⁠CQ187901 on GitHub · 2026-11-25 16:18 UTC · original

<html>
Boat task fixed here: VICTORY_TEXTURE_BACK was set to 1, so the kind list was empty
RTX 4070 12 GB, driver 621.24 (wave 32), tree f85101b + #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @⁠Geckomacabre's eee5667d texture read-back.

Symptom, as reported

At the end of the first chapter's boat cutscene the boat drops to the river bed, the HUD says Engine destroyed, the water around the hull is a rectangular pit, and after skipping to the checkpoint the boat floats but the pit remains and the throttle does nothing.

What was actually wrong on our side

VICTORY_TEXTURE_BACK takes a comma-separated list of kinds (<width>x<height>f<format>), which kinds() parses with split_once('f') then split_once('x'). Our launcher passed VICTORY_TEXTURE_BACK=1, so every entry failed to parse, the list came out empty, and wanted() returned false for everything — the read-back ran with nothing to copy for the whole session. It looked exactly like "the water heights are never written by shaders", which sent us down two wrong paths (chasing placed / by-address UAV bindings, and looking at the refused compute pipelines).
The default when the variable is unset is already the right list:
256x256f41,256x256f16,64x64f16,128x128f36
Setting exactly that (or leaving it unset) makes the boat float and drive. No code change was needed.

How to tell from a log

The process-wide line appears once, and only when the list parsed:
textures of these kinds that shaders write are copied back into title memory (VICTORY_TEXTURE_BACK) kinds=[(256, 256, 41), (256, 256, 16), (64, 64, 16), (128, 128, 36)]
If that line is missing, the variable did not parse — check the value before anything else. With it present, the per-frame copying back N MB grows (52–61 MB/frame here, against ~30 MB without the read-back).

Two traps worth knowing

1. tracing colours the numbers. Field values are wrapped in ANSI sequences, so the text on disk is w=\x1b[2m256\x1b[0m. Grepping w=256 in the raw .err finds nothing, which reads as "no 256x256 textures are ever written" — a false negative we spent a while on. Strip \x1b\[[0-9;]*m before matching, then the same log shows 17 distinct 256x256 kinds, including 256x256f41 (heights) and 256x256f16 (displacement).
2. Placed (by-address) unordered views. descriptor::host::placed_texture() only turns View::Placed(false, …) into a resource, so a texture the title placed in its own memory and writes through a by-address UAV view never reaches texture_written(). We added a branch in draw.rs's readable() that resolves the address with resource::texture_at() and registers it; it is harmless and probably worth keeping, but on this title the water maps come through ordinary View::Unordered views, so it is not what fixed the boat.

Numbers, same river scene, texread-back on

  | draws/frame | ms/frame | fps | copying back -- | -- | -- | -- | -- before (read-back empty) | 4,051–4,269 | 215–235 | 4.3–4.8 | 30–43 MB after (four kinds copied) | 5,068–5,404 | 265–286 | 3.5–3.8 | 52–61 MB
The scene is heavier after the fix (more geometry visible once the hull sits in water), and the read-back itself costs ~39–43 ms per frame here. Worth it: the mission is playable.
</html>Boat task fixed here: VICTORY_TEXTURE_BACK was set to 1, so the kind list was empty RTX 4070 12 GB, driver 621.24 (wave 32), tree f85101b + #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @⁠Geckomacabre's eee5667d texture read-back. Symptom, as reported At the end of the first chapter's boat cutscene the boat drops to the river bed, the HUD says Engine destroyed, the water around the hull is a rectangular pit, and after skipping to the checkpoint the boat floats but the pit remains and the throttle does nothing. What was actually wrong on our side VICTORY_TEXTURE_BACK takes a comma-separated list of kinds (xf), which kinds() parses with split_once('f') then split_once('x'). Our launcher passed VICTORY_TEXTURE_BACK=1, so every entry failed to parse, the list came out empty, and wanted() returned false for everything — the read-back ran with nothing to copy for the whole session. It looked exactly like "the water heights are never written by shaders", which sent us down two wrong paths (chasing placed / by-address UAV bindings, and looking at the refused compute pipelines). The default when the variable is unset is already the right list: 256x256f41,256x256f16,64x64f16,128x128f36

Setting exactly that (or leaving it unset) makes the boat float and drive. No code change was needed.
How to tell from a log
The process-wide line appears once, and only when the list parsed:
textures of these kinds that shaders write are copied back into title memory (VICTORY_TEXTURE_BACK) kinds=[(256, 256, 41), (256, 256, 16), (64, 64, 16), (128, 128, 36)]

If that line is missing, the variable did not parse — check the value before anything else. With it present, the per-frame copying back N MB grows (52–61 MB/frame here, against ~30 MB without the read-back).
Two traps worth knowing

  1. tracing colours the numbers. Field values are wrapped in ANSI sequences, so the text on disk is w=\x1b[2m256\x1b[0m. Grepping w=256 in the raw .err finds nothing, which reads as "no 256x256 textures are ever written" — a false negative we spent a while on. Strip \x1b[[0-9;]*m before matching, then the same log shows 17 distinct 256x256 kinds, including 256x256f41 (heights) and 256x256f16 (displacement).
  2. Placed (by-address) unordered views. descriptor::host::placed_texture() only turns View::Placed(false, …) into a resource, so a texture the title placed in its own memory and writes through a by-address UAV view never reaches texture_written(). We added a branch in draw.rs's readable() that resolves the address with resource::texture_at() and registers it; it is harmless and probably worth keeping, but on this title the water maps come through ordinary View::Unordered views, so it is not what fixed the boat.
    Numbers, same river scene, texread-back on

draws/frame
ms/frame
fps
copying back
before (read-back empty)
4,051–4,269
215–235
4.3–4.8
30–43 MB
after (four kinds copied)
5,068–5,404
265–286
3.5–3.8
52–61 MB

The scene is heavier after the fix (more geometry visible once the hull sits in water), and the read-back itself costs ~39–43 ms per frame here. Worth it: the mission is playable.

**@⁠CQ187901** on GitHub · 2026-11-25 16:18 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7167771746) <html> <body> <!--StartFragment--><div data-zone-id="0" data-line-index="0" data-line="true" style="white-space: pre-wrap;">Boat task fixed here: VICTORY_TEXTURE_BACK was set to 1, so the kind list was empty</div><div data-zone-id="0" data-line-index="1" data-line="true" style="white-space: pre-wrap;">RTX 4070 12 GB, driver 621.24 (wave 32), tree f85101b + #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @⁠Geckomacabre's eee5667d texture read-back.</div><div data-zone-id="0" data-line-index="2" data-line="true" style="white-space: pre-wrap;"><h2 class="heading-h2">Symptom, as reported</h2></div><div data-zone-id="0" data-line-index="3" data-line="true" style="white-space: pre-wrap;">At the end of the first chapter's boat cutscene the boat drops to the river bed, the HUD says <b>Engine destroyed</b>, the water around the hull is a rectangular pit, and after skipping to the checkpoint the boat floats but the pit remains and the throttle does nothing.</div><div data-zone-id="0" data-line-index="4" data-line="true" style="white-space: pre-wrap;"><h2 class="heading-h2">What was actually wrong on our side</h2></div><div data-zone-id="0" data-line-index="5" data-line="true" style="white-space: pre-wrap;">VICTORY_TEXTURE_BACK takes a <b>comma-separated list of kinds</b> (&lt;width&gt;x&lt;height&gt;f&lt;format&gt;), which kinds() parses with split_once('f') then split_once('x'). Our launcher passed VICTORY_TEXTURE_BACK=1, so every entry failed to parse, the list came out empty, and wanted() returned false for everything — <b>the read-back ran with nothing to copy for the whole session</b>. It looked exactly like "the water heights are never written by shaders", which sent us down two wrong paths (chasing placed / by-address UAV bindings, and looking at the refused compute pipelines).</div><div data-zone-id="0" data-line-index="6" data-line="true" style="white-space: pre-wrap;">The default when the variable is unset is already the right list:</div><div data-zone-id="0" data-line-index="7" data-line="true" style="white-space: pre-wrap;"><pre><code><div data-zone-id="mK5ezKJmtr200nxfWt8Z" data-line-index="0" data-line="true" style="white-space: pre-wrap;">256x256f41,256x256f16,64x64f16,128x128f36</div></code></pre></div><div data-zone-id="0" data-line-index="8" data-line="true" style="white-space: pre-wrap;">Setting exactly that (or leaving it unset) makes the boat float and drive. No code change was needed.</div><div data-zone-id="0" data-line-index="9" data-line="true" style="white-space: pre-wrap;"><h2 class="heading-h2">How to tell from a log</h2></div><div data-zone-id="0" data-line-index="10" data-line="true" style="white-space: pre-wrap;">The process-wide line appears once, and only when the list parsed:</div><div data-zone-id="0" data-line-index="11" data-line="true" style="white-space: pre-wrap;"><pre><code><div data-zone-id="erpSWKBmo5fdCKY74s39" data-line-index="0" data-line="true" style="white-space: pre-wrap;">textures of these kinds that shaders write are copied back into title memory (VICTORY_TEXTURE_BACK) kinds=[(256, 256, 41), (256, 256, 16), (64, 64, 16), (128, 128, 36)]</div></code></pre></div><div data-zone-id="0" data-line-index="12" data-line="true" style="white-space: pre-wrap;">If that line is missing, the variable did not parse — check the value before anything else. With it present, the per-frame copying back N MB grows (52–61 MB/frame here, against ~30 MB without the read-back).</div><div data-zone-id="0" data-line-index="13" data-line="true" style="white-space: pre-wrap;"><h2 class="heading-h2">Two traps worth knowing</h2></div><div data-zone-id="0" data-line-index="14" data-line="true" style="white-space: pre-wrap;"><b>1. </b><b>tracing</b><b> colours the numbers.</b> Field values are wrapped in ANSI sequences, so the text on disk is w=\x1b[2m256\x1b[0m. Grepping w=256 in the raw .err finds <b>nothing</b>, which reads as "no 256x256 textures are ever written" — a false negative we spent a while on. Strip \x1b\[[0-9;]*m before matching, then the same log shows 17 distinct 256x256 kinds, including 256x256f41 (heights) and 256x256f16 (displacement).</div><div data-zone-id="0" data-line-index="15" data-line="true" style="white-space: pre-wrap;"><b>2. Placed (by-address) unordered views.</b> descriptor::host::placed_texture() only turns View::Placed(false, …) into a resource, so a texture the title placed in its own memory and writes through a by-address UAV view never reaches texture_written(). We added a branch in <a href="http://draw.rs" target="_blank" rel="noopener noreferrer">draw.rs</a>'s readable() that resolves the address with resource::texture_at() and registers it; it is harmless and probably worth keeping, but on this title the water maps come through ordinary View::Unordered views, so it is <b>not</b> what fixed the boat.</div><div data-zone-id="0" data-line-index="16" data-line="true" style="white-space: pre-wrap;"><h2 class="heading-h2">Numbers, same river scene, texread-back on</h2></div><div data-zone-id="0" data-line-index="17" data-line="true" style="white-space: pre-wrap;">   | draws/frame | ms/frame | fps | copying back -- | -- | -- | -- | -- before (read-back empty) | 4,051–4,269 | 215–235 | 4.3–4.8 | 30–43 MB after (four kinds copied) | 5,068–5,404 | 265–286 | 3.5–3.8 | 52–61 MB </div><div data-zone-id="0" data-line-index="18" data-line="true" style="white-space: pre-wrap;">The scene is heavier after the fix (more geometry visible once the hull sits in water), and the read-back itself costs ~39–43 ms per frame here. Worth it: the mission is playable.</div><!--EndFragment--> </body> </html>Boat task fixed here: VICTORY_TEXTURE_BACK was set to 1, so the kind list was empty RTX 4070 12 GB, driver 621.24 (wave 32), tree f85101b + #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @⁠Geckomacabre's eee5667d texture read-back. Symptom, as reported At the end of the first chapter's boat cutscene the boat drops to the river bed, the HUD says Engine destroyed, the water around the hull is a rectangular pit, and after skipping to the checkpoint the boat floats but the pit remains and the throttle does nothing. What was actually wrong on our side VICTORY_TEXTURE_BACK takes a comma-separated list of kinds (<width>x<height>f<format>), which kinds() parses with split_once('f') then split_once('x'). Our launcher passed VICTORY_TEXTURE_BACK=1, so every entry failed to parse, the list came out empty, and wanted() returned false for everything — the read-back ran with nothing to copy for the whole session. It looked exactly like "the water heights are never written by shaders", which sent us down two wrong paths (chasing placed / by-address UAV bindings, and looking at the refused compute pipelines). The default when the variable is unset is already the right list: 256x256f41,256x256f16,64x64f16,128x128f36 Setting exactly that (or leaving it unset) makes the boat float and drive. No code change was needed. How to tell from a log The process-wide line appears once, and only when the list parsed: textures of these kinds that shaders write are copied back into title memory (VICTORY_TEXTURE_BACK) kinds=[(256, 256, 41), (256, 256, 16), (64, 64, 16), (128, 128, 36)] If that line is missing, the variable did not parse — check the value before anything else. With it present, the per-frame copying back N MB grows (52–61 MB/frame here, against ~30 MB without the read-back). Two traps worth knowing 1. tracing colours the numbers. Field values are wrapped in ANSI sequences, so the text on disk is w=\x1b[2m256\x1b[0m. Grepping w=256 in the raw .err finds nothing, which reads as "no 256x256 textures are ever written" — a false negative we spent a while on. Strip \x1b\[[0-9;]*m before matching, then the same log shows 17 distinct 256x256 kinds, including 256x256f41 (heights) and 256x256f16 (displacement). 2. Placed (by-address) unordered views. descriptor::host::placed_texture() only turns View::Placed(false, …) into a resource, so a texture the title placed in its own memory and writes through a by-address UAV view never reaches texture_written(). We added a branch in [draw.rs](http://draw.rs/)'s readable() that resolves the address with resource::texture_at() and registers it; it is harmless and probably worth keeping, but on this title the water maps come through ordinary View::Unordered views, so it is not what fixed the boat. Numbers, same river scene, texread-back on draws/frame ms/frame fps copying back before (read-back empty) 4,051–4,269 215–235 4.3–4.8 30–43 MB after (four kinds copied) 5,068–5,404 265–286 3.5–3.8 52–61 MB The scene is heavier after the fix (more geometry visible once the hull sits in water), and the read-back itself costs ~39–43 ms per frame here. Worth it: the mission is playable.
Author
Owner

@⁠KaV3R on GitHub · 2026-11-25 16:20 UTC · original

@⁠Kajcsi I cannot send .rar there soo there is a link :D https://www.mediafire.com/file/jpacfwryuglpqa4/saves.rar/file

**@⁠KaV3R** on GitHub · 2026-11-25 16:20 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7167798110) @⁠Kajcsi I cannot send .rar there soo there is a link :D https://www.mediafire.com/file/jpacfwryuglpqa4/saves.rar/file
Author
Owner

@⁠sawetco on GitHub · 2026-11-25 16:23 UTC · original

The Gone Fishing boat stayed afloat through the landing on an RTX 5070. The player drove it, got out on the pier after the binoculars sequence, and received Search the camp for Donnie on foot. Earlier on this machine the boat sank at the handover and the mission failed. We reached the camp through normal play, without using the mission skip.

To isolate the water change, we first ran the same executable twice from fresh copies of the same mission-start save and warm cache (3,271 shader entries, two pipeline files). The build adapts Geckomacabre's texture readback to the performance fork. Readback change · Performance baseline

Texture readback Result from the boat handover
VICTORY_TEXTURE_BACK=0 The camera went underwater, then Cal fell off the boat appeared at frame 3168. The mission failed before the test sent throttle input.
Variable unset, enabling 256x256f41,256x256f16,64x64f16,128x128f36 The test sent right-trigger presses when Follow the plane appeared. Collect the package appeared 151 seconds later. We observed the boat afloat for at least 199 seconds from the first objective.

The player-driven camp run was a separate build with the same water change plus the facial fix from #927 at b9c3781. In a 126-second stretch of the chase, 20 rolling renderer samples had a median of 7.25 FPS. The player saw 8–9 FPS in ordinary gameplay and 10–15 looking up or down. The pause menu held 30 FPS across 34 samples.

Windows 11 build 26300.10075, NVIDIA 621.24, Ryzen 5 7600X, 32 GB RAM, Series S profile, render scale 0.5, relay 2, late wait 3, VICTORY_COPY_BACK_ONLY_READBACK=0. Game version 1.0.2.1.

**@⁠sawetco** on GitHub · 2026-11-25 16:23 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7167901675) The Gone Fishing boat stayed afloat through the landing on an RTX 5070. The player drove it, got out on the pier after the binoculars sequence, and received **Search the camp for Donnie** on foot. Earlier on this machine the boat sank at the handover and the mission failed. We reached the camp through normal play, without using the mission skip. To isolate the water change, we first ran the same executable twice from fresh copies of the same mission-start save and warm cache (3,271 shader entries, two pipeline files). The build adapts Geckomacabre's texture readback to the performance fork. [Readback change](https://github.com/Geckomacabre/vx-layer/commit/eee5667d7119bc4a378214621e1b18a814ebe80f) · [Performance baseline](https://github.com/vitutu1/victory-perf/commit/97c3aa24263b90fa6691fca8ca88fca179593a19) | Texture readback | Result from the boat handover | | --- | --- | | `VICTORY_TEXTURE_BACK=0` | The camera went underwater, then **Cal fell off the boat** appeared at frame 3168. The mission failed before the test sent throttle input. | | Variable unset, enabling `256x256f41,256x256f16,64x64f16,128x128f36` | The test sent right-trigger presses when **Follow the plane** appeared. **Collect the package** appeared 151 seconds later. We observed the boat afloat for at least 199 seconds from the first objective. | The player-driven camp run was a separate build with the same water change plus the facial fix from #927 at `b9c3781`. In a 126-second stretch of the chase, 20 rolling renderer samples had a median of 7.25 FPS. The player saw 8–9 FPS in ordinary gameplay and 10–15 looking up or down. The pause menu held 30 FPS across 34 samples. Windows 11 build 26300.10075, NVIDIA 621.24, Ryzen 5 7600X, 32 GB RAM, Series S profile, render scale 0.5, relay 2, late wait 3, `VICTORY_COPY_BACK_ONLY_READBACK=0`. Game version 1.0.2.1.
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-25 16:39 UTC · original

Another confirmation, on a 10 GB card and on current main: with vx-layer eee5667d cherry-picked onto 3973179, the boat sits on the surface after the cutscene, with the HUD and minimap up.

Setup: RTX 3080 10 GB (driver 616.92), i5-10400F (6 cores), 32 GB, Windows 11 26200. Series X profile, diag build. Switches: VICTORY_DISPLAY_MODE=1920x1080 VICTORY_SHADER_LOOP_LIMIT=4096, all others at 3973179's defaults. Loaded from the autosave at the start of the boat mission, with no input.

Merge: conflicts only next to the change, in draw.rs, host.rs, lib.rs and resource.rs. I kept both sides and left out the read-watch diagnostics, as KaV3R did. close() now calls textures_back() before the indirect clamp and the card meter.

Result:

  • On the water: 4.0–4.1 fps (~245 ms/frame, 3,800–4,500 draws/frame). Of that, 100–115 ms is preparing, 75–100 ms is on the GPU and 115–145 ms is copy-back (26–31 MB).
  • One a texture copied back could not be tiled e=Unsupported mip=0 slice=0 warning, as others saw.
  • No device loss.

One crash in four launches of this build, while it loaded into the world (about 2 minutes in): unhandled exception 0xc0000005 at victory-image-…dll+0x390e0c0 (write 0x0: nothing mapped there). Copy-back was on in that run. It didn't happen again in the next three, with copy-back on or off (VICTORY_TEXTURE_BACK=0), so I can't tie it to eee5667d. I'm noting it in case someone else sees the same address.

Still visible: dark character faces in the cutscene, blocky texture tiles on parts of the boat, and a black spot in the sun's reflection on the water.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-25 16:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7168328572) **Another confirmation, on a 10 GB card and on current `main`:** with vx-layer `eee5667d` cherry-picked onto `3973179`, the boat sits on the surface after the cutscene, with the HUD and minimap up. **Setup:** RTX 3080 10 GB (driver 616.92), i5-10400F (6 cores), 32 GB, Windows 11 26200. Series X profile, diag build. Switches: `VICTORY_DISPLAY_MODE=1920x1080 VICTORY_SHADER_LOOP_LIMIT=4096`, all others at `3973179`'s defaults. Loaded from the autosave at the start of the boat mission, with no input. **Merge:** conflicts only next to the change, in `draw.rs`, `host.rs`, `lib.rs` and `resource.rs`. I kept both sides and left out the read-watch diagnostics, as KaV3R did. `close()` now calls `textures_back()` before the indirect clamp and the card meter. **Result:** - On the water: **4.0–4.1 fps** (~245 ms/frame, 3,800–4,500 draws/frame). Of that, 100–115 ms is preparing, 75–100 ms is on the GPU and 115–145 ms is copy-back (26–31 MB). - One `a texture copied back could not be tiled e=Unsupported mip=0 slice=0` warning, as others saw. - No device loss. **One crash in four launches** of this build, while it loaded into the world (about 2 minutes in): `unhandled exception 0xc0000005 at victory-image-…dll+0x390e0c0 (write 0x0: nothing mapped there)`. Copy-back was on in that run. It didn't happen again in the next three, with copy-back on or off (`VICTORY_TEXTURE_BACK=0`), so I can't tie it to `eee5667d`. I'm noting it in case someone else sees the same address. Still visible: dark character faces in the cutscene, blocky texture tiles on parts of the boat, and a black spot in the sun's reflection on the water. AI-assisted (Claude Code)
Author
Owner

@⁠CuteBooty on GitHub · 2026-11-25 17:52 UTC · original

With only the two min/max kinds the boat floats but the water surface is not drawn; and single-frame dropouts of the whole surface stop when the present waits for the copies

Follow-up to my comment above, same machine, vx-layer eee5667d ported onto our tree.

Two kinds against four. VICTORY_TEXTURE_BACK=64x64f16,128x128f36 floats the boat here too (as @⁠iGoldenNinja found),
and copies about 100 textures / 4 MB per 5 seconds instead of about 420 / 120 MB. But most of the water surface around
the boat was not drawn: seabed and black where water should be, a strip of surface in the distance. With the four
default kinds the surface is drawn. Frame time was the same either way (209 against 213 ms), so here the two 256x256
kinds cost nothing measurable and the picture needs them.

The whole surface vanishing for single frames. With all four kinds, the entire water surface disappeared for one
frame at a time, more often while the boat moved (a phone video at 2 samples a second: 1 of 12 samples without any
water). What I found:

  • The copies land in order and none is skipped, but with the present not waiting for landings (late-wait stage 3) a
    copy can arrive during the title's next frame, and it is written by another thread while the title may read.
  • VICTORY_LATE_WAIT=2 (the present is a settle point again): no dropout in a run of about 5 minutes; frame 210 ->
    231 ms. Cutscene models and textures also settled better with it.
  • A narrow wait instead (our own change: at a present, wait only for the flights that carry texture copy-backs): by
    its counter 6-14 ms a frame, measured frame unchanged (206 against 210 ms), dropouts rare but not gone, and more
    again in longer sessions and with a submit thread of the layer's own (VICTORY_ASYNC_SUBMIT=1). So the timing is
    the cause here, and a present-time wait is most of the cure; I have not closed the rest.

So for anyone running eee5667d who sees the sea blink: try VICTORY_LATE_WAIT=2 as a check.

Setup: RTX 3070 8 GB (driver 621.24, 32-lane waves), Ryzen 5 3600, 32 GB, Windows 11, Series S mode (PR #188), 1920x1080, VICTORY_TEXTURE_DROP_MIPS=1, relay at its default, a diagnostics build of a tree at main 310c6eb6 with a number of open PRs picked. One run per configuration unless said; run-to-run spread here is 5-10 ms.

**@⁠CuteBooty** on GitHub · 2026-11-25 17:52 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7170115149) **With only the two min/max kinds the boat floats but the water surface is not drawn; and single-frame dropouts of the whole surface stop when the present waits for the copies** Follow-up to my comment above, same machine, vx-layer eee5667d ported onto our tree. **Two kinds against four.** `VICTORY_TEXTURE_BACK=64x64f16,128x128f36` floats the boat here too (as @⁠iGoldenNinja found), and copies about 100 textures / 4 MB per 5 seconds instead of about 420 / 120 MB. But most of the water surface around the boat was not drawn: seabed and black where water should be, a strip of surface in the distance. With the four default kinds the surface is drawn. Frame time was the same either way (209 against 213 ms), so here the two 256x256 kinds cost nothing measurable and the picture needs them. **The whole surface vanishing for single frames.** With all four kinds, the entire water surface disappeared for one frame at a time, more often while the boat moved (a phone video at 2 samples a second: 1 of 12 samples without any water). What I found: - The copies land in order and none is skipped, but with the present not waiting for landings (late-wait stage 3) a copy can arrive during the title's next frame, and it is written by another thread while the title may read. - `VICTORY_LATE_WAIT=2` (the present is a settle point again): no dropout in a run of about 5 minutes; frame 210 -> 231 ms. Cutscene models and textures also settled better with it. - A narrow wait instead (our own change: at a present, wait only for the flights that carry texture copy-backs): by its counter 6-14 ms a frame, measured frame unchanged (206 against 210 ms), dropouts rare but not gone, and more again in longer sessions and with a submit thread of the layer's own (`VICTORY_ASYNC_SUBMIT=1`). So the timing is the cause here, and a present-time wait is most of the cure; I have not closed the rest. So for anyone running eee5667d who sees the sea blink: try `VICTORY_LATE_WAIT=2` as a check. Setup: RTX 3070 8 GB (driver 621.24, 32-lane waves), Ryzen 5 3600, 32 GB, Windows 11, Series S mode (PR #188), 1920x1080, `VICTORY_TEXTURE_DROP_MIPS=1`, relay at its default, a diagnostics build of a tree at main 310c6eb6 with a number of open PRs picked. One run per configuration unless said; run-to-run spread here is 5-10 ms.
Author
Owner

@⁠SkillIssueXO on GitHub · 2026-11-25 19:51 UTC · original · edited 2026-11-25 20:22 UTC

Independent Series X result on an RTX 5070 Ti 16 GB (Windows 11, driver 621.40). I ported Geckomacabre/vx-layer eee5667d onto fxceless 0b0074e and kept all four default water formats: 256x256f41,256x256f16,64x64f16,128x128f36. Async submit, queue 2, indirect windows and wide texture checks were off. Thanks to @⁠Geckomacabre and @⁠not-rex for the source and the comparable NVIDIA test.

The boat stayed afloat at Follow the plane, with a visible wake and a continuous surface in the captured view. The large black rectangles from my earlier local runs were absent there. The sun disk and small dark reflection spots remained. The window showed 5 FPS / 194.4 ms at 4,059 draws. The three surrounding reports were 4.9, 5.2 and 5.7 FPS.

The same session continued through the boat sequence to Search the camp for Donnie on foot. At the camp, 201 consecutive present intervals over 54.0 seconds averaged 3.72 FPS (291 ms median, 359 ms p95). The run was closed on request after 37 minutes 51 seconds with no access violation or GPU device removal in the log. Mission completion remains unverified. Exact tested source patch and report.

The earlier five-format configuration repeatedly crashed on a 16-byte null-source copy at VCRUNTIME140.dll+0x1c45a, with title return RVA 0x3de6491. The DirectStorage scheduling patch in Marvisak/VIctory@eddde734 held 2,079 early reads in a separate run and the same fault recurred. The working handoff build also differs in renderer revision and launch settings, so this comparison does not isolate the crash cause.

AI-assisted testing and analysis. Aggregate results only.

**@⁠SkillIssueXO** on GitHub · 2026-11-25 19:51 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7172850010) · edited 2026-11-25 20:22 UTC Independent Series X result on an RTX 5070 Ti 16 GB (Windows 11, driver 621.40). I ported Geckomacabre/vx-layer `eee5667d` onto fxceless `0b0074e` and kept all four default water formats: `256x256f41,256x256f16,64x64f16,128x128f36`. Async submit, queue 2, indirect windows and wide texture checks were off. Thanks to @⁠Geckomacabre and @⁠not-rex for the source and the comparable NVIDIA test. The boat stayed afloat at **Follow the plane**, with a visible wake and a continuous surface in the captured view. The large black rectangles from my earlier local runs were absent there. The sun disk and small dark reflection spots remained. The window showed 5 FPS / 194.4 ms at 4,059 draws. The three surrounding reports were 4.9, 5.2 and 5.7 FPS. The same session continued through the boat sequence to **Search the camp for Donnie** on foot. At the camp, 201 consecutive present intervals over 54.0 seconds averaged **3.72 FPS** (291 ms median, 359 ms p95). The run was closed on request after 37 minutes 51 seconds with no access violation or GPU device removal in the log. Mission completion remains unverified. [Exact tested source patch and report](https://github.com/SkillIssueXO/victory-5070ti/blob/series-x-original-water-report/rtx5070ti-original-water.md). The earlier five-format configuration repeatedly crashed on a 16-byte null-source copy at `VCRUNTIME140.dll+0x1c45a`, with title return RVA `0x3de6491`. The DirectStorage scheduling patch in Marvisak/VIctory@eddde734 held 2,079 early reads in a separate run and the same fault recurred. The working handoff build also differs in renderer revision and launch settings, so this comparison does not isolate the crash cause. AI-assisted testing and analysis. Aggregate results only.
Author
Owner

@⁠vShotv on GitHub · 2026-11-25 20:46 UTC · original

Sharing my manual Gone Fishing story save for testing. I created it with Xbox Series build 1.0.2.1 and fxceless/victory-fork at 79cfdd9 plus the locally ported KLBF water-physics fix. On Windows 10 with an NVIDIA GeForce RTX 4070, I saw roughly 5–6 FPS on average during gameplay. The exact resume location and compatibility with other forks are still unverified.

Close the game and back up any existing saves, or use a separate VICTORY_DATA_DIR. Extract the SARC0000~f3a9b4e1a0576c96 folder into your active profile’s 7952987A/saves/<user>/<scid>/ folder. Then choose Load Game → Gone Fishing.

Gone-Fishing-Fxceless-Xbox-1.0.2.1.zip

**@⁠vShotv** on GitHub · 2026-11-25 20:46 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7174171277) Sharing my manual **Gone Fishing** story save for testing. I created it with Xbox Series build **1.0.2.1** and `fxceless/victory-fork` at `79cfdd9` plus the locally ported KLBF water-physics fix. On **Windows 10 with an NVIDIA GeForce RTX 4070**, I saw roughly **5–6 FPS on average** during gameplay. The exact resume location and compatibility with other forks are still unverified. Close the game and back up any existing saves, or use a separate `VICTORY_DATA_DIR`. Extract the `SARC0000~f3a9b4e1a0576c96` folder into your active profile’s `7952987A/saves/<user>/<scid>/` folder. Then choose **Load Game → Gone Fishing**. [Gone-Fishing-Fxceless-Xbox-1.0.2.1.zip](https://github.com/user-attachments/files/35433154/Gone-Fishing-Fxceless-Xbox-1.0.2.1.zip)
Author
Owner

@⁠TobiasFornell on GitHub · 2026-11-25 21:39 UTC · original

Linux/AMD confirmation for the shared "Gone Fishing" save from C15 (saves.rar), with and without the texture readback from eee5667d / #999:

  • Setup: CachyOS Linux, RX 9070 XT (RDNA4, RADV), Proton Experimental, offline, a Belobug-based VIctory fork with a port of the #999 readback.
  • Without readback: the save loads, the cutscene renders (Jason outdoors, then Cal on the boat), 0 kernel GPU page faults; right after the cutscene the boat sinks ("Cal fell off the boat"), same as the Windows reports.
  • With VICTORY_TEXTURE_BACK=256x256f41,256x256f16,64x64f16,128x128f36: the boat stays afloat and the mission continues ("Follow the plane"), 0 kernel GPU page faults, the readback matched the expected water textures (256x256 formats 41 and 16) in the log. About 0.5 s/frame (~2 fps) once the world has settled (600 s run, median after the first ~4 minutes).
  • Thanks @⁠KaV3R for sharing the save, and Geckomacabre for #999. At these frame rates the save saves hours (the game advances at most 1/15 s of game time per frame, Marvisak/VIctory#2469).
**@⁠TobiasFornell** on GitHub · 2026-11-25 21:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7175359711) Linux/AMD confirmation for the shared "Gone Fishing" save from C15 (`saves.rar`), with and without the texture readback from `eee5667d` / #999: - **Setup:** CachyOS Linux, RX 9070 XT (RDNA4, RADV), Proton Experimental, offline, a Belobug-based VIctory fork with a port of the #999 readback. - **Without readback:** the save loads, the cutscene renders (Jason outdoors, then Cal on the boat), 0 kernel GPU page faults; right after the cutscene the boat sinks ("Cal fell off the boat"), same as the Windows reports. - **With `VICTORY_TEXTURE_BACK=256x256f41,256x256f16,64x64f16,128x128f36`:** the boat stays afloat and the mission continues ("Follow the plane"), 0 kernel GPU page faults, the readback matched the expected water textures (256x256 formats 41 and 16) in the log. About 0.5 s/frame (~2 fps) once the world has settled (600 s run, median after the first ~4 minutes). - Thanks @⁠KaV3R for sharing the save, and Geckomacabre for #999. At these frame rates the save saves hours (the game advances at most 1/15 s of game time per frame, Marvisak/VIctory#2469).
Author
Owner

@⁠iGoldenNinja on GitHub · 2026-11-25 15:45 UTC · original · edited 2026-11-26 03:54 UTC

Series X RTX 5080 A/B with only the two shared water outputs. I ported Geckomacabre's water texture copy-back and used the overlap between KaV3R's and Mishkile's results. The same renderer binary (e4c18ec) loaded separate copies of the same checkpoint and warm cache. Hardware was an RTX 5080 16 GB on driver 617.14, Windows 11 Pro 25H2 build 26200.9974, Ryzen 9 5900X and 32 GB RAM.

  • Off: The boat sank and the mission reported “Cal fell off the boat” before any throttle or steering input.
  • Only 64x64f16,128x128f36: The 64×64 R32G32_FLOAT and 128×128 R16G16_UINT outputs recorded at least 4,096 and 2,048 completed full-plane writes respectively. The hull and both occupants stayed afloat past the control's failure point. Throttle and steering worked, and the HUD advanced to Collect the package.

Dark rectangles remained on the water. After a collision put the player in the water, both occupants returned to the boat. Dialogue referred to a second drop, and the mission history subsequently read Collect the packages. Pickup, a subsequent mission save and mission completion remain unverified. Both processes closed deliberately and the protected save hashes still matched.

The first treatment driving minute recorded 135 displayed application frames and 134 intervals over 60.216 seconds (2.225 displayed FPS, 1,733.346 ms P99). The control had already failed before driving input. Pinned final report and source

A fresh guarded retest separated mission timing from driving. With the controller idle, “Collect the package” appeared 52.882 s after “Follow the plane” and 4.972 s before the first throttle input. Twin wakes, a starboard bank and a heading change against the bridge subsequently verified propulsion and steering. Guarded run and regression case

Water rendering follow-up. At the stationary helm on the same RTX 5080, we traced all four water-resolve draws at table 1, dword 72. Each read the same native texture and exactly matched the preceding transmission dispatch across 568,320 native texels. That dispatch turned 495 of 550 previously colored texels in the isolated mark to exact zero. The adjacent control stayed colored. The broad mark was already zero at all 1,444 sites. Four captured previews each matched the preceding dispatch at all 142,080 sampled RGB sites. The dispatch that restored color to the isolated mark ran after the copy to the window. The earlier comparison paired two GPU submissions by their CPU frame number. The rendering cause now narrows to the transmission dispatch or its inputs. Pinned diagnostic report and ordering tool

Depth and reconstruction follow-up. On renderer 3fb5083, Series X, RTX 5080 / 617.14, Windows 11 Pro 26200.9974 and Ryzen 9 5900X, all 495 original sites turned black again with positive dword 56 depth. A shader-store marker showed exact RGB zero from full shading at all 495 sites. A second marker traced all 495 to the four-sample water reconstruction having no positive combined weight. At the stationary helm, retaining the prior color only in that measured shading case reduced black observations at positive depth from 3.48% to 1.21% of the captured crop (25 original and 11 treatment dispatches over four cycles). Some black persisted, and a camera change exposed stale color. The boat stayed afloat and moved under throttle. The next producer input to check is the half-resolution alpha used by the tap weights at table 1 dword 24. Pinned measurements and limitations

Source alpha and current-frame fallback. On the same RTX 5080 / 617.14 / Windows 11 25H2 Series X setup and renderer 3fb5083, we recorded the four taps used by the water reconstruction. Across stationary and moving replays, all 387,485 failed-weight observations in the sampled crop had four zero alpha codes at table 1 dword 24, four finite positive source depths and four positive interpolation factors. None of 12,223,553 positive-weight controls had four zero alpha codes. These are repeated native texel observations. Both preceding half-resolution volumetric passes can explicitly write zero alpha to the allocation the reconstruction reads, and both consume the same generated tile list. The first operation responsible remains open.

An experimental current-frame scene-color fallback removed sampled black in the fixed open-water strip under throttle (2,926/1,943,996 to 0/1,555,200) and reduced the whole moving crop from 1.97% to 1.77%. At the stationary helm the same fallback improved the fixed strip from 0.90% to 0.056%, while black at the 495 original coordinates rose from 3.33% to 6.36%. These phase windows cover different frames and the moving camera changes position. The fallback can expose the underlying scene and has not been promoted. The boat stayed afloat and moved under throttle. Pinned source, measurements and limitations

Volumetric tile-list repair. In a Series X run on RTX 5080 / 617.14 / Windows 11 Pro 25H2 build 26200.9974 (capture renderer 13b5c65), we traced the original black rectangles to eligible tiles missing from the generated work list. The same title process alternated the stock shader with a version that reserves one list slot per eligible tile. Both used identical water shading and the same two flotation copy-backs. At the stationary Follow the plane helm, the stock generator omitted 39,433 eligible entries in 66 measured dispatches. The repair preserved all 517,580 in 69 dispatches. Exact black at finite positive depth went from 1,438,161/35,109,060 to 0/36,704,445 in the stationary crop and from 375,532/14,913,877 to 0/13,586,029 under throttle. The rectangles returned when the stock path resumed. Fifteen time-bracketed stationary images per arm showed the same pattern in the fixed open-water area.

This isolates the lost work to the original compaction path for these patches. The precise faulty wave operation, the case where the reverse writer has work, seaplane behavior, and any frame-rate gain remain open. The marker-free source regenerates the tested shader locally from one exact translated PC cache entry. The continuous gameplay replay is described below. Pinned report · Source-only repair

Continuous gameplay replay. The same RTX 5080 ran the marker-free repair continuously in Series X with the two flotation copy-backs active. The launcher used no GPU readback triggers or phase switching. All 20 fixed-camera images across five minutes were clear in both sampled water regions. Eight of nine separate stock images showed dark runs in the left region. The boat stayed afloat, accelerated toward the bridge and produced twin wakes under throttle. Seven moving images showed continuous water. The run exited deliberately and the protected profile verified.

PresentMon measured 1,116 displayed application frames over 300.105 seconds at the repaired helm, or 3.715 displayed FPS with 323.415 ms P99. The separate stock helm run measured 3.848 FPS and 305.774 ms P99. The runs establish the visible repair. An isolated performance effect, seaplane flotation and mission completion remain open. Pinned continuous replay results

Where the stock list first loses tiles. On the same RTX 5080 Series X setup, renderer 9bf39c0 captured the original generator's list and both counters immediately after the dispatch. The list already omitted eligible tiles in all 147 sampled dispatches (41,285 in 70 stationary samples and 17,885 in 77 samples under throttle). Each subsequent writer received all 2,163,840 sampled list words unchanged, and both actual indirect counts matched the captured generator counters. All four taps at the 495 original coordinates pointed to eligible tiles already missing from the list in the eight dispatches where all 495 sites turned black together. This locates the loss by the end of the stock generator dispatch. The specific wave or compiler operation responsible remains open. Pinned measurements and tested diagnostic source

RTX 5080 testing wrap-up. The RTX 5080 I used is unavailable, so I’m wrapping up my local testing here. I don’t have a date for further runs. The published source and measurements cover Geckomacabre’s two-format boat flotation port and the separate repair for the sampled dark water patches. The boat stayed afloat and moved under throttle. Local seaplane behavior, full mission completion, and stable 30 FPS are still unverified. Martin Hartfelder’s wide-hash change improved the stationary boat and prison samples on this card. The exact cause of the long throttle-related frame gaps remains open. Flotation report · Water repair source · Performance comparison and test source

**@⁠iGoldenNinja** on GitHub · 2026-11-25 15:45 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7167295135) · edited 2026-11-26 03:54 UTC **Series X RTX 5080 A/B with only the two shared water outputs.** I ported [Geckomacabre's water texture copy-back](https://github.com/Geckomacabre/vx-layer/commit/eee5667d7119bc4a378214621e1b18a814ebe80f) and used the overlap between KaV3R's and Mishkile's results. The same renderer binary (`e4c18ec`) loaded separate copies of the same checkpoint and warm cache. Hardware was an RTX 5080 16 GB on driver 617.14, Windows 11 Pro 25H2 build 26200.9974, Ryzen 9 5900X and 32 GB RAM. - **Off:** The boat sank and the mission reported “Cal fell off the boat” before any throttle or steering input. - **Only `64x64f16,128x128f36`:** The `64×64 R32G32_FLOAT` and `128×128 R16G16_UINT` outputs recorded at least 4,096 and 2,048 completed full-plane writes respectively. The hull and both occupants stayed afloat past the control's failure point. Throttle and steering worked, and the HUD advanced to **Collect the package**. Dark rectangles remained on the water. After a collision put the player in the water, both occupants returned to the boat. Dialogue referred to a second drop, and the mission history subsequently read **Collect the packages**. Pickup, a subsequent mission save and mission completion remain unverified. Both processes closed deliberately and the protected save hashes still matched. The first treatment driving minute recorded 135 displayed application frames and 134 intervals over 60.216 seconds (**2.225 displayed FPS**, **1,733.346 ms P99**). The control had already failed before driving input. [Pinned final report and source](https://github.com/iGoldenNinja/victory-fork/blob/e64dc203a28d17543bcd18d2f00de9a16aefb435/docs/rtx5080-boat-water.md) A fresh guarded retest separated mission timing from driving. With the controller idle, “Collect the package” appeared 52.882 s after “Follow the plane” and 4.972 s before the first throttle input. Twin wakes, a starboard bank and a heading change against the bridge subsequently verified propulsion and steering. [Guarded run and regression case](https://git.gtahub.st/github/fxceless--victory-fork/pulls/999) **Water rendering follow-up.** At the stationary helm on the same RTX 5080, we traced all four water-resolve draws at table 1, dword 72. Each read the same native texture and exactly matched the preceding transmission dispatch across 568,320 native texels. That dispatch turned 495 of 550 previously colored texels in the isolated mark to exact zero. The adjacent control stayed colored. The broad mark was already zero at all 1,444 sites. Four captured previews each matched the preceding dispatch at all 142,080 sampled RGB sites. The dispatch that restored color to the isolated mark ran after the copy to the window. The earlier comparison paired two GPU submissions by their CPU frame number. The rendering cause now narrows to the transmission dispatch or its inputs. [Pinned diagnostic report and ordering tool](https://github.com/iGoldenNinja/victory-fork/blob/1eb1c948572cde89f96708d5112d915bce8206a3/docs/rtx5080-water-frame-trace.md) **Depth and reconstruction follow-up.** On renderer `3fb5083`, Series X, RTX 5080 / 617.14, Windows 11 Pro 26200.9974 and Ryzen 9 5900X, all 495 original sites turned black again with positive dword 56 depth. A shader-store marker showed exact RGB zero from full shading at all 495 sites. A second marker traced all 495 to the four-sample water reconstruction having no positive combined weight. At the stationary helm, retaining the prior color only in that measured shading case reduced black observations at positive depth from 3.48% to 1.21% of the captured crop (25 original and 11 treatment dispatches over four cycles). Some black persisted, and a camera change exposed stale color. The boat stayed afloat and moved under throttle. The next producer input to check is the half-resolution alpha used by the tap weights at table 1 dword 24. [Pinned measurements and limitations](https://github.com/iGoldenNinja/victory-fork/blob/403172c7966e4ed68c8c4468f0985d426aad4546/docs/rtx5080-water-depth-input.md) **Source alpha and current-frame fallback.** On the same RTX 5080 / 617.14 / Windows 11 25H2 Series X setup and renderer `3fb5083`, we recorded the four taps used by the water reconstruction. Across stationary and moving replays, all 387,485 failed-weight observations in the sampled crop had four zero alpha codes at table 1 dword 24, four finite positive source depths and four positive interpolation factors. None of 12,223,553 positive-weight controls had four zero alpha codes. These are repeated native texel observations. Both preceding half-resolution volumetric passes can explicitly write zero alpha to the allocation the reconstruction reads, and both consume the same generated tile list. The first operation responsible remains open. An experimental current-frame scene-color fallback removed sampled black in the fixed open-water strip under throttle (2,926/1,943,996 to 0/1,555,200) and reduced the whole moving crop from 1.97% to 1.77%. At the stationary helm the same fallback improved the fixed strip from 0.90% to 0.056%, while black at the 495 original coordinates rose from 3.33% to 6.36%. These phase windows cover different frames and the moving camera changes position. The fallback can expose the underlying scene and has not been promoted. The boat stayed afloat and moved under throttle. [Pinned source, measurements and limitations](https://github.com/iGoldenNinja/victory-fork/blob/d8f3121c3c40769a6f28eb43999c19a16eca2bf4/docs/rtx5080-water-depth-input.md) **Volumetric tile-list repair.** In a Series X run on RTX 5080 / 617.14 / Windows 11 Pro 25H2 build 26200.9974 (capture renderer `13b5c65`), we traced the original black rectangles to eligible tiles missing from the generated work list. The same title process alternated the stock shader with a version that reserves one list slot per eligible tile. Both used identical water shading and the same two flotation copy-backs. At the stationary **Follow the plane** helm, the stock generator omitted 39,433 eligible entries in 66 measured dispatches. The repair preserved all 517,580 in 69 dispatches. Exact black at finite positive depth went from 1,438,161/35,109,060 to 0/36,704,445 in the stationary crop and from 375,532/14,913,877 to 0/13,586,029 under throttle. The rectangles returned when the stock path resumed. Fifteen time-bracketed stationary images per arm showed the same pattern in the fixed open-water area. This isolates the lost work to the original compaction path for these patches. The precise faulty wave operation, the case where the reverse writer has work, seaplane behavior, and any frame-rate gain remain open. The marker-free source regenerates the tested shader locally from one exact translated PC cache entry. The continuous gameplay replay is described below. [Pinned report](https://github.com/iGoldenNinja/victory-fork/blob/b617cb45e6460630f9ae3eb6afd3402c8fb07c02/docs/rtx5080-water-depth-input.md#repairing-the-work-list) · [Source-only repair](https://github.com/iGoldenNinja/victory-fork/blob/b617cb45e6460630f9ae3eb6afd3402c8fb07c02/tools/water-tile-append.py) **Continuous gameplay replay.** The same RTX 5080 ran the marker-free repair continuously in Series X with the two flotation copy-backs active. The launcher used no GPU readback triggers or phase switching. All 20 fixed-camera images across five minutes were clear in both sampled water regions. Eight of nine separate stock images showed dark runs in the left region. The boat stayed afloat, accelerated toward the bridge and produced twin wakes under throttle. Seven moving images showed continuous water. The run exited deliberately and the protected profile verified. PresentMon measured 1,116 displayed application frames over 300.105 seconds at the repaired helm, or 3.715 displayed FPS with 323.415 ms P99. The separate stock helm run measured 3.848 FPS and 305.774 ms P99. The runs establish the visible repair. An isolated performance effect, seaplane flotation and mission completion remain open. [Pinned continuous replay results](https://github.com/iGoldenNinja/victory-fork/blob/50f598ae4ee0b779e856e09f269256854422f8f3/docs/rtx5080-water-depth-input.md#independent-continuous-gameplay-replay) **Where the stock list first loses tiles.** On the same RTX 5080 Series X setup, renderer `9bf39c0` captured the original generator's list and both counters immediately after the dispatch. The list already omitted eligible tiles in all 147 sampled dispatches (41,285 in 70 stationary samples and 17,885 in 77 samples under throttle). Each subsequent writer received all 2,163,840 sampled list words unchanged, and both actual indirect counts matched the captured generator counters. All four taps at the 495 original coordinates pointed to eligible tiles already missing from the list in the eight dispatches where all 495 sites turned black together. This locates the loss by the end of the stock generator dispatch. The specific wave or compiler operation responsible remains open. [Pinned measurements and tested diagnostic source](https://github.com/iGoldenNinja/victory-fork/blob/d380bef4e1f873c0c488af7dc38a6b6c5d6be021/docs/rtx5080-water-depth-input.md#where-the-stock-list-first-loses-tiles) **RTX 5080 testing wrap-up.** The RTX 5080 I used is unavailable, so I’m wrapping up my local testing here. I don’t have a date for further runs. The published source and measurements cover Geckomacabre’s two-format boat flotation port and the separate repair for the sampled dark water patches. The boat stayed afloat and moved under throttle. Local seaplane behavior, full mission completion, and stable 30 FPS are still unverified. Martin Hartfelder’s wide-hash change improved the stationary boat and prison samples on this card. The exact cause of the long throttle-related frame gaps remains open. [Flotation report](https://github.com/iGoldenNinja/victory-fork/blob/e64dc203a28d17543bcd18d2f00de9a16aefb435/docs/rtx5080-boat-water.md) · [Water repair source](https://github.com/iGoldenNinja/victory-fork/blob/d380bef4e1f873c0c488af7dc38a6b6c5d6be021/tools/water-tile-append.py) · [Performance comparison and test source](https://git.gtahub.st/github/fxceless--victory-fork/pulls/1014)
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-26 12:23 UTC · original

A note for anyone testing the texture copy-back fix: VICTORY_TEXTURE_BACK takes a list of kinds (<width>x<height>f<format>, comma-separated). Setting it to 1 parses to no kinds and turns the copy-back off, so the boat sinks again. Leave it unset to get the default kinds (256x256f41,256x256f16,64x64f16,128x128f36).

With it unset, the boat floats on the Series S profile too (RTX 3080, with the PC FidelityFX upscaler from #86).

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-26 12:23 UTC · [original](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7191949286) A note for anyone testing the texture copy-back fix: `VICTORY_TEXTURE_BACK` takes a list of kinds (`<width>x<height>f<format>`, comma-separated). Setting it to `1` parses to no kinds and turns the copy-back off, so the boat sinks again. Leave it unset to get the default kinds (`256x256f41,256x256f16,64x64f16,128x128f36`). With it unset, the boat floats on the Series S profile too (RTX 3080, with the PC FidelityFX upscaler from #86). AI-assisted (Claude Code)
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#863
No description provided.