Skip to content

Zakantine v3

Choose a tag to compare

@kanade333 kanade333 released this 06 Nov 19:19
· 469 commits to nx2 since this release

Zakantine v3

A fork of Lichii (Frizti), itself based on Eglantine and Eden. v3 adds stability and correctness fixes on top of v2. Every v2 performance gain is still included (see the v2 release notes).

What's new in v3

Stability and correctness

  • Lost-wake fix in the thread worker, ported from Lichii zortos293#290 by zortos293. A worker could miss a wake-up signal and stall until something else woke it.
  • Compute write ordering, SSBO split, and a memory barrier in WaitForIdle, ported from Lichii zortos293#295 by zortos293. GPU compute writes are now correctly ordered and made visible before later reads.
  • Host-read visibility barrier for buffer downloads, adapted from zortos293's work. Waiting for the GPU was not enough for the CPU to see its writes, so Vulkan now gets a MEMORY_WRITE → HOST_READ barrier before every host read of downloaded buffers (5 synchronous sites plus the async download path).
  • Atomic pipeline cache copy: the pipeline cache is copied to a .migrating file and then renamed into place, so a crash during the copy can no longer leave a half-written cache.

Performance and options

  • Thread pinning on any CPU with more than 4 cores. v2 only pinned on 12+ core CPUs; that limit is gone. The GPU front, GPU back, core timing and Vulkan worker threads each get their own physical core on the fastest cache cluster. To turn pinning off (for example on a small or heavily loaded CPU), set EDEN_NX2_PIN_THREADS=0.
  • Opt-in async discard, ported from Lichii zortos293#224 by Bruno Silvestre. It is off by default; set EDEN_NX2_ASYNC_DISCARD=1 to try it.

Measurements

No dedicated v2-vs-v3 FPS benchmark was run for this release, because v3 focuses on correctness. The measured v2 gains still apply, measured in Ocarina of Time, Hyrule Castle Town, on a Ryzen 9 9950X with an RTX 5080:

  • +5% vs pure Frizti v2 (44.6 → 46.9 FPS).
  • +21% from the per-page continuous-range memo.
  • +5.5% from thread pinning.
  • −49% stutters from the pipeline eviction cap.

Defaults

These defaults are unchanged from v2: GPU accuracy Fast, asynchronous presentation on, asynchronous shaders on, and GPU unswizzle on.

Install

  1. Extract the zip.
  2. Run vc_redist.x64.exe if needed.
  3. Launch zakantine.exe.

User data stays in %APPDATA%\eden, as in v2. No games, keys, firmware or saves are included: you must dump them from your own console.

Credits

Frizti (Lichii), zortos293, Bruno Silvestre, the Eglantine and Eden projects, and the yuzu team. Licensed under GPL-3.0.