Repository navigation
L10 (pre-release): less CPU and GPU work every frame, newest nxnative
Pre-releasePre-release: source code only. No IPA and nothing from the game are attached or in the repository. Build your own from your own dump of the game (base game + update v131072) with the steps in the README, using the env file under "Build settings" below.
The Legend of Zelda: Ocarina of Time (Switch 2) as a native iPhone and Mac app, on top of nxnative.
L10: less CPU and GPU work every frame, newest nxnative
Everything in L9.7, plus a second full update to nxnative main (227 commits).
Important
The first start of L10 is slow. Every shader was translated again (a new shader chain), so the phone prepares its pipelines once more. Let it finish; later starts are normal.
Less work every frame
- Less CPU work per draw (nxnative PR seedds#3344 by Alexander Gurov and seedds): per-draw state, pipelines, vertex streams and argument patches cached on the replay thread, lighter command-list handling, no texture-table and view-cache churn between submissions, uniform-buffer handle tables in the frame arena. Aimed at the stretches where iOS slows the CPU after a few minutes of play.
- Lighter shaders on the GPU (nxnative): the iPhone GPU's hidden-surface removal works again for shaders that read the game's texture tables, and shader reads of the game's memory are faster.
- Steadier pacing after a hitch on 120 Hz screens (nxnative).
Stability
- Fixes for GPU page faults in Ocarina (memory pool teardown races, nxnative seedds#1810).
- The Metal 4 mesh-pipeline GPU hang entering Kakariko Graveyard (nxnative seedds#3274), and pipelines with a depth format as a colour attachment rejected before they reach Metal (seedds#3462).
- The fork's frame-generation warnings no longer share numbers with nxnative's, so neither silences the other.
Kept from the fork
Frame generation, the Texture Memory Saver, mods, the ocarina microphone, the launcher, and every L9.x fix. The startup pipeline list stays L8's (now 13,887 rows: nxnative no longer reads standalone shader rows); nxnative's own list has 90,648 pipeline rows, which would bring back L9's memory problem.
Build settings
Unchanged from L9.7.
DM_UPSCALER=metalfx
DM_FPS_HOLD=off
DM_THERMAL_CAP=0
DM_QOS_MAP=1
DM_QOS_EDGES=45,59
DM_NVN_GPUPROF=every:600
DM_BOOTPROF=1
DM_GUEST_FILE=1
DM_NVN_TEX_MIP_LEVELS=2
DM_FRAMEGEN_SCALE=0.5
DM_NVN_PASS_SPLIT=0
DM_NVN_ANISO_MAX=4
Status
- Not measured on a phone yet. All host, graphics and launcher tests pass on the Mac (about 40 suites; the few failures are the fork's settings on purpose). If L10 plays worse than L9.7 for you, send
log.txt. - iPhone 15 Pro and 16 / 16 Pro (8 GB) are untested by us.
Credits
- Amiibo and NFC by Tizzle2x.
- seedds and the nxnative contributors, among them Alexander Gurov (per-draw caches, PR seedds#3344), Alexander Theißen (frame pacing and the present path), babybert (the pipeline guard, seedds#3462), AlphaGolalala (sparse texture mips), dationguyen (Joy-Con pairs) and dpadr (the memory census).