Water physics broken since #888 (90eb835): player cannot swim, boats sink near the player (bisected, RTX 4060 Ti) #1914

Closed
opened 2026-11-29 02:23:18 +00:00 by github-bot · 3 comments
Owner

@⁠matla00 on GitHub · 2026-11-29 02:22 UTC · original

What happens: since today's main, the player can't swim. Jumping into water, the character walks on the sea floor. Boats sink as soon as the player gets near them. Trees and lighting are otherwise fine.

Bisected over the first-parent merges between 77df871 and 9e61270, testing each point in game (can the player swim?):

merge swim
98dd3b0 (#1453) yes
6346a79 (#1103) yes
6178da1 (#978) yes
e1406af (#856) no
278026f (#651) no

The two merges between the last good and the first bad are #888 (90eb835, "Shaders: retain empty-EXEC guards around a reachable loop") and #856 (DLSS only). Confirmed: reverting 90eb835 alone on top of 9e61270 (with #1571 on top as well) brings swimming and floating boats back; everything else of that main kept.

PC: RTX 4060 Ti 8 GB, driver 621.40, Ryzen 5 7500F, Windows 11. Series S profile, DLSS Performance, frame generation 2x.

Not ruled out yet: whether this hits only 32-lane (NVIDIA) hosts

**@⁠matla00** on GitHub · 2026-11-29 02:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914) **What happens:** since today's main, the player can't swim. Jumping into water, the character walks on the sea floor. Boats sink as soon as the player gets near them. Trees and lighting are otherwise fine. **Bisected** over the first-parent merges between 77df871 and 9e61270, testing each point in game (can the player swim?): | merge | swim | |---|---| | 98dd3b0 (#1453) | yes | | 6346a79 (#1103) | yes | | 6178da1 (#978) | yes | | e1406af (#856) | **no** | | 278026f (#651) | no | The two merges between the last good and the first bad are #888 (90eb835, "Shaders: retain empty-EXEC guards around a reachable loop") and #856 (DLSS only). Confirmed: reverting 90eb835 alone on top of 9e61270 (with #1571 on top as well) brings swimming and floating boats back; everything else of that main kept. **PC:** RTX 4060 Ti 8 GB, driver 621.40, Ryzen 5 7500F, Windows 11. Series S profile, DLSS Performance, frame generation 2x. Not ruled out yet: whether this hits only 32-lane (NVIDIA) hosts
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 02:23:18 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-29 02:24 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-29 02:24 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914#issuecomment-7249406904) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠matla00 on GitHub · 2026-11-29 02:26 UTC · original

Logs attached: the first bad bisect point (e1406af, can't swim), the last good one (6178da1, swims), and 9e61270 with 90eb835 reverted (swims). No crash is involved: the game runs normally, only water physics is wrong, so there's no crashes.log entry for it.
GPU: NVIDIA GeForce RTX 4060 Ti 8 GB, driver 621.40. CPU: Ryzen 5 7500F. Windows 11 (build 26300). Series S profile, DLSS Performance, DLSS frame generation 2x.

1-bad-e1406af-no-swim.log
2-good-6178da1-swims.log
3-main-9e61270-with-90eb835-reverted-swims.log

**@⁠matla00** on GitHub · 2026-11-29 02:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914#issuecomment-7249431892) Logs attached: the first bad bisect point (e1406af, can't swim), the last good one (6178da1, swims), and 9e61270 with 90eb835 reverted (swims). No crash is involved: the game runs normally, only water physics is wrong, so there's no crashes.log entry for it. GPU: NVIDIA GeForce RTX 4060 Ti 8 GB, driver 621.40. CPU: Ryzen 5 7500F. Windows 11 (build 26300). Series S profile, DLSS Performance, DLSS frame generation 2x. [1-bad-e1406af-no-swim.log](https://github.com/user-attachments/files/35561801/1-bad-e1406af-no-swim.log) [2-good-6178da1-swims.log](https://github.com/user-attachments/files/35561799/2-good-6178da1-swims.log) [3-main-9e61270-with-90eb835-reverted-swims.log](https://github.com/user-attachments/files/35561800/3-main-9e61270-with-90eb835-reverted-swims.log)
Author
Owner

@⁠joeypercia on GitHub · 2026-11-29 03:39 UTC · original

/claim

Thanks for the bisect and the revert. I'm on a narrower fix in crates/victory-shader/src/ir.rs (without_skips's stalls) rather than the revert: keep #888's guard where a region brings a lane's value into the scalars (v_readfirstlane / v_readlane, its watchdog case) and decided cycles as before #888 (the water tiles of CS_TransmissionVolumetrics_Tiled), but no longer keep a skip around every ordinary loop. Offline on the title's shader pack as a 32-lane host (VICTORY_HOST_WAVE=32 victory translate shaders.rpf), main 568c5e5 keeps 3,163 skips and the change 1,999, with the same programs emitted. A PR follows with tests.

(Claude Code, Claude Opus 5.5.)

**@⁠joeypercia** on GitHub · 2026-11-29 03:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914#issuecomment-7250180440) /claim Thanks for the bisect and the revert. I'm on a narrower fix in `crates/victory-shader/src/ir.rs` (`without_skips`'s `stalls`) rather than the revert: keep #888's guard where a region brings a lane's value into the scalars (`v_readfirstlane` / `v_readlane`, its watchdog case) and decided cycles as before #888 (the water tiles of `CS_TransmissionVolumetrics_Tiled`), but no longer keep a skip around every ordinary loop. Offline on the title's shader pack as a 32-lane host (`VICTORY_HOST_WAVE=32 victory translate shaders.rpf`), `main` `568c5e5` keeps 3,163 skips and the change 1,999, with the same programs emitted. A PR follows with tests. (Claude Code, Claude Opus 5.5.)
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/trustno1-coder--VIctory-NVIDIA#1914
No description provided.