Skip to content

Dozer 0.1.6

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 02:51
a18e612

Dozer 0.1.6 cuts the freezes on new scenery while shaders compile and takes a lot of waiting off the GPU thread. It also adds a Foliage off option for Donkey Kong Bananza.

What's new

  • Fewer shader freezes. A draw or compute dispatch no longer waits in full for a pipeline that is still compiling. It waits up to 8 ms per frame in all, then is skipped and catches up once the pipeline is built. Draws are skipped only where the last frame's result is left on screen, never garbage; everything else still waits. EDEN_NX2_ASYNC_DRAW_WAIT_MS sets the budget. EDEN_NX2_ASYNC_SKIP=0 waits in full as before. The pipeline cache is now saved to a temporary file first, so a crash while saving keeps the old cache.
  • Less waiting on the GPU thread. Semaphore waits are checked without first flushing all the GPU thread's queued work. In a capture of Mario Kart World, the GPU thread spent about 40% of its time in those flushes. EDEN_NX2_ACQUIRE_NODRAIN=0 turns it off. Ported from Lichii, along with its CPU-side work: guest cores idle with less overhead, and the GPU and fencing threads are woken instead of polling. The buffer and texture caches also take fewer locks and do less tracking. Each change has its own EDEN_NX2_* switch listed in CHANGELOG_DOZER.md.
  • Faster CPU emulation. Ported from Lichii, the dynarmic JIT compiles code faster and emits better x86-64 code. This is on for every CPU accuracy except Paranoid. Blocks using SM4 instructions no longer fail to compile when Dozer is loaded above 4 GiB.
  • Donkey Kong Bananza: Foliage off. A new Foliage off box sits under Dynamic frame rate in the game's Properties > Tuning (EDEN_NX2_DK_FOLIAGE_OFF=1). It turns off grass, flowers and plants in memory as the game loads, without writing to disk. The Performance and Experimental presets and launchers tick it. Balanced and Safe leave the foliage on.
  • Donkey Kong Bananza: tutorial panel fixed. The tutorial panel no longer shows garbage.
  • Mario Kart World: water. The water wave stays at zero where the game reads no ground height, instead of using heights that were never set. The water collision map is now read back without making the GPU go idle.
  • Smaller per-draw costs. Draw setup does fewer lookups, and ASTC opacity checks are cheaper.

The full list is in CHANGELOG_DOZER.md.

Downloads

  • Windows (x86_64): Dozer-0.1.6-windows-x86_64.zip. Unzip into a new, empty folder and run dozer.exe (menu program) or one of the start-*.bat launchers (dozer-cli.exe). Settings stay in the user folder next to it.
  • Linux (x86_64): Dozer-0.1.6-linux-x86_64.AppImage.
  • macOS (Apple Silicon): experimental and never run, so it may not work.
  • SHA256SUMS.txt has checksums for the files.

Recommendations

  • Use .nx instead of .nup. It usually stutters less. Right-click a game in the list and choose Convert to NX.... Dozer also offers to convert a .nup the first time you start it.
  • Pick a preset per game. Balanced draws foliage and is what Mario Kart World needs. Performance gives the most speed but doesn't draw foliage; in Donkey Kong Bananza it now also ticks Foliage off. Change the global preset under Emulation > Configure... > Tuning, or one game's preset under that game's Properties > Tuning.
  • If your system is struggling, try handheld mode. It trades resolution for performance. It made little difference on the maintainer's machine, so it mainly helps weaker systems.
  • Keep asynchronous presentation and asynchronous shader compilation on (Graphics > Extras). Both are on by default. Translating pipelines on worker threads keeps the game thread from stalling on shader builds.
  • Keep ASTC Recompression Method on BC3 (the default; Graphics > Advanced) and VRAM Usage Mode on Conservative (the default). These games stream a lot of ASTC texture data, and stored uncompressed it fills VRAM even on a 16 GB card, so the texture cache keeps evicting and decoding textures again, which shows as stutter every few seconds. BC3 stores them about four times smaller (opaque ones as BC1, about eight times) at a small loss in texture quality. If you have plenty of VRAM and want the best quality, set it to Uncompressed. If you are still short of VRAM and stutter, try BC1: it makes every texture BC1, including the ones with transparency, so foliage and effects may lose their alpha. Not tested yet.

Report problems at https://github.com/Mvii7/Dozer/issues.