Emulator Issues #8898
WarioWare: Smooth Moves : 4.0-6204 breaks/hides certain objects with D3D.
WarioWare: Smooth Moves
What's the problem? Describe what went wrong in few words.
Some 3d objects are not visible with D3D since Dolphin revision 4.0-6204. The same objects AND lots of other stuff got broken in 4.0-4446
What did you expect to happen instead?
All the objects to be visible.
What steps will reproduce the problem?
1. Use any Dolphin version since 4.0-6204. Set D3D backend (with fast depth on or off)
2. Start the game, play to the first stage, where you're being chased by a rolling rock.
3. At least two minichallenges are broken: the one where you shave (no razor visible) and the one where you try to hook the doll (only background visible).
Which versions of Dolphin did you test on?
Dolphin versions till 4.0-4441 work fine with D3D.
4.0-4446 (D3D: Replaced shader-based depth range remap with viewport (PR #1392 from kayru)) breaks lots of stuff (including these reported objects), but you get everything working if you set Fast Depth off with D3D. For example title screen shows only background texture.
Disabling fast depth does the trick up until 4.0-6192.
Then 4.0-6204 fixes a lot of stuff even with fast depth, BUT at least these two places are now broken with every setting I tried (fast depth, XFB virtual/off, EFB2tex/ram, dual core on/off, safe/fast texture).
4.0-6204 also broke Metroid prime depth effects and some other stuff, there is a yet-to-be-merged PR 2855 (see issue https://code.google.com/p/dolphin-emu/issues/detail?id=8833), I tested the provided test build but I does not fix the issue here.
What are your PC specifications?
Noticed this originally with: Win 8.1 64-bit, i5 4670S, Intel HD 4600 (latest drivers).
Verified and bisected: Win 10 64-bit, Intel Q9450, AMD Radeon 7850 (latest drivers).
#2 Updated by hosode about 4 years ago
There is another PR fixing depth related problems at GitHub, and since this issue still remains, I made two fifologs that show what the problem is. When viewed with D3D, there is the 3D-hooking-figure and the hook missing in the other one, and other log has no 3d-wiimote visible. Missing objects are properly showed when using OpenGL.
#5 Updated by hosode over 3 years ago
As much as I'd love to confirm this being fixed, this is what happened:
-The razor, the hook and other polygon based objects that were previously hidden are visible. So in a way the issue is fixed, BUT:
-The background in the very same scenes is now black, which is a further regression. Other scenes seemed fine (had a very brief look at it), and the game still works as expected on OGL.
I know they are only 1 frame Fifo's above, but they show the same result compared to actual running game. I did not do any bisecting, compared with my in-use version 5.0-11, which has the earlier behaviour, so I can't swear that the black scene only appears at 5.0-440. I can check that later.
#6 Updated by hosode over 3 years ago
So I tested 5.0-424 (the version before 5.0-440 "VideoCommon: Implement depth range equation in vertex shader."), and it has the old behaviour.
So there is still something weird going on with this game's depth, now it would seem logical to think that the background gets clipped somehow, while the objects are in correct order. Just guessing.
#8 Updated by Armada over 3 years ago
Actually it's fixed in this PR: https://github.com/dolphin-emu/dolphin/pull/4140
Please test it to confirm it's fixed and then I'll merge it: http://dl.dolphin-emu.org/prs/pr-4140-dolphin-latest-x64.7z
#10 Updated by JosJuice over 3 years ago
- Regression changed from No to Yes
- Regression start set to 4.0-6204
- Fixed in changed from 5.0-440 to 5.0-466
PR 4140 was merged in https://dolphin-emu.org/download/dev/0fbf72cbf1e616703e75a6f202b018954ae4372b/