RX 9070 XT: the boat sits below the waterline in the prologue boat mission, and the script fails with "Cal fell off the boat" #196

Open
opened 2026-11-26 03:37:43 +00:00 by github-bot · 3 comments
Owner

@⁠0xmp3 on GitHub · 2026-11-25 20:49 UTC · original

Machine

  • Windows 11 26300, RX 9070 XT 16 GB (gfx1201), driver 32.0.32015.7029, Ryzen 5 5600, 64 GB RAM.
  • Build 71652a2c, diagnostics profile (cargo build --profile diag -p victory --features diagnostics).
  • Recipe as in your README, minus VICTORY_PRESENT_TARGET (it presents a 1×1 image in place of the frame, so it hides the picture):
VICTORY_HAIR=1
VICTORY_SKIP_PIPELINES=4e35b816f2f91d68,b3ba0ef9ee352720,5d627391703fcb4c,ec6e4c363cf9ef2b,c89489afd89ee7f0,45f081396c2c59ba,63083c777948927a,0bd4d80ad23b106b
victory run <game_scarlett_master.exe> --execute --console series-x
  • Warm run: 3.2–3.9 fps in the world, 5,986 → 7,358 draws. The scene below reports 3,877 draws/frame at 300.8 ms.
  • No device removal in ~25 minutes of running across two sessions, which matches your stability claim here. (For contrast, the fork I was testing before this one lost the device 5/5 times on this card; yours has not lost it once.)

What happens

  1. The prologue runs through, Lucia's section completes, play passes to Jason, and the boat mission loads: HUD reads "LURE PREDATOR L35P", objective "Follow the plane".
  2. Within about five seconds of the mission starting, the boat settles below the waterline: the water plane crosses the hull at gunwale height and the character is wet to the waist while the boat stays level and does not bob.
  3. The mission then fails with the title's own message: "CAL FELL OFF THE BOAT."

Water, sky, the bridge on the horizon, the shoreline and the boat's interior all render correctly; this is not a missing-water-surface problem. My captures are from PrintWindow on an HDR desktop, so their brightness is clipped and should be ignored — the geometry in them is what I read.

What I think it is, and what I would check first

The float height looks constant and wrong, not unstable: a level boat sitting too deep, rather than one oscillating under 300 ms simulation steps. That points at the water height/velocity field the hull samples, not at frame-rate-dependent integration.

Two compute programs are dispatched and dropped on every frame of this session:

shader does not translate; its pipelines' draws are dropped stage="compute" hash=ffd93c8a029ff016
  error = converter shader.dxil v1: GFX10 code at 0x30: an address in an SGPR that is no root parameter is not supported

shader translated stage="compute" hash=39f0e9aeb156a61c
  host pipeline refused error=Unspecified error (0x80004005) shaders=[compute 39f0e9aeb156a61c]

The second one is the more interesting of the two to me: the shader translates, and the AMD compiler then refuses the pipeline state outright. If either is the water's height or flow field, a missing result would give exactly the constant wrong waterline observed, and would also explain the character being placed outside the boat's volume — which is what the script's own "fell off the boat" check is reporting.

I have not been able to name either hash: the shader cache is keyed by 64-hex content hashes, and neither program hash appears in pipelines/crashed.txt, so naming them needs victory translate --list over the shard pack. That is the next thing I will run, off-machine-load.

Not tested

  • Whether the boat bobs at a lower frame rate or after a longer settle (needs a colour-accurate capture; mine are clipped).
  • Whether this scene behaves differently without VICTORY_SKIP_PIPELINES.
  • Any other machine — this is one card, one driver.
  • Whether the water is at the correct height relative to the hull, or the hull is at the correct height relative to the water: both produce this picture.

Smaller thing, unrelated

The layer logs nothing at all about gamepads, so a pad that is present but on a transport XInput cannot see is invisible from inside the run. An 8BitDo Ultimate 2C over Bluetooth enumerates as 2DC8:301B (generic HID gamepad, XInputGetState returns 1167 on every slot) and silently falls back to the keyboard; on the 2.4 GHz receiver it is 2DC8:310A and works, haptics included. One line naming the pad source per run would have answered that in seconds instead of needing Get-PnpDevice.

No game data, no assets, no captures attached; numbers from VIctory's own log. AI-assisted (Hermes Agent).

**@⁠0xmp3** on GitHub · 2026-11-25 20:49 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/196) ## Machine - Windows 11 26300, RX 9070 XT 16 GB (gfx1201), driver **32.0.32015.7029**, Ryzen 5 5600, 64 GB RAM. - Build **`71652a2c`**, diagnostics profile (`cargo build --profile diag -p victory --features diagnostics`). - Recipe as in your README, **minus `VICTORY_PRESENT_TARGET`** (it presents a 1×1 image in place of the frame, so it hides the picture): ``` VICTORY_HAIR=1 VICTORY_SKIP_PIPELINES=4e35b816f2f91d68,b3ba0ef9ee352720,5d627391703fcb4c,ec6e4c363cf9ef2b,c89489afd89ee7f0,45f081396c2c59ba,63083c777948927a,0bd4d80ad23b106b victory run <game_scarlett_master.exe> --execute --console series-x ``` - Warm run: 3.2–3.9 fps in the world, 5,986 → 7,358 draws. The scene below reports **3,877 draws/frame at 300.8 ms**. - No device removal in ~25 minutes of running across two sessions, which matches your stability claim here. (For contrast, the fork I was testing before this one lost the device 5/5 times on this card; yours has not lost it once.) ## What happens 1. The prologue runs through, Lucia's section completes, play passes to Jason, and the boat mission loads: HUD reads **"LURE PREDATOR L35P"**, objective **"Follow the plane"**. 2. Within about **five seconds** of the mission starting, the boat settles below the waterline: the water plane crosses the hull at gunwale height and the character is wet to the waist **while the boat stays level and does not bob**. 3. The mission then fails with the title's own message: **"CAL FELL OFF THE BOAT."** Water, sky, the bridge on the horizon, the shoreline and the boat's interior all render correctly; this is not a missing-water-surface problem. My captures are from `PrintWindow` on an HDR desktop, so their brightness is clipped and should be ignored — the geometry in them is what I read. ## What I think it is, and what I would check first The float height looks **constant and wrong**, not unstable: a level boat sitting too deep, rather than one oscillating under 300 ms simulation steps. That points at the water height/velocity field the hull samples, not at frame-rate-dependent integration. Two compute programs are dispatched and dropped on every frame of this session: ``` shader does not translate; its pipelines' draws are dropped stage="compute" hash=ffd93c8a029ff016 error = converter shader.dxil v1: GFX10 code at 0x30: an address in an SGPR that is no root parameter is not supported shader translated stage="compute" hash=39f0e9aeb156a61c host pipeline refused error=Unspecified error (0x80004005) shaders=[compute 39f0e9aeb156a61c] ``` The second one is the more interesting of the two to me: the shader translates, and the AMD compiler then refuses the pipeline state outright. If either is the water's height or flow field, a missing result would give exactly the constant wrong waterline observed, and would also explain the character being placed outside the boat's volume — which is what the script's own "fell off the boat" check is reporting. I have not been able to name either hash: the shader cache is keyed by 64-hex content hashes, and neither program hash appears in `pipelines/crashed.txt`, so naming them needs `victory translate --list` over the shard pack. That is the next thing I will run, off-machine-load. ## Not tested - Whether the boat bobs at a lower frame rate or after a longer settle (needs a colour-accurate capture; mine are clipped). - Whether this scene behaves differently without `VICTORY_SKIP_PIPELINES`. - Any other machine — this is one card, one driver. - Whether the water is at the correct height relative to the hull, or the hull is at the correct height relative to the water: both produce this picture. ## Smaller thing, unrelated The layer logs nothing at all about gamepads, so a pad that is present but on a transport XInput cannot see is invisible from inside the run. An 8BitDo Ultimate 2C over Bluetooth enumerates as `2DC8:301B` (generic HID gamepad, `XInputGetState` returns `1167` on every slot) and silently falls back to the keyboard; on the 2.4 GHz receiver it is `2DC8:310A` and works, haptics included. One line naming the pad source per run would have answered that in seconds instead of needing `Get-PnpDevice`. No game data, no assets, no captures attached; numbers from VIctory's own log. AI-assisted (Hermes Agent).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:37:43 +00:00
Author
Owner

@⁠iGoldenNinja on GitHub · 2026-11-25 20:51 UTC · original

We reproduced the same level boat, submerged hull and Cal fell off the boat failure at Follow the plane on RTX 5080 / NVIDIA 617.14, Windows 11 25H2, Series X. In a matched A/B at e4c18ec, copying back just the 64x64f16,128x128f36 outputs (64 × 64 R32G32_FLOAT and 128 × 128 R16G16_UINT) using Geckomacabre's water texture readback kept the hull and both occupants afloat. Throttle and steering worked, and the objective advanced to Collect the package. The control failed before either input.

This is a comparison point for the RX 9070 XT report. The two dropped shaders in your log still need identification, and this readback result is verified on NVIDIA. The exact patch and settings are in the report. An RTX 3070 retest also confirmed flotation with the two formats and needed all four to draw most of its surface. Original readback source · RTX 5080 comparison · RTX 3070 retest

**@⁠iGoldenNinja** on GitHub · 2026-11-25 20:51 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/196#issuecomment-7174278495) We reproduced the same level boat, submerged hull and **Cal fell off the boat** failure at **Follow the plane** on RTX 5080 / NVIDIA 617.14, Windows 11 25H2, Series X. In a matched A/B at `e4c18ec`, copying back just the `64x64f16,128x128f36` outputs (64 × 64 R32G32_FLOAT and 128 × 128 R16G16_UINT) using Geckomacabre's water texture readback kept the hull and both occupants afloat. Throttle and steering worked, and the objective advanced to **Collect the package**. The control failed before either input. This is a comparison point for the RX 9070 XT report. The two dropped shaders in your log still need identification, and this readback result is verified on NVIDIA. The exact patch and settings are in the report. An RTX 3070 retest also confirmed flotation with the two formats and needed all four to draw most of its surface. [Original readback source](https://github.com/Geckomacabre/vx-layer/commit/eee5667d7119bc4a378214621e1b18a814ebe80f) · [RTX 5080 comparison](https://github.com/iGoldenNinja/victory-fork/blob/e64dc203a28d17543bcd18d2f00de9a16aefb435/docs/rtx5080-boat-water.md) · [RTX 3070 retest](https://github.com/fxceless/victory-fork/issues/863#issuecomment-7170115149)
Author
Owner

@⁠0xmp3 on GitHub · 2026-11-25 20:52 UTC · original

Confirmed on a second lineage, and this tree turns out to be closer to your fix than I expected.

Vendor is not the variable, and neither is the branch. This fork is upstream 8e79c80 plus its own fixes — a different lineage from fxceless/victory-fork, where the same failure is tracked in #863. The same five-second failure on both means it is not a regression in either branch; it is a gap they share.

What this tree already has: buffer writeback. crates/victory-gpu/src/shadow.rs (gpu_writes) and host.rs (defer_gpu_write): "Shaders of the list write [address, address + len) of a buffer's host copy: copied back into title memory once the list has run."

What it does not have: the texture half. VICTORY_TEXTURE_BACK, texback and VICTORY_READ_WATCH are all zero hits in this tree (git grep, crates/*) — and zero in the fxceless tree as well. So the water height and displacement maps stay in the host copy, which is exactly the "reads memory nothing wrote" that you and Geckomacabre describe. Nothing is switched off; the mechanism is absent.

The tiling half of the port has somewhere to land: victory-formats/src/texture.rs has Layout::tile (line 617), the console layout helper.

Next from this machine (RX 9070 XT, driver 32.0.32015.7029): identify 39f0e9aeb156a61c and ffd93c8a029ff016 with translate --list — thanks for keeping that on the list — then port the texture readback and report whether the boat floats on AMD, including whether the other two formats your RTX 3070 retest needed are required here. If the maintainer would rather have that as a branch than a report, say which shape and I will do it that way.

No game data; greps and log lines only. AI-assisted (Hermes Agent).

**@⁠0xmp3** on GitHub · 2026-11-25 20:52 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/196#issuecomment-7174314264) Confirmed on a second lineage, and this tree turns out to be closer to your fix than I expected. **Vendor is not the variable, and neither is the branch.** This fork is upstream `8e79c80` plus its own fixes — a different lineage from `fxceless/victory-fork`, where the same failure is tracked in #863. The same five-second failure on both means it is not a regression in either branch; it is a gap they share. **What this tree already has:** buffer writeback. `crates/victory-gpu/src/shadow.rs` (`gpu_writes`) and `host.rs` (`defer_gpu_write`): *"Shaders of the list write `[address, address + len)` of a buffer's host copy: copied back into title memory once the list has run."* **What it does not have:** the texture half. `VICTORY_TEXTURE_BACK`, `texback` and `VICTORY_READ_WATCH` are all **zero hits** in this tree (`git grep`, `crates/*`) — and zero in the fxceless tree as well. So the water height and displacement maps stay in the host copy, which is exactly the "reads memory nothing wrote" that you and Geckomacabre describe. Nothing is switched off; the mechanism is absent. The tiling half of the port has somewhere to land: `victory-formats/src/texture.rs` has `Layout::tile` (line 617), the console layout helper. Next from this machine (RX 9070 XT, driver 32.0.32015.7029): identify `39f0e9aeb156a61c` and `ffd93c8a029ff016` with `translate --list` — thanks for keeping that on the list — then port the texture readback and report whether the boat floats on AMD, including whether the other two formats your RTX 3070 retest needed are required here. If the maintainer would rather have that as a branch than a report, say which shape and I will do it that way. No game data; greps and log lines only. AI-assisted (Hermes Agent).
Author
Owner

@⁠lorddie on GitHub · 2026-11-25 23:38 UTC · original

Early result on AMD, still being verified, but promising. RX 9070 XT + Ryzen 5 5600X. I ported fxceless/victory-fork's texture read-back (texback.rs, all four default kinds) onto this fork at 4f62c2a5, switched on with VICTORY_TEXTURE_BACK=1.

What I see so far:

  • The boat floats, and the mission plays on the water: no "Cal fell off the boat".
  • About 60 read-backs a second land on the water, at 3.5–5 fps, which is about the same frame rate as elsewhere.
  • Only one copy failed to tile (Unsupported, mip 0, once at the start); thousands after it tiled.

Not confirmed yet: I have not finished the mission. The run ended about 7 minutes into it on a device hang (0x887A0006). VICTORY_GPU_UPLOAD=1 was on, and it also hung the device in the only other run that had it (see #211), so I suspect that rather than the read-back. A full run of the mission without it is next, and I will report back. I can share the patch if that helps.

**@⁠lorddie** on GitHub · 2026-11-25 23:38 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/196#issuecomment-7177842449) **Early result on AMD, still being verified, but promising.** RX 9070 XT + Ryzen 5 5600X. I ported fxceless/victory-fork's texture read-back (`texback.rs`, all four default kinds) onto this fork at `4f62c2a5`, switched on with `VICTORY_TEXTURE_BACK=1`. What I see so far: - The boat floats, and the mission plays on the water: no "Cal fell off the boat". - About 60 read-backs a second land on the water, at 3.5–5 fps, which is about the same frame rate as elsewhere. - Only one copy failed to tile (`Unsupported`, mip 0, once at the start); thousands after it tiled. Not confirmed yet: I have not finished the mission. The run ended about 7 minutes into it on a device hang (`0x887A0006`). `VICTORY_GPU_UPLOAD=1` was on, and it also hung the device in the only other run that had it (see #211), so I suspect that rather than the read-back. A full run of the mission without it is next, and I will report back. I can share the patch if that helps.
This discussion has been locked. Commenting is limited to contributors.
No description provided.