WIP: feat(graphics): PC quality preset ladder, Potato to Ultra, with graphics detail rows #3082
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3082
Loading…
Reference in a new issue
No description provided.
Delete branch "siantm/Longshot:feat/pc-graphics-presets"
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
The Quality preset row was five memory tiers (Minimum (4GB) to Ultra (16GB+)), and it only set the scaling rows and Shadow resolution. It is now a seven-step PC ladder: Potato, Very Low, Low, Switch 2 (Default), High, Very High, Ultra, plus Custom and Auto (this PC). Switch 2 (Default) is the console's picture and the reference point. The tiers below it go lighter than the console, and the tiers above it go past it where the engine has room.
What a tier sets now:
The scaling rows, as before: Render resolution, Window scaling filter, Sharpness and Profile. Potato is 33% (the game's own upscaler: 50%), with no filter and the Handheld profile. Potato and Very Low (the old Minimum) run Handheld; Low and up run Docked, as main's #3100 made the old Low.
Anisotropic filtering: Game's, 2x, 4x, 8x, then 16x from High up.
Shadow resolution: Auto follows the tier. There is a new Low (1024) for Potato and Very Low; it lowers the sun's shadow map below the console's 1600 and never raises it.
Grass distance: 2x on Very High, 3x on Ultra.
A new system mod, Graphics detail (
system/detail), with nine rows:Each row works through hook sites found by reverse engineering, checked statically and in a live trace. "Game's" writes nothing.
Auto (this PC) chooses among the seven tiers: an integrated GPU with 4 threads or fewer gets Potato; other integrated GPUs, handhelds and cards without mesh shaders get Very Low; otherwise the tier follows the card's memory (to 4.5 GB Very Low, 6.5 Low, 11.5 Switch 2, 13 High, 20 Very High, then Ultra), held at Low under 12 GB of RAM. Mip trimming follows: Potato and Very Low get the old Minimum's trimming, and Low gets the 6 GB rule.
Players' settings carry over:
settings.toml:minimum-4gb→ Very Low,low-6gb→ Low,balanced-8gb→ Switch 2 (Default),high-12gb→ High,ultra-16gb→ Ultra; the hidden memory budget maps the same way.longshot_options.ini(options_version< 10): preset 1..6 → 2, 3, 4, 5, 7, 8; Shadow resolution 1..3 → 2..4, because Low was inserted.recomplauncher.jsonuses the new list.settings.tomlthat names a tier and leaves out the rows it sets reads that tier's Shadow resolution (Auto), Grass distance and detail rows; a row the file saves is kept. So an old Ultra (16GB+) file gets Ultra's grass and detail rows at its next start.What the reverse engineering found no safe control for: SSR (there is no separate pass, and nothing reads the CPU flag), heightmap terrain LOD (TeraTerrain never runs in play: the field's ground is map models, which Level of detail already covers), and volumetric clouds (the cloud object is never constructed). Cube-map resolution is allocated at boot only.
Read first:
game/crates/longshot-game/src/engine_rules.rs(PRESETS,DETAIL,mod_lines),game/mods/detail/(sites.toml,src/lib.rs),game/mods/shadows/src/hooks.rs(CascadeSize::Cap) andlib.rs(frame: Auto follows the renderer's memory tier),settings_file.rsLEGACY_CHOICESandpreset_fill,options_store.rsLADDER/migrate_lines,gpu/vk/auto_settings.htier_of.Testing
Tested: Windows 11, NVIDIA GeForce RTX 4060, driver 621.40.
On main @
7bc53f841(rebased 2026-12-05, head7b83d415b), game-free only; the game was not run on this base:cargo test --locked --no-fail-fast -p longshot-game -p sysmod-shadows -p sysmod-detail -p api -p sites -p sysmod-grassbut for oneapitest (below), with the newa_presets_other_mods_rows_are_read_at_its_tier_and_a_saved_one_kept,auto_follows_the_renderers_tier_without_a_change_of_the_rowandonly_very_low_the_old_minimum_and_potato_set_the_handheld_profile;cargo fmt --checkon those crates;cargo clippy --no-deps --all-targets -D warningson longshot-game, sysmod-shadows, sysmod-detail and api;schema-gen --check;ffi-gen --check;cargo test -p modtool the_mods_tab_passes_its_tests.run_all.py --exacton 34 checks that read the changed files: test_low_vram_texture_mips, test_intel_quick_compute, test_auto_settings, test_options_budget_once, test_upscaler_round_trip, test_recomplauncher_json, test_runset, test_dlss_fg_through, test_framegen_auto, test_i18n_complete, test_menu_i18n, test_menu_ini_keys, test_doc_anchors, test_dev_check, test_auto_handheld, test_device_policy, test_menu_restart, test_aspect_default, test_output_resolution, test_sprint, test_upscale_label, test_audio_output_menu, test_stick_dead_zone, test_stick_range, test_walk_key, test_threaded_rendering, test_game_language, test_mirror_budget, test_texture_budget, test_settings_area_keys, test_check_pr_description, test_pipeline_share, test_audio_volume, test_pad_speaker.7bc53f841worktree on this PC:apiwatch::tests::a_walked_reshade_folder_counts_a_change_once_two_walks_agree(due(&w).reshadefalse).modtoolthe_menu_passes_its_tests, two of its tests:the developer page: main's own, on a page this PR does not touch.Earlier, in the game, runtime
rt-Longshotover basee4801d6a55(before the rebase and the fixes):dev.py smoke(kokiri-start): PASS.LONGSHOT_SET: Switch 2 (quality_preset=4), Potato's detail rows (bloom forced Off), and Ultra's detail rows.detail: <site>: old -> new). Logged in play:lod.modelStartCoefDocked 1.0->0.75,foliage.lodDistances 35->21,foliage.undergrowthDistances 40->24,cubemap.faceBudget 1->0,vfx.emissionScale 1.0->0.25,vfx.distanceEmissionScale,volumeFog.resScale 0.7->0.5,dof.enable off,bloom.enable off,bloom.resolutionScale 0.125->0.0625(with Low).lod 1.0->2.0,cubemap.faceBudget 1->3,foliage 35->52.5,undergrowth 40->60.Still to test:
settings.tomlholding onlyquality_preset = "ultra": expecting Grass distance 3x and Level of detail 200% at the start; Low: expecting Profile Docked (by hand).detail: dof.cocQuality*/reflection.planar*lines and an intact picture (by hand).vfx.limiterEmitLimit) never hit. What to do: an effect-heavy fight on Potato, expecting fewer effects and no missing hit sparks that matter to play (by hand).Measurements
Verdict: Potato's detail rows alone (resolution held at 100% 4K on both sides) gave about +5% mean fps in Hyrule Field on an RTX 4060 (43.9 → 46.0 fps over 3 interleaved runs each, noisy: −1% to +10% per pair). At the default 67% the scene is CPU-bound (game_ms ~8 ms) and the rows made no measurable difference (≈92 fps both). The big Potato and Very Low savings come from the scaling rows (33–50%, handheld profile), as before.
Setup: Windows 11, RTX 4060 (driver 621.40),
dev.py ab --scene hyrule-field --runs 3 --seconds 40, ALONGSHOT_SET=output_res=3840x2160,resolution=1,dlss=0, B the same plus Potato's shadow and detail rows (bloom Low).Risks
gfx.renderer().tierin the mod API is now 1..7 (documented in the schema).Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). — the touched crates' and tests' checks pass; the failures that also fail on main are named in Testing; the whole suite was not run.main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.mainand here, for a change that shows on screen. — the S2/Potato/Ultra shots are from this branch only.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.Tested in game: Windows 11, NVIDIA GeForce RTX 4060, driver 621.40, rt-Longshot over base
e4801d6a55(rebased on mainb4d56f526). dev.py smoke from kokiri-start: PASS. Hyrule Field and Zora's Domain with Switch 2 (Default), Potato's detail rows (bloom forced Off) and Ultra's detail rows: no broken frames, no stale glow, tone map present, no holes, no FATAL/device lost; each detail site logged its first change in play (LOD, foliage, undergrowth, cube-map face budget, particle emission, fog scale, DoF off, bloom off/scale). dev.py ab Hyrule Field 4K 100%: Potato detail rows 43.9 -> 46.0 fps mean over 3 interleaved runs.Possibly related, for context:
@review
Recommendation: Request changes. Preset selection does not reliably apply the advertised detail and shadow settings. The new rendering paths and their costs also need broader in-game validation before merge.
Adds seven quality tiers and graphics-detail controls, with migration for older settings. The controls offer more choices, but some preset paths leave the picture inconsistent with the selected tier.
Blocking (3): must change before merging.
game/crates/longshot-game/src/settings_file.rs:307: Preset reconstruction fills only the engine rows and omits the newly added detail and grass rows. (more on the line) Do: Include the tier's mod_lines when reconstructing a preset from the settings file, while preserving explicitly saved row values; add a file-read test for an old preset and a new preset with omitted detail rows.game/crates/longshot-game/src/settings_now.rs:702: Changing presets does not reliably refresh Shadow resolution Auto after its tier changes. (more on the line) Do: Refresh the shadows mod when the effective memory tier changes, including after renderer facts arrive, and test changing between tiers while the shadow row remains Auto.@fixor@rebasetry first). (for the author)Testing before merging (3) (runs on the systems it can change; it doesn't hold the recommendation)
game/mods/detail/src/lib.rs:591: Several new hook paths have not been exercised in a scene that uses them. (more on the line) Do: Run the stated cutscene, planar-water, effect-heavy fight and dense-forest cases with the relevant low and high choices; check the picture and gameplay effects.game/crates/longshot-game/src/engine_rules.rs:216: The new default tier choices and rendering hooks have not been validated across the Tier 1 systems they affect. (more on the line) Do: Run representative Auto and higher-tier scenes on AMD Windows, NVIDIA and AMD Linux, and Steam Deck; compare frame times and memory with the base at the same settings.game/crates/longshot-game/src/engine_rules.rs:298: The measured comparison does not establish the cost of the new controls or their gain at settings players use. (more on the line) Do: Measure interleaved base and head runs in heavy scenes at the device's normal resolution and Auto tier, plus Ultra, reporting average and 1% low fps, frame times and RAM/VRAM.@fixcan do L1 and L2.Checks: Still running: 11 checks.
More: does it help, other systems, switches, what was read
Does it help: Unproven as a performance gain: the reported RTX 4060 comparison is 43.9 to 46.0 mean fps over three runs at 4K, with overlapping spreads and no 1% lows. At 67% resolution both sides were approximately 92 fps. Several new visual controls were observed working, but others did not run in the tested scenes.
Other systems: The hooks affect game rendering on every GPU and OS; the reported run covers Windows and NVIDIA only. AO, lens depth of field, planar reflections, the particle limiter and dense foliage remain untested in play; AMD, Linux and Steam Deck coverage is also missing.
Switches: No switches added or removed. RX_VK_TEX_MAX_DIM and RX_VK_TEX_SKIP_MB retain their names but their automatic low-tier defaults now apply to Potato and Very Low; the corresponding 6 GB trimming rule also follows the renumbered Low tier. The new defaults have not been measured on the affected hardware.
Reviewed:
8d6ea2d2e7againstb4d56f5264: Read the repository rules, PR description, comments, commits, preset and migration changes, settings service call paths, detail hook implementation and site signatures, shadow resolution logic, and relevant renderer policy diffs. Skimmed the remaining renderer and test diffs and file list; translations, generated files, and several changed files were not read in full. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no builds, tests, scripts or game runs were executed. CI is still running.
Overlaps and merge order: Not checked; network access is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
@ -215,0 +213,4 @@[6, 0, 0, 1, 1, 1, 0], // Potato: 33 %, the plain scale, no sharpening, handheld, the game's own filtering[4, 2, 30, 1, 1, 1, 1], // Very Low: 50 %, handheld, 2x[3, 2, 30, 1, 1, 1, 2], // Low: 67 %, handheld, 4x[1, 1, 30, 1, 1, 0, 3], // Switch 2 (Default): 100 %, docked, 8xL4 (should fix): The new default tier choices and rendering hooks have not been validated across the Tier 1 systems they affect.
When: The reported runs cover an RTX 4060 on Windows, while Auto also selects the changed tiers on AMD, Linux and Steam Deck. Their picture, frame pacing and resource use under the new settings are unknown.
Do: Run representative Auto and higher-tier scenes on AMD Windows, NVIDIA and AMD Linux, and Steam Deck; compare frame times and memory with the base at the same settings.
@ -281,0 +295,4 @@("foliage_distance", [0, 1, 2, 2, 3, 3, 4]), // 60 %, 75 %, Game's, 125 %, 150 %("ambient_occlusion", [0, 1, 2, 3, 3, 4, 5]), // Off, Low, Medium, Game's, High, Highest("bloom_quality", [1, 1, 2, 3, 3, 3, 3]), // Off, Low, Medium, Game's("depth_of_field", [0, 0, 1, 2, 2, 3, 3]), // Off, Low, Game's, HighL5 (should fix): The measured comparison does not establish the cost of the new controls or their gain at settings players use.
When: The 4K detail-row runs overlap substantially and report no 1% lows; the 67% run showed approximately equal fps. Higher tiers also increase grass, foliage, LOD and shadow work without a base comparison.
Do: Measure interleaved base and head runs in heavy scenes at the device's normal resolution and Auto tier, plus Ultra, reporting average and 1% low fps, frame times and RAM/VRAM.
@ -284,7 +307,7 @@ fn unraw(v: &Value) -> Option<String> {pub fn preset_fill(doc: &OptionsDoc) -> BTreeMap<String, String> {L1 (blocking): Preset reconstruction fills only the engine rows and omits the newly added detail and grass rows.
When: A settings.toml containing only quality_preset = "ultra", including an older Ultra preset mapped by LEGACY_CHOICES, is read through preset_fill. It gets the scaling rows but defaults for grass and all detail rows, so Ultra does not produce its advertised 3x grass, 200% LOD or other tier settings.
Do: Include the tier's mod_lines when reconstructing a preset from the settings file, while preserving explicitly saved row values; add a file-read test for an old preset and a new preset with omitted detail rows.
@ -691,2 +701,2 @@let (k, v) = engine_rules::SHADOW_RESOLUTION;crate::menu::set(k, v);let at = if preset == engine_rules::AUTO_PRESET { auto.tier } else { preset };for (k, v) in engine_rules::mod_lines(at) {L2 (blocking): Changing presets does not reliably refresh Shadow resolution Auto after its tier changes.
When: With Shadow resolution already Auto, selecting Potato or Ultra queues Auto again. The settings service reports no change for the unchanged value, so the shadows mod receives no setting_changed callback and retains the size resolved for the previous tier, even though the preset and memory tier have changed.
Do: Refresh the shadows mod when the effective memory tier changes, including after renderer facts arrive, and test changing between tiers while the shadow row remains Auto.
@ -0,0 +588,4 @@const fn not_game_particles(c: u8) -> bool {c != Row::Particles.game()}L3 (should fix): Several new hook paths have not been exercised in a scene that uses them.
When: AO, lens depth of field, planar reflections and the particle limiter did not run in the reported scenes, and Ultra foliage has not been checked in a dense forest. The branch therefore has no in-game result for these player-visible paths.
Do: Run the stated cutscene, planar-water, effect-heavy fight and dense-forest cases with the relevant low and high choices; check the picture and gameplay effects.
8d6ea2d2e7ed304b8493Rebased on main @
45d1863b2and fixed the two blocking items. Force-pushed: the two rebased commits (91615e89a,defcdbdff), then896264465,c5f356db4anded304b849(docs after the rebase).L1, the preset read from the file (
896264465):preset_fillnow adds the tier's other mods' rows (engine_rules::mod_lines: Shadow resolution's Auto, Grass distance and the nine detail rows) as well as the scaling rows. A file that names a tier and leaves those rows out reads them at the tier's values, and a row the file saves keeps its value. On write, a row at the tier's value has no line, the same as the scaling rows. New testsettings_file::tests::a_presets_other_mods_rows_are_read_at_its_tier_and_a_saved_one_kept: oldultra-16gbandminimum-4gbfiles (mapped byLEGACY_CHOICES), and newultra,very-highandpotatofiles, each with onlyquality_preset, read everymod_linesrow at the tier's value. A saved Grass distance 4x on Ultra is kept, and writing the file again gives the same bytes. One effect for players: a file from before the ladder that names a preset gets that tier's grass and detail rows at its next start. I added that to Risks.L2, Shadow resolution's Auto after a preset change (
c5f356db4): the shadows mod now records the memory tier it last resolved for. Inframeit resolves again when the renderer'smemory_tierdiffers from that tier. This catches a preset chosen while the row is already on Auto, which is no setting change, and also the renderer's first status after the start, when no tier was known yet. Reading the tier costs nothing extra:settings_link::status()is held per present. New testauto_follows_the_renderers_tier_without_a_change_of_the_row: the row stays on Auto, there is no tier at first (High), then the fake renderer reports tiers 7, 1, 4 and 5. After each frame the size is Highest, Low, Game's and High.L6, rebase: the rebase had conflicts with main's #3100 (only Minimum uses Handheld; the weak laptop button removed). I kept the intent of both sides:
PRESETS, its tests (only_very_low_the_old_minimum_and_potato_set_the_handheld_profile), the preset hint and its 13 translations, and the docs all follow.weak_laptop_linesand its test, check and texture-mips case are gone. That case is nowintegrated-16gb-custom-from-potato.common-issues.mdnames Potato.site_owners.txtkeeps main'sevent.skipline, and schema-gen rewrote the schema hash.Tested (Windows 11, RTX 4060; game-free, no game run this round):
cargo test --no-fail-fast -p longshot-game -p sysmod-shadows -p sysmod-detail -p api -p sites -p sysmod-grass: all pass except oneapitest, listed below.cargo fmt --checkandcargo clippy --no-deps --all-targets -- -D warningson longshot-game, sysmod-shadows and sysmod-detail: clean.schema-gen --check: passes.run_all.py --exacton 32 checks that read the changed files: 32 passed. The list is in the description.Failing the same way on a main @
45d1863b2worktree on this PC:apiwatch::tests::a_walked_reshade_folder_counts_a_change_once_two_walks_agree.modtoolthe_menu_passes_its_tests, its frame-cost test. The worst search frame was 2.96 ms on main and 3.05 to 3.32 ms here, against a limit of 2.66 to 2.71 ms. This was a debug build on a shared PC. This branch is slightly slower because the Detail page has nine more rows to search.--no-deps, clippy stops at main's unusednote_linesimport inbuild-core.L3, L4, L5 (in-game paths, Tier 1 hardware, base-against-head measurements): none of these ran this round. This PC is one Windows RTX 4060 with a shared GPU queue, and I ran no game on the rebased branch. The in-game results in the description are from before the rebase and the fixes, on the earlier base, and they still do not cover AO, lens DoF, planar reflections, the particle limiter or a dense forest at Ultra. Still to test now lists:
The 4K numbers in Measurements remain the detail rows alone. They overlap and say nothing about Ultra's cost.
@review
@beanstalk
Beanstalk test farm · an earlier run: commit
ed304b8(the newer results are in a comment below)Commit
ed304b8· approved by HumanBean (reviewed) · dashboard⚠️ Note: The farm’s preset setting ends at 6, while this PR assigns Ultra and Auto values 7 and 8; the plan instead measures Custom with default detail, so it cannot establish the cost or appearance of those presets.
⚠️ Note: The documented detail-row switch contains a slash in its value, which the farm does not accept, so the plan cannot directly select the new detail rows.
⚠️ Note: Settings migration, automatic shadow changes, cutscene depth of field, planar reflections and effect-heavy fights are not exercised by these steps.
Started at 2026-12-04 06:39 UTC.
windows+nvidialinux+nvidiawindows+amdlinux+radvinteligpusteamdeckvram6gb(6 GB VRAM)Couldn't be judged: the tester's PC could not finish the test. The farm tries another PC, or the same one after a fix; it says nothing about the PR on its own.
windows+nvidia, report 1:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'swindows+nvidia, report 2:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'slinux+nvidia, report 1:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'slinux+nvidia, report 2:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'swindows+amd, report 1:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'swindows+amd, report 2:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'slinux+radv, report 1:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'slinux+radv, report 2:main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store'sWhat was tested
What will be tested · AI plan (
gpt-6.1-terra)The farm will compare main and the PR with Custom quality settings in Hyrule Field and Lost Woods, using three alternating starts per side and 20-second measurements at full and half render resolution. It will record frame times, GPU time, frame rate, RAM and VRAM, and compare still pictures; crashes, frame-time regressions over 20%, or large picture differences fail the plan. Steam Deck and 6 GB targets will wait for matching testers. This tests the new code under default detail settings, not the requested Auto or Ultra presets. No tester online now matches steamdeck, vram6gb: those targets wait for one.
kokiri-start(settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0; switchesHOS_OUTPUT_RES=gpu,RX_VK_AUTO_TUNE=0), then teleport to Hyrule Field, take the picture field to compare with main, measure field-full for 20 s (after 10 s warm-up), set resolution to 4, measure field-half for 20 s (after 10 s warm-up), set resolution to 1, teleport to Lost Woods, take the picture woods to compare with main, measure woods-full for 20 s (after 10 s warm-up), measure woods-half for 20 s (after 10 s warm-up); 3 runs on each side.Measurements on `windows+nvidia`, for the PR description
Verdict: could not be judged on windows+nvidia (2 reports).
Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss
NVIDIA GeForce RTX 5090, 621.47.0AMD Ryzen 9 9950X3D 16-Core Processor, 48 GB RAM; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xessNVIDIA GeForce RTX 4090, 621.40.013th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
Measurements on `linux+nvidia`, for the PR description
Verdict: could not be judged on linux+nvidia (2 reports).
Hardware: 1: linux+nvidia+nvidia-proprietary+dgpu
NVIDIA GeForce RTX 5070, 620.73.4AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM; 2: linux+nvidia+nvidia-proprietary+dgpu+dlssNVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
Measurements on `windows+amd`, for the PR description
Verdict: could not be judged on windows+amd (2 reports).
Hardware: 1: windows+amd+amd-proprietary+dgpu+window+fsr4
AMD Radeon RX 9070 XT, 2.0.416AMD Ryzen 9 7950X 16-Core Processor, 128 GB RAM; 2: windows+amd+amd-proprietary+igpu+window+xessAMD Radeon(TM) Graphics, 2.0.279AMD Ryzen 5 5600G with Radeon Graphics, 28 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
Measurements on `linux+radv`, for the PR description
Verdict: could not be judged on linux+radv (2 reports).
Hardware: 1: linux+amd+radv+igpu
AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM; 2: linux+amd+radv+dgpuAMD Radeon RX 9070 (RADV GFX1201), 26.3.1AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
Measurements on `intel`, for the PR description
Verdict: could not be judged on intel (2 reports).
Hardware: 1: linux+intel+anv+igpu
Intel(R) Graphics (RKL GT1), 26.2.411th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM; 2: windows+intel+intel-proprietary+igpu+windowIntel(R) UHD Graphics 630, 0.404.2115Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
Measurements on `igpu`, for the PR description
Verdict: could not be judged on igpu (2 reports).
Hardware: 1: linux+amd+radv+igpu
AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM; 2: linux+amd+radv+igpuAMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
Measurements on `steamdeck`, for the PR description
Verdict: could not be judged on steamdeck (2 reports).
Hardware: 1: linux+amd+radv+igpu+handheld
AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99AMD Custom APU 0405, 16 GB RAM; 2: linux+amd+radv+igpu+handheldAMD Custom GPU 0405 (RADV VANGOGH), 26.1.99AMD Custom APU 0405, 12 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
Measurements on `vram6gb`, for the PR description
Verdict: queued on vram6gb (1 report).
Hardware: 1: linux+amd+radv+igpu+handheld
AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99AMD Custom APU 0405, 16 GB RAMScene: default-detail-scenes, from the repository's save kokiri-start (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=gpu, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-detail-scenes: 3 game starts a side, field-full 20 s after 10 s warm-up, field-half 20 s after 10 s warm-up, woods-full 20 s after 10 s warm-up, woods-half 20 s after 10 s warm-up; each number the median of the runs, then of 1 report
How to reproduce: the farm's plan above (
@Beanstalkon this PR runs it again)Nothing was measured: no metric came back.
Flags and settings
None: the plan varied no setting, switch or build option.
As Markdown for the PR description:
The testers' hardware
windows+nvidiaNVIDIA GeForce RTX 5090, 621.47.0AMD Ryzen 9 9950X3D 16-Core Processor, 48 GB RAMwindows+nvidiaNVIDIA GeForce RTX 4090, 621.40.013th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAMlinux+nvidiaNVIDIA GeForce RTX 5070, 620.73.4AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAMlinux+nvidiaNVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAMwindows+amdAMD Radeon RX 9070 XT, 2.0.416AMD Ryzen 9 7950X 16-Core Processor, 128 GB RAMwindows+amdAMD Radeon(TM) Graphics, 2.0.279AMD Ryzen 5 5600G with Radeon Graphics, 28 GB RAMlinux+radvAMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAMlinux+radvAMD Radeon RX 9070 (RADV GFX1201), 26.3.1AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAMintelIntel(R) Graphics (RKL GT1), 26.2.411th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAMintelIntel(R) UHD Graphics 630, 0.404.2115Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAMigpuAMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAMigpuAMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAMsteamdeckAMD Custom GPU 0405 (RADV VANGOGH), 26.1.99AMD Custom APU 0405, 16 GB RAMsteamdeckAMD Custom GPU 0405 (RADV VANGOGH), 26.1.99AMD Custom APU 0405, 12 GB RAMvram6gbAMD Custom GPU 0405 (RADV VANGOGH), 26.1.99AMD Custom APU 0405, 16 GB RAMRecommendation: Request changes. It conflicts with its base branch: bring it up to date (
@fixor@rebasetry first). (L6) The preset reconstruction and shadow refresh fixes address the reported code defects, but the rendering paths, affected hardware and performance costs still need the requested runs. The pull request is also reported as not mergeable.The change adds a seven-tier graphics preset ladder and detail controls, with migration for older settings. It gives players more control, at the cost of new rendering hooks and preset-dependent picture and resource changes that still need broader validation.
Blocking (1): must change before merging.
@fixor@rebasetry first). (for the author)Testing before merging (3) (runs on the systems it can change; it doesn't hold the recommendation)
game/mods/detail/src/lib.rs:591: Several new hook paths have not been exercised in a scene that uses them. When: AO, lens depth of field, planar reflections and the particle limiter did not run in the reported scenes, and Ultra foliage has not been checked in a dense forest. The branch therefore has no in-game result for these player-visible paths. Do: Run the stated cutscene, planar-water, effect-heavy fight and dense-forest cases with the relevant low and high choices; check the picture and gameplay effects.game/crates/longshot-game/src/engine_rules.rs:216: The new default tier choices and rendering hooks have not been validated across the Tier 1 systems they affect. When: The reported runs cover an RTX 4060 on Windows, while Auto also selects the changed tiers on AMD, Linux and Steam Deck. Their picture, frame pacing and resource use under the new settings are unknown. Do: Run representative Auto and higher-tier scenes on AMD Windows, NVIDIA and AMD Linux, and Steam Deck; compare frame times and memory with the base at the same settings.game/crates/longshot-game/src/engine_rules.rs:298: The measured comparison does not establish the cost of the new controls or their gain at settings players use. When: The 4K detail-row runs overlap substantially and report no 1% lows; the 67% run showed approximately equal fps. Higher tiers also increase grass, foliage, LOD and shadow work without a base comparison. Do: Measure interleaved base and head runs in heavy scenes at the device's normal resolution and Auto tier, plus Ultra, reporting average and 1% low fps, frame times and RAM/VRAM.Since the last review (on
8d6ea2d2e7)Resolved: L1 (Preset reconstruction fills only the engine rows and omits the newly added detail and gras…); L2 (Changing presets does not reliably refresh Shadow resolution Auto after its tier changes.)
Still open: L3 (Several new hook paths have not been exercised in a scene that uses them.); L4 (The new default tier choices and rendering hooks have not been validated across the Tier 1…); L5 (The measured comparison does not establish the cost of the new controls or their gain at s…); L6 (It conflicts with its base branch: bring it up to date (
@fixor@rebasetry first).)Checks: Still running: 11 checks.
Also noticed (1; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Unproven at player settings: the earlier RTX 4060 comparison reported 43.9 to 46.0 mean fps at 4K with Potato detail rows, but the runs overlapped; at 67% resolution both sides were about 92 fps. The rebased head has not been compared against its base in game.
Other systems: The hooks and automatic tier choices affect Windows and Linux, NVIDIA and AMD GPUs, Steam Deck, integrated GPUs, and scenes using reflections, depth of field, particles and dense foliage. The reported game run covers Windows with an RTX 4060 on the earlier base; the other paths and systems remain untested.
Switches: No switch was added or removed; switches.def descriptions were updated for the renamed memory tiers. The new graphics settings and automatic tier defaults need the outstanding hardware and cost measurements.
Reviewed:
ed304b8493against45d1863b29: Read the repository rules, pull request template, standards, commit list, preset reconstruction and shadow refresh code and their relevant diff. Skimmed the larger diff, recorded runs and switch changes; the remaining changed code, translations and generated files were not read in full.; nothing run (a code review).Checked and fine:
Testing: No commands from the project or tests were run. The author reports game-free checks on the rebased head and an earlier in-game run; CI is still running.
Overlaps and merge order: Not checked; network access is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
ed304b84937b83d415b5Beanstalk test farm
Commit
7b83d41· approved by nobody yet · dashboardA member of
BigBeanscan review this commit and comment@Beanstalkto test it.Rebased on main @
7bc53f841(#3209) and force-pushed. New head7b83d415b; the five commits are9096eee70,f1567b5e1,fe68bc37b,43d95cb2b,7b83d415b. No code change besides the rebase.L6, the conflicts with main:
forge.py pr statussays the branch is on main's head. Forgejo still shows "not mergeable" because the PR is marked WIP. The conflicts and how I resolved them:game/mods/menu/test/menu.test.ts, the Detail page'sPLACEDlist. Main's #2423 added the> fog_settingslink after Simulated turf. I kept this PR's nine detail rows where they were, with main's two links at the end ("> sim_turf_settings", "> fog_settings").docs/user/graphics-and-controls.md: the Profile row keeps this PR's "(Potato and Very Low: Handheld)". The Upscaler row keeps main's order, with Off first.docs/modding/{reference,permissions,scripting}.mdwas rewritten bycargo run -p schema-gen, because main's #3209 changedtypes.toml. It is folded into7b83d415b.settings_file.rsandsettings_now.rsmerged by themselves with main's fog profiles (#2423) and #3198. The detail mod's fog row and main's fog mod hook different code. Detail'svolumeFog.resScalelowers the fog volume's resolution scale (f_80491580+0xa20). Fog'sfog.paletteLinkedsets the palette's densities (f_83451e40+0xf8). With main's fog rows in,a_setting_no_preset_sets_leaves_the_preset_alonestill passes.A question for a reviewer: the Detail page now has this PR's Volumetric fog row (Low / Medium / Game's: the fog's detail) and main's Volumetric Fog page link next to each other. In German both read "Volumetrischer Nebel". I left the rebase as it is. If you want, I'll rename this PR's row to "Fog detail", with its 13 translations.
Checks on
7b83d415b(Windows 11, RTX 4060, through the PC's job queue; game-free, no game run):cargo run -p schema-gen -- --check,cargo run -p ffi-gen -- --check: pass.cargo fmt --check -p longshot-game -p sysmod-shadows -p sysmod-detail -p api -p sysmod-grass -p sites: clean.cargo clippy --locked --no-deps --all-targets -p longshot-game -p sysmod-shadows -p sysmod-detail -p api -- -D warnings: clean.cargo test --locked --no-fail-fast -p longshot-game -p sysmod-shadows -p sysmod-detail -p api -p sites -p sysmod-grass: everything passes butapiwatch::tests::a_walked_reshade_folder_counts_a_change_once_two_walks_agree. It fails the same way on a main @7bc53f841worktree (due(&w).reshade).cargo test -p modtool -- the_menu_passes_its_tests the_mods_tab_passes_its_tests: the mods tab passes. The menu test fails on main too, with the same two asserts:run_all.py --exacton 34 checks that read the changed files: 34 passed. They are the description's 32, plus test_audio_volume and test_pad_speaker, which read the menu strings.L3, L4, L5 (the new hooks in the game, AMD/Linux/Steam Deck, base-against-head at Auto and Ultra): still not run. This PC is one Windows RTX 4060 with a shared GPU queue, and I ran no game this round. They still need the farm or people with that hardware. "Still to test" in the description lists each case.
Beanstalk:
ed304b8judged nothing. Every report stopped at main'stools.lockline 32 (SDL's store URLs), which says nothing about this PR. Main'stools.lockhas not changed since #3120.7b83d41needs a BigBeans member to start a new run.Description: Testing now names this base, these checks, and the failures shared with main.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.