Project

General

Profile

Actions

Emulator Issues #11909

closed

Mario Kart Wii loading checkerboard pattern not displaying correctly

Added by Simonx22 about 5 years ago. Updated almost 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

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

Description

Game Name?

Mario Kart Wii

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

RMCP01

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

f7db3c4e6db010cc3fc32200ae134caa

What's the problem? Describe what went wrong.

The checkboard loading pattern is not displaying correctly.

What steps will reproduce the problem?

Select a license in the main menu.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes, 5.0-11288

Is the issue present in the latest stable version?

No, 5.0

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.)

5.0-1473 (https://github.com/dolphin-emu/dolphin/pull/4514)

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

I attached two gif files before and after the regression.

What are your PC specifications? (CPU, GPU, Operating System, more)

i5-3230M
Intel HD 4000 (Note that I have tested this on other devices and with other GPUs as well, and also on other graphics backends, such as Vulkan, D3D, and OpenGL)
16 GB DDR3
Windows 10, Android, Ubuntu 18.04

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

[Anything else here]


Files

5.0-1473.gif (1.96 MB) 5.0-1473.gif Simonx22, 11/27/2019 03:13 AM
5.0-1471.gif (2.33 MB) 5.0-1471.gif Simonx22, 11/27/2019 03:13 AM
mkw.dff (4.38 MB) mkw.dff Simonx22, 01/11/2022 10:50 PM

Related issues 1 (0 open1 closed)

Related to Emulator - Emulator Issues #5197: Fortune Street: White box in the center of the screen during gameplayFixed

Actions
Actions #1

Updated by JosJuice about 5 years ago

  • Regression changed from No to Yes
  • Regression start set to 5.0-1473
Actions #2

Updated by Leseratte10 about 5 years ago

I can confirm this bug as well. I always thought it was an issue with my graphics card / graphics settings, but apparently it isn't.

Actions #3

Updated by JMC4789 over 4 years ago

You know what that pattern reminds me off...?

https://bugs.dolphin-emu.org/issues/8059

Actions #4

Updated by JMC4789 over 4 years ago

  • Status changed from New to Accepted

...oh. the lerp thing again. That's not great.

Actions #5

Updated by Leseratte10 about 4 years ago

I tested this again with the most recent version of Dolphin (5.0-13242) and the bug is still present, so even if it's a similar issue to 8059 it looks like the fix for that issue didn't fix this one in MKWii.

Actions #6

Updated by Simonx22 almost 3 years ago

This issue is still happening. I just remembered that I should probably attach a FIFO log.

Actions #7

Updated by JosJuice almost 3 years ago

  • Milestone set to Current
Actions #8

Updated by pokechu22 almost 3 years ago

  • Related to Emulator Issues #5197: Fortune Street: White box in the center of the screen during gameplay added
Actions #9

Updated by pokechu22 almost 3 years ago

I can confirm that that fifolog renders correctly on hardware, so this is a rendering issue and not a CPU emulation issue. Unfortunately I tried to determine what's going on here and in #5197, and it seems like both of them involve an alpha value of 1 multiplied by a value of 0xff, which becomes 255/256. For Mario Kart Wii's menus, that needs to round to 1 so that the FMV in the background is drawn (though with massive transparency) and the depth buffer gets updated (which is what prevents the yellow texture from covering everything), but for Fortune Street it needs to round to 0 or else repeated blending of several rectangles in the same place results in increased brightness. I've confirmed that Mario Kart Wii does end up with an alpha value of 1. Unfortunately the Fortune Street test case doesn't work with the hardware fifoplayer (it experiences lots of vertex explosions), but as far as I can tell it acts like it rounds to 0 at least. But both Mario Kart Wii and Fortune Street have very similar configurations for drawing the relevant objects, so I don't know what would cause the difference.

Actions #11

Updated by JosJuice almost 3 years ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-16012
Actions

Also available in: Atom PDF