Skip to content

Honor packaged texture width alignment in NVN storage calculations - #2268

Closed
doggy wants to merge 1 commit into
seedds:mainfrom
doggy:fix/packaged-texture-width-20261110
Closed

doggy wants to merge 1 commit into
seedds:mainfrom
doggy:fix/packaged-texture-width-20261110

Conversation

@doggy

@doggy doggy commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Bayonetta Origins: Cereza and the Lost Demon's tutorial-card background displayed a fixed magenta rectangle. SetPackagedTextureLayout retained all eight opaque bytes but copied only byte 0 into nvn_texdesc, losing the width-alignment nibble and producing the wrong row pitch.

Preserve the first 12 bits as the H/D/W nibbles, retaining the existing plus-one explicit-layout sentinel. Apply width alignment to full tiles until the mip tail and to array-layer alignment, independently of API SPARSE; the mip tail remains normally packed. One static helper decodes W at both calculation sites. There is no game-specific branch; public flags, sparse-tile reporting, structure sizes and the shader chain are unchanged.

The affected 2052x1026 ASTC 6x6 texture uses H3/D0/W4. Original SDK arithmetic gives 96 GOB columns and 0x120000 bytes; the old calculation gave 86 and 0x102000. The wrong pitch reads zero padding, matching the 240-pixel-wide magenta region. Correct storage includes 120 KiB of previously omitted padding for this texture.

iOS runtime render-target capture after the tutorial-card background pass. The magenta block is already visible at this stage. Later passes add the card text, demonstration video and touch-control overlay.

Magenta block in the iOS runtime render-target capture

Full iOS screenshot before the fix

The user's screen capture of the Basic Combat tutorial card, including the text, video and touch controls.

Full iOS screenshot showing the magenta block

What and why

Checked

Original issue verified on iOS. The user opened the Basic Combat tutorial card in Bayonetta Origins 1.0.0 (content version v0, title ID 0100CF5010FEC000) and confirmed that the original purple block was gone after the fix. The device was an iPhone (iPhone19,4, iOS 27.1). The delivered build used a provisional profile, host base eddae74f39fe and shader chain a02f1e0dfdde.

Local original-asset GPU replay passed 76 checks, including the W0 negative control and corrected W4 layout.

Code review base: e45694b7f7d4d40b449edb8af2c45c5d8539c1ae. Test environment: Apple-silicon Mac, macOS 26.7.2, Xcode 27.2.

  • Full make -C dm/gfx/tests -j3 GAME=0400486024DEC000 run passed before extracting the unchanged W-decoding expression. After extraction, rebuilt and reran t_tex_layout (28/28), t_nvn (304 checks, zero failures), and t_sparse_layout (28 checks, zero failures). The profile is for synthetic tests, not gameplay validation.
  • Original fixtures are retained. Added cases cover W0/W4, mip tails, array alignment, a valid square cube (1024x1024, six faces, eight mips), builder propagation and unchanged public sparse flags.
  • Changed-file LLVM 23.1.4 C lint: no new findings; baseline unchanged. Current docs suite: six tests passed. Symptom index regenerated; git diff --check passed.
  • Current-base tool suite: 1,435 tests run, 23 skipped, one failure and one error. Both reproduce on pristine same-base main: Reflect.test_pools_and_attributes raises KeyError: cbufs; NativeTools.test_built_from_the_sources_beside_them gets an empty digest from dmsh_xlate, whose clean-base binary also exits with signal 11 on this machine. No unrelated fix is included.
  • Negative control on earlier base 25c2546: unmodified layout code fails exactly the four new positive-W fixtures; the correction passes all 28.

Separate SDK 13 arithmetic comparisons passed 37,296 layout inputs, including noncanonical shape/mip/layout combinations. These are numerical comparisons, not successful GPU creations of every input. The square cube's expected values were independently checked. No frame-rate or power benchmark is claimed.

Cross-game full Mac regression and limits

Ran the full Mac regression harness on five games. All ten baseline and candidate runs reached their scene targets. The static comparison passed for all 77,110 shader programs. The scene comparisons found no confirmed new runtime regression.

Mac test setup and build provenance

Ran the official regress.py check in full mode, one baseline/candidate run per game, pipeline prebuild on, independent test-save copies; no --quick, --no-smoke or --record. Candidate runtime/test files match the reviewed PR working tree. The review-base committed translator crashes on this Mac, so both isolated snapshots use the identical locally republished NativeAOT binary from unchanged current source (digest 657232fd201f16a1, chain 386aada36702). Tool binary/lock/header recovery is excluded from this PR. Test snapshots: baseline 52bf6976cf93950816512faae3d66d5f1c199ab7, candidate 14d216139a653ece4a75e584dbd6b5f8d5d2bd90.

Bayonetta Origins Mac regression screenshot

Candidate run at 190 seconds, at the prison gates in the opening dream.

Bayonetta Origins opening dream at the prison gates on Mac

Game / tested version Selection reason / actual paired scene Initial scene comparison
Bayonetta Origins v0/1.0.0, provisional Proven W4 issue; opening dream, movement to prison gates (not later tutorial card) Screenshot alarm; targeted full pair subsequently PASS
Yoshi's Crafted World v0/1.0.0, derived Sparse 2D control; playable Rail-Yard Run and movement PASS
OCTOPATH TRAVELER v131072/1.0.2, derived Sparse-layout control; Haanit story/world rendering through The Radar tutorial PASS
Metroid Prime Remastered v0/1.0.0, registered IDs matched Sparse 3D control; Frigate Orpheon landing deck/world/visor HUD PASS
Rhythm Heaven Groove v0, registered IDs matched Ordinary-layout control, replacing unavailable Monster Hunter Rise; first Hoop Trundling tutorial PASS

Yoshi and OCTOPATH local resources differ from the registered 1.0.1/1.0.5 builds, so those registered updates are not validated. Routes are isolated test inputs, not newly registered profiles. No full-game, later-stage, combat, audio or newer-base iOS validation is claimed.

The initial run flagged a Bayonetta screenshot difference. A targeted full repeat passed, and eight same-frame comparisons supported a timing difference during camera movement. The original report retains the initial verdict.

Bayonetta screenshot investigation

The initial numerical report remains four PASS plus Bayonetta REGRESSION (120s moving screenshot dHash13/RGB11.21). One unchanged-baseline repeat did not reproduce that alarm, so it was not used to dismiss it. A subsequent full Bayonetta pair with exact-frame screenshots PASSed (120s dHash0/RGB0.93). Eight same-frame comparisons are dHash0–3/RGB≤2.30; the unchanged baseline itself differs by dHash17/RGB10.02 between f2600 and f2620, across the scripted start of walking/camera motion. This resolves the initial wall-clock screenshot alarm as phase mismatch; the original report is preserved.

Shared validation limits remain: the Bayonetta provisional and Yoshi/OCTOPATH derived profiles say depth_mode=gl while runtime observes zero in both revisions, so their raw boot-validation column is FAIL despite reaching the scenes. Metroid emits the same documented integer vertex format 0x27-to-float CPU replay fallback RED in each revision. No profile/renderer workaround was added to hide these. These are short scene comparisons with known baseline limitations, not a clean five-game configuration pass or a performance/power benchmark.

Positive-W public fixtures do not cover W plus SPARSE, or W with nonzero D. Later SDK/NVN2 behavior and other games' actual W descriptors remain unverified.

Static impact analysis found three game manifests that use the affected NVN APIs. The manifests record API use. The affected texture descriptor values remain unverified.

Docs

  • Added “Packaged textures carry width alignment as well as height and depth” in docs/reference/rendering.md and regenerated docs/agents/symptoms.md. This does not register a new game.
  • No game files, keys, extracted SDK code, shaders, original textures, replay dumps or signing material are included in the change or attachments. Public fixtures contain synthetic descriptions and numerical expectations.
  • No front-end action or shader rebuild is required; matching shader libraries and game resources remain reusable.

…calculations

SetPackagedTextureLayout retained only byte 0 in the texture description,
dropping the packaged width-alignment nibble. A 2052x1026 ASTC6x6 card
background consequently used 86 GOB columns instead of the native 96 and
read padding as magenta texels on later block rows.

Preserve the H/D/W nibbles with the existing explicit-layout sentinel.
Use W for full tiles until the mip tail and for array-layer alignment,
without changing public flags, sparse tile reporting or object sizes.

Add synthetic W0/W4, mip-tail and array/cube regression fixtures and
reference documentation. The public positive-W cases fail on the original
implementation and pass with this correction. Full graphics, host and
texture suites pass on main 25c2546 with the correction; the SDK13 oracle
also agrees in 37,296 privately run cases. Later SDK/NVN2 versions and
cross-game gameplay remain outside that validation.
@github-actions github-actions Bot added nvn NVN on Metal and its tests (dm/gfx/nvn, dm/gfx/tests) docs Documentation labels Nov 11, 2026
@doggy
doggy marked this pull request as ready for review November 11, 2026 09:52
seedds added a commit that referenced this pull request Nov 11, 2026
…hose width is not a whole number of tiles is padded as the game laid it out: SetPackagedTextureLayout was kept only as byte 0 (block height and depth) in the texture description, and byte 1's low nibble, log2 of a width alignment in GOBs, was dropped. With it the levels at least one tile in size are padded to whole tiles, as a sparse texture's are to its 64 KB tiles, the mip tail is packed as before, and a layered texture's layers align to the whole block times that width, whether or not the texture is SPARSE. Bayonetta Origins: Cereza and the Lost Demon (0100CF5010FEC000, 1.0.0, no profile in the repository) has a 2052x1026 ASTC 6x6 tutorial-card background with byte 0 3 and width 4: 96 GOBs wide and 0x120000 bytes, laid out 86 GOBs wide (0x102000), so its rows from y 384 on read ten GOB columns of padding, all-zero blocks that ASTC decodes as magenta (a fixed 240-pixel-wide magenta rectangle). nvn_texdesc.pkg_block_h is now pkg_layout (byte 0 and the width nibble, + 1); packaged_width_log2 feeds level_walk and layer_bytes, and every row-pitch consumer (the GPU and CPU deswizzles, WriteTexels) takes it through nvn_tex_level_gobs. A layout with a width nibble of 0 is laid out exactly as before; the packaged layouts logged in nine other games' runs on disk (Metroid Dread, DKC Returns HD, Fire Emblem Engage, Super Mario RPG, TUNIC and four more, 1,086 lines) all have byte 1 = 0. Flags and the sparse tile layout the game reads are unchanged. The [nvn] packaged texture log line prints the width alignment. New reference entry (Packaged textures carry width alignment as well as height and depth). The code, diagnosis, tests and checks are PR #2268's: the fix confirmed on an iPhone on the tutorial card, the layout compared with the SDK's own arithmetic on 37,296 shapes and the game's texture replayed on the GPU (neither in the repository: they need the game's files), and regress.py check on five games (Bayonetta Origins, Yoshi's Crafted World, OCTOPATH TRAVELER, Metroid Prime Remastered, Rhythm Heaven Groove), all passing after a rerun of one moving-camera screenshot. Added here: the field's rename, the comments and the log line, the entry trimmed. Checked here on 68dde14: t_tex_layout 28 of 28 shapes (the width-4 ones fail without the fix), t_sparse_layout 28, t_nvn 304, t_partial_upload 3,585, t_tex 5,382, test_docs, lint_c.py tidy on the changed C sources (no finding above the baseline). Not run: regress.py check here (no logged layout sets the width nibble), any game. Open: a level exactly one tile high is padded (as the sparse rule does); a width nibble together with SPARSE, or with a block depth, has no test (PR #2268)

Co-authored-by: doggy <443524+doggy@users.noreply.github.com>
@seedds

seedds commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Landed on main as 47607fe, with you as co-author. Thank you for the diagnosis, the SDK comparison and the five-game regression run.

Your code and tests are unchanged. Added on top:

  • nvn_texdesc.pkg_block_h is renamed pkg_layout, since it now holds the width nibble as well as byte 0.
  • The comments that said rows are padded only in sparse textures now name the packaged width alignment too (nvn_tex.h, hle_nvn.c, nvn_deswizzle.c, nvn_tex.c).
  • The [nvn] packaged texture log line prints the width alignment.
  • The reference entry is trimmed to the project's style.

A layout whose width nibble is 0 is laid out exactly as before. The packaged layouts logged in nine other games' runs on disk all have byte 1 = 0, so no regression run was repeated here.

Open: a level exactly one tile high is padded, as the sparse rule does. A width nibble together with SPARSE, or with a block depth, has no test yet.

@seedds seedds closed this Nov 11, 2026
Amost- added a commit to Amost-/nxnative that referenced this pull request Nov 12, 2026
…at the game's 30 fps: its profile is the provisional one plus depth_mode zero and the App Store category, with no host change and no rewriter patch. PlatinumGames' engine on NVN, SDK 13.3.2 with Bayonetta 3's sdk build, modules main and sdk, Bink 2 movies played by code in main; 7,661 shaders, all from the PKZ archives Bayonetta 3's profile already reads, all built. The game sets near = 0 (nvnDeviceSetDepthMode): without the key the host found the bundled pipeline archive made for the other depth mode and built all 4,772 bases itself on the first start (156 s on an M2 Pro, main 37f076a); with it the archive's stamp matched and no prebuild ran (main 3b6b980). Checked on a MacBook Pro M2 Pro (macOS 27.2), main 8fb5ffe, chain 5ee7c6407a57, headless from an empty save: the title, the menu, New Game, the storybook prologue and Cereza moving with the left stick in the first 3D scene, frame time p50 33.3 ms, GPU p50 2.4-5.8 ms, resident 1,821-1,828 MB as the host prints it, no red line, graceful exit. Then played in a window for 36 minutes from a new game on main f75ac06 (chain 1fa63cf7c7ae, the provisional profile plus depth_mode zero, a DualSense, sound on): 30 fps in 188 of 193 timing windows, sound clean by ear with 2 underruns in 408,000 device callbacks, the controller works, one red line once, the host exited with 0. Two problems seen there, both in the note: stutter where pipelines are made at the draw (157 frames of 100 ms or more, 144 of them with new pipelines; the draws made 2,468 bases beside the 4,772 prebuilt ones), and a magenta rectangle on the Save tutorial card, the picture PR seedds#2268 reports and fixes. test_docs, test_game_profile and test_profile_guess pass, and the tool tests' one failure (test_env_switches) is main's own. Not run: the keyboard, anything past the first half hour, the iPhone. On these mains the NSP script's offline pipeline archive fails for the game (metal-tt on a main0_z entry specialized with dm_border_off, as pso_offline.py does since 511a0a2; issue seedds#2337), so the app was packed without one and the host's prebuild made the bases on the first start; the note has the details.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Amost- added a commit to Amost-/nxnative that referenced this pull request Nov 13, 2026
The note listed the Save card's magenta rectangle as open and PR seedds#2268 as
not on main. It landed as 47607fe, and a windowed run on main 0c07813
no longer shows the rectangle.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
kingbumi31 pushed a commit to kingbumi31/no-lag-kart that referenced this pull request Nov 15, 2026
…hose width is not a whole number of tiles is padded as the game laid it out: SetPackagedTextureLayout was kept only as byte 0 (block height and depth) in the texture description, and byte 1's low nibble, log2 of a width alignment in GOBs, was dropped. With it the levels at least one tile in size are padded to whole tiles, as a sparse texture's are to its 64 KB tiles, the mip tail is packed as before, and a layered texture's layers align to the whole block times that width, whether or not the texture is SPARSE. Bayonetta Origins: Cereza and the Lost Demon (0100CF5010FEC000, 1.0.0, no profile in the repository) has a 2052x1026 ASTC 6x6 tutorial-card background with byte 0 3 and width 4: 96 GOBs wide and 0x120000 bytes, laid out 86 GOBs wide (0x102000), so its rows from y 384 on read ten GOB columns of padding, all-zero blocks that ASTC decodes as magenta (a fixed 240-pixel-wide magenta rectangle). nvn_texdesc.pkg_block_h is now pkg_layout (byte 0 and the width nibble, + 1); packaged_width_log2 feeds level_walk and layer_bytes, and every row-pitch consumer (the GPU and CPU deswizzles, WriteTexels) takes it through nvn_tex_level_gobs. A layout with a width nibble of 0 is laid out exactly as before; the packaged layouts logged in nine other games' runs on disk (Metroid Dread, DKC Returns HD, Fire Emblem Engage, Super Mario RPG, TUNIC and four more, 1,086 lines) all have byte 1 = 0. Flags and the sparse tile layout the game reads are unchanged. The [nvn] packaged texture log line prints the width alignment. New reference entry (Packaged textures carry width alignment as well as height and depth). The code, diagnosis, tests and checks are PR seedds#2268's: the fix confirmed on an iPhone on the tutorial card, the layout compared with the SDK's own arithmetic on 37,296 shapes and the game's texture replayed on the GPU (neither in the repository: they need the game's files), and regress.py check on five games (Bayonetta Origins, Yoshi's Crafted World, OCTOPATH TRAVELER, Metroid Prime Remastered, Rhythm Heaven Groove), all passing after a rerun of one moving-camera screenshot. Added here: the field's rename, the comments and the log line, the entry trimmed. Checked here on 68dde14: t_tex_layout 28 of 28 shapes (the width-4 ones fail without the fix), t_sparse_layout 28, t_nvn 304, t_partial_upload 3,585, t_tex 5,382, test_docs, lint_c.py tidy on the changed C sources (no finding above the baseline). Not run: regress.py check here (no logged layout sets the width nibble), any game. Open: a level exactly one tile high is padded (as the sparse rule does); a width nibble together with SPARSE, or with a block depth, has no test (PR seedds#2268)

Co-authored-by: doggy <443524+doggy@users.noreply.github.com>
(cherry picked from commit 47607fe)
kingbumi31 pushed a commit to kingbumi31/no-lag-kart that referenced this pull request Nov 15, 2026
…hose width is not a whole number of tiles is padded as the game laid it out: SetPackagedTextureLayout was kept only as byte 0 (block height and depth) in the texture description, and byte 1's low nibble, log2 of a width alignment in GOBs, was dropped. With it the levels at least one tile in size are padded to whole tiles, as a sparse texture's are to its 64 KB tiles, the mip tail is packed as before, and a layered texture's layers align to the whole block times that width, whether or not the texture is SPARSE. Bayonetta Origins: Cereza and the Lost Demon (0100CF5010FEC000, 1.0.0, no profile in the repository) has a 2052x1026 ASTC 6x6 tutorial-card background with byte 0 3 and width 4: 96 GOBs wide and 0x120000 bytes, laid out 86 GOBs wide (0x102000), so its rows from y 384 on read ten GOB columns of padding, all-zero blocks that ASTC decodes as magenta (a fixed 240-pixel-wide magenta rectangle). nvn_texdesc.pkg_block_h is now pkg_layout (byte 0 and the width nibble, + 1); packaged_width_log2 feeds level_walk and layer_bytes, and every row-pitch consumer (the GPU and CPU deswizzles, WriteTexels) takes it through nvn_tex_level_gobs. A layout with a width nibble of 0 is laid out exactly as before; the packaged layouts logged in nine other games' runs on disk (Metroid Dread, DKC Returns HD, Fire Emblem Engage, Super Mario RPG, TUNIC and four more, 1,086 lines) all have byte 1 = 0. Flags and the sparse tile layout the game reads are unchanged. The [nvn] packaged texture log line prints the width alignment. New reference entry (Packaged textures carry width alignment as well as height and depth). The code, diagnosis, tests and checks are PR seedds#2268's: the fix confirmed on an iPhone on the tutorial card, the layout compared with the SDK's own arithmetic on 37,296 shapes and the game's texture replayed on the GPU (neither in the repository: they need the game's files), and regress.py check on five games (Bayonetta Origins, Yoshi's Crafted World, OCTOPATH TRAVELER, Metroid Prime Remastered, Rhythm Heaven Groove), all passing after a rerun of one moving-camera screenshot. Added here: the field's rename, the comments and the log line, the entry trimmed. Checked here on 68dde14: t_tex_layout 28 of 28 shapes (the width-4 ones fail without the fix), t_sparse_layout 28, t_nvn 304, t_partial_upload 3,585, t_tex 5,382, test_docs, lint_c.py tidy on the changed C sources (no finding above the baseline). Not run: regress.py check here (no logged layout sets the width nibble), any game. Open: a level exactly one tile high is padded (as the sparse rule does); a width nibble together with SPARSE, or with a block depth, has no test (PR seedds#2268)

Co-authored-by: doggy <443524+doggy@users.noreply.github.com>
(cherry picked from commit 47607fe)
kingbumi31 pushed a commit to kingbumi31/no-lag-kart that referenced this pull request Nov 15, 2026
…hose width is not a whole number of tiles is padded as the game laid it out: SetPackagedTextureLayout was kept only as byte 0 (block height and depth) in the texture description, and byte 1's low nibble, log2 of a width alignment in GOBs, was dropped. With it the levels at least one tile in size are padded to whole tiles, as a sparse texture's are to its 64 KB tiles, the mip tail is packed as before, and a layered texture's layers align to the whole block times that width, whether or not the texture is SPARSE. Bayonetta Origins: Cereza and the Lost Demon (0100CF5010FEC000, 1.0.0, no profile in the repository) has a 2052x1026 ASTC 6x6 tutorial-card background with byte 0 3 and width 4: 96 GOBs wide and 0x120000 bytes, laid out 86 GOBs wide (0x102000), so its rows from y 384 on read ten GOB columns of padding, all-zero blocks that ASTC decodes as magenta (a fixed 240-pixel-wide magenta rectangle). nvn_texdesc.pkg_block_h is now pkg_layout (byte 0 and the width nibble, + 1); packaged_width_log2 feeds level_walk and layer_bytes, and every row-pitch consumer (the GPU and CPU deswizzles, WriteTexels) takes it through nvn_tex_level_gobs. A layout with a width nibble of 0 is laid out exactly as before; the packaged layouts logged in nine other games' runs on disk (Metroid Dread, DKC Returns HD, Fire Emblem Engage, Super Mario RPG, TUNIC and four more, 1,086 lines) all have byte 1 = 0. Flags and the sparse tile layout the game reads are unchanged. The [nvn] packaged texture log line prints the width alignment. New reference entry (Packaged textures carry width alignment as well as height and depth). The code, diagnosis, tests and checks are PR seedds#2268's: the fix confirmed on an iPhone on the tutorial card, the layout compared with the SDK's own arithmetic on 37,296 shapes and the game's texture replayed on the GPU (neither in the repository: they need the game's files), and regress.py check on five games (Bayonetta Origins, Yoshi's Crafted World, OCTOPATH TRAVELER, Metroid Prime Remastered, Rhythm Heaven Groove), all passing after a rerun of one moving-camera screenshot. Added here: the field's rename, the comments and the log line, the entry trimmed. Checked here on 68dde14: t_tex_layout 28 of 28 shapes (the width-4 ones fail without the fix), t_sparse_layout 28, t_nvn 304, t_partial_upload 3,585, t_tex 5,382, test_docs, lint_c.py tidy on the changed C sources (no finding above the baseline). Not run: regress.py check here (no logged layout sets the width nibble), any game. Open: a level exactly one tile high is padded (as the sparse rule does); a width nibble together with SPARSE, or with a block depth, has no test (PR seedds#2268)

Co-authored-by: doggy <443524+doggy@users.noreply.github.com>
(cherry picked from commit 47607fe)
Amost- added a commit to Amost-/nxnative that referenced this pull request Nov 25, 2026
…at the game's 30 fps: its profile is the provisional one plus depth_mode zero and the App Store category, with no host change and no rewriter patch. PlatinumGames' engine on NVN, SDK 13.3.2 with Bayonetta 3's sdk build, modules main and sdk, Bink 2 movies played by code in main; 7,661 shaders, all from the PKZ archives Bayonetta 3's profile already reads, all built. The game sets near = 0 (nvnDeviceSetDepthMode): without the key the host found the bundled pipeline archive made for the other depth mode and built all 4,772 bases itself on the first start (156 s on an M2 Pro, main 37f076a); with it the archive's stamp matched and no prebuild ran (main 3b6b980). Checked on a MacBook Pro M2 Pro (macOS 27.2), main 8fb5ffe, chain 5ee7c6407a57, headless from an empty save: the title, the menu, New Game, the storybook prologue and Cereza moving with the left stick in the first 3D scene, frame time p50 33.3 ms, GPU p50 2.4-5.8 ms, resident 1,821-1,828 MB as the host prints it, no red line, graceful exit. Then played in a window for 36 minutes from a new game on main f75ac06 (chain 1fa63cf7c7ae, the provisional profile plus depth_mode zero, a DualSense, sound on): 30 fps in 188 of 193 timing windows, sound clean by ear with 2 underruns in 408,000 device callbacks, the controller works, one red line once, the host exited with 0. Two problems seen there, both in the note: stutter where pipelines are made at the draw (157 frames of 100 ms or more, 144 of them with new pipelines; the draws made 2,468 bases beside the 4,772 prebuilt ones), and a magenta rectangle on the Save tutorial card, the picture PR seedds#2268 reports and fixes. test_docs, test_game_profile and test_profile_guess pass, and the tool tests' one failure (test_env_switches) is main's own. Not run: the keyboard, anything past the first half hour, the iPhone. On these mains the NSP script's offline pipeline archive fails for the game (metal-tt on a main0_z entry specialized with dm_border_off, as pso_offline.py does since 511a0a2; issue seedds#2337), so the app was packed without one and the host's prebuild made the bases on the first start; the note has the details.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Amost- added a commit to Amost-/nxnative that referenced this pull request Nov 25, 2026
The note listed the Save card's magenta rectangle as open and PR seedds#2268 as
not on main. It landed as 47607fe, and a windowed run on main 0c07813
no longer shows the rectangle.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation nvn NVN on Metal and its tests (dm/gfx/nvn, dm/gfx/tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants