docs(guide): the Graphics guide image is retained at main 018dd2ef, and its capture helper links again #2871
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2871
Loading…
Reference in a new issue
No description provided.
Delete branch "llun/Longshot:docs/guide-graphics-retain-ae32c0dd"
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
mainfails its own guide-screenshot review, so every pull request shows CI / Third-party parts and guide screenshots red. Onmain018dd2ef,scripts/check_guide_screenshots.py --review-sourcesreportsREVIEW REQUIREDforsettings-graphics.pngon eleven inputs and on the fixture,scripts/screenshots/menu.cpp. Eight changes merged after #2183's review edited them without recording them: #2836, #2789, #2860, #2810, #2843, #2897, #2926 and #2899.#2926 adds a Graphics row (DLSS FG through), so a comparison of the source alone was not enough: this pull request renders the page from both sides. To do that, the capture helper had to link again. It has not linked on
mainsince #2738 (450e63b8): the Frame generation row callsframegen_restart_nowin the game build, and the fixture had no stand-in for it. The new stand-in returnsframegen_restart_value, which is what the real function returns when NVIDIA Streamline makes no frames (the fixture has no Streamline).Graphics, Audio and Controls rendered from
28cb22b9(every recorded input as last reviewed, with the same stand-in) and from833ef79b(main018dd2efwith the stand-in) differ only in the version text's box. The published image also differs from 28cb22b9's render in that box alone. So the Graphics tab, as pictured, looks the same:Texturefields), #2860, #2843 and #2899 are renderer code the menu does not read.The PNG is kept, as the guide's maintenance plan says when the pictured controls still match.
settings-graphics.png'sreviewed_sourcenames833ef79band lists the helper's 149 compiler-discovered inputs there, now withgpu/vk/dlssg_rules.h(#2926) andhost/fullscreen_style.h(#2897).fixture_filesrecords the newmenu.cpp. The notes say what was compared, and the capture provenance is unchanged. The checker is untouched. Same approach as #2815, which added the turf stand-ins.Rebased onto
main4908cc6d: #2929 changesgpu/vk/grass_distance.h,gpu/vk/vk_draw.cpp, a test and two docs pages, none of them one of the 149 inputs, so the record made at833ef79bstill matches every fingerprint. The review notes say so.Read first:
docs/user/images/guide/source-review-main-018dd2ef.md, then the stand-in inscripts/screenshots/menu.cpp, then thesettings-graphics.pngentry inmanifest.json.Testing
Tested: Windows 11 (build 26300), RTX 5080, and Ubuntu 24.04 under WSL 2 for the capture helper (clang 18.1.3, SDL 2.30.0, libpng 1.6.43). Nothing here runs the game.
main018dd2ef(undefined reference to mkwvk::framegen_restart_now(int)). It renders Graphics, Audio and Controls at833ef79b, and at28cb22b9with the same stand-in. The two sides differ in x 1138-1259, y 20-30 only (the version text). The published PNG and 28cb22b9's Graphics render differ in x 1094-1259, y 20-30 only. I also looked at 833ef79b's Graphics render by eye: the same rows, values, help and tabs as the published image.scripts/screenshots/check_menu_capture.py(the Linux smoke check) passes at833ef79b, and again at this head onmain4908cc6d(917365e3).scripts/check_guide_screenshots.py --review-sourcesexits 1 onmain018dd2ef(the eleven inputs and the fixture) and passes here, also onmain4908cc6d(Longshot images; the Launcher images stay NOT CHECKED without a Launcher checkout, as onmain).tests/test_guide_screenshots.py(14 tests),tests/test_launcher_capture.pyandscripts/check_third_party.pypass, which covers every step of the CI job.mise run test-changedagainstorigin/main4908cc6dat the head: 10 passed on Windows. The other two it picks,tests/test_audio_output_devices.pyandtests/test_microphone_test_gain.py, need clang, which this Windows PC lacks, so they ran under WSL 2 (clang 18.1.3) and passed there, as didtests/test_audio_in.pyandtests/test_guide_screenshots.py.mise run lintpasses. The fullmise run testran at the earlier head onmainae32c0dd, when this branch held the manifest change alone: 815 passed, 52 failed, and the same 52 fail onmainae32c0ddon this PC. None of them is a guide or docs check. Since then the branch only addsmenu.cpp, which only the capture helper compiles, and docs.94696801): Third-party parts and guide screenshots passed. Three other jobs failed for reasons outside this diff. Website build and checks stops atwebsite/src/repo-docs/graphics-settings.ts("The table names no condition for Simulated turf"), and #2939 fails the same way on its own head. The two Game-free checks parts fail 17 and 27 checks (fixtures such asmovie_now,set_window_icons, menu keys and option ids), none of which reads a file this branch changes.Still to test:
Measurements
Nothing to measure: a review record in a docs manifest and a stand-in in the UI-only capture fixture, nothing the game runs.
Risks
Nothing the game runs changes, and a revert is enough. The stand-in is compiled only into the capture fixture. If the image were wrongly retained, the guide's Graphics picture would be out of date, but the renders of both sides match outside the version text.
Checklist
Ready for review
main; the title is a Conventional Commit. (Onmain4908cc6d.)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
scripts/screenshots/menu.cppis the capture fixture, which only the Linux helper builds: built at833ef79band at917365e3with clang 18.1.3 by the helper and its smoke check. Nothing built on Windows changes.)tests/that reads changed source is updated, not weakened. (None needed: no check changes. The checksrun_all.py --changedpicks formenu.cppand the manifest,tests/test_guide_screenshots.pyand the three audio checks among them, pass unchanged.)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
Possibly related, for context:
6632eac3d805327a3286WIP: docs(guide): the Graphics guide image is retained after #2836, #2789, #2860 and #2810to docs(guide): the Graphics guide image is retained after #2836, #2789, #2860 and #2810Recommendation: Approve. The source comparison supports retaining the Graphics image, and the change leaves its capture provenance intact. The remaining CI checks need to finish before merge. Nothing blocking is left. Recommend approval; not approved on the forge.
Records the reviewed renderer inputs so the guide screenshot check no longer reports those changes as unreviewed. It adds a source-review record without changing the image or game behavior.
Checks: Cancelled on this head (no result):
PR description / Title and description (pull_request_target). Still running:CI / Game-free checks (run_all.py, part 1/2) (pull_request),CI / Game-free checks (run_all.py, part 2/2) (pull_request),CI / Website build and checks (pull_request).More: does it help, other systems, switches, what was read
Does it help: Yes: the author reports that the source-review check fails on main for the three inputs and passes at this head. This is not a performance change.
Other systems: The game, renderer, launcher and website image are unchanged. The screenshot checker consumes the updated fingerprints; Launcher source review was not checked, as reported.
Switches: None.
Reviewed:
05327a3286against28cb22b9ed: Read the changed review record and manifest diff, the applicable repository rules and screenshot maintenance plan, the commit and its trailer, and the previous review record. Compared the three source files against the previous review and checked for changes between the recorded revision and the base. Skimmed the remaining manifest entries and historical review notes.; nothing run (a code review).Checked and fine:
Testing: No commands or tests were run during review. The author reports passing guide screenshot checks at head; three CI checks remain running and the description check has no result.
Overlaps and merge order: None found in the supplied review context.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as llun took it out of WIP. Nothing was run; a maintainer decides.
Main moved to
018dd2efand the image's inputs changed again: on this branch rebased onto it,check_guide_screenshots.py --review-sourcesreports REVIEW REQUIRED for settings-graphics.png on 10 inputs, among them gpu/vk/menu/framegen.cpp (#2926's new Frame generation and latency section on the Graphics tab), vk_menu.cpp/.h, menu_i18n.h, menu_restart.h and the fixture scripts/screenshots/menu.cpp. #2926 may change the pictured page, so retaining atae32c0ddno longer holds: back to WIP until the image is reviewed (or recaptured) against current main.docs(guide): the Graphics guide image is retained after #2836, #2789, #2860 and #2810to WIP: docs(guide): the Graphics guide image is retained after #2836, #2789, #2860 and #281005327a328694696801abWIP: docs(guide): the Graphics guide image is retained after #2836, #2789, #2860 and #2810to WIP: docs(guide): the Graphics guide image is retained at main 018dd2ef, and its capture helper links againReviewed against
018dd2efby rendering, not by source alone. The capture helper had not linked on main since #2738 (no stand-in forframegen_restart_now);833ef79badds one. Graphics, Audio and Controls rendered from28cb22b9(the last reviewed inputs, same stand-in) and from833ef79bdiffer only in the version text's box (x 1138-1259, y 20-30), and the published PNG differs from 28cb22b9's render in that box alone. #2926's DLSS FG through row is hidden in the pictured state: it shows only with Frame generation on, by DLSS FG, with Streamline and NGX both present. So the PNG is kept, and the record moves to 833ef79b's 149 inputs (now withdlssg_rules.handhost/fullscreen_style.h). Details are insource-review-main-018dd2ef.md, and the description is updated.WIP: docs(guide): the Graphics guide image is retained at main 018dd2ef, and its capture helper links againto docs(guide): the Graphics guide image is retained at main 018dd2ef, and its capture helper links againRecommendation: Approve. The recorded render comparison supports retaining the Graphics image, and the fixture stand-in matches the no-Streamline path. CI is still running and must pass before merge. Recommend approval; not approved on the forge.
Keeps the existing guide image with an updated source-review record and restores the UI-only capture helper’s link; no game code changes.
Checks: Still running: 11 checks.
More: does it help, other systems, switches, what was read
Does it help: Yes. The author reports that the helper fails to link on main and renders successfully with the stand-in; the compared images differ only in the version text box.
Other systems: The stand-in is limited to the Linux UI capture fixture. The game, renderer, Windows builds and Launcher are unchanged; Launcher screenshot sources were not checked.
Switches: None.
Reviewed:
94696801abagainst018dd2ef40: Read the repository rules, PR template, standards, full diff, capture fixture and new review record; reviewed the relevant capture maintenance guidance and frame-generation references. Skimmed the manifest and recorded test results. Tooling’s AGENTS.md was unavailable in the adjacent checkout.; nothing run (a code review).Checked and fine:
Testing: No commands that build or run project code were executed. The author reports a successful Linux capture smoke check and guide checks; CI is still running.
Overlaps and merge order: None found in the supplied information.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as llun took it out of WIP. Nothing was run; a maintainer decides.
94696801ab917365e3d0Rebased onto main
4908cc6d(#2929), now at917365e3. #2929 changesgpu/vk/grass_distance.h,gpu/vk/vk_draw.cpp, a test and two docs pages, none of them one of the image's 149 recorded inputs, socheck_guide_screenshots.py --review-sourcesstill passes and no new render was needed. The record stays at833ef79b, where the renders were made, andsource-review-main-018dd2ef.mdnow notes the rebase. The capture helper's smoke check passes at917365e3.test-changedpasses (the two clang checks ran under WSL 2) and so doeslint.On the previous head, CI's Website job and both Game-free parts failed for reasons outside this diff: Website stops on "no condition for Simulated turf" in
graphics-settings.ts, as it does on #2939, and the 44 game-free failures are checks that read nothing this branch changes. The description's Testing and checklist are updated.