Emulator Issues #12137
Super Paper Mario - Sprites are layered out of order on Vulkan
SUPER PAPER MARIO (Disc 0, Revision 0)
Game ID? (right click the game in the game list, Properties, Info tab)
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
What's the problem? Describe what went wrong.
Characters are composed of multiple sprites and rely on being in a certain order to look appropriate. Like Mario's arms are drawn on top instead of behind his body, or Merlon's face being behind his cloak. It looks fine when using OpenGL but since I'm on MacOS using an Intel iGPU, it breaks as soon as the game requires bounding boxes, so Vulkan is my only option.
What steps will reproduce the problem?
Using the Vulkan backend, layering issues happen as soon as Mario and Luigi are visible.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Its equally broken on beta 5.0-11991 and daily 5.0-12094
Is the issue present in the latest stable version?
Unable to test, 5.0 stable lacks Vulkan
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
Build 5.0-9178, this was the version that re-implemented Vulkan for macOS. 5.0-9173 added "support" but was missing binaries until 5.0-9178.
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
Fifo logs included, taken during scene 3 in the screenshots. Attached a second screenshot of scene 3 working under OpenGL
What are your PC specifications? (CPU, GPU, Operating System, more)
Intel Core i5-8259U
Intel Iris Plus Graphics 655 1536 MB
macOS 10.15.5 (With the "supplemental" update that patches the unc0ver kernel vulnerability)
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
I've tried enabling and disabling every option aside from the advanced menu. I would think that disabling fast depth calculation would fix it but it only exacerbates the issue even more with objects disappearing.
Definitely not an Iris specific bug... a very strange macOS bug though. I get the same result as Pizuz with my Iris Plus G7 in Windows 10. But aside from Mario and Luigi being stretched vertically, the Fifolog looks fine in macOS as well. But if I try to play the game in macOS, I can definitely find all kinds of examples of the layers being out of order.