Progress Report April 2020
Written by GoldenX86 on May 28 2020

Hello awesome yuz-ers! We hope you are all doing well. We have lots of material to cover in this April progress report: some new additions, bug and regression fixes, and the groundwork for future improvements that affect both Mainline and Early Access. But first, let’s discuss a few really big changes.

The Big Changes

This month brought us huge improvements to compatibility, fidelity and resource management. Our master of serendipity, bunnei, fixed a softlock in FINAL FANTASY VIII Remastered. What he didn’t know at the time is that this small fix also made Super Smash Bros. Ultimate playable. Thanks to this, you can now enjoy local multiplayer battles with your friends, either locally or even via Parsec!

For quite a while, Nvidia Turing users (GTX 16 series and RTX 20 series GPUs) had to deal with several rendering bugs, like black and white terrain in Fire Emblem: Three Houses, or black areas in Super Monkey Ball: Banana Blitz HD. Rodrigo fixed most of them by improving the accuracy of the shader decoder. This also fixes some bugs on older Nvidia GPUs too.

Monochrome no more (Fire Emblem: Three Houses)

No greasy black peels (Super Monkey Ball: Banana Blitz HD)

Speaking of shader decoding accuracy, Rodrigo improved the precision of the HADD2 and HMUL2 instructions, fixing some long standing bugs like the fog in Fire Emblem: Three Houses and the excessive brightness in most maps in Super Smash Bros. Ultimate.

You can now take off your sunglasses (Super Smash Bros. Ultimate)

From steampunk, to the proper medieval fantasy setting (Fire Emblem: Three Houses)

We talked about this in its own article, but it deserves a mention here: bunnei rewrote the Virtual Memory Manager (known internally as Project Epimetheus), which drastically reduced the amount of RAM games use, and helped Multicore support (also known asProject Prometheus) become a reality.

One of the features in yuzu, and a common one in other emulators, is the ability to separate the rendering thread from the main emulation thread. This makes better use of the CPU’s resources, while also helping deliver better performance. That is exactly what Asynchronous GPU does in yuzu. Thanks to Blinkhawk, our Emulated GPU improved drastically, achieving better performance, stability, and accuracy. These changes introduce the option to adjust the GPU accuracy level while playing.

 Performance may be reduced with more accurate levels

Performance may be reduced with more accurate levels

Normal accuracy (left) and High accuracy (right) (Super Mario Odyssey)

One Line to Fix ’em All

Toki Tori had sound problems that were related to a floating point instruction, and while investigating the issue, Merry and bunnei were worried that it may be a problem in Dynarmic, our ARM to x64 recompiler. It turns out the problem was just a bad default value in yuzu’s Dynarmic configuration. Remember what we said about bunnei and serendipity? With a simple one line change, a plethora of bugs were resolved! A special mention goes to Pokémon Sword/Shield, as that single line fixed the softlock that plagued us for months and made the game fully playable!

Here’s only a partial list of fixes:

  • Pokémon Sword/Shield - All softlocks fixed, running in tall grass fixed, hair salons fixed
  • The Legend of Zelda: Link’s Awakening - Miniature placing fixed
  • Toki Tori, Final Fantasy 7, Diablo 3, Project DIVA MegaMix - Distorted audio fixed
  • Team Sonic Racing - Physics fixed
  • Onimusha Warriors, Tales of Vesperia, The Messenger - Game logic fixed
  • Skyrim - Audio looping fixed, game progresses further
  • Oninaki - Elevator softlock fixed
  • All Unreal Engine 4 games - Motion jitter fixed
  • Super Smash Bros. Ultimate - Fighter select jitter / flickers fixed
  • Starlink - Softlock fixed, game progresses further

 

 This sofa is no longer our enemy (Pokémon Sword/Shield)

This sofa is no longer our enemy (Pokémon Sword/Shield)

Bug fixes and improvements

Morph used some Kirby magic and implemented the first steps to get World of Light working in Super Smash Bros. Ultimate. Even though it doesn’t work yet, the first step is always the most important one!

Kewlan strikes once again with more quality-of-life UI improvements. This time, they’ve fixed the placement of button mappings in the input settings for single joycons.

 From this

From this

 To this

To this

Not stopping there, Kewlan added a slider for the analog stick modifier, allowing keyboard users to half press the emulated sticks. Additionally, the sliders now show percentages, making them easier to read.

 Precision

Precision

And to top it off, he also added a way to restore the default value for a hotkey. An important part of the user experience is having a tidy and useful interface.

 More customization

More customization

Tobi fixed some of the internal workings of the input settings, and improved the games list sorting process. He also reworded some of our error and warning popups to be more user friendly.

The old errors

The new errors

Waluigi is not part of Smash, yet, but that doesn’t mean he can’t enjoy some limelight. Rodrigo decided to help the purple fellow and fixed the shadows in Mario Tennis Aces. The border color of textures in this game are in sRGB format, and we had some small precision errors. Now you can enjoy those intense matches!

WAA! (Mario Tennis Aces)

Rodrigo added indexed QUADS to Vulkan, this brings major graphical fixes to Xenoblade Chronicles 2 and Fast RMX! Some barrier fixes are still required to get Xenoblade Chronicles 2 rendering properly, but work on these rendering fixes is on-going.

From a dark void to RPG (Xenoblade Chronicles 2)

Blinkhawk implemented some optimizations to the GPU command list, improving performance in Diablo 3 and many other games. He also ported a Ryujinx hack made by gdkchan, Fast GPU Time. This helps force games to render at their maximum resolution, when they would otherwise dynamically lower it due to not hitting their target framerate. Some examples include ARMS, Super Mario Odyssey, Splatoon 2, Luigi’s Mansion 3, and Mario Tennis Aces. This is not only a graphical improvement, but also a way to avoid very high memory usage in dynamic resolution games. We still recommend the use of resolution mods, but if such mods are not available for your game, Fast GPU Time will help you. A good example of this is The Legend of Zelda: Breath of the Wild with the latest 1.6.0 update.

Milk baths are over Link, go save Zelda or something (Legend of Zelda: Breath of the Wild)

Fixed regressions

Rei found a 3D texture regression in the Wooden Kingdom of Super Mario Odyssey that was affecting both Vulkan and OpenGL. Blinkhawk investigated it and found that there was a bug in the texture cache. Now it works as intended again, with no more fog stripes on trees.

As it should be (Super Mario Odyssey)

Rodrigo fixed a regression found in Puyo Puyo Tetris while running in OpenGL. With it in place, character portraits have their proper white border rendered.

Better, right? (Puyo Puyo Tetris)

Rodrigo also fixed a regression in Kirby Star Allies, which restored the shading and life to this cute game. Kirby deserves a colorful world for his adventures!

Poyo! (Kirby Star Allies)

Future plans

Rodrigo also removed the need to have a Qt build with Vulkan support in Linux, which will help get Vulkan support in our Ubuntu pre-built packages.

That’s all for now, folks! See you in the May report!

 

Please consider supporting us on Patreon!
If you would like to contribute to this project, check out our GitHub!


Advertisement

Advertisement