• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 36 37 38 39 40 ... 116 Next »

Another performance regression (4.0-5319 and newer) [FIXED!?]
View New Posts | View Today's Posts

Pages (5): 1 2 3 4 5 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Another performance regression (4.0-5319 and newer) [FIXED!?]
01-29-2015, 06:07 PM (This post was last modified: 02-05-2015, 12:29 PM by kirbypuff.)
#1
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
Starting with 4.0-5319, Dolphin took a serious performance hit - up to 25% slower (with both backends, EFB2RAM and EFB2Tex):

nsmb cake intro:
-----------------------
74fps -> 56fps (D3D, EFB2RAM @ 1xIR)
60fps -> 47fps (D3D, EFB2RAM @ 6xIR)
60fps -> 45fps (OGL, EFB2RAM @ 6xIR)
95fps -> 72fps (D3D, EFB2Tex @ 6xIR)

This is the dev. build and PR / commit which caused the regression:

4.0-5319:
PostProcessing: Add support for user-supplied anaglyph shaders. (PR #1817)

The previous build (4.0-5315) doesn't have this problem.

-----------------------
Testing needed !
-----------------------
* Use the config files below (see attachment) in portable mode <-- see the section "for advanced users only"
* Run the the nsmb cake intro with builds 4.0-5315 and 4.0-5319 and compare the frame rate.


It would be great if any of these users (listed below based on their hardware specs) could perform a regression test :

* cammelspit
* Echoes
* ExtremeDude2
* GeneralFailer
* kinkin ?
* Nfaug
* omega_rugal
* slarlac249
* Stevoisiak
* sulblazer
* Tino ?
Find
Reply
01-29-2015, 11:49 PM
#2
haddockd Offline
Dolphin Addict
*****
Posts: 838
Threads: 31
Joined: Jun 2011
Did you add this to the issue list?

https://code.google.com/p/dolphin-emu/issues/list
i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2
ASRock Z370 Taichi LGA 1151
CORSAIR Vengeance LPX 16GB 2400 DDR4
SAMSUNG 970 EVO M.2 500GB PCIe SSD
Indigo Xtreme TIM
Phanteks Pro ES614P Black Steel Case
EVGA SuperNOVA 750W PSU
Windows 10 64-bit
Find
Reply
01-30-2015, 01:12 AM
#3
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
Sounds like D3D EFB -> Ram is on par with OGL performance. Did you test against OGL to see if that's the case? Probably some issue or inaccurate code in the D3D backend was speeding up emulation while causing other issues. I keep wondering if EFB -> Ram and CPU -> EFB access etc.. can be optimized without breaking anything, performance hit is just too large with some games.
Find
Reply
01-30-2015, 01:43 AM (This post was last modified: 01-30-2015, 02:23 AM by Xtreme2damax.)
#4
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
Yeah the case here might be D3D was bugged with EFB -> Ram or OGL is too slow. The former is likely the case sadly.

It's like ZTP Hyrule Field. I went from having 20fps to 25fps without the speedhack with D3D. OGL was dog slow at around 12fps to 16fps. Then OGL become just as fast as D3D and now I think with both I get a measly 12fps to 16fps without the speedhack.

Hopefully devs will acknowledge an issue if there is one.
Find
Reply
01-30-2015, 02:54 AM
#5
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,542
Threads: 29
Joined: Feb 2013
Unable toe reproduce doing an every 100 build check on D3D. No noticeable spike down past the builds you reported. It's possible that adding in that option caused some kind of problem though, I will notify Armada.
Find
Reply
01-30-2015, 03:04 AM (This post was last modified: 01-30-2015, 03:07 AM by kirbypuff.)
#6
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
The regression is easy to reproduce: just run the the nsmb cake intro with builds 4.0-5315 and 4.0-5319 and compare the frame rate.
Find
Reply
01-30-2015, 03:46 AM
#7
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,542
Threads: 29
Joined: Feb 2013
Again, I'll let Armada know, but I'm not seeing a large enough difference to draw a conclusion yet. Seems like a merge that shouldn't affect performance at all, though, so it's possible something is going wrong.
Find
Reply
01-30-2015, 06:25 AM (This post was last modified: 01-30-2015, 07:59 AM by kirbypuff.)
#8
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
Update #1:
-----------------
The OpenGL backend has the same issue (even worse): 25% slower compared to the previous build.

60 fps -> 45 fps (@ 6xIR)


Update #2:
-----------------
It's not just EFB to RAM... EFB to Texture is affected as well:

95 fps -> 72 fps (6xIR, D3D)


Update #3:
------------------
Same thing at 1xIR:

74 fps -> 56 fps (1xIR, D3D)


Update #4:
-----------------
POVRay bench (3 runs x2):

Total bench times are about the same.

[EDIT] First post updated
Find
Reply
01-30-2015, 07:02 AM (This post was last modified: 01-30-2015, 07:03 AM by Link_to_the_past.)
#9
Link_to_the_past Offline
Link on steroids really
*******
Posts: 1,767
Threads: 17
Joined: Feb 2010
I can't reproduce it either with 4.0- 5319 compared to 4.0-5315.
Find
Reply
01-30-2015, 07:42 AM (This post was last modified: 01-30-2015, 08:13 AM by kirbypuff.)
#10
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
(01-30-2015, 02:54 AM)JMC47 Wrote: Unable toe reproduce doing an every 100 build check on D3D. No noticeable spike down past the builds you reported. It's possible that adding in that option caused some kind of problem though, I will notify Armada.

(01-30-2015, 07:02 AM)Link_to_the_past Wrote: I can't reproduce it either with 4.0- 5319 compared to 4.0-5315.

Intel + NVIDIA combination, maybe that's why.

Someone needs to test the other 4: AMD + AMD/ATI, Intel + AMD/ATI, AMD + NVIDIA and Intel + Intel IGP (all with the latest GPU drivers), and maybe add an older Intel (Core2) CPU to the mix.
Find
Reply
« Next Oldest | Next Newest »
Pages (5): 1 2 3 4 5 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode