feat(graphics): add fluid simulation switches #2476

Open
erlo68 wants to merge 3 commits from erlo68/Longshot:feat/fluid-simulation-switches into main
Contributor

Summary

Longshot had no in-game way to stop Ocarina of Time's fluid effects or to hide only the low ground mist. This adds two saved, live switches on the Detail page of the Graphics tab, under More graphics settings. Both appear directly after Simulated turf and default to Off:

  • Turn off fluid simulation stops the native fluid manager. This stops the fluid effects on the original simulated turf and the ground mist. Removing this work can improve performance on lower-end systems.
  • Hide ground mist skips only the verified ground-mist programs. It is explicitly a visual-only choice: fluid simulation and simulated turf keep running.

Turning the full switch back Off resumes the current simulation even when the manager was already disabled when Longshot first observed it. The settings survive restarts and are intentionally outside the quality presets.

The built-in system/fluid-effects mod owns both settings and both effects under the mod API (#2822). Its acquire callback applies the fluid manager switch. When Hide ground mist is on, the mod registers a gfx().skip_draws(program) hook for each of the 12 mist program keys. Clearing the switch releases that mod's hooks, and unload releases them through the existing mod journal.

The new hook reuses the graphics program-hook table used by the grass and shadows system mods. The mod supplies the effect-specific program keys, and Vulkan applies the same draw-skip rule to each registered key. This removes the mist-specific renderer code and settings snapshot field. Hook registration is limited to native system mods because omitting a draw can affect later passes that consume its output. The hook applies only to graphics draws, so the mist simulation and simulated turf keep running with the mist-only switch on.

Testing

Tested: On c6882a4e over ca830e89, the full Windows mise run test --jobs 6 run finished with 831 passed, 16 failed, and 51 skipped. All 16 failures reproduced on the base with the same tools. The draw-skip hook-table, saved settings, localization, and controller relaunch checks passed. Five focused Rust tests passed for the fluid-effects mod and the program-hook ABI.

16 Windows checks that also failed on main (ca830e89)
  • tests/test_audio_output_errors.py
  • tests/test_audio_source.py
  • tests/test_audio_source_load.py
  • tests/test_audio_wave_buffer_release.py
  • tests/test_coverage_run.py
  • tests/test_dev_update.py
  • tests/test_fsr4_tune.py
  • tests/test_game_font.py
  • tests/test_hd_rumble.py
  • tests/test_lifter.py
  • tests/test_pad_headphones_reader.py
  • tests/test_pad_speaker.py
  • tests/test_parity_gates.py
  • tests/test_rumble_mapping.py
  • tests/test_rumble_refresh.py
  • tests/test_vibration_permission.py

Compiled and linked the Windows runtime and compiled, linked, and packaged the Ubuntu 24.04 build. Linux verification ended at packaging. In the Windows runtime, low ground mist disappeared and returned live in Kokiri Forest. A read-only check confirmed the fluid manager kept running with Hide ground mist on and stopped and resumed with Turn off fluid simulation. Both switches persisted across a restart. The renderer log confirmed all 12 mist hooks were installed and removed with the setting. The separate diagnostic profiling run captured Hyrule Field frame data and crashed during shutdown. All eight timed A/B runs exited normally with profiling disabled.

On 10aa77a9 over ca830e89, the menu layout and guide checks confirmed both switches appear on the new Detail page after Simulated turf. The fluid-effects Rust tests passed on Windows with LLVM-MinGW. The saved-key, settings declaration, generated ABI, menu translation, and screenshot integrity checks also passed.

On df8340f7 over b4d56f52, the two fluid-effects Rust tests passed with LLVM-MinGW on Windows. The Windows longshot-game crate passed cargo check with the generated native-mod registry. The renderer filter test verified live toggling for all 12 original mist programs. The Graphics menu layout matched the expected order, and the saved-key, option-ID, settings ABI, and guide screenshot checks passed.

The full Windows mise run test --jobs 6 run on df8340f7 finished with 821 passed, 11 failed, and 51 skipped. tests/test_longshot_ctl.py passed. I reran all 11 failures on the matching main (b4d56f52) with the same LLVM-MinGW tools.

The follow-up ce24af90 added the fluid-effects crate README and translations for both switches in all 13 shipped non-English locales. It also corrected two source comments flagged by the repository's naming check. I reran the original failures and three menu/settings checks on this head. Five passed and nine failed. The crate README and naming checks now pass. The localization completeness check reports the same ReShade preset names on both heads.

Nine Windows checks that also failed on main (b4d56f52)
  • tests/test_audio_output_errors.py
  • tests/test_audio_wave_buffer_release.py
  • tests/test_coverage_run.py
  • tests/test_dev_update.py
  • tests/test_fsr4_tune.py
  • tests/test_game_font.py
  • tests/test_i18n_complete.py
  • tests/test_lifter.py
  • tests/test_parity_gates.py

Built and linked matched Windows runtimes for b4d56f52 and ce24af90. On the PR build in Hyrule Field, a read-only check of the game’s fluid manager confirmed that turning off fluid simulation stopped it and clearing the switch resumed it. Turning on Hide ground mist left the manager running. The game reported the intended switch states in all four PR timing runs, and all eight runs exited normally.

The earlier testing history below predates the mod API rebase.

Built the matched Windows runtimes for 97ebb417 and 28cb22b9 and ran both Hyrule Field A/B comparisons below. The five focused Windows checks passed after the tooltip edits. They cover the fluid effects, menu layout and help, saved keys, and guide screenshots.

Built and linked fba9511a over 28cb22b9 on Windows with LLVM-MinGW and on Ubuntu 24.04 with the pinned Linux toolchain. The Windows UTF-8 path check passed, and Linux used a non-ASCII work and output path. Linux verification ended at packaging. The Graphics screenshot source check passed with the newer guide image.

The full Windows mise run test run on fba9511a ended with 811 passed, 57 failed, and 48 skipped. Of those failures, 56 also failed on the matching main (28cb22b9) under the same Windows toolchain and settings. The remaining failure was a race during the fake Windows game relaunch in tests/test_longshot_ctl.py. It passed on an isolated retry on the published head, 97ebb417. A deterministic regression reproduced the same supervisor race on unmodified main. The supervisor and control test sources are identical on main and this PR.

The full Windows rerun on 97ebb417 plus the separate supervisor fix (e8d5fd1b) ended with 812 passed, 56 failed, and 48 skipped. The control-relaunch test passed in that run. The 56 failing check names matched the comparison on main exactly. The PR head at that time was 97ebb417.

56 Windows checks that also failed on main (28cb22b9)
tests/test_auto_handheld.py
tests/test_blocks_at_start.py
tests/test_bug_report.py
tests/test_builder_channel.py
tests/test_control_picture.py
tests/test_coverage_run.py
tests/test_crash_record.py
tests/test_crt_options.py
tests/test_dev_ab.py
tests/test_dev_build.py
tests/test_dev_migrate.py
tests/test_dev_packs.py
tests/test_dev_update.py
tests/test_framegen_hdr.py
tests/test_framegen_resources.py
tests/test_fsr3fi_hud_layer.py
tests/test_fsr3fi_hudless_colour.py
tests/test_fsr4_tune.py
tests/test_game_boundary.py
tests/test_game_layout.py
tests/test_game_menu_mouse_buttons.py
tests/test_image_reaper_threads.py
tests/test_image_view_retry.py
tests/test_input_background.py
tests/test_input_movie.py
tests/test_keyboard_menu_option.py
tests/test_keyboard_option.py
tests/test_lifter.py
tests/test_linux_pressure.py
tests/test_loaded_modules_drop.py
tests/test_log_batch.py
tests/test_log_levels.py
tests/test_menu_keys.py
tests/test_mise_build.py
tests/test_oot_menu_mouse.py
tests/test_option_ids.py
tests/test_parity_gates.py
tests/test_perf_send.py
tests/test_present_source_crop.py
tests/test_program_cache_cleanup.py
tests/test_program_cache_one_variant.py
tests/test_readback_timeout_reuse.py
tests/test_run_all_mingw.py
tests/test_screensaver.py
tests/test_switch_table.py
tests/test_target_retention.py
tests/test_temporal_present_bandwidth.py
tests/test_text_keyboard_policy.py
tests/test_upscaler_round_trip.py
tests/test_vcore_video_acquire.py
tests/test_video_catchup.py
tests/test_video_hold_early.py
tests/test_video_input_limit.py
tests/test_vram_compact.py
tests/test_windows_display_startup.py
tests/test_windows_on_linux.py

Built and linked the earlier head 5635cad9 over e203e04b on Windows with LLVM-MinGW and on Ubuntu 24.04 with the pinned Linux toolchain. The Windows build linked from a checkout containing a non-ASCII path, and the Linux build used a non-ASCII work and output path. Linux verification ended after compile, link, and packaging. The Graphics screenshot source check also passed.

The full strict Windows suite on 5635cad9 finished with 803 passed, 42 failed, and 46 skipped. All 42 failing checks reproduced on e203e04b under the same tools and test settings. The feature's fluid, menu, saved-key, and game-boundary checks passed.

On the earlier head 0a8104f32 over be663a08a, built and ran the game on Windows 11 with an AMD Radeon RX 7900 XT and driver 26.11.2.

  • In Hyrule Field, the full toggle stopped the native fluid manager and clearing it resumed it. The mist-only setting left the manager running. Both settings persisted into a new process in the same test profile, and the saved full toggle applied as soon as the manager was available.
  • In Kokiri Forest, the low mist around Link disappeared with Hide ground mist On and returned when the setting was cleared. The renderer logged no watched mist draws while hidden and logged draws from two mist shader programs after restoring it. Both test sessions ended with exit code 0.

The evidence comment contains the two supplied Graphics screenshots from fba9511a and the ground mist on/off comparison.

After rebasing onto be663a08a, eight focused strict checks passed on Windows with LLVM-MinGW:

  • tests/test_fluid_effects.py
  • tests/test_game_boundary.py
  • tests/test_game_phases.py
  • tests/test_menu_modules.py
  • tests/test_menu_ini_keys.py
  • tests/test_menu_help_paragraphs.py
  • tests/test_option_ids.py
  • tests/test_settings_table.py

On that head, the new game and menu sources passed C syntax checks against the host headers using the test lift configuration. The guide screenshot source review and all 14 screenshot checks passed for the local Longshot sources.

The full strict Windows suite on 0a8104f32 finished with 776 passed, 23 failed, and 45 skipped after retrying the first-pass failures with the installed LLVM-MinGW compiler aliases. All 23 remaining failures also reproduced on be663a08a with the same tool setup. No PR-only failures were found.

Still to test:

  • Lower-end Tier 1 hardware: compare Hyrule Field with Turn off fluid simulation Off/On, expecting the same visual behavior and a possible performance benefit where fluid work is material (@Beanstalk fluid simulation switch on lower-end Tier 1 hardware).

Measurements

Verdict: With both switches Off, median FPS was +0.3%, within the observed run spread. Turning off fluid simulation raised median FPS 1.6% against the PR's main base, with both PR runs above both baseline runs. The 1% low fell 1.4% in that comparison. These numbers cover the tested desktop.

Setup: Windows 11, Intel Core i7-14700KF, AMD Radeon RX 7900 XT with driver 26.11.2 (LLPC). Child Link in Hyrule Field, 2150×900 window, 67% render scale, the game's turf renderer, uncapped frame rate, V-Sync Off and frame generation Off. Each comparison used two interleaved pairs of 30-second traces after shader warm-up. Every baseline run used the game's fluid simulation. Hide ground mist stayed Off throughout. The test read the switch values back from the game before measuring.

Setting and metric Before: main @ ca830e89 After: this PR @ c6882a4e Delta
Both switches Off, median FPS (individual runs) 174.8 (174.5 / 175.2) 175.3 (175.6 / 175.1) +0.3%
Both switches Off, 1% low FPS (1000 / p99) 146.8 143.9 −2.0%
Both switches Off, median frame time 5.70 ms 5.68 ms −0.02 ms
Both switches Off, p99 frame time 6.81 ms 6.95 ms +0.14 ms
Fluid simulation disabled, median FPS (individual runs) 174.9 (174.9 / 175.0) 177.7 (178.2 / 177.1) +1.6%
Fluid simulation disabled, 1% low FPS (1000 / p99) 146.5 144.4 −1.4%
Fluid simulation disabled, median frame time 5.71 ms 5.61 ms −0.10 ms
Fluid simulation disabled, p99 frame time 6.83 ms 6.93 ms +0.10 ms

All eight timed runs exited normally with zero cold frames and no queue noise flags. This compares the published head with its base ca830e89, which was current when the runs started. Upstream advanced to 2603ac21 during the benchmark. Local run IDs are 20261204-064030-hos_system_mods_dir-hyrule-field and 20261204-064436-hos_system_mods_dir-hyrule-field.

Risks

The full switch uses a version-specific native manager layout and checks the manager's type before writing. Both rows ship Off. Turning a row Off restores normal behavior. The saved keys are fluid_simulation_off and ground_mist_off in the profile's settings.toml. If hook registration fails partway, the fluid-effects mod withdraws the whole batch before the renderer receives it.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC in game on c6882a4e. Testing records the live switch checks and restart persistence.
  • mise run test passes the comparison against ca830e89. Testing names the 16 failures shared by the Windows runs.
  • Measured against main, or Measurements says why there is nothing to measure. Measurements compares the published head c6882a4e against its base ca830e89.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A check under tests/ that reads changed source is updated, not weakened.
  • Host code builds on Windows (llvm-mingw) on c6882a4e. The same revision also compiled, linked, and packaged on Ubuntu 24.04. Testing records the earlier Windows and Linux builds with UTF-8 paths.
  • Screenshots of the same spot before and after, for the visible ground-mist change, are attached.
  • Docs updated.
  • AI assistance recorded with Assisted-by: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested.
  • 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.
## Summary Longshot had no in-game way to stop Ocarina of Time's fluid effects or to hide only the low ground mist. This adds two saved, live switches on the **Detail** page of the Graphics tab, under **More graphics settings**. Both appear directly after **Simulated turf** and default to Off: - **Turn off fluid simulation** stops the native fluid manager. This stops the fluid effects on the original simulated turf and the ground mist. Removing this work can improve performance on lower-end systems. - **Hide ground mist** skips only the verified ground-mist programs. It is explicitly a visual-only choice: fluid simulation and simulated turf keep running. Turning the full switch back Off resumes the current simulation even when the manager was already disabled when Longshot first observed it. The settings survive restarts and are intentionally outside the quality presets. The built-in `system/fluid-effects` mod owns both settings and both effects under the mod API (#2822). Its acquire callback applies the fluid manager switch. When Hide ground mist is on, the mod registers a `gfx().skip_draws(program)` hook for each of the 12 mist program keys. Clearing the switch releases that mod's hooks, and unload releases them through the existing mod journal. The new hook reuses the graphics program-hook table used by the grass and shadows system mods. The mod supplies the effect-specific program keys, and Vulkan applies the same draw-skip rule to each registered key. This removes the mist-specific renderer code and settings snapshot field. Hook registration is limited to native system mods because omitting a draw can affect later passes that consume its output. The hook applies only to graphics draws, so the mist simulation and simulated turf keep running with the mist-only switch on. ## Testing **Tested:** On `c6882a4e` over `ca830e89`, the full Windows `mise run test --jobs 6` run finished with **831 passed, 16 failed, and 51 skipped**. All 16 failures reproduced on the base with the same tools. The draw-skip hook-table, saved settings, localization, and controller relaunch checks passed. Five focused Rust tests passed for the fluid-effects mod and the program-hook ABI. <details> <summary>16 Windows checks that also failed on main (ca830e89)</summary> - `tests/test_audio_output_errors.py` - `tests/test_audio_source.py` - `tests/test_audio_source_load.py` - `tests/test_audio_wave_buffer_release.py` - `tests/test_coverage_run.py` - `tests/test_dev_update.py` - `tests/test_fsr4_tune.py` - `tests/test_game_font.py` - `tests/test_hd_rumble.py` - `tests/test_lifter.py` - `tests/test_pad_headphones_reader.py` - `tests/test_pad_speaker.py` - `tests/test_parity_gates.py` - `tests/test_rumble_mapping.py` - `tests/test_rumble_refresh.py` - `tests/test_vibration_permission.py` </details> Compiled and linked the Windows runtime and compiled, linked, and packaged the Ubuntu 24.04 build. Linux verification ended at packaging. In the Windows runtime, low ground mist disappeared and returned live in Kokiri Forest. A read-only check confirmed the fluid manager kept running with Hide ground mist on and stopped and resumed with Turn off fluid simulation. Both switches persisted across a restart. The renderer log confirmed all 12 mist hooks were installed and removed with the setting. The separate diagnostic profiling run captured Hyrule Field frame data and crashed during shutdown. All eight timed A/B runs exited normally with profiling disabled. On `10aa77a9` over `ca830e89`, the menu layout and guide checks confirmed both switches appear on the new Detail page after Simulated turf. The fluid-effects Rust tests passed on Windows with LLVM-MinGW. The saved-key, settings declaration, generated ABI, menu translation, and screenshot integrity checks also passed. On `df8340f7` over `b4d56f52`, the two fluid-effects Rust tests passed with LLVM-MinGW on Windows. The Windows `longshot-game` crate passed `cargo check` with the generated native-mod registry. The renderer filter test verified live toggling for all 12 original mist programs. The Graphics menu layout matched the expected order, and the saved-key, option-ID, settings ABI, and guide screenshot checks passed. The full Windows `mise run test --jobs 6` run on `df8340f7` finished with **821 passed, 11 failed, and 51 skipped**. `tests/test_longshot_ctl.py` passed. I reran all 11 failures on the matching `main` (`b4d56f52`) with the same LLVM-MinGW tools. The follow-up `ce24af90` added the fluid-effects crate README and translations for both switches in all 13 shipped non-English locales. It also corrected two source comments flagged by the repository's naming check. I reran the original failures and three menu/settings checks on this head. **Five passed and nine failed**. The crate README and naming checks now pass. The localization completeness check reports the same ReShade preset names on both heads. <details> <summary>Nine Windows checks that also failed on main (b4d56f52)</summary> - `tests/test_audio_output_errors.py` - `tests/test_audio_wave_buffer_release.py` - `tests/test_coverage_run.py` - `tests/test_dev_update.py` - `tests/test_fsr4_tune.py` - `tests/test_game_font.py` - `tests/test_i18n_complete.py` - `tests/test_lifter.py` - `tests/test_parity_gates.py` </details> Built and linked matched Windows runtimes for `b4d56f52` and `ce24af90`. On the PR build in Hyrule Field, a read-only check of the game’s fluid manager confirmed that turning off fluid simulation stopped it and clearing the switch resumed it. Turning on Hide ground mist left the manager running. The game reported the intended switch states in all four PR timing runs, and all eight runs exited normally. The earlier testing history below predates the mod API rebase. Built the matched Windows runtimes for `97ebb417` and `28cb22b9` and ran both Hyrule Field A/B comparisons below. The five focused Windows checks passed after the tooltip edits. They cover the fluid effects, menu layout and help, saved keys, and guide screenshots. Built and linked `fba9511a` over `28cb22b9` on Windows with LLVM-MinGW and on Ubuntu 24.04 with the pinned Linux toolchain. The Windows UTF-8 path check passed, and Linux used a non-ASCII work and output path. Linux verification ended at packaging. The Graphics screenshot source check passed with the newer guide image. The full Windows `mise run test` run on `fba9511a` ended with **811 passed, 57 failed, and 48 skipped**. Of those failures, 56 also failed on the matching `main` (`28cb22b9`) under the same Windows toolchain and settings. The remaining failure was a race during the fake Windows game relaunch in `tests/test_longshot_ctl.py`. It passed on an isolated retry on the published head, `97ebb417`. A deterministic regression reproduced the same supervisor race on unmodified `main`. The supervisor and control test sources are identical on `main` and this PR. The full Windows rerun on `97ebb417` plus the separate supervisor fix (`e8d5fd1b`) ended with **812 passed, 56 failed, and 48 skipped**. The control-relaunch test passed in that run. The 56 failing check names matched the comparison on `main` exactly. The PR head at that time was `97ebb417`. <details> <summary>56 Windows checks that also failed on main (28cb22b9)</summary> ``` tests/test_auto_handheld.py tests/test_blocks_at_start.py tests/test_bug_report.py tests/test_builder_channel.py tests/test_control_picture.py tests/test_coverage_run.py tests/test_crash_record.py tests/test_crt_options.py tests/test_dev_ab.py tests/test_dev_build.py tests/test_dev_migrate.py tests/test_dev_packs.py tests/test_dev_update.py tests/test_framegen_hdr.py tests/test_framegen_resources.py tests/test_fsr3fi_hud_layer.py tests/test_fsr3fi_hudless_colour.py tests/test_fsr4_tune.py tests/test_game_boundary.py tests/test_game_layout.py tests/test_game_menu_mouse_buttons.py tests/test_image_reaper_threads.py tests/test_image_view_retry.py tests/test_input_background.py tests/test_input_movie.py tests/test_keyboard_menu_option.py tests/test_keyboard_option.py tests/test_lifter.py tests/test_linux_pressure.py tests/test_loaded_modules_drop.py tests/test_log_batch.py tests/test_log_levels.py tests/test_menu_keys.py tests/test_mise_build.py tests/test_oot_menu_mouse.py tests/test_option_ids.py tests/test_parity_gates.py tests/test_perf_send.py tests/test_present_source_crop.py tests/test_program_cache_cleanup.py tests/test_program_cache_one_variant.py tests/test_readback_timeout_reuse.py tests/test_run_all_mingw.py tests/test_screensaver.py tests/test_switch_table.py tests/test_target_retention.py tests/test_temporal_present_bandwidth.py tests/test_text_keyboard_policy.py tests/test_upscaler_round_trip.py tests/test_vcore_video_acquire.py tests/test_video_catchup.py tests/test_video_hold_early.py tests/test_video_input_limit.py tests/test_vram_compact.py tests/test_windows_display_startup.py tests/test_windows_on_linux.py ``` </details> Built and linked the earlier head `5635cad9` over `e203e04b` on Windows with LLVM-MinGW and on Ubuntu 24.04 with the pinned Linux toolchain. The Windows build linked from a checkout containing a non-ASCII path, and the Linux build used a non-ASCII work and output path. Linux verification ended after compile, link, and packaging. The Graphics screenshot source check also passed. The full strict Windows suite on `5635cad9` finished with **803 passed, 42 failed, and 46 skipped**. All 42 failing checks reproduced on `e203e04b` under the same tools and test settings. The feature's fluid, menu, saved-key, and game-boundary checks passed. On the earlier head `0a8104f32` over `be663a08a`, built and ran the game on Windows 11 with an AMD Radeon RX 7900 XT and driver 26.11.2. - In Hyrule Field, the full toggle stopped the native fluid manager and clearing it resumed it. The mist-only setting left the manager running. Both settings persisted into a new process in the same test profile, and the saved full toggle applied as soon as the manager was available. - In Kokiri Forest, the low mist around Link disappeared with Hide ground mist On and returned when the setting was cleared. The renderer logged no watched mist draws while hidden and logged draws from two mist shader programs after restoring it. Both test sessions ended with exit code 0. The [evidence comment](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2476#issuecomment-79450) contains the two supplied Graphics screenshots from `fba9511a` and the ground mist on/off comparison. After rebasing onto `be663a08a`, eight focused strict checks passed on Windows with LLVM-MinGW: - `tests/test_fluid_effects.py` - `tests/test_game_boundary.py` - `tests/test_game_phases.py` - `tests/test_menu_modules.py` - `tests/test_menu_ini_keys.py` - `tests/test_menu_help_paragraphs.py` - `tests/test_option_ids.py` - `tests/test_settings_table.py` On that head, the new game and menu sources passed C syntax checks against the host headers using the test lift configuration. The guide screenshot source review and all 14 screenshot checks passed for the local Longshot sources. The full strict Windows suite on `0a8104f32` finished with **776 passed, 23 failed, and 45 skipped** after retrying the first-pass failures with the installed LLVM-MinGW compiler aliases. All 23 remaining failures also reproduced on `be663a08a` with the same tool setup. No PR-only failures were found. **Still to test:** - Lower-end Tier 1 hardware: compare Hyrule Field with Turn off fluid simulation Off/On, expecting the same visual behavior and a possible performance benefit where fluid work is material (`@Beanstalk fluid simulation switch on lower-end Tier 1 hardware`). ## Measurements **Verdict:** With both switches Off, median FPS was +0.3%, within the observed run spread. Turning off fluid simulation raised median FPS **1.6%** against the PR's `main` base, with both PR runs above both baseline runs. The 1% low fell 1.4% in that comparison. These numbers cover the tested desktop. **Setup:** Windows 11, Intel Core i7-14700KF, AMD Radeon RX 7900 XT with driver 26.11.2 (LLPC). Child Link in Hyrule Field, 2150×900 window, 67% render scale, the game's turf renderer, uncapped frame rate, V-Sync Off and frame generation Off. Each comparison used two interleaved pairs of 30-second traces after shader warm-up. Every baseline run used the game's fluid simulation. Hide ground mist stayed Off throughout. The test read the switch values back from the game before measuring. | Setting and metric | Before: main @ `ca830e89` | After: this PR @ `c6882a4e` | Delta | |---|---:|---:|---:| | Both switches Off, median FPS (individual runs) | 174.8 (174.5 / 175.2) | 175.3 (175.6 / 175.1) | +0.3% | | Both switches Off, 1% low FPS (1000 / p99) | 146.8 | 143.9 | −2.0% | | Both switches Off, median frame time | 5.70 ms | 5.68 ms | −0.02 ms | | Both switches Off, p99 frame time | 6.81 ms | 6.95 ms | +0.14 ms | | Fluid simulation disabled, median FPS (individual runs) | 174.9 (174.9 / 175.0) | 177.7 (178.2 / 177.1) | +1.6% | | Fluid simulation disabled, 1% low FPS (1000 / p99) | 146.5 | 144.4 | −1.4% | | Fluid simulation disabled, median frame time | 5.71 ms | 5.61 ms | −0.10 ms | | Fluid simulation disabled, p99 frame time | 6.83 ms | 6.93 ms | +0.10 ms | All eight timed runs exited normally with zero cold frames and no queue noise flags. This compares the published head with its base `ca830e89`, which was current when the runs started. Upstream advanced to `2603ac21` during the benchmark. Local run IDs are `20261204-064030-hos_system_mods_dir-hyrule-field` and `20261204-064436-hos_system_mods_dir-hyrule-field`. ## Risks The full switch uses a version-specific native manager layout and checks the manager's type before writing. Both rows ship Off. Turning a row Off restores normal behavior. The saved keys are `fluid_simulation_off` and `ground_mist_off` in the profile's `settings.toml`. If hook registration fails partway, the fluid-effects mod withdraws the whole batch before the renderer receives it. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC in game on `c6882a4e`. Testing records the live switch checks and restart persistence. - [x] `mise run test` passes the comparison against `ca830e89`. Testing names the 16 failures shared by the Windows runs. - [x] Measured against `main`, or Measurements says why there is nothing to measure. Measurements compares the published head `c6882a4e` against its base `ca830e89`. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] Host code builds on Windows (llvm-mingw) on `c6882a4e`. The same revision also compiled, linked, and packaged on Ubuntu 24.04. Testing records the earlier Windows and Linux builds with UTF-8 paths. - [x] Screenshots of the same spot before and after, for the visible ground-mist change, are attached. - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested. - [ ] 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.
Assisted-by: OpenAI Codex
docs: review graphics menu screenshot source
Some checks failed
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 16s
beanstalk/approval waiting for a BigBean's 👍 on the request
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
Website / Website builds (pull_request) Has been cancelled
Website / Website preview, build (pull_request) Has been cancelled
Website / Website preview, upload (pull_request) Has been cancelled
54c2b8d0b5
Assisted-by: OpenAI Codex
Author
Contributor

Tested in game: Windows 11, AMD Radeon RX 7900 XT, driver 26.11.2: in Hyrule Field both Graphics rows applied live; full shutdown froze and resumed fluid effects, Hide ground mist removed only the low mist while simulated turf continued, and both settings persisted through restarts.

Tested in game: Windows 11, AMD Radeon RX 7900 XT, driver 26.11.2: in Hyrule Field both Graphics rows applied live; full shutdown froze and resumed fluid effects, Hide ground mist removed only the low mist while simulated turf continued, and both settings persisted through restarts.
Author
Contributor

UI and in-game evidence

Graphics settings

Captured on fba9511a, before the tooltip copy was shortened.

Full simulation shutdown Visual-only mist toggle
Turn off fluid simulation help Hide ground mist help

Ground mist on and off

This pair shows the visible ground-mist change for both Graphics toggles.

Ground mist on Ground mist off
Ground mist on Ground mist off
## UI and in-game evidence ### Graphics settings Captured on `fba9511a`, before the tooltip copy was shortened. | Full simulation shutdown | Visual-only mist toggle | |---|---| | ![Turn off fluid simulation help](https://git.magicbean.dev/attachments/d11e2e03-6ead-434a-8d51-a7174c769f99) | ![Hide ground mist help](https://git.magicbean.dev/attachments/7a64ba52-418f-460c-9b79-f504b4e2781e) | ### Ground mist on and off This pair shows the visible ground-mist change for both Graphics toggles. | Ground mist on | Ground mist off | |---|---| | ![Ground mist on](https://git.magicbean.dev/attachments/a1f460ab-0fe7-401d-be35-44108329b06f) | ![Ground mist off](https://git.magicbean.dev/attachments/7f9cd308-1b26-498d-aa37-81665b548eef) |
Member

Possibly related, for context:

  • PR #2423 WIP: feat(vk): add volumetric fog controls — Open fog controls also modify Graphics menu and renderer behavior.
  • PR #2241 WIP: feat(menu): add simulated-turf presets — Open simulated-turf presets affect the same fluid-driven turf and menu settings.
  • PR #1377 WIP: perf(vk): the fog's lighting pass in 256-invocation workgroups on the Steam Deck (RX_VK_WG_SPLIT=1, off by default) — Open performance work optimizes a ground-fog lighting pass.
Possibly related, for context: - PR #2423 WIP: feat(vk): add volumetric fog controls — Open fog controls also modify Graphics menu and renderer behavior. - PR #2241 WIP: feat(menu): add simulated-turf presets — Open simulated-turf presets affect the same fluid-driven turf and menu settings. - PR #1377 WIP: perf(vk): the fog's lighting pass in 256-invocation workgroups on the Steam Deck (RX_VK_WG_SPLIT=1, off by default) — Open performance work optimizes a ground-fog lighting pass.
Author
Contributor

@Beanstalk Please run the Linux full suite with the pinned Vulkan/SPIR-V dependencies. If a lower-end Tier 1 Windows runner is available, also compare Hyrule Field with Turn off fluid simulation Off and On; expect live stop/resume without a crash, and report whether removing the simulation produces a measurable gain.

@Beanstalk Please run the Linux full suite with the pinned Vulkan/SPIR-V dependencies. If a lower-end Tier 1 Windows runner is available, also compare Hyrule Field with Turn off fluid simulation Off and On; expect live stop/resume without a crash, and report whether removing the simulation produces a measurable gain.
Member

@erlo68 only members of BigBeans can start the farm.

One of them can approve this request by reacting 👍 to it or to this comment. This request was for 54c2b8d, and the PR has changed since (0a8104f), so a 👍 no longer approves it. Comment @Beanstalk again to ask for the new commit.

@erlo68 only members of `BigBeans` can start the farm. ~~One of them can approve this request by reacting 👍 to it or to this comment.~~ This request was for `54c2b8d`, and the PR has changed since (`0a8104f`), so a 👍 no longer approves it. Comment `@Beanstalk` again to ask for the new commit.
erlo68 force-pushed feat/fluid-simulation-switches from 54c2b8d0b5
Some checks failed
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 16s
beanstalk/approval waiting for a BigBean's 👍 on the request
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
Website / Website builds (pull_request) Has been cancelled
Website / Website preview, build (pull_request) Has been cancelled
Website / Website preview, upload (pull_request) Has been cancelled
to 0a8104f323
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
Website / Website builds (pull_request) Blocked by required conditions
Website / Website preview, build (pull_request) Blocked by required conditions
Website / Website preview, upload (pull_request) Blocked by required conditions
beanstalk/approval changed since the request: ask again
PR description / Description follows the template (pull_request_target) Successful in 4s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Has been cancelled
CI / longshot-builder end to end (synthetic game) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-11-25 12:37:58 +00:00
Compare
Author
Contributor

Rebased onto main be663a08a and resolved the guide screenshot manifest conflict. The native stop/resume logic now runs on the game acquire phase, and the mist filter remains in the renderer. Both saved keys and the screenshot evidence are preserved. Eight focused Windows checks and the Longshot guide source review passed. A rebased game run and fresh measurements are pending the Rust builder toolchain.

Rebased onto main be663a08a and resolved the guide screenshot manifest conflict. The native stop/resume logic now runs on the game acquire phase, and the mist filter remains in the renderer. Both saved keys and the screenshot evidence are preserved. Eight focused Windows checks and the Longshot guide source review passed. A rebased game run and fresh measurements are pending the Rust builder toolchain.
Author
Contributor

Built and tested 0a8104f32 on Windows 11, Radeon RX 7900 XT, driver 26.11.2. In Hyrule Field, the full toggle stopped and resumed the fluid manager, the mist-only toggle left it running, and both settings survived a game restart. In Kokiri Forest the low mist disappeared and returned live, and renderer diagnostics confirmed two mist shader programs returned. The test sessions exited cleanly.

Built and tested 0a8104f32 on Windows 11, Radeon RX 7900 XT, driver 26.11.2. In Hyrule Field, the full toggle stopped and resumed the fluid manager, the mist-only toggle left it running, and both settings survived a game restart. In Kokiri Forest the low mist disappeared and returned live, and renderer diagnostics confirmed two mist shader programs returned. The test sessions exited cleanly.
Author
Contributor

Completed the full strict Windows suite before timing. With the LLVM-MinGW compiler aliases available, the combined result was 776 passed, 23 failed and 45 skipped. All 23 failures reproduced on main be663a08a. Both fresh Hyrule Field A/B comparisons passed validation against that main revision: both options Off was 145.3 to 146.9 median FPS (+1.1%); full simulation disabled with Hide ground mist Off was 143.0 to 147.7 median FPS (+3.3%). Both ranges overlapped. Setup and individual samples are in Measurements.

Completed the full strict Windows suite before timing. With the LLVM-MinGW compiler aliases available, the combined result was 776 passed, 23 failed and 45 skipped. All 23 failures reproduced on main be663a08a. Both fresh Hyrule Field A/B comparisons passed validation against that main revision: both options Off was 145.3 to 146.9 median FPS (+1.1%); full simulation disabled with Hide ground mist Off was 143.0 to 147.7 median FPS (+3.3%). Both ranges overlapped. Setup and individual samples are in Measurements.
erlo68 force-pushed feat/fluid-simulation-switches from 0a8104f323
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
Website / Website builds (pull_request) Blocked by required conditions
Website / Website preview, build (pull_request) Blocked by required conditions
Website / Website preview, upload (pull_request) Blocked by required conditions
beanstalk/approval changed since the request: ask again
PR description / Description follows the template (pull_request_target) Successful in 4s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Has been cancelled
CI / longshot-builder end to end (synthetic game) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 825278b736
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website preview, built by CI (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Failing after 14s
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-11-28 01:28:46 +00:00
Compare
Author
Contributor

Rebased onto main d9fa80cd1 and resolved the Graphics screenshot manifest conflict. The existing screenshot passed its source review and all eight focused Windows checks passed on 825278b73. The description now identifies the earlier head used for the full Windows suite and the A/B runs.

Rebased onto main d9fa80cd1 and resolved the Graphics screenshot manifest conflict. The existing screenshot passed its source review and all eight focused Windows checks passed on 825278b73. The description now identifies the earlier head used for the full Windows suite and the A/B runs.
erlo68 changed title from WIP: feat(graphics): add fluid simulation switches to feat(graphics): add fluid simulation switches 2026-11-28 01:31:53 +00:00
erlo68 force-pushed feat/fluid-simulation-switches from 825278b736
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website preview, built by CI (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Failing after 14s
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
to d14b5f046b
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Failing after 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-11-28 19:28:38 +00:00
Compare
Author
Contributor

Rebased onto main bd7bcb52 and resolved the Vulkan draw and Graphics screenshot manifest conflicts. The renderer keeps the Maxwell BC4 pass workaround and the live ground mist filter. The Graphics screenshot source check and nine focused Windows checks passed on d14b5f04, including the Maxwell draw regression. Runtime and A/B results remain tied to the earlier build.

Rebased onto main bd7bcb52 and resolved the Vulkan draw and Graphics screenshot manifest conflicts. The renderer keeps the Maxwell BC4 pass workaround and the live ground mist filter. The Graphics screenshot source check and nine focused Windows checks passed on d14b5f04, including the Maxwell draw regression. Runtime and A/B results remain tied to the earlier build.
erlo68 force-pushed feat/fluid-simulation-switches from d14b5f046b
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Failing after 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
to 5635cad949
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Failing after 7s
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-11-28 20:10:02 +00:00
Compare
Author
Contributor

Rebased onto e203e04b so both sides of the upcoming A/B include the latest host logging change. Windows and Linux builds passed on 5635cad9, including UTF-8 build paths. The strict Windows suite finished with 803 passed, 42 failed, and 46 skipped. All 42 failures reproduced on matching main. Linux verification was build-only. The Windows timing runs are prepared and paused pending confirmation that the PC is free.

Rebased onto e203e04b so both sides of the upcoming A/B include the latest host logging change. Windows and Linux builds passed on 5635cad9, including UTF-8 build paths. The strict Windows suite finished with 803 passed, 42 failed, and 46 skipped. All 42 failures reproduced on matching main. Linux verification was build-only. The Windows timing runs are prepared and paused pending confirmation that the PC is free.
erlo68 force-pushed feat/fluid-simulation-switches from 5635cad949
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Failing after 7s
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
to fba9511ae8
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Failing after 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-11-30 15:21:45 +00:00
Compare
Author
Contributor

Rebased onto main 28cb22b9. Resolved conflicts in the Graphics docs, renderer menu initialization, saved settings key checks, and the guide screenshot manifest. Kept the new Simulated turf controls and clarified that the full fluid switch acts on the game simulation. Nine focused Windows checks passed on fba9511a. The two failures reproduced on 28cb22b9. The description identifies the earlier full build, suite, and timing results.

Rebased onto main 28cb22b9. Resolved conflicts in the Graphics docs, renderer menu initialization, saved settings key checks, and the guide screenshot manifest. Kept the new Simulated turf controls and clarified that the full fluid switch acts on the game simulation. Nine focused Windows checks passed on fba9511a. The two failures reproduced on 28cb22b9. The description identifies the earlier full build, suite, and timing results.
Author
Contributor

Windows and Ubuntu 24.04 builds passed on fba9511a. Linux verification was build-only. The full Windows mise suite finished with 811 passed, 57 failed, and 48 skipped. Matching main 28cb22b9 reproduced 56 failures. The remaining Windows control relaunch check passed on an isolated retry after a file lock. A/B timing remains paused and the PR stays ready for review.

Windows and Ubuntu 24.04 builds passed on fba9511a. Linux verification was build-only. The full Windows mise suite finished with 811 passed, 57 failed, and 48 skipped. Matching main 28cb22b9 reproduced 56 failures. The remaining Windows control relaunch check passed on an isolated retry after a file lock. A/B timing remains paused and the PR stays ready for review.
Assisted-by: OpenAI Codex
docs(guide): record the shorter fluid switch help
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Successful in 7s
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
97ebb4178a
Assisted-by: OpenAI Codex
Author
Contributor

Shortened the two Graphics tooltips and replaced the two UI screenshots in the existing evidence comment. The Hyrule Field A/B compared PR head 97ebb417 against main 28cb22b9. Median FPS was +0.9% with both switches Off and +0.2% with full fluid simulation disabled. Both changes fell within the observed run-to-run spread. The measurements are in the description. The PR remains ready for review.

Shortened the two Graphics tooltips and replaced the two UI screenshots in the existing evidence comment. The Hyrule Field A/B compared PR head 97ebb417 against main 28cb22b9. Median FPS was +0.9% with both switches Off and +0.2% with full fluid simulation disabled. Both changes fell within the observed run-to-run spread. The measurements are in the description. The PR remains ready for review.
erlo68 force-pushed feat/fluid-simulation-switches from 97ebb4178a
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Successful in 7s
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
to df8340f7f5
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Has been cancelled
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 13:07:30 +00:00
Compare
fix(graphics): complete fluid switch documentation and translations
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Successful in 9s
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
ce24af90ae
Assisted-by: OpenAI Codex
erlo68 force-pushed feat/fluid-simulation-switches from ce24af90ae
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Successful in 9s
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
to 10aa77a91a
Some checks failed
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Has been cancelled
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-04 04:41:25 +00:00
Compare
Author
Contributor

Rebased onto main ca830e89. Both switches now appear after Simulated turf on Graphics → More graphics settings → Detail. Resolved the menu and guide conflicts and regenerated the settings ABI. The layout, saved keys, and Windows fluid-effects tests passed on 10aa77a9. The description keeps the earlier A/B results tied to the commits that were measured.

Rebased onto main `ca830e89`. Both switches now appear after Simulated turf on Graphics → More graphics settings → Detail. Resolved the menu and guide conflicts and regenerated the settings ABI. The layout, saved keys, and Windows fluid-effects tests passed on `10aa77a9`. The description keeps the earlier A/B results tied to the commits that were measured.
Author
Contributor

Moved the mist implementation into system/fluid-effects in c6882a4e. The system mod owns the 12 program keys and registers their draw skips through the native mod API. Vulkan uses the existing program-hook table to apply the generic draw skip. The hook is limited to native system mods because skipping a draw can also remove outputs another pass needs. Both switches keep their saved keys and Detail page placement. Automated and live testing for this revision are pending.

Moved the mist implementation into `system/fluid-effects` in `c6882a4e`. The system mod owns the 12 program keys and registers their draw skips through the native mod API. Vulkan uses the existing program-hook table to apply the generic draw skip. The hook is limited to native system mods because skipping a draw can also remove outputs another pass needs. Both switches keep their saved keys and Detail page placement. Automated and live testing for this revision are pending.
refactor(mods): route ground mist through draw-skip hooks
Some checks are pending
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Successful in 7s
c6882a4e42
Assisted-by: OpenAI Codex
Author
Contributor

Measured the published head c6882a4e against its main base ca830e89 in Hyrule Field. Both switches Off was +0.3% median FPS, within the observed run spread. Turning off fluid simulation was +1.6% median FPS and −1.4% in the 1% low. Both PR runs in that comparison were faster than both baseline runs. Also recorded the Windows suite, focused Rust tests, live toggle and restart checks, and Linux build-only verification.

Measured the published head `c6882a4e` against its `main` base `ca830e89` in Hyrule Field. Both switches Off was +0.3% median FPS, within the observed run spread. Turning off fluid simulation was +1.6% median FPS and −1.4% in the 1% low. Both PR runs in that comparison were faster than both baseline runs. Also recorded the Windows suite, focused Rust tests, live toggle and restart checks, and Linux build-only verification.
Some checks are pending
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
beanstalk/approval changed since the request: ask again
PR description / Title and description (pull_request_target) Successful in 7s
This pull request has changes conflicting with the target branch.
  • docs/user/graphics-and-controls.md
  • game/mods/menu/test/menu.test.ts
  • gpu/vk/vk_draw.cpp
  • tests/test_menu_ini_keys.py
Some workflows are waiting to be reviewed.
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.
git fetch -u 'feat/fluid-simulation-switches:erlo68-feat/fluid-simulation-switches'
git switch 'erlo68-feat/fluid-simulation-switches'
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!2476
No description provided.