Skip to content

Eglantine nx2 build 64 (b7575b0)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Oct 10:23

Important

Due to some regression since build 47, some users might crash immediately when launching their games.

If that's the case, try running the game like this:

  • Windows set EDEN_NX2_SPARSE_LAZY=0 && eglantine.exe
  • Linux EDEN_NX2_SPARSE_LAZY=0 eglantine

What this build fixes

  • A game stopped without destroying its sparse regions broke the next one (b7575b0): which blocks of each sparse region were written is global state, so the next game in the same window could find an image "unwritten" and create it with no memory. The regions are cleared now, where nvdrv already resets the other Switch 2 globals.
  • AMD: green and blue patches near glowing objects (bb35360): shader db53d1b677b08648 exits early (@!P0 EXIT) without writing its colour — NVIDIA reads 0 there, AMD's OpUndef returns whatever the register held. Registers read before any write now emit zero instead of OpUndef; EDEN_NX2_UNDEF_ZERO=0 restores the old behaviour.
  • Shader builds leaked memory (59047f0): Chunk::Release destroyed the Storage union elements, whose destructor is empty, so pooled objects were never destroyed and every shader build leaked what IR instructions own (phi operand lists, associated instructions). Each used object is now destroyed; blocks are released first, so a block's instruction list only unlinks live ones.
  • The license section names the project correctly now.

Automatic build of nx2 at b7575b0.

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).