Skip to content

Eglantine nx2 build 74 (ee2d55e)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Oct 15:52
ee2d55e

What this build fixes

Switch 2: Pokopia now boots past audio init (#77)

  • SetHeapSize rejected every heap of 8 GiB or more (Switch 1's MainMemorySizeMax), so Switch 2 titles that size their heap from the 12 GiB layout got ResultInvalidSize and aborted with 2001-0101 (Pokopia asks for 9.5 GiB). The limit now follows the memory the active memory layout actually provides, and the 39-bit heap region was grown from 8 GiB to 16 GiB so a heap that large fits.
  • aud:u command 1 now returns an IAudioOutManager instead of the empty auto-stub. nn::audio::OpenAudioOut fetches its manager from that command, so Pokopia jumped through a null vtable about five seconds into boot and never got past its first frame.
  • stpl:u is no longer handled by the generic missing-service stub: a dedicated stream-play service returns the user session and the system event that nn::streamplay expects, fixing the null dereference that hit right after audio setup.

Crashes and stability

  • The game list worker is no longer destroyed while it is still processing events. OnPopulatingCompleted runs a nested event loop from inside GameListWorker::ProcessEvents, so a directory-watcher repopulate in that window freed the worker and the next lock hit a freed mutex. The worker is now stopped synchronously and freed with deleteLater.
  • Game list reloads from the directory watcher are deferred while a game is running. Repopulating rebuilds the content providers the running title reads from, which segfaulted in ContentProviderUnion::GetEntry. Stopping emulation still repopulates the list.

Also included: vulkan-utility-libraries added to the Homebrew dependency list in docs/Deps.md (#104).


Automatic build of nx2 at ee2d55e.

Windows: extract the zip and run eglantine.exe, or eden-cli.exe from a terminal.
Linux: make the AppImage executable (chmod +x) and run it; it bundles its libraries and needs glibc 2.39 or newer (Ubuntu 24.04, Fedora 40, Debian 13, Arch).
The -pgo builds are the same programs compiled with profile-guided optimization (clang plus Eden's profile); prefer them when your CPU supports it. The Windows PGO build is a MinGW build, so it carries its own DLLs and needs no Visual C++ redistributable.