Skip to content

Release 0.57.0: Mario Kart World fixes from No Lag Kart - #161

Merged
gnosticgeek merged 4 commits into
mainfrom
claude/project-thread-xokyzo
Nov 22, 2026
Merged

gnosticgeek merged 4 commits into
mainfrom
claude/project-thread-xokyzo

Conversation

@gnosticgeek

Copy link
Copy Markdown
Owner

Requested by Tom · project thread

What

New layer patch 0054-mkw-no-lag-kart: the Mario Kart World fixes from kingbumi31/no-lag-kart (MIT, a Mario Kart World 1.8.0 fork of nxnative tuned on an M2 Pro) that nxnative at our pin c43a1f7 does not already have.

  • Pool Finalize freeze: a memory pool's Finalize costs what the pool holds (pool index put right by insertion sort, texture IDs listed by pool, view cache counted by pool). Their runs: the 50-70 ms freeze per stretch of track went from 14/17 runs to 1/12.
  • Sky cube map passes 6 → 1: a sparse texture shares storage only with pools its pool has mapped pages of (nvn_sparse_shares).
  • Scene cuts: upload sources copied into a 128 MB resident ring (profile key up_copy, DM_NVN_UP_COPY). Rewritten for upstream's newer up_big_src, and, beyond the fork, the ring leaves a storage with a GPU write pending or in flight (or reachable through a sparse page table) on its zero-copy buffer: upstream's newer t_upload_src copy-over checks failed with the fork's version.
  • MKW profile: enc_thread on, nvn_cut 8 (new profile key; DM_NVN_CUT still overrides), up_copy 128.

Already in nxnative (not taken): 1.8.0 frame step + 2-vsync cap, written-pages commit walk, BAHS control-section row, PRs seedds#2225 seedds#2249 seedds#2328 seedds#2228 seedds#2182, seedds#2091 (our 0051), face-split draws for the cube filters (covers pso_whole / fs_split / FS_LAYER). Left out on purpose: streamed submission, GPU clock keeper (seedds#1847), host PGO, seedds#1230 (full shader rebuild), merged warm-up list, DM_OPMODE_MULTI, timestamp pad.

Tests (Mac, headless, GAME=0400C3F00006E000)

t_pool_finalize (new, 29), t_copy_alias (141, new sparse_shares case), t_direct_upload (26,384), t_upload_src (61), t_pool_chunks, t_pool_retire, t_alias_takeover, t_pool_notes, t_sparse_tiles: all pass. With DM_NVN_UP_COPY=128 the copy-over correctness checks pass; only the zero-copy counting checks differ (expected; the tests now pin the ring off). MKW host builds. Not run: the game itself (needs an Update build of Mario Kart World).


Generated by Claude Code

…mkw-no-lag-kart)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016qteK2nyjB1RLLqWJsbvhn
…nding or in flight to its zero-copy buffer; the upload tests count with the ring off

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016qteK2nyjB1RLLqWJsbvhn
@gnosticgeek gnosticgeek self-assigned this Nov 22, 2026
…orary (clang-tidy suspicious-realloc ratchet)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016qteK2nyjB1RLLqWJsbvhn
@gnosticgeek
gnosticgeek merged commit fbb37ba into main Nov 22, 2026
11 checks passed
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