Repository navigation
Conversation
…nhancement, shown for games with an nn::movie NDVE network) leaves out the network a movie frame runs between the decoder and the screen and draws its input into its output; Ocarina of Time's title and opening movies spent 60-70 ms a frame in it on an M1 and played at about 13 of their 24 fps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k out (PR seedds#1953), ahead of the host's engine Applied from seedds/nxnative PR seedds#1953 (head e9987cc), which predates the host's NDVE engine (c66a36a): the switch is asked first, and with the enhancement off the engine is not asked at all. Not yet run on a device. Co-authored-by: AdyaGMD <114347520+AdyaGMD@users.noreply.github.com>
|
I ran this on an iPhone Duo (iPhone19,4, iOS 27.3 beta), merged onto main 04811a6, through Ocarina of Time's opening movie from a new game. The phone was at thermal state 2 for most of each run. With the network on, the frame time was about 30 ms (GPU p50 28.6 ms, about 31 fps). With One merge note: on main the host's NDVE engine dispatch now sits in front of the movie network check in |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ngine's resampler runs alone Since the NDVE engine (nn::ndve's network as the host's kernels) came to main, it took the network's dispatches before movie_net_dispatch could leave them out, so with DM_MOVIE_ENHANCE=0 the whole network still ran. The engine now steps aside when the enhancement is off, and only its resampler takes the game's 4f41ccf2 (ndve_resample_alone), on the picture as decoded: the game's translated resampler took 24 ms of the frame. Ocarina of Time's opening movie on an M1 (8-core GPU), DM_FPS_TARGET=60: 27 ms of GPU a movie frame -> 7 ms, 60 fps held, the movie at its speed (16 s of stream time in 16 s). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @AdyaGMD for tracing Ocarina of Time's NDVE movie slowdown on M1, and thanks @oliverames for the iPhone Duo check. We are closing this PR because |
What and why
Ocarina of Time's title and opening movies (
Movie/Ndve/…, nn::movie's NDVE file) run compute shaders between the decoder and the screen:On an M1 that network took 60–70 ms of GPU a frame (Metal System Trace), so the movies played at about 13 of their 24 fps.
This change:
DM_MOVIE_ENHANCE, default on). The launcher shows it for games whose shader map has NDVE-tagged shaders (DM_GAME_MOVIE_NET_KEYS).Checked
0400486024DEC000v131072, Mac app, M1, macOS 26, with Movie enhancement off in the launcher.movie enhancement (DM_MOVIE_ENHANCE): off, the movie network's 20 shaders are left out, eighta step, left outlines,its last step, replaced by a draw of its input.test_game_profile.pygainsMovieNetKeys. Not run locally; CI runs the tool tests.Docs
docs/settings.md(new section),docs/env_switches.tsv,dm/games/settings.tsvThis touches
dm/games/game.pyandtest_game_profile.pynext to the MetalFX chain PR. Whichever lands second needs a small rebase.🤖 Generated with Claude Code