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:22:49 +00:00 by matla00 · 3 comments
matla00 commented 2026-11-29 02:22:49 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by matla00 on 2026-11-29T02:22:49Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6673865553 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914). Originally posted by [matla00](https://github.com/matla00) on 2026-11-29T02:22:49Z. --- **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-actions[bot] commented 2026-11-29 02:24:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-29T02:24:20Z.


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)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7249406904 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914#issuecomment-7249406904). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T02:24:20Z. --- 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)
matla00 commented 2026-11-29 02:26:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by matla00 on 2026-11-29T02:26:43Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7249431892 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914#issuecomment-7249431892). Originally posted by [matla00](https://github.com/matla00) on 2026-11-29T02:26:43Z. --- 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)
joeypercia commented 2026-11-29 03:39:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by joeypercia on 2026-11-29T03:39:26Z.


/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.)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7250180440 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1914#issuecomment-7250180440). Originally posted by [joeypercia](https://github.com/joeypercia) on 2026-11-29T03:39:26Z. --- /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.)
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA#1914
No description provided.