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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 141 142 143 144 145 ... 369 Next »

Hyrule Field Slowdown Observation
View New Posts | View Today's Posts

Pages (74): « Previous 1 ... 40 41 42 43 44 ... 74 Next »
Jump to page 
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Hyrule Field Slowdown Observation
06-28-2010, 04:27 PM
#411
obscured Offline
Senior Member
****
Posts: 317
Threads: 1
Joined: May 2010
Can you upload a patched build for us?
Find
Reply
06-28-2010, 04:29 PM (This post was last modified: 06-28-2010, 05:12 PM by Xtreme2damax.)
#412
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
Sure, give me a moment and I'll have it uploaded. Smile

:Edit: It's uploading now, will post a link once it's finished, will be available at the same place where all my builds are available for download.

Here it is: http://www.xtemu.com/forum/dolphin-x86x64-svn-revision-5807-file120.html

Please note that this will be a bit slower due to soren reverting skids change that removed the StoreFromX64 that was causing slowdowns. I'll revert soren's change after I get some sleep to hopefully give a bit more speed. I will update the file tomorrow after I revert the change.
Find
Reply
06-28-2010, 05:46 PM
#413
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
Awesome Smile

However, I guess the devs won't like this in the code since it's a hack, right?
Could it be made optional? Like a speed-hack? That would be the best solution cuz only then you can be sure that this code is not responsible for any future issues...
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
Reply
06-28-2010, 05:49 PM (This post was last modified: 06-28-2010, 05:54 PM by obscured.)
#414
obscured Offline
Senior Member
****
Posts: 317
Threads: 1
Joined: May 2010
haha this thread is funky.....

edit: thanks for the build.
Find
Reply
06-28-2010, 05:52 PM (This post was last modified: 06-28-2010, 05:53 PM by StripTheSoul.)
#415
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
blabla, write something, people...otherwise the damn next page won't show Tongue
Xtreme, could you please open a new thread, this one sucks big-time with the next page not showing up...

EDIT: Ah, finally ^^
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
Reply
06-28-2010, 07:28 PM
#416
Monotone Offline
Junior Member
**
Posts: 17
Threads: 1
Joined: Feb 2010
I've got the PAL version of the Gamecube and the game is still running at the same speed, with and without the patch :/ it turns about 15-16 fps.

How many fps do you have Xtreme2damax?

I've maybe done something wrong, can someone else test with the PAL version?
OS: Windows 7 32bits
RAM: 4.00 Gb (3,00 Gb usable)
Graphic Card: nVidia GeForce GT 220 (1 Gb)
Processor: Intel® Core™2 Quad CPU Q9400 @ 2.66 GHz 2.67 GHz
Find
Reply
06-28-2010, 07:30 PM
#417
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,006
Threads: 8
Joined: Aug 2009
The code to the ZTP speed up patch looks good. Do you know if it speeds up any games other than ZTP? Can you make the hack optional? Also the printf should be replaced with a INFO_LOG.
Find
Reply
06-28-2010, 07:44 PM
#418
obscured Offline
Senior Member
****
Posts: 317
Threads: 1
Joined: May 2010
Here are some of my results on Win 7 64bit on x64 builds:

SVN 5803 (No TP patch) 56% speed
SVN 5807 (with latest patch) 70% speed
SVN 5030 (with old patch) 91% speed

All these speeds are takened in Hyrule field.
Intel I5 2500k 4.6Ghz@1.34v w/ Noctua NH-D14
Asus P8P67 Pro
OCZ Agility 2 60GB SSD
G. Skill RipJaw X 8GB 1600
EVGA GeForce GTX 560 Ti Superclocked
Creative X-Fi XtremeGamer Fatal1ty Pro
Thermaltake ToughPower 750W
Rocketfish Aluminum Full Tower Case
Find
Reply
06-28-2010, 08:48 PM (This post was last modified: 06-28-2010, 09:06 PM by Jack Frost.)
#419
Jack Frost Offline
aka. BhaaL
**********
Developers (Some Administrators and Super Moderators)
Posts: 511
Threads: 3
Joined: Oct 2009
Hmm, this adds about 4 fps for me.
ZTP GC PAL, r5807, ZTP map texture found at address 00bc9b00

Edit: Slightly modified it, might squeeze an extra fps every now and then :p Too lazy to do a GUI option right now, but I guess you can figure out what to do.
I'm a bit concerned about the condition in my new Flush_MapTexZTP method tho, are those really supposed to be or's (maybe different ordering could also squeeze another frame, like checking address and tevorder.enable first)?


Attached Files
.patch   ztp.patch (Size: 1.83 KB / Downloads: 102)
Find
Reply
06-28-2010, 09:25 PM (This post was last modified: 06-28-2010, 10:03 PM by fircrestsk8.)
#420
fircrestsk8 Offline
Junior Member
**
Posts: 19
Threads: 0
Joined: May 2010
monotone, the patch should only speed up areas in and around hyrule field (large, outdoors areas). At what point are you in the game? also, select view, show console and look for a message that says "ZTP map Texture found...". It should pop up the first time you enter hyrule field. If you see this message, the problem is probably due to the JIT problems that Xtreme mentioned, and will be fixed in the next build he puts out. If you don't see this message, It may be that the pattern i noticed is more subtle earlier in the game, and i should therefore make the "texture found" conditions a little more lax.
BTW, i get about 17-20 fps with this hack in hyrule field and full speed nearly everywhere else. I use revision 5807 with "\Source\Core\Core\Src\PowerPC\Jit64\Jit_Integer.cpp" rolled back to revision 5790.

skid, The hack works by identifying a very specific pattern of BP writes that occur in ZTP while in or around hyrule field (This pattern was identified thanks to Kiessel's patch). These writes always occur while a particular texture is being drawn, so once the pattern has been identified, the texture's address is saved and the hack is enabled via a "found" bool variable. The speed increase is then gained by disabling the the normal pipeline flush that occurs during a BPWrite whenever this texture is being drawn. The primitives are then drawn all at once once the end of the pattern is reached (right before the texture becomes deactivated). Basically, it consolidates thousands of small pipeline flushes into several very big flushes.
It's hard to say whether any other game would contain a similar pattern of BP Writes, but i think it is unlikely. That's why i don't think it will affect other games, negatively or positively.

Making the hack optional sounds like a great idea I'm just not too sure how to go about it. I guess the best way would be to add a checkbox to the video plugin config window. If i understand correctly, i should then make this checkbox set a g_config variable (that i would need to create). I would then check the status of this variable with g_activeconfig to control how BPstructs handles BP writes (enabling or disabling the hack). I will probably need some guidance in creating the check box, and making the checkbox control not only g_config but resetting the variables used in BPstructs as well, so that the texture is found every time the box is checked (if that is possible, it might be bad program flow). Any idea where i might be able to find some of this information (I'll probably be able to figure most of it out by shuffling through the code, but i don't want to miss anything important).

The printf has been replaced with an INFO_LOG( VIDEO, ...), thanks for the heads up Smile It will be changed when the "optional" version gets finished.

Xtreme, thanks for putting the build out Smile Hopefully making the hack optional will make it acceptable for a commit.

EDIT: wow, people are postin up a storm

obscured, Hmmm... I was hoping for this patch to run just as fast, or at least nearly as fast, as kiessel's. Anyway could you test it on an older revision, or at least a new revision with Jit_integer rolled back? Either way, thanks for getting some data Smile

jackFrost, Ahhhh, thats how function pointers are used Smile Are the additional function calls really going to speed things up, I thought function calls were slower than inline code... also, I put the address condition first so that the if statement would short-circuit quickly when processing the important BP writes (when the map texture is not currently stored), but swapping the last two conditions may or may not be a little more efficient (i highly doubt it would be noticeable at all). I'm gonna start the GUI enable now, I could use some input if you've done this kind of thing before...
Windows 7 64-bit professional
Intel Core2 Duo E7400
nVidia 9800 GTX+
6 GB Ram

Find
Reply
« Next Oldest | Next Newest »
Pages (74): « Previous 1 ... 40 41 42 43 44 ... 74 Next »
Jump to page 


  • 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