Skip to content

Dozer 0.1.4

Choose a tag to compare

@github-actions github-actions released this 16 Nov 23:38
44c4d7d

Dozer 0.1.4 cuts the stalls Mario Kart World had while streaming course textures, and trims the work Donkey Kong Bananza makes the GPU thread do each frame. It also adds room support for local wireless games.

What's new

  • Mario Kart World: smoother texture streaming. The game copies course textures during loads and races, and each copy could stall the GPU thread for 10-100 ms. The copies now touch only the rows they need, move whole blocks of memory instead of re-tiling them pixel by pixel, and large ones run on a worker thread. If you see texture problems, EDEN_NX2_ASYNC_BLIT=0 turns the worker off.
  • Mario Kart World: fewer hitches when new textures arrive. The memory used to decode ASTC textures is now reused instead of rebuilt for every texture. The opaque-ASTC-to-BC1 option is now on by default only when your GPU has less than 12 GiB of memory, because finding the opaque textures cost about 180 ms in one frame. With more memory, BC3 for everything fits. EDEN_NX2_ASTC_BC1=1 forces it on and =0 forces it off.
  • Donkey Kong Bananza: less GPU work per frame. A fence no longer sends a second, empty command buffer, which was about half of the game's submissions. Runs of 3D state changes are sent in one call. The buffer cache reads the GPU fence setting once per frame instead of on every call. There is no visible change in play.
  • Rooms can act as the LAN for local wireless games. Joins now wait for the host's reply, room packets are received and decompressed more safely, and sockets are closed once and survive a concurrent close. This was ported from Eglantine and has not been tested.

The full list is in CHANGELOG_DOZER.md.

Downloads

  • Windows (x86_64): Dozer-0.1.4-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.4-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. 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.