Dolphin, the GameCube and Wii emulator - Forums

Full Version: Serious problem with the Direct3D9 plugin & CPU->EFB access (all games are affected)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Texture striping artifacts:
[Image: MKDD_D3D9_1.png]

Missing objects/polygons and/or sawtooth-shaped polygon glitches:
[Image: ZTP_D3D9_1.png]

Missing textures and another moving striped pattern glitch:
[Image: PM_D3D9_1.png]

All of these problems occur when CPU -> EFB access is enabled. With this option OFF, the glitches are gone, but many of the GameCube's fancy effects are gone as well Sad

The Direct3D11 plugin OTOH, doesn't have any of these issues and the image quality is even better, but it's extremely slow since it doesn't have a 'x1 EFB scale' option (to get a simple stretch of the native res to a 1080p screen without increasing the native resolution), no Copy EFB to RAM speedup like the D3D9 plugin and no 'Copy EFB to texture' for performance.
Not only that, but the D3D11 plugin also lacks certain effects.

Is this problem with the D3D9 plugin ever going to be fixed?
have u cleaned shadercache folder?if not do so.
No improvement even after clearing the cache folder(s).
I always start with a clean cache whenever I try a new SVN revision.

UPDATE: The problems occur when CPU -> EFB access is enabled. With this option OFF, the glitches are gone, but many of the GameCube's fancy effects are gone as well.
Uhm... actually dx11 already has Copy EFB to texture, there's just no alternative implemented, i.e. efb to texture is always enabled (unless you disable efb copies altogether)
The slowdowns have another reason which is hard to fix.

Anyway, dx11 makes EFB copies a bit easier because texture coordinates changes slightly which makes the code a lot easier. DX9 on the other hand, needs to "fix" texture coordinates in a complicated way, resulting in glitches because it's not done properly (yet).

EDIT: uhm interesting, EFB access isn't even used in mario kart dd... Are you sure you don't mean EFB copies themselves?
NeoBrainX Wrote:uhm interesting, EFB access isn't even used in mario kart dd... Are you sure you don't mean EFB copies themselves?

I always keep the 'Enable EFB Copy' option ticked and set to RAM or Texture. EFB Scaled Copy is ON as well.

The setting that causes these issues is 'Enable CPU->EFB access'.
And,yes - it screws up Mario Kart DD as well. Really strange.
Since your 'create textures' commit in r6025, I can't even disable the CPU->EFB access anymore to get rid of the nasty glitches. Now the graphics in every GC game is buggy all the time Sad
Huh, I don't enable EFB access, it just creates some textures now... there's actually no reason why that change would brake anything oO
But that's the problem: something in the texture creation is wrong and triggers these issues. Not your fault, but your commit now made it impossible to disable it completely.
I'd just like to confirm this problem with the DX9 plugin in the more recent builds. Is there a way to prevent it? Toggling CPU to EFB access doesn't fix it. I either have to use OpenGL or an older build.

Zamp

I've just downloaded the latest revision and I too am having these problems with the direct3D 9 plugin and before I would just turn off CPU -> EFB access to fix it, but now it has no effect whether I turn it on or off with this problem.

Proof:
[Image: ZTP.jpg]
Just look at Link. Sad
Pages: 1 2 3 4 5