Emulator Issues #9591
closedMirror in Twilight Princess does not render correctly
0%
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
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.
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.
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.
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?
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.
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 :)
Updated by JMC4789 almost 9 years ago
- File GZ2E01-29.png GZ2E01-29.png added
Can confirm. Interestingly, it shows up fine in wireframe mode. Some kind of depth test is failing.
Updated by JMC4789 almost 9 years ago
- File GZ2E01-31.png GZ2E01-31.png added
Software Renderer works fine. Excuse it only rendering half the screen. Windows bug.
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?
Updated by JMC4789 over 8 years ago
Adding a fifolog. Captures the flicker.
Updated by JMC4789 over 8 years ago
- Status changed from Accepted to Fix pending
Fixed in PR4158 -> https://github.com/dolphin-emu/dolphin/pull/4158
Updated by JMC4789 over 8 years ago
- Fixed in set to 5.0-480
Fixed by 5.0-480 -> https://dolphin-emu.org/download/dev/9c51b2748b9892c03188dd627c82a541319b464c/