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
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD#196
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@0xmp3 on GitHub · 2026-11-25 20:49 UTC · original
Machine
71652a2c, diagnostics profile (cargo build --profile diag -p victory --features diagnostics).VICTORY_PRESENT_TARGET(it presents a 1×1 image in place of the frame, so it hides the picture):What happens
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
PrintWindowon 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:
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 needsvictory translate --listover the shard pack. That is the next thing I will run, off-machine-load.Not tested
VICTORY_SKIP_PIPELINES.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,XInputGetStatereturns1167on every slot) and silently falls back to the keyboard; on the 2.4 GHz receiver it is2DC8:310Aand works, haptics included. One line naming the pad source per run would have answered that in seconds instead of needingGet-PnpDevice.No game data, no assets, no captures attached; numbers from VIctory's own log. AI-assisted (Hermes Agent).
@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 the64x64f16,128x128f36outputs (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
@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
8e79c80plus its own fixes — a different lineage fromfxceless/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) andhost.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,texbackandVICTORY_READ_WATCHare 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.rshasLayout::tile(line 617), the console layout helper.Next from this machine (RX 9070 XT, driver 32.0.32015.7029): identify
39f0e9aeb156a61candffd93c8a029ff016withtranslate --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).
@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 at4f62c2a5, switched on withVICTORY_TEXTURE_BACK=1.What I see so far:
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=1was 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.