Project

General

Profile

Actions

Emulator Issues #12137

closed

Super Paper Mario - Sprites are layered out of order on MoltenVK

Added by Drakal almost 4 years ago. Updated over 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-15249

Description

Game Name?

SUPER PAPER MARIO (Disc 0, Revision 0)

Game ID? (right click the game in the game list, Properties, Info tab)

R8PE01 (0001000052385045)

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

ba74fb5b6b820b6feb771786180e4c65

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.


Files

fifo.dff (2.38 MB) fifo.dff Fifo file Drakal, 06/07/2020 11:11 PM
Screen Shot 2020-06-07 at 6.41.57 PM.png (3.09 MB) Screen Shot 2020-06-07 at 6.41.57 PM.png Broken scene 1 Drakal, 06/07/2020 11:11 PM
Screen Shot 2020-06-07 at 6.42.56 PM.png (1.99 MB) Screen Shot 2020-06-07 at 6.42.56 PM.png Broken scene 2 Drakal, 06/07/2020 11:11 PM
Screen Shot 2020-06-07 at 7.13.39 PM.png (2.57 MB) Screen Shot 2020-06-07 at 7.13.39 PM.png Scene 3 in OpenGL working Drakal, 06/07/2020 11:14 PM
Screen Shot 2020-06-07 at 6.40.35 PM.png (2.43 MB) Screen Shot 2020-06-07 at 6.40.35 PM.png Broken scene 3 Drakal, 06/07/2020 11:15 PM
Screenshot 2020-06-10 at 21.34.52.png (289 KB) Screenshot 2020-06-10 at 21.34.52.png nVidia MoltenVK working Pizuz, 06/10/2020 07:36 PM
Actions #1

Updated by JMC4789 almost 4 years ago

  • Status changed from New to Questionable
  • Assignee set to Stenzek

This is likely an issue outside of Dolphin or with MoltenVK, as the issue does not occur in the native Dolphin vulkan backend.

Maybe Stenzek can take a look and be sure, though.

Actions #2

Updated by Pizuz almost 4 years ago

Seems to be an Intel Iris specific bug. On nVidia (GeForce GT 750M) the Fifolog looks fine.

Actions #3

Updated by JMC4789 almost 4 years ago

It's a macOS Vulkan issue so far.

Actions #4

Updated by Anonymous almost 4 years ago

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.

Actions #5

Updated by Anonymous almost 4 years ago

I meant a very strange macOS Vulkan bug.

Actions #6

Updated by JMC4789 almost 3 years ago

  • Subject changed from Super Paper Mario - Sprites are layered out of order on Vulkan to Super Paper Mario - Sprites are layered out of order on MoltenVK
Actions #7

Updated by OatmealDome over 2 years ago

  • Status changed from Questionable to Fixed
Actions #8

Updated by JosJuice over 2 years ago

  • Fixed in set to 5.0-15249
Actions

Also available in: Atom PDF