Project

General

Profile

Actions

Emulator Issues #9591

closed

Mirror in Twilight Princess does not render correctly

Added by CaptainCaffeine almost 9 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-480

Description

Game Name?

The Legend of Zelda Twilight Princess (GC)

Game ID? (right click the game in the game list, properties, info tab)

GZ2E01

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

41deff9b1fd2831f48fbfa2dd1054e4d

What's the problem? Describe what went wrong.

In the basement of Link's house, there is a mirror to the left of a treasure chest. When you walk up to the mirror with the lantern Link's reflection should appear, and without the lantern only a slight glint from the Master Sword is visible. However, in Dolphin the mirror isn't always there: swiping the lantern and standing in a few places close to the mirror causes Link's reflection to flicker momentarily, but for the most part the pane of the mirror fails to render at all and you can see straight through it.

What steps will reproduce the problem?

Obtain the lantern, go into the basement of Link's house, and walk up to the mirror in the top right corner of the room. Swipe the lantern to see his reflection flicker.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

Dolphin 4.0-9328
Dolphin 4.0-9442

I tried to test 4.0.2 but it failed to build on my computer.

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

i5-4690K, GTX 970 with proprietary driver, Debian Sid 64-bit

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

I tried testing with various other settings (single/dual core, no/virtual/realXFB, fast depth on/off, native res/upscaled, msaa on/off) and none of them made a difference.

I am also not aware of any other mirrors like this one in the game. Searching for anything along the lines of "twilight princess mirror" just gives a ton of results about the Mirror of Twilight.


Files

GZ2E01-2.png (1.16 MB) GZ2E01-2.png CaptainCaffeine, 06/12/2016 12:16 AM
GZ2E01-1.png (1.09 MB) GZ2E01-1.png CaptainCaffeine, 06/12/2016 12:16 AM
GZ2E01-29.png (422 KB) GZ2E01-29.png JMC4789, 06/12/2016 06:36 AM
GZ2E01-31.png (245 KB) GZ2E01-31.png JMC4789, 06/12/2016 06:39 AM
TwilightPrincessMirror.7z (712 KB) TwilightPrincessMirror.7z JMC4789, 08/03/2016 10:19 AM
Actions #1

Updated by JMC4789 almost 9 years ago

Try stuff like EFB Copies to RAM + Safe Texture Cache, make sure there are no projection hacks enabled.

Actions #2

Updated by CaptainCaffeine almost 9 years ago

Neither EFB Copies to RAM nor Safe Texture Cache fixed the problem. To disable projection hacks, I just added

[Core]
ProjectionHack = 0

to the .ini file, is that enough? If it is, it didn't seem to affect the glitch. I also disabled the Hyrule Field speedup hack but that didn't help either.

Actions #3

Updated by JMC4789 almost 9 years ago

Removing any projection hack from the INI is how you do that.

I swear I've seen bugs like this in Luigi's Mansion before... caused by... D3D depth issues. Try toggling fast-depth.

Actions #4

Updated by CaptainCaffeine almost 9 years ago

Toggling fast-depth has no effect. I'm on OpenGL by the way. Would it help if I tested on Windows as well?

Actions #5

Updated by CaptainCaffeine almost 9 years ago

Tested 4.0.2 on Windows, and the mirror does not work at all on that version. I could not get it to flicker once.

Actions #6

Updated by JMC4789 almost 9 years ago

Thank you for testing for regressions. I'll do my best to see if I can't find a solution :)

Actions #7

Updated by JMC4789 almost 9 years ago

Can confirm. Interestingly, it shows up fine in wireframe mode. Some kind of depth test is failing.

Actions #8

Updated by JMC4789 almost 9 years ago

Software Renderer works fine. Excuse it only rendering half the screen. Windows bug.

Actions #9

Updated by JMC4789 almost 9 years ago

  • Status changed from New to Accepted
  • Assignee set to Armada

Old PRs (3587) affect this. Maybe Armada can take a look?

Actions #10

Updated by JMC4789 over 8 years ago

Adding a fifolog. Captures the flicker.

Actions #11

Updated by JMC4789 over 8 years ago

  • Status changed from Accepted to Fix pending
Actions #13

Updated by JosJuice over 8 years ago

  • Status changed from Fix pending to Fixed
Actions

Also available in: Atom PDF