Skip to content

Benchmark: height settle check and 12-scene MainField set - #480

Merged
mamcjr merged 2 commits into
mamcjr:mainfrom
Propinbo:benchmark-scenes-v2
Nov 24, 2026
Merged

mamcjr merged 2 commits into
mamcjr:mainfrom
Propinbo:benchmark-scenes-v2

Conversation

@Propinbo

Copy link
Copy Markdown
Contributor

Summary

Stacked follow-up on merged PR #315 adding Link height validation to the benchmark harness and an extended 12-scene shrine-free MainField scene set.


Changes (2 commits, 5 files on upstream/main 26da3fa)

  1. Link height settle & window-boundary check (ca17725):
    • runtime/hle/benchmark.c, docs/BENCHMARK.md, tools/benchmark-scenes.txt: checks Link's Y coordinate against the scene's pos Y (Y_TOLERANCE = 2.0 units) after S_SETTLE, at the start of the measured window, and at the end of the measured window (failing with harness_error at "position" if Link fell, is swimming, or stands on a roof), and records y_settle, y_window_start, and y_window_end in report.json and report.csv.
  2. Extended 12-scene MainField benchmark set (c48d1b1):
    • tools/benchmark-scenes-extended.txt, tools/benchmark-scenes-extended.md, docs/BENCHMARK.md: adds 12 visually audited, shrine-free MainField scenes (kakariko-day, hateno-night, riverside-stable-night, hateno-dye-interior, field-grass, korok-plaza, akkala-foliage, faron-jungle, zora-plaza, lake-hylia-shore, lurelin-shore, karakara-oasis) covering distinct GPU and render-thread workloads while leaving tools/benchmark-scenes.txt unchanged.

Verification

  • Physical Android benchmark validation (SM-X730, Mali-G925-Immortalis MC12, game 1.9.0 recompiled, 30 fps cap, 1x 1080 SGSR1, AA off):
    • Warm-up pass (12/12 ok) + measured pass (24/24 ok across 2 repeats x 45 s windows, thermal_max = 0): moved = 0.0 everywhere, |y_window_end - y_settle| <= 0.52 units, 0 errors.
    • Separate 60 fps DVFS check (subset-60fps, 4/4 ok): zora-plaza (19.85 ms, 39.40 fps), korok-plaza (16.99 ms, 40.46 fps), lake-hylia-shore (16.25 ms, 55.93 fps), field-grass (14.17 ms, 50.28 fps).
  • Android Bionic C tests (SM-X730): tools/test_android_runtime.ps1 6/6 passed (test_kernel_affinity, test_bc_shadow, test_buffer_copy, test_nvn_lifetime, test_object_cache, test_benchmark_trace).
  • Zero Nintendo assets, screenshots, or saves included.

…tart and end

A scene's X/Z can match while Link has fallen, is swimming or stands on a
roof. His height must stay within 2 units of the scene's pos Y; outside it
the repeat is harness_error at "position". report.json/report.csv record
y_settle, y_window_start and y_window_end.
…device

Replaces 4 poorly framed/obstructed or redundant views in the earlier set
with visually audited, shrine-free MainField scenes (Korok Plaza, South
Akkala foliage, Faron jungle, Zora Plaza rain, Hateno Dye Shop interior,
and unobstructed Lake Hylia pier) while retaining 0.0 drift and <= 0.52 u
height delta across 24/24 measured 45s windows on SM-X730 (Mali-G925,
v0.4.5-beta + mamcjr#315). Caveats and methodology limits are recorded in
tools/benchmark-scenes-extended.md.
Propinbo added a commit to Propinbo/BOTWRecompAndroid that referenced this pull request Nov 17, 2026
@mamcjr

mamcjr commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Thanks! It only touches benchmark mode, which is good. One thing to check: the three starter scenes in tools/benchmark-scenes.txt were never measured ("a little above the ground is fine"), so the new 2-unit height rule may fail them at the settle. I'll run them and the 16-scene tour on the POCO; if a starter scene fails I'll tell you its measured height. Note that H-6 in my tour fails as "Link moved", a horizontal slide, so that one needs new coordinates rather than the height check.

@Propinbo

Copy link
Copy Markdown
Contributor Author

Checked the three starter scenes from tools/benchmark-scenes.txt on SM-X730 (c48d1b1, BOTW 1.9.0, Y_TOLERANCE = 2.0, 30 fps cap, 1 repeat each on an isolated past-Plateau Normal Mode scratch save). All three passed with status = "ok" and stayed within 0.79 units of pos.y after settle and across the window:

| Scene | Configured pos.y | y_settle | y_window_start | y_window_end | Max |Δy| | moved | Status |
|---|---:|---:|---:|---:|---:|---:|---|
| plateau | 251.0 | 251.00 | 250.21 | 250.21 | 0.79 | 0.00 | ok |
| hateno-lab | 356.0 | 356.00 | 356.02 | 356.02 | 0.02 | 0.00 | ok |
| hateno-village | 243.0 | 243.00 | 242.61 | 242.61 | 0.39 | 0.00 | ok |

So tools/benchmark-scenes.txt needs no coordinate adjustments on 1.9.0 for the height check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants