Repository navigation
Conversation
Since Eglantine-Community#794 Switch 2 titles read storage with no throttle, and Hyrule Warriors: Age of Imprisonment no longer boots: ~8 s in it follows null and wild pointers (Unmapped Write32/64 @ 0x0-0x34, then SparseLargeVector faults and endless Unmapped Read64 @ 0xff..fbb8) and stays on its first loading screen. 6/6 hidden eden-cli boots failed on f677ed8, and EDEN_NX2_FS_READ_MBPS restores it: 100 and 200 MB/s boot (9/9), 300 and 400 MB/s do not. Reverting all of Eglantine-Community#794 fixes it too; its CPU-side changes alone (Dynarmic, JIT glue, timing, thread placement, settings) and EDEN_NX2_PERF_OPT=0 / EDEN_NX2_PRESENT_QUEUE=0 / EDEN_NX2_INLINE_CNTPCT=0 do not matter. 100 MB/s keeps what Eglantine-Community#794 wanted for Ocarina of Time's opening video: over 90 s of the title movie the decoder dropped 284 late frames at 100 MB/s, 262 with no throttle and 376 at the old 40 MB/s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Since #794, Hyrule Warriors: Age of Imprisonment no longer boots. About 8 s in, it starts writing through null pointers (
Unmapped Write32/64 @ 0x0–0x34). Then comeSparseLargeVectorfaults and endlessUnmapped Read64 @ 0xfffffffffffffbb8, and the game sits on its first loading screen forever.Cause
#794 removed the storage read throttle for Switch 2 titles (
fs_i_storage.cpp), so every read completes with no delay at all. Hyrule doesn't survive that.How it was narrowed down, using
eden-cliboots of a new game:df2989c794(just before #794)f677ed8323(#794 merged)f677ed8323with #794 revertedf677ed8323+EDEN_NX2_PERF_OPT=0,EDEN_NX2_PRESENT_QUEUE=0orEDEN_NX2_INLINE_CNTPCT=0f677ed8323+EDEN_NX2_FS_READ_MBPS=40,100or200f677ed8323+EDEN_NX2_FS_READ_MBPS=300or400Fix
Switch 2 titles get a 100 MB/s default instead of no throttle.
EDEN_NX2_FS_READ_MBPSstill overrides it, and0still turns it off.The 100 MB/s value keeps what #794 wanted for Ocarina of Time's opening video. Late frames the video decoder dropped over 90 s of the title movie:
Testing
Assisted By: Claude Opus 5.5