Dolphin, the GameCube and Wii emulator - Forums

Full Version: ZCompLoc Testing (Update: Now with D3D11 version)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi all,

Update: the linked build now also supports DX11 (implemented by neobrain).

I think I found a way to propper emulate ZCompLoc on OpenGL backend, but it has to be testen on all kinds of GPUs. So can you please run this small homebrew app on my custom build ?

This app should switch between two images by pressing A on your wiimote.

If I guess correctly, there a three different results:


-> not supported as this requires OpenGL 4.2
[Image: not-supported.png]



-> working fine
[Image: fine.png]



-> broken (note: this is always the second image, so don't be confused)
[Image: broken.png]



So can you please report your GPU + your driver version and your result?

So let me start:

GPU: Nvidia NVS 5400M (Fermi)
Driver: 4.3.0 NVIDIA 319.32
Status: working


GPU: Intel HD4000 Ivy Bridge
Driver: 3.0 Mesa 9.2.0-devel
Status: not supported
Ati HD7850, driver version 9.14.10.0968 catalyst 13.3. The first one looks like the second picture, the second one looks like the third picture.
AMD HD6650, Catalyst 13.1.

[Image: JmsBb8V.jpg]
Tested with nVidia GeForce GT440 and with GeForce GT635M, both running driver 320.49 on Windows 8 x64, the result were the same in both GPUs. The screenshot was taken with the built in screenshot tool from Dolphin (F9):

When booting:
[Image: attachment.php?aid=9537]

After pressing A:
[Image: attachment.php?aid=9538]
Tested it on my Wii. Works the same as it does on Dolphin: pressing A on the wiimote cycles between images 2 and 3.

Testing it on Dolphin on my computer. Cycled between images 2 and 3. A few things to note though. First, this doesn't work with real wiimotes, at least on windows. I had to use an emulated wiimote to cycle between images, which is weird for me since I always use my wiimote by default. Secondly, on my computer at least, it only works when the internal resolution is set to Auto (window size). Anything else, 1x native. 3x native, auto (multiple of 640x528), anything, and it shows nothing but a black screen. Going to fullscreen works fine, so it doesn 't seem to be a problem with changing IR in the emulator. Just only works with that one setting. *shrug*

OS: Windows 7 x64
GPU: Nvidia GTX 760
Driver: NVIDIA 320.49
Status: Works

shidenggui

OS:Windows 7 x64
GPU:GTX 560ti
Driver:NVIDIA 320.49
first dolphin shows image 2,but nothing happen when i press A with a real wiimote

[attachment=9539]
@degasus: just to note, that zcomploc test does not test all cases that happen in game and should not replace real, ingame testing. Making it so the test pass is not enough to just say "ship it!".

Just saying, /me is still pissed off at having to revert rodolfo's work from master. Worked on the test, didn't work as well as the current implem in real cases.
delroth: I don't think so. Rodolfo's changes uses blending to implement zcomploc, but this isn't possible with all blending settings (so it's a hack). This change here just enable an optimition which tell the driver that it _may_ update the z-buffer even if the fragment is discarded. As early-z is a common optimition for gpus, I think every driver will do. So there either shouldn't be new ingame issues but some hidden by the current zcomploc hack - or, if the driver doesn't use it, all zcomploc should be broken.
Commited as 3.5-1649. As it works on Fermi, Kepler, HD6000 and HD7000, I think it will also work on all other dx11 gpus (there aren't many more).

Thanks for testing
Just pushed D3D11 implementation of this. Requires a D3D11.0 capable GPU, which I don't have. Testing would be greatly appreciated Wink

https://dl.dolphin-emu.org/builds/dolphin-zcomploc-d3d11-3.5-1653-x64.7z
Pages: 1 2