Emulator Issues #9827

[D3D] Xenoblade Chronicles - Depth Fighting

Added by Guitarkory1 over 4 years ago. Updated over 4 years ago.

% Done:


Operating system:
Issue type:
Relates to usability:
Relates to performance:
Relates to maintainability:
Regression start:
Fixed in:


Game Name?
Xenoblade Chronicles

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


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

What's the problem? Describe what went wrong.

There is some major z-fighting in makna forest when you first enter it. look at the sky textures and you can see the water textures fighting one another in 3d11 & 3d12.

What steps will reproduce the problem?

  1. enter makna forest through bionis interior.
  2. look at sky after entering.
  3. see some weird stuff like the water textures fighting each other.

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 5.0 version 993 original test, first noticed it was broken
dolphin stable 5.0, didn't fix the issue
dolphin ishiiruka 785, also didn't fix the issue

What are your PC specifications? (CPU, GPU, Operating System, more)
windows 10 anniversary edition
intel 4720hq
nvidia 960m 4gb running driver 368.81

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

it works in opengl but not d3d

fifolog1.7z (4.71 MB) fifolog1.7z Guitarkory1, 10/07/2016 04:18 PM


#1 Updated by JMC4789 over 4 years ago

fifolog plz

#2 Updated by Guitarkory1 over 4 years ago

how do you make a fifolog, also I turned off fast depth calculation and everything started working. so it may not be a 3d3 problem, but a fast depth calculation problem

#3 Updated by JMC4789 over 4 years ago

Ah, sorry. Fast-depth should be accurate nowadays, so it still is a problem with D3D's fast-depth equation.

Please record a 3 frame fifolog of the issue -

They compress well, so if it's too big for uploading here, just zip it and it should compress down enough to upload.

#4 Updated by Guitarkory1 over 4 years ago

for some reason its still to big after I compress it. its pretty close but not quite small enough

#5 Updated by Guitarkory1 over 4 years ago

I was able to get it to compress better using another file compressor. Here you go:

#6 Updated by JMC4789 over 4 years ago

  • Subject changed from xenoblade chronicles z fighting direct3d to [D3D] Xenoblade Chronicles - Depth Fighting
  • Assignee set to Armada

Can you check and see if the issue happens on Vulkan too?

#7 Updated by Guitarkory1 over 4 years ago

I just tested on vulkan, the same issue occurs. z fighting does not occur when fast depth is off, or when using opengl.

#8 Updated by Armada over 4 years ago

I haven't done any actual debugging on this issue, however it sounds like this game uses reversed depth on the console. This can only be supported without z-fighting on OpenGL. I am currently not aware of any way to do this in D3D.

Vulkan is also affected right now because most drivers don't implement the spec correctly. When the Vulkan drivers mature this issue should go away.

Also available in: Atom PDF