fix(cloth): turn HOS_FPS_CLOTH_60 off by default for now #3206

Merged
HumanBean merged 1 commit from HumanBean/Longshot:fix/cloth-60-default-off into main 2026-12-04 21:53:40 +00:00
Owner

Summary

Above 60 fps, Link's hair and clothes flicker or jitter during movement (see #3160). #3122 turned HOS_FPS_CLOTH_60 on by default, which solves the cloth at most 60 times a second and skips the whole solve job on other frames. A player report says turning it off fixes it.

This turns it off by default again, for now. HOS_FPS_CLOTH_60=1 still turns it on. The real fix (keep the cap without the flicker) is still to be done, so #3160 stays open.

Read: cloth_solve in game/crates/game-core/src/fixes/high_fps.rs and the switch's row in gpu/vk/switches.def.

Testing

Tested: nothing: not built, not run in the game, and no checks run locally. Opened untested on purpose, as asked. The only evidence is a player seeing the flicker go away with the switch off.

Still to test:

  • Any GPU, a cap above 60: walk and run as Link, expecting no hair or clothes flicker (by hand)

Measurements

Not measured: a quick default change to stop a visible bug.

Risks

  • #2987 comes back: above 60 fps the cloth runs faster than real time, so hair and clothes sway too much (seen in the post-Ganondorf cutscenes at 130 fps).
  • Every cloth is solved every frame again above 60 fps, which costs more CPU where cloth is heavy.
  • HOS_FPS_CLOTH_60=1 restores the old default; a revert is enough too.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says. (not run)
  • mise run test passes (any failure that also fails on main is named). (not run)
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here. (no test: default change only)
  • A switch added or changed: it ships at the default the measurements chose, with its row in gpu/vk/switches.def. (row updated; default not chosen by measurements)
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary Above 60 fps, Link's hair and clothes flicker or jitter during movement (see #3160). #3122 turned `HOS_FPS_CLOTH_60` on by default, which solves the cloth at most 60 times a second and skips the whole solve job on other frames. A player report says turning it off fixes it. This turns it off by default again, for now. `HOS_FPS_CLOTH_60=1` still turns it on. The real fix (keep the cap without the flicker) is still to be done, so #3160 stays open. Read: `cloth_solve` in `game/crates/game-core/src/fixes/high_fps.rs` and the switch's row in `gpu/vk/switches.def`. ## Testing **Tested:** nothing: not built, not run in the game, and no checks run locally. Opened untested on purpose, as asked. The only evidence is a player seeing the flicker go away with the switch off. **Still to test:** - Any GPU, a cap above 60: walk and run as Link, expecting no hair or clothes flicker (by hand) ## Measurements Not measured: a quick default change to stop a visible bug. ## Risks - #2987 comes back: above 60 fps the cloth runs faster than real time, so hair and clothes sway too much (seen in the post-Ganondorf cutscenes at 130 fps). - Every cloth is solved every frame again above 60 fps, which costs more CPU where cloth is heavy. - `HOS_FPS_CLOTH_60=1` restores the old default; a revert is enough too. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [ ] Tested on my own PC, in the game for a change the game runs, as Testing says. (not run) - [ ] `mise run test` passes (any failure that also fails on `main` is named). (not run) - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [ ] A fix: a game-free test that fails on `main` and passes here. (no test: default change only) - [ ] A switch added or changed: it ships at the default the measurements chose, with its row in `gpu/vk/switches.def`. (row updated; default not chosen by measurements) - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(cloth): turn HOS_FPS_CLOTH_60 off by default for now (#3160)
Some checks failed
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
PR description / Title and description (pull_request_target) Failing after 6s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 16s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m29s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 13m17s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m27s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 13m29s
CI / Website build and checks (pull_request) Failing after 41s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 49m34s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m4s
367e000b48
Held frames make Link's hair and clothes jitter above 60 fps.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
HumanBean changed title from WIP: fix(cloth): turn HOS_FPS_CLOTH_60 off by default for now to fix(cloth): turn HOS_FPS_CLOTH_60 off by default for now 2026-12-04 21:53:11 +00:00
HumanBean deleted branch fix/cloth-60-default-off 2026-12-04 21:53:40 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
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
MagicBeanDev/Longshot!3206
No description provided.