docs(fps): a 60 cap is raised to 240 while a movie plays, as the title screen's looped movies do #1468
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!1468
Loading…
Reference in a new issue
No description provided.
Delete branch "cuecuemoar/Longshot:docs/movies-pass-the-60-cap"
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?
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=0inlongshot_env.txtkeeps 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 ingpu/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) on main209389fa:FPS_MOVIEis 240,MOVIE_STALE_NSis a quarter second, the pacing applies only where the row is 60 (if (movie_pace && row == 60), so 30 and above 60 are left as chosen), andHOS_MOVIE_PACE=0turns 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 withHOS_MOVIE_PACE=0. On Linux (WSL, Ubuntu 22.04), strict likemise run test:test_doc_anchors,test_settings_table,test_switches_removedandtest_switch_tablepass on this branch (headec12d641, on main90fae88c). The whole suite,tests/run_all.py --strictasmise run testruns it, on this branch (11cc5df9) against its base, main209389fa(the final rebase onto main90fae88cbrought two commits that touch neither the guide norhost/nn_vi.c; the guide's diff is the same 5 lines): 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) andtest_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
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
https://claude.ai/code/session_01VxeaZk8ptKo4cqB9fnRK9r
WIP: docs(fps): a 60 cap is raised to 240 while a movie plays, as the title screen's looped movies doto docs(fps): a 60 cap is raised to 240 while a movie plays, as the title screen's looped movies doPossibly related, for context:
d30dbf980cacef47778bRebased onto main
da91e770(nowacef4777): 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_tablefails on mainda91e770too.mooki referenced this pull request2026-11-19 00:27:16 +00:00
Still needed?
acef47778bec12d641a0Rebased onto main
90fae88c(headec12d641; the suite ran on 11cc5df9 on main209389fa, and the two commits since touch neither the guide norhost/nn_vi.c), and still needed: #1446 is open, and main'sfps_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=0turns 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.mdanddocs/development.md, and the README's cap entry went). Main's README is taken as it is; the same text now goes intodocs/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'sHOS_MOVIE_PACErow has no new home, so the guide names the switch itself (inlongshot_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) andtest_crash_record(failed in main's run too, passed in both reruns). Neither recurs, and the PR changes no code.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.