Project

General

Profile

Actions

Emulator Issues #11568

closed

Vulkan/macOS: Twilight Princess (GC) - Midna's eyes missing the iris (graphical glitch)

Added by Pizuz about 5 years ago. Updated about 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-15706

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.

On macOS using the Vulkan backend Midna's (Link's side-kick in this installment) eyes will only display the yellow sclera of her visible right eye while the iris is missing. If you manage a closeup shot or during cutscenes you can see that the iris becomes transparent starting at a certain distance from the camera. The same can sometimes be observed with OpenGL, but the required distance seems to be a lot farther.

What steps will reproduce the problem?

Step 1: Choose Vulkan as video backend on MacOS (tried both MoltenVK 1.0.32 as well as Portability 0.4 by placing the respective library into the Frameworks subfolder).
Step 2: Boot up the game and play to a point where you play as Wolf Link.
Step 3: Press the Z Button for greater effect (the game will zoom in on Midna talking to Wolf Link from his back)

Alternatively run the attached fifolog with either Vulkan or OpenGL selected as backend.

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

Can't check at the moment, because BuildBot stopped building MacOS releases starting with 5.0-9447. Latest development version would be 5.0-9595, I'm forced to use 5.0-9431.

Is the issue present in the latest stable version?

Doesn't apply, because Vulkan support via MoltenVK has been introduced after 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-9173 (Vulkan support for macOS was introduced)

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

See attachment below

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

iMac (21.5-inch, Late 2013)
CPU: 3,1 GHz Intel Core i7
Graphics: NVIDIA GeForce GT 750M 1024 MB
OS: macOS 10.14.3 (18D109) Mojave

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

Savestate: https://www.dropbox.com/s/2p1msi58bstg0i4/tp.sav?dl=0


Files

tp.dff.zip (2.44 MB) tp.dff.zip fifolog compressed as Zip Pizuz, 02/12/2019 05:08 PM
Screenshot 2019-02-12 at 17.08.15.png (653 KB) Screenshot 2019-02-12 at 17.08.15.png Iris missing (Vulkan) Pizuz, 02/12/2019 05:15 PM
Screenshot 2019-02-12 at 17.14.12.png (601 KB) Screenshot 2019-02-12 at 17.14.12.png Iris visible (OpenGL) Pizuz, 02/12/2019 05:15 PM
Screenshot 2019-02-12 at 17.15.41.png (629 KB) Screenshot 2019-02-12 at 17.15.41.png Iris almost visible (Vulkan closeup) Pizuz, 02/12/2019 05:15 PM
Screenshot 2019-02-12 at 17.13.25.png (772 KB) Screenshot 2019-02-12 at 17.13.25.png Iris almost invisible (OpenGL shot from a distance) Pizuz, 02/12/2019 05:20 PM
Screenshot 2019-02-13 at 16.36.15.png (973 KB) Screenshot 2019-02-13 at 16.36.15.png Iris missing (Metal) Pizuz, 02/13/2019 03:37 PM

Related issues 1 (0 open1 closed)

Related to Emulator - Emulator Issues #11993: OpenGLES: Twilight Princess Eyes Not Rendered CorrectlyFixed

Actions
Actions #1

Updated by Pizuz about 5 years ago

Of course I mislabeled the screenshots...

The “Iris missing (Vulkan)” and ”Iris almost visible (Vulkan closeup)” descriptions need to be switched.

Actions #2

Updated by Pizuz about 5 years ago

Stenzek's experimental (and for now abandoned) Metal build produces the same glitch.

Actions #3

Updated by JMC4789 about 5 years ago

There are a few missing features in MoltenVK that can't be helped. This may rely on one of those missing features.

Actions #4

Updated by Pizuz about 5 years ago

Looks more like an issue with Metal itself to me, since the issue is independent from the library I tested (MoltenVK vs. gfx-portability vs. pure Metal).

Actions #5

Updated by flacs over 2 years ago

Actions #6

Updated by OatmealDome about 2 years ago

  • Status changed from New to Fix pending

I opened a PR ages ago to solve this, but closed it in favour of manual texture sampling. I have now opened a new PR based on the old one since manual texture sampling can be demanding in some cases.

https://github.com/dolphin-emu/dolphin/pull/10292

Actions #7

Updated by OatmealDome about 2 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-15706
Actions

Also available in: Atom PDF