docs(fps): a 60 cap is raised to 240 while a movie plays, as the title screen's looped movies do #1468

Closed
cuecuemoar wants to merge 1 commit from cuecuemoar/Longshot:docs/movies-pass-the-60-cap into main
Contributor

Summary

On the title screen a Game frame rate cap of 60 does not hold: the FPS counter reads 143 to 183 there (the reporter of #1446, RTX 3070). That is meant. While a movie plays, Longshot paces at up to 240 FPS at a cap of 60, so the movie player, which takes one picture per update, stops losing pictures (#488, measured on a Steam Deck OLED at the opening movie). The title screen loops movies, and nothing in the user guide said so.

The graphics guide now says, in two places: at a cap of 60 a movie is paced at up to 240 FPS and the FPS counter shows it; the game still keeps real time; the cap is back a quarter second after the movie stops; a cap of 30 or above 60 is left as chosen; and HOS_MOVIE_PACE=0 in longshot_env.txt keeps 60 through movies, at the price of the pictures the movie then skips.

Read first: docs/user/graphics-and-controls.md, the "Keep the frame rate cap at 60" note (new lines 58 to 60) and the "Game frame rate cap" paragraph under About some settings (new lines 251 and 252). Docs only: no code, no switch and no menu row changes. Not done: the menu row's own help text (vk_menu.cpp), which has 13 translated copies in gpu/vk/menu_i18n.h.

This is "See", not "Fixes": a second reporter on #1446 saw the cap exceeded in menus, with no log, and this does not claim to explain that.

See #1446.

Testing

Tested: docs only, the game was not run: no game file or code changed. Every statement was read against host/nn_vi.c (fps_refresh), again on main 76092c5e: FPS_MOVIE is 240, MOVIE_STALE_NS is a quarter second, the pacing applies only where the row is 60 (if (movie_pace && row == 60), so 30, 45 and above 60 are left as chosen), and HOS_MOVIE_PACE=0 turns it off. The behaviour itself was measured by another contributor in #2264 (RTX 3080, the default 60 cap): about 215 to 226 FPS through the opening, and 60 FPS with HOS_MOVIE_PACE=0. On Linux (WSL, Ubuntu 22.04), strict like mise run test: test_doc_anchors, test_switches_removed and test_switch_table pass on this branch (head 12425afc, on main 76092c5e; test_settings_table is gone from main since #2822), as do the eight checks that read the user guide (test_longshot_saves, test_walk_key, test_stick_dead_zone, test_stick_range, test_dlss_fg_through, test_headset_no_process_note, test_no_game_title, test_threaded_rendering). The whole suite, tests/run_all.py --strict as mise run test runs it, on an earlier head of this branch (11cc5df9) against its base, main 209389fa (not run again: the PR changes only the guide, the same 5 lines now, and no code): the first run: 927 passed, 34 failed, 18 skipped on the branch against 928, 33, 18 on main; two more runs on the branch: 929 passed, 32 failed, 18 skipped, the same files each time. Every file that fails in the reruns also fails on main; they are named in the comment below. The first branch run had two more: test_display_pointer (it passed in 6 of 6 runs alone on both sides, and in both reruns) and test_crash_record (it failed in main's run too, and passed in both reruns). Neither recurs, and this PR changes no code.

Still to test: None.

Measurements

Nothing to measure: documentation only, no code, switch or menu row changes.

Risks

What could break: nothing: text only.

Turning it off: revert the commit.

Compatibility: nothing changes for a player but two new paragraphs in the guide.

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.
  • mise run test passes (any failure that also fails on main is named).
  • 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

  • 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

https://claude.ai/code/session_01VxeaZk8ptKo4cqB9fnRK9r

## Summary On the title screen a Game frame rate cap of 60 does not hold: the FPS counter reads 143 to 183 there (the reporter of #1446, RTX 3070). That is meant. While a movie plays, Longshot paces at up to 240 FPS at a cap of 60, so the movie player, which takes one picture per update, stops losing pictures (#488, measured on a Steam Deck OLED at the opening movie). The title screen loops movies, and nothing in the user guide said so. The graphics guide now says, in two places: at a cap of 60 a movie is paced at up to 240 FPS and the FPS counter shows it; the game still keeps real time; the cap is back a quarter second after the movie stops; a cap of 30 or above 60 is left as chosen; and `HOS_MOVIE_PACE=0` in `longshot_env.txt` keeps 60 through movies, at the price of the pictures the movie then skips. Read first: `docs/user/graphics-and-controls.md`, the "Keep the frame rate cap at 60" note (new lines 58 to 60) and the "Game frame rate cap" paragraph under About some settings (new lines 251 and 252). Docs only: no code, no switch and no menu row changes. Not done: the menu row's own help text (`vk_menu.cpp`), which has 13 translated copies in `gpu/vk/menu_i18n.h`. This is "See", not "Fixes": a second reporter on #1446 saw the cap exceeded in menus, with no log, and this does not claim to explain that. See #1446. ## Testing **Tested:** docs only, the game was not run: no game file or code changed. Every statement was read against `host/nn_vi.c` (`fps_refresh`), again on main 76092c5e: `FPS_MOVIE` is 240, `MOVIE_STALE_NS` is a quarter second, the pacing applies only where the row is 60 (`if (movie_pace && row == 60)`, so 30, 45 and above 60 are left as chosen), and `HOS_MOVIE_PACE=0` turns it off. The behaviour itself was measured by another contributor in #2264 (RTX 3080, the default 60 cap): about 215 to 226 FPS through the opening, and 60 FPS with `HOS_MOVIE_PACE=0`. On Linux (WSL, Ubuntu 22.04), strict like `mise run test`: `test_doc_anchors`, `test_switches_removed` and `test_switch_table` pass on this branch (head 12425afc, on main 76092c5e; `test_settings_table` is gone from main since #2822), as do the eight checks that read the user guide (`test_longshot_saves`, `test_walk_key`, `test_stick_dead_zone`, `test_stick_range`, `test_dlss_fg_through`, `test_headset_no_process_note`, `test_no_game_title`, `test_threaded_rendering`). The whole suite, `tests/run_all.py --strict` as `mise run test` runs it, on an earlier head of this branch (11cc5df9) against its base, main 209389fa (not run again: the PR changes only the guide, the same 5 lines now, and no code): the first run: 927 passed, 34 failed, 18 skipped on the branch against 928, 33, 18 on main; two more runs on the branch: 929 passed, 32 failed, 18 skipped, the same files each time. Every file that fails in the reruns also fails on main; they are named in the comment below. The first branch run had two more: `test_display_pointer` (it passed in 6 of 6 runs alone on both sides, and in both reruns) and `test_crash_record` (it failed in main's run too, and passed in both reruns). Neither recurs, and this PR changes no code. **Still to test:** None. ## Measurements Nothing to measure: documentation only, no code, switch or menu row changes. ## Risks **What could break:** nothing: text only. **Turning it off:** revert the commit. **Compatibility:** nothing changes for a player but two new paragraphs in the guide. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [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 - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [x] Everything in Still to test has run, its results in Tested. - [x] 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) https://claude.ai/code/session_01VxeaZk8ptKo4cqB9fnRK9r
cuecuemoar changed title from WIP: docs(fps): a 60 cap is raised to 240 while a movie plays, as the title screen's looped movies do to docs(fps): a 60 cap is raised to 240 while a movie plays, as the title screen's looped movies do 2026-11-17 20:23:42 +00:00
Member

Possibly related, for context:

  • issue #73 The opening movies stutter: a quarter to a third of their pictures are skipped (RTX 3090, Linux) — Original movie-frame skipping issue behind the documented pacing.
Possibly related, for context: - issue #73 The opening movies stutter: a quarter to a third of their pictures are skipped (RTX 3090, Linux) — Original movie-frame skipping issue behind the documented pacing.
cuecuemoar force-pushed docs/movies-pass-the-60-cap from d30dbf980c
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 3s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
to acef47778b
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 4s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
2026-11-18 20:25:40 +00:00
Compare
Author
Contributor

Rebased onto main da91e770 (now acef4777): the README's cap entry had gained three lines (Epona's fences, the Shadow Temple's barge, a song's notes) that conflicted with this PR's paragraph. Both kept, this PR's after them; nothing else changed. The doc checks that read the README pass; test_switch_table fails on main da91e770 too.

Rebased onto main da91e770 (now acef4777): the README's cap entry had gained three lines (Epona's fences, the Shadow Temple's barge, a song's notes) that conflicted with this PR's paragraph. Both kept, this PR's after them; nothing else changed. The doc checks that read the README pass; `test_switch_table` fails on main da91e770 too.
Owner

Still needed?

Still needed?
cuecuemoar force-pushed docs/movies-pass-the-60-cap from acef47778b
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 4s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
to ec12d641a0
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 7s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
2026-11-23 22:55:36 +00:00
Compare
Author
Contributor

Rebased onto main 90fae88c (head ec12d641; the suite ran on 11cc5df9 on main 209389fa, and the two commits since touch neither the guide nor host/nn_vi.c), and still needed: #1446 is open, and main's fps_refresh (host/nn_vi.c) still raises a 60 cap to 240 while a movie plays (a quarter second of grace, only at the 60 row, HOS_MOVIE_PACE=0 turns it off). Nothing on main says so now. #2264 fixed the movie sound running late at 240 and does not change what the guide says.

What changed: the docs moved under this PR (#1802 deleted docs/graphics-and-controls.md and docs/development.md, and the README's cap entry went). Main's README is taken as it is; the same text now goes into docs/user/graphics-and-controls.md, in the "Keep the frame rate cap at 60" note and the "Game frame rate cap" paragraph. The development guide's HOS_MOVIE_PACE row has no new home, so the guide names the switch itself (in longshot_env.txt). The description is rewritten for the current template.

Checks, Linux (WSL, Ubuntu 22.04), strict: this branch (11cc5df9) against main 209389fa. First run: 927 passed, 34 failed, 18 skipped on the branch, 928 / 33 / 18 on main. Two more runs on the branch: 929 / 32 / 18, the same files each time, all of them failing on main too, so nothing fails only on the branch. The 32 files that fail in the reruns and on main: nx2/test_coop_spirv.py, tests/test_amd_subgroup_profiles.py, tests/test_appimage_package_retry.py, tests/test_cpp_preflight.py, tests/test_crt_options.py, tests/test_dev_packs.py, tests/test_dev_update.py, tests/test_dlss_actor.py, tests/test_flat_map.py, tests/test_fsr3_math.py, tests/test_fsr3_shaders.py, tests/test_fsr3fi_hud_layer.py, tests/test_fsr3fi_hudless_colour.py, tests/test_guest_holes.py, tests/test_late_fix_shaders.py, tests/test_menu_save_atomic.py, tests/test_menu_text_field.py, tests/test_mesh_unreachable_outputs.py, tests/test_nonuniform_image_arrays.py, tests/test_obj_cache_size.py, tests/test_pipeline_share.py, tests/test_prof_clock.py, tests/test_rdna2_mesh_only.py, tests/test_reactive_mask.py, tests/test_readback_timeout_source.py, tests/test_rumble_menu.py, tests/test_shader_profile_caps.py, tests/test_target_image_reuse.py, tests/test_vibration_menu.py, tests/test_vram_compact.py, tests/test_wb_spans.py, tests/test_wmma16_spirv_val.py. The first branch run had two more: test_display_pointer (6 of 6 passes alone on the branch and on main, and it passed in both reruns) and test_crash_record (failed in main's run too, passed in both reruns). Neither recurs, and the PR changes no code.

Rebased onto main 90fae88c (head ec12d641; the suite ran on 11cc5df9 on main 209389fa, and the two commits since touch neither the guide nor `host/nn_vi.c`), and still needed: #1446 is open, and main's `fps_refresh` (`host/nn_vi.c`) still raises a 60 cap to 240 while a movie plays (a quarter second of grace, only at the 60 row, `HOS_MOVIE_PACE=0` turns it off). Nothing on main says so now. #2264 fixed the movie sound running late at 240 and does not change what the guide says. What changed: the docs moved under this PR (#1802 deleted `docs/graphics-and-controls.md` and `docs/development.md`, and the README's cap entry went). Main's README is taken as it is; the same text now goes into `docs/user/graphics-and-controls.md`, in the "Keep the frame rate cap at 60" note and the "Game frame rate cap" paragraph. The development guide's `HOS_MOVIE_PACE` row has no new home, so the guide names the switch itself (in `longshot_env.txt`). The description is rewritten for the current template. Checks, Linux (WSL, Ubuntu 22.04), strict: this branch (11cc5df9) against main 209389fa. First run: 927 passed, 34 failed, 18 skipped on the branch, 928 / 33 / 18 on main. Two more runs on the branch: 929 / 32 / 18, the same files each time, all of them failing on main too, so nothing fails only on the branch. The 32 files that fail in the reruns and on main: `nx2/test_coop_spirv.py`, `tests/test_amd_subgroup_profiles.py`, `tests/test_appimage_package_retry.py`, `tests/test_cpp_preflight.py`, `tests/test_crt_options.py`, `tests/test_dev_packs.py`, `tests/test_dev_update.py`, `tests/test_dlss_actor.py`, `tests/test_flat_map.py`, `tests/test_fsr3_math.py`, `tests/test_fsr3_shaders.py`, `tests/test_fsr3fi_hud_layer.py`, `tests/test_fsr3fi_hudless_colour.py`, `tests/test_guest_holes.py`, `tests/test_late_fix_shaders.py`, `tests/test_menu_save_atomic.py`, `tests/test_menu_text_field.py`, `tests/test_mesh_unreachable_outputs.py`, `tests/test_nonuniform_image_arrays.py`, `tests/test_obj_cache_size.py`, `tests/test_pipeline_share.py`, `tests/test_prof_clock.py`, `tests/test_rdna2_mesh_only.py`, `tests/test_reactive_mask.py`, `tests/test_readback_timeout_source.py`, `tests/test_rumble_menu.py`, `tests/test_shader_profile_caps.py`, `tests/test_target_image_reuse.py`, `tests/test_vibration_menu.py`, `tests/test_vram_compact.py`, `tests/test_wb_spans.py`, `tests/test_wmma16_spirv_val.py`. The first branch run had two more: `test_display_pointer` (6 of 6 passes alone on the branch and on main, and it passed in both reruns) and `test_crash_record` (failed in main's run too, passed in both reruns). Neither recurs, and the PR changes no code.
Author
Contributor

Rebased onto main 76092c5e (head 12425afc, the same single commit). Main had added the 30 and 45 FPS caps' lines right where this PR's cap paragraph goes: both are kept, main's first, and this PR's line now reads "a cap of 30, 45 or above 60 is left as chosen", checked against fps_refresh on 76092c5e (the movie pacing still applies only where the row is 60). The doc checks and the eight checks that read the guide pass on the new head; test_settings_table is gone from main since #2822. Docs only, so the whole suite was not run again.

On "Still needed?": yes. HOS_MOVIE_PACE and the 240 FPS movie pacing are still on main, and the guide still doesn't mention them.

Rebased onto main 76092c5e (head `12425afc`, the same single commit). Main had added the 30 and 45 FPS caps' lines right where this PR's cap paragraph goes: both are kept, main's first, and this PR's line now reads "a cap of 30, 45 or above 60 is left as chosen", checked against `fps_refresh` on 76092c5e (the movie pacing still applies only where the row is 60). The doc checks and the eight checks that read the guide pass on the new head; `test_settings_table` is gone from main since #2822. Docs only, so the whole suite was not run again. On "Still needed?": yes. `HOS_MOVIE_PACE` and the 240 FPS movie pacing are still on main, and the guide still doesn't mention them.
cuecuemoar force-pushed docs/movies-pass-the-60-cap from ec12d641a0
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 7s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
to 12425afc1a
Some checks failed
PR description / Title and description (pull_request_target) Successful in 6s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 20:31:59 +00:00
Compare
HumanBean closed this pull request 2026-12-05 19:05:48 +00:00
Some checks failed
PR description / Title and description (pull_request_target) Successful in 6s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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!1468
No description provided.