• 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 ... 14 15 16 17 18 ... 74 Next »
Jump to page 
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Hyrule Field Slowdown Observation
04-05-2010, 01:06 PM (This post was last modified: 04-05-2010, 01:07 PM by Starscream.)
#151
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
(04-05-2010, 12:22 PM)Xtreme2damax Wrote: But what does he mean by backwards?
(04-05-2010, 12:21 PM)[SS] Starscream Wrote: Xtreme, try to change some of the FIFO timing and see what happens. This may even fix Eternal Darkness in some ways.

I wish I knew how, cause I would do that. Tongue

Well I asked another fellow coder that contributes to Pcsx2, he is not sure and not all that familiar with the Dolphin code, but seems to also think that the issue lies in the Fifo_EnterLoop function. Bleh, it's probably a combination of things that could be rewritten with more efficient and faster code.

Well, if you can, look for the first FIFO commit that changed the FIFO. Probably sometime between 150 and near the 3 or 400th commit and change it back to that in this current revision.
Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
Reply
04-05-2010, 01:42 PM
#152
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
That probably wouldn't be the best thing to do. Even though ED was broken, there have been massive improvements to the Fifo that have fixed several things, reverting back to old and possibly highly buggy code wouldn't be worth it to fix an issue with a select handful of games.

It would be nice if those more experienced with coding can suggest things to try so we can experiment a bit and test changes to see if they have any positive effects.

I'm trying to dig into the Fifo source and the source for the video plugins but so far have been unable to wrap my head around it due to my obvious lack of coding skills.
Find
Reply
04-05-2010, 09:02 PM
#153
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
hm...does anyone know how Hyrule field was doing before those early FIFO changing commits which broke Eternal Darkness?
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
04-05-2010, 09:53 PM (This post was last modified: 04-05-2010, 09:54 PM by Jack Frost.)
#154
Jack Frost Offline
aka. BhaaL
**********
Developers (Some Administrators and Super Moderators)
Posts: 511
Threads: 3
Joined: Oct 2009
(04-05-2010, 11:58 AM)Xtreme2damax Wrote: Something j4ck.frost mentioned in a comment for revision 5272:

Quote:D3D Video_BeginField and OGL Video_BeginField are backwards. OGL does AtomicLoad first, D3D does AtomicStore first.

That whole looping and spin-waiting looks odd to me, especially the way YieldCPU is now. Shouldn't we rather look into way to make it different, rather than moving statements before/behind loops?

I can't find where Video_BeginField is located at, what file has this function and what is backwards?

YieldCPU (and the defined YieldProcessor inside) simply boil down to _mm_pause. And as far as I know, this is only effective on schizophrenic CPUs (that is, ones with Hyperthreading).
That particular part in main.cpp (both DX9 and OGL) does a spin-wait (looping until some variable becomes available) using YieldCPU, which as a whole does not really look useful to me.
My problem is that I don't really know the full path of how things run thru those methods, with SC/DC and other factors; so I can't really say what else we could do in those places.

One guess would be moving the two VideoFifo calls after FifoCriticalLeave to run before FifoCriticalEnter, but that might just move the point where desynch occurs by a few cycles.
Find
Reply
04-06-2010, 01:52 AM
#155
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
(04-05-2010, 09:02 PM)StripTheSoul Wrote: hm...does anyone know how Hyrule field was doing before those early FIFO changing commits which broke Eternal Darkness?

It is not really known as Dolphin was much slower back then and quite a few issues existed that affected playability of most games.
Find
Reply
04-06-2010, 05:22 AM
#156
Petersonx Offline
Junior Member
**
Posts: 12
Threads: 4
Joined: Mar 2010
Hyrule field gets even slower when you fill up the zora lake.
Find
Reply
04-11-2010, 11:17 AM
#157
bleron Offline
Junior Member
**
Posts: 35
Threads: 1
Joined: Jul 2009
anyway has any one tried cheats ? maybe using a cheat or two to get into the other areas of Hyrule Field can help, and then see if theres the same slowdown.
Windows 7 x64
Intel Core 2 Quad Q6600 @ 2.4 GHz
[color=#A9A9A9]Nvidia GeForce 7350 LE[/color] XFX Nvidia GeForce GTS 250 512 MB
3 GB DDR2 SDRAM
Find
Reply
04-11-2010, 02:50 PM
#158
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
I'm close to the end of the game, just before the city in the sky, Hyrule Field is at 12 - 15 FPS tops on my Core2Duo E8500 PC.
Find
Reply
04-11-2010, 02:54 PM (This post was last modified: 04-11-2010, 02:54 PM by bleron.)
#159
bleron Offline
Junior Member
**
Posts: 35
Threads: 1
Joined: Jul 2009
(04-11-2010, 02:50 PM)Xtreme2damax Wrote: I'm close to the end of the game, just before the city in the sky, Hyrule Field is at 12 - 15 FPS tops on my Core2Duo E8500 PC.

same here, but i did not necessarily mean that, what i meant was that trying a cheat that could sneak you into other parts of Hyrule field without beating Goron's mines, or is that not possible? though i have doubts about this
Windows 7 x64
Intel Core 2 Quad Q6600 @ 2.4 GHz
[color=#A9A9A9]Nvidia GeForce 7350 LE[/color] XFX Nvidia GeForce GTS 250 512 MB
3 GB DDR2 SDRAM
Find
Reply
04-11-2010, 04:25 PM
#160
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
I think the idea is to fix the game properly and not have to avoid certain areas of the game at all.
Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
Reply
« Next Oldest | Next Newest »
Pages (74): « Previous 1 ... 14 15 16 17 18 ... 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