Skip to content

Eglantine nx2 build 202 (8615d8d)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Nov 03:51
8615d8d

What's changed

The Hyrule Warriors: Age of Imprisonment fix set, batched Vulkan submissions, a large batch of shader-recompiler lowerings, and the six-axis / Mii BuildRandom fixes ported from nx2-experimental.

  • Hyrule Warriors: Age of Imprisonment plays through its fights (#494) — command lists keep their submit-time copy across semaphore waits (dma_pusher), each pending fence download tracks its own ranges, GPU-written bytes on a page are downloaded before a CPU write claims it, draws with a garbage vertex or index count are skipped instead of losing the device, and an unmapped texture buffer gets a placeholder instead of aborting.
  • Faster fights on the split GPU thread (#494) — fences, command-list copies after compute dispatches and FlushCommands are batched within 500 µs (EDEN_NX2_FENCE_FLUSH_US), and a thread that needs a batched submission asks the GPU back thread for it. Queue submissions in Hyrule fights drop from ~22,000/s to ~1,100/s, and heavy stretches go from a 31–37 fps median to 46–49.
  • Shader recompiler (#494) — new lowerings for guarded USHF/UIADD3, LEA.HI with a constant, G+B TLD, 8/16-bit LDL/STL, STS with a uniform base, UMOV into any uniform register, UISETP with an accumulate predicate, FSETP with a uniform operand, I2F from signed 8/16-bit sources, IMNMX with an immediate wider than 20 bits and SHF.L.U32.HI without .W; plus more Switch 2 conversion/load forms and all generic attribute components.
  • AMD / RADV crash fix — pipeline creation no longer assumes VK_EXT_mesh_shader exists, which fixes crashes on RADV.
  • Donkey Kong Bananza — the terrain fixes and HMMA emulation are enabled by default again, and more of the game's indirect and native geometry forms are translated.
  • Mii — BuildRandom reads age, gender and race as 32-bit words and picks from the random table in the right order (#495).
  • HID — the six-axis IC information reports non-zero sensor ranges, so motion controllers are described correctly (#495).
  • Frontend stability — the game list stays disabled during the startup scan, and directory iteration no longer uses the throwing overloads, removing a class of scan crashes.

Changes since build-196 (0d86405…8615d8d), full compare.

All commits in this build
  • 8615d8d53e Merge pull request #494 from rdenno/pr/nx2-merged
  • 17ef7b09ea video_core: Rename shadowing geometry local in shader environment
  • 55274de6af vk_scheduler: keep waiting for a deferred submission instead of giving up
  • fc1c8fedff Merge pull request #495 from Djihads80/port/rdenno-296-297
  • e6a899a9c7 mii: Fix random table index order in BuildRandom
  • 512536d916 Address CodeRabbit review on the Hyrule Warriors fixes
  • 55cb3155ef Merge branch 'nx2' of github.com:Djihads80/Eglantine into nx2
  • c1c2a0a220 mii: read BuildRandom's age, gender and race as 32-bit words
  • e7fe1ddba5 hid: report non-zero sensor ranges in the six-axis IC information
  • 04727488a8 Merge nx2 into pr/nx2-merged
  • c5164776a3 Merge pull request #363 from Djihads80/exp/dkb-ground-fps-20261102
  • a2a398b5b5 tests: give the Mario Tennis Fever I2F case its own name
  • b01dba53e3 Merge nx2 into the Donkey Kong Bananza terrain fixes
  • b00481fcc6 renderer_vulkan: handle absence of VK_EXT_mesh_shader in pipeline creation (should fix crashes on RADV AMD GPUs)
  • cdb9172c27 Keep this PR to the Hyrule Warriors fixes
  • dd8b26a608 release-binaries: keep upstream's workflow on the PR branch
  • 1ab5f48bee Merge remote-tracking branch 'origin/nx2' into nx2-merged
  • c50fed12c1 Merge branch 'fix/nx2-command-snapshots' into nx2-merged
  • 9fea7d8379 dma_pusher: keep command list snapshots across semaphore waits
  • 5f0f96f6ed Merge branch 'fix/vk-batch-fence-flushes' into nx2-merged
  • 313463cd27 vk_scheduler: also batch command list copies and FlushCommands
  • 86aa9bde70 Merge branch 'fix/vk-batch-fence-flushes' into nx2-merged
  • 660e5f0039 vk_scheduler: batch fence submissions on the split GPU thread
  • 044bb10c45 nx2: enable the DK Bananza terrain fixes by default
  • 13e8298d82 nx2: emulate HMMA by default
  • 13767709db release-binaries: drop the macOS row from the notes; skip the Discord ping without a webhook
  • 75221d6932 Merge branch 'fix/buffer-stale-async-download' into test/hyrule-buffer-fixes2
  • 15126fbdc1 buffer_cache: track the ranges of each pending fence download separately
  • b7ef921c61 Merge branch 'fix/buffer-partial-page-cpu-write' into test/hyrule-buffer-fixes
  • 13f12cb90f Merge branch 'fix/split-first-gpu-written-args' into test/hyrule-buffer-fixes
  • 516858197a Merge branch 'fix/vk-skip-garbage-draw-counts' into test/hyrule-buffer-fixes
  • fc517e328e Merge branch 'fix/shader-shf-left-clamp' into test/hyrule-buffer-fixes
  • 982cab9b19 Merge branch 'fix/shader-uniform-sts-umov' into test/hyrule-buffer-fixes
  • a10e013d3c Merge branch 'fix/hw-scene-forms' into test/hyrule-buffer-fixes
  • d129f419b7 Merge remote-tracking branch 'origin/nx2' into test/hyrule-buffer-fixes
  • b13c4c1c0c buffer_cache: download GPU-written bytes on a page before a CPU write claims it
  • 9e330271ef video_core: wait for queued GPU writers before reading small entries on unmarked pages
  • b3c25ae85c Merge latest nx2 and refine Donkey Kong fixes
  • 55ad1b3279 diagnostics: measure indirect reset cost
  • 7abf1f9546 experiment: emulate indirect record reset shader
  • bcf8471dc5 shader: recognize all generic attribute components
  • c31a22ebe6 experiment: translate native geometry shader forms
  • 60bc4fa0c3 shader: support additional Switch 2 conversion and load forms
  • 461015ea5f shader: distinguish loaded pointers and NVN buffer slots
  • e2b4ab1b6f shader: lower UMOV URd, URs into any uniform register
  • 66d05284d9 shader: lower STS with a uniform base and UMOV into any uniform register
  • e4422115d6 shader: lower more forms Hyrule Warriors uses entering new areas
  • 92a1a0f703 vk_rasterizer: skip draws with a garbage vertex or index count
  • f06a81e329 release-binaries: drop the macOS build
  • 2de5ad950b release-binaries: publish what built when a platform fails
  • 85ec271c1a shader: lower SHF.L.U32.HI with an immediate high word without .W
  • 93006bcb6b Merge branch 'fix/shader-imnmx-wide-immediate' into nx2-merged
  • 225c1e290d Merge branch 'fix/texel-buffer-unmapped' into nx2-merged
  • 5300e75c0a Merge branch 'fix/hw-compute-lowering' into nx2-merged
  • 6a7a7c04f9 Merge remote-tracking branch 'origin/nx2' into nx2-merged
  • 915a30b77e shader: lower IMNMX with an immediate wider than 20 bits
  • 9598eadeb4 shader: lower guarded UIADD3 and 8/16-bit local loads and stores
  • 85ade4ba0e vk_buffer_cache: don't abort on an unmapped texture buffer
  • 855559a68e shader: lower guarded USHF, LEA.HI with a constant and G+B TLD
  • cd082124dc Merge remote-tracking branch 'fork/save-uid-align' into nx2-merged
  • 4ef0c736e2 Merge remote-tracking branch 'fork/pokopia-shaders' into nx2-merged
  • 58a98d6ddd Merge remote-tracking branch 'fork/fix/gamelist-scan-crashes' into nx2-merged
  • 9468a0beac Merge branch 'fix/hw-shader-lowering' into nx2
  • 491453e28b Merge remote-tracking branch 'fork/fix/mii-build-random-args' into nx2-merged
  • 52c6cbd5e9 Merge remote-tracking branch 'fork/fix/hid-sixaxis-ic-info' into nx2-merged
  • f4addaf6ef Merge remote-tracking branch 'fork/fix/texture-x8z24-components' into nx2-merged
  • 5daec6b8be Merge remote-tracking branch 'fork/fix/shader-i2f-signed' into nx2-merged
  • eb9e13abd3 Merge remote-tracking branch 'fork/fix/vk-framebuffer-layers' into nx2-merged
  • 4f86156a9b Merge remote-tracking branch 'fork/fix/nx2-hle-ipc-hold' into nx2-merged
  • 1d577141a7 Merge pull request #1 from Djihads80/nx2-experimental
  • cd9daa8d00 shader: lower I2F from signed 8- and 16-bit sources
  • 3d98eed7e6 mii: read BuildRandom's age, gender and race as 32-bit words
  • 7c36bf54bf hid: report non-zero sensor ranges in the six-axis IC information
  • 13eb28fd7a game_list: keep the list disabled during the startup scan
  • bf916f5411 fs: iterate directories without the throwing overloads
  • 9b130d4812 shader_recompiler: lower UISETP with an accumulate predicate and FSETP with a uniform operand

Automatic build of nx2 at 8615d8d.

Linux

Linux packages come as an AppImage (self-contained, needs glibc 2.39 or newer: Ubuntu 24.04, Fedora 40, Debian 13, Arch) and a tar.gz (uses your system libraries, so Qt 6 and the usual libraries must be installed).

Build Type Standard PGO (Recommended) Notes
amd64 AppImage · tar.gz AppImage · tar.gz Make the AppImage executable (chmod +x) and run it
ARM (aarch64) AppImage · tar.gz AppImage · tar.gz

Windows

Windows packages are in-place zip files: extract and run eglantine.exe, or eden-cli.exe from a terminal.

Build Type Standard PGO (Recommended) Notes
amd64 / x86_64 (MSVC) MSVC zip Use if you run into graphical issues on other builds
amd64 / x86_64 (MinGW) PGO zip Built with MinGW clang; bundles its own DLLs, no Visual C++ redistributable needed

macOS

Build Type Standard PGO (Recommended) Notes
arm64 (Apple Silicon) zip macOS 15 or newer. Not notarized: right-click and choose Open the first time, or run xattr -dr com.apple.quarantine eglantine.app. eden-cli is inside the app, in Contents/MacOS

The PGO builds are the same programs compiled with profile-guided optimization (clang plus Eglantine's profile); prefer them when your CPU supports it.