Project

General

Profile

Actions

Emulator Issues #8133

closed

Mario Kart Wii PAL - graphics flicker when PAL60 is disabled in DirectX 11

Added by karamu.da.yo almost 10 years ago. Updated over 8 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-440

Description

[READ THIS: https://forums.dolphin-emu.org/showthread.php?pid=276132 <<<
Your answers are there!]
[Leave the questions as they are and answer them in the next line]
[Remove lines written inside brackets [], but nothing else]

Game Name?
Mario Kart Wii (PAL)

Game ID?
RMCP01

What's the problem? Describe what went wrong in few words.
3D objects flickering on and off the screen, fairly constantly. Happens in menus (swirling cup in background) and in races. Only happens with PAL60 is disabled, works fine with PAL60 enabled.

What did you expect to happen instead?
The above phenomena to not happen, and for the models to appear on screen smoothly when PAL60 is disabled.

What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]

  1. Disable "Use PAL60 Mode (EuRGB60)" in Wii configuration tab
  2. Load Mario Kart Wii
  3. Go past the start screen, and past the "Choose Number of Players" menu
  4. Optionally, go into a race, the effect is worse

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
4.0-5222

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Yes. This doesn't happen in 4.0-4250 (2 months old), but it DOES happen on 4.0-4803 (1 month old) and the latest New-Zelda-HLE branch (4.0-4883-dirty).

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
OS - Windows 8.1 Pro
CPU - Intel Pentium G3258 (overclocked to 4.2GHz)
GPU - Intel HD Graphics

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
Sorry, no screenshots for this one. I tried to get a video dump but for some reason Windows decided to make the resulting file absolutely inaccessible to anyone and anything, including any administrative accounts :(


Files

mkwiiFilckering.7z (500 KB) mkwiiFilckering.7z phire, 09/10/2015 02:14 PM

Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #9604: Mario Kart Wii: The screen flashes black in dx11 backend.Duplicate

Actions
Actions #1

Updated by karamu.da.yo almost 10 years ago

Wow, Google Code is worse than I thought. I can't edit the original issue message to get rid of the bracketed comments I forgot to remove...

Actions #2

Updated by JMC4789 almost 10 years ago

Don't worry about it. I don't have Mario Kart Wii, so I can't confirm this issue or anything, but it sounds like something PAL60 could do.

Actions #3

Updated by JMC4789 almost 10 years ago

Don't worry about it. I don't have Mario Kart Wii, so I can't confirm this issue or anything, but it sounds like something PAL60 could do.

Actions #4

Updated by rigation almost 10 years ago

I think you forgot to mention that it's only a Direc3d issue (OpenGL is fine)

Actions #5

Updated by JMC4789 over 9 years ago

Does this still happen in latest master?

Actions #6

Updated by karamu.da.yo over 9 years ago

Just tried it out on the latest master. Looks like it doesn't happen anymore.

Actions #7

Updated by pauldacheez over 9 years ago

  • Status changed from New to Fixed

Sounds fixed to me.

Actions #8

Updated by corona.gabriel over 9 years ago

It's happening currently to me with 5.0-RC using OpenGL (using Linux with nvidia).

Actions #9

Updated by pauldacheez over 9 years ago

  • Status changed from Fixed to Questionable

Fine, sounds questionable to me.

Actions #10

Updated by phire over 9 years ago

  • Status changed from Questionable to Accepted

It's happening on latest master for me. 4.0-7662

But only on DirectX11, OpenGL is fine.

Actions #11

Updated by phire over 9 years ago

I was a little surprised, but it shows up in a Fifolog.

When played back on OpenGL, no flicking. When played back on DX11, 3d objects flicker.

Actions #12

Updated by mimimi over 9 years ago

I bisected it to https://github.com/dolphin-emu/dolphin/pull/1392

4.0-4441 is not flickering and 4.0-4446 is flickering.

So maybe it's some annoying depth issue?

Actions #13

Updated by Armada over 9 years ago

While debugging the issue I've found that frames in which 3D models dissapear have twice as many draw calls as regular frames. In between those drawcalls it did draw the frame correctly, but didn't swap it out. Instead it clears the color buffer without clearing the depth buffer and continues drawing the next frame. So essentially it pulls down 60Hz to 50Hz by skipping a swap every few frames, a big waste of processing power.

The reason models dissapear is likely due to the fact that the previous depth buffer is still there, this can be a problem on backends where depth emulation isn't 100% accurate yet.

Actions #14

Updated by JMC4789 over 8 years ago

Actions #15

Updated by JMC4789 over 8 years ago

I've gotten confirmation that OpenGL works fine for this.

Actions #16

Updated by phire over 8 years ago

  • Subject changed from Mario Kart Wii PAL - graphics flicker when PAL60 is disabled to Mario Kart Wii PAL - graphics flicker when PAL60 is disabled in DirectX 11

Yeah, was always DirectX11.

Actions #17

Updated by JMC4789 over 8 years ago

Is this fixed in 4.0-440?

Actions #18

Updated by JMC4789 over 8 years ago

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

Also available in: Atom PDF