Dolphin, the GameCube and Wii emulator - Forums

Full Version: Custom D3D Version with massive performance boost and a lot of rendering fixes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Well, all those dependency files (like msvcr120.dll, SDL2.dll, etc.) are already in that folder from the recent Dolphin build. Something else seems to be amiss. And strangely, like I said, it works with OpenGL. Only crashes with D3D
D3D works fine here, but yeah, now properly testing it; I haven't found any speedups.
(05-13-2014, 08:24 AM)JMC47 Wrote: [ -> ]D3D works fine here, but yeah, now properly testing it; I haven't found any speedups.

Do you have a specific game i may test on my side, all games that were limited by the video thread should gain a boost, and as far as i was able to see by profiling, most of them were with the D3D backend…
I may have an specific game in which I´m getting boosts with this build, Luigi´s Mansion. The file select menu is running full speed (50 FPS PAL) instead of 43.
During gameplay it has ocasional hangs (shader cache?), but it´s still very, very playable.
Luigi is not a good stress test. On my computer, the file select menu run at 10ms (100fps) with the legit build and 6.8ms (148fps) with my d3d build…

Once in game play, i drop to 22.5ms (45fps) versus 15.5ms (64fps).

Dolphin config : no frame limit, d3d, native x3, msaa 4x, ignore EFB access
computer : core i7-3930k 3.2GHz ( @ 4.1GHz), 32GB DDR3, nVidia GTX TITAN.

You should think in milliseconds when talking about performances as the fps is not linear and not intuitive. Imagine an optimization save 1ms, it means that you can achieve 30fps if before that you were at 29.12fps, only a 0.8fps delta. But that same ms is worth a 3.5fps gap when moving from 56.6fps to the ultimate 60fps Smile At the contrary, you only need to save 0.28ms to get from 59 to 60 instead of 1.14ms to get from 29 to 30…

The optims i made scales also with the scene complexity in regards to what is rendered. More and more a game send geometry with different materials for example and more it will show an effective win as it increase the amount of D3D work that is pruned by now.
I recall getting around 20 ms during gameplay somewhere in the mansion, and in the Lab´s gallery. All that when using D3D, of course. The highest I got was 62 ms.
Can you tell me any games that should be affected? I have over 100 games, and would be willing to do widespread testing on them if I knew what I was looking for. Right now, I'm just getting nothing.
For the record, "Code Review" in Dolphin is done via Github pull requests. If you want the devs to look over your code, they probably won't unless you make a pull request. That said, the forum is a great place for testing beforehand, which can be handy before the pull request. But, just saying, don't expect a lot of code reviewing to happen here.
I noticed a small speedup going from 87 to 92 fps in Mario Galaxy 2 spaceship - planet using d3d.
In Twilight Princess wii there is an even bigger speedup going from 44fps to 54 fps at the beginning of the intro.
Pokepark 2 and The Last Story get about a 10% speedup.
Boosts Twilight Princess Field from 8 fps to 23 fps. Would be pretty nifty if you could squeeze enough out of this to make it full speed.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39