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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
« Previous 1 2 3 4 5 6 7 Next »

Synchronised FIFO patch (for Eternal Darkness)
View New Posts | View Today's Posts

Pages (18): 1 2 3 4 5 ... 18 Next »
Jump to page 
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Synchronised FIFO patch (for Eternal Darkness)
06-14-2010, 08:00 PM (This post was last modified: 06-14-2010, 09:23 PM by skid.)
#1
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,006
Threads: 8
Joined: Aug 2009
I am making available my work-in-progress patch for synchronising the FIFO. Synchronising the FIFO allows games like Eternal Darkness to run by making the GPU run in step with the CPU.

The code is more stable in Single Core mode than Dual Core. However, Dual Core does work and is faster. The Zelda Bloom Projection Hack needs to be turned on to see the game menu.

I am looking for test reports on this FIFO. I am most interested in games that work in SVN r5688 (x64 and Win32) but do not work with this version. However, all reports are welcome. In the report, please list the game and whether you used Single Core or Dual Core mode. Also, the FIFO BP Hack takes new meaning with this patch. If a game does not work, try toggling the FIFO BP Hack setting in the game properties. The FIFO BP Hack makes the FIFO work similar to the old FIFO.

I have found that Wii Sports, SMG, Pokemon XD, and Starfox Adventures do not work.

If you compile your own build, there are some special parameters that you can adjust to possibly make games work. Let me know if you have changed these parameters.

These are the parameters:

In CommandProcessor.h:
Code:
#define FIFO_PERIOD 13000

The FIFO period is how closely stepped the GPU and CPU are. The lower the number, the more accurate. The higher the number, the faster the emulation. Range should be 1000 - 30000

In OpcodeDecoding.cpp, there are a few lines that are in the following format:
Code:
cycleTime = XX; // TODO

This sets the amount of time that it takes to execute a GPU command. The ones marked with TODO have not been verified on the real hardware. The range should be between 5 - 50. Experiment with this value up to 1000.

If you compile your own builds, there is a patch file attached. If you cannot compile builds, here are the Win32 and x64 builds with default settings (they work with Eternal Darkness)

Synchronised FIFO Win32
Synchronised FIFO x64


Attached Files
.patch   Synchronised-FIFO-20100614.patch (Size: 73.78 KB / Downloads: 526)
Find
06-14-2010, 08:04 PM (This post was last modified: 06-14-2010, 08:05 PM by nosound97.)
#2
nosound97 Offline
Cheetahmen on the N64 D:
*******
Posts: 3,552
Threads: 107
Joined: Mar 2009
Nice, thanks for the patch Smile
[Image: 1147431.png]
YouTube channel | Xfire
Find
06-14-2010, 08:43 PM
#3
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
nice! thanks for making it public Smile
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
06-14-2010, 10:03 PM
#4
Ashok Offline
Member
***
Posts: 104
Threads: 4
Joined: May 2009
Cool, thanks skid!
Gigabyte GA-P35-DS3P
Intel Q6600 2.4Ghz
EVGA GeForce GTX 570
6GB DDR2-800
Windows 7 Ultimate x64
Find
06-14-2010, 10:38 PM
#5
blackJade Offline
Member
***
Posts: 168
Threads: 2
Joined: May 2010
Just test the 32bit version for me. SMG does work for me in single core mode.
And dual core mode no game can run...
All games 0FPS 0VPS SPEED0% and dolphin just freeze.
I need to use task manager to shut it down.
Find
06-14-2010, 10:39 PM
#6
omegadox Offline
Senior Member
****
Posts: 401
Threads: 17
Joined: Mar 2009
I will check it out later.
:: System Specs ::
Operating System: Windows 7 Professional x64
Video Card: ATI Radeon HD 5770
CPU: AMD Phenom I X4 9550
RAM: 6GB DDR2
EXP Index: 999999.999999
Find
06-14-2010, 10:57 PM (This post was last modified: 06-14-2010, 10:58 PM by blackJade.)
#7
blackJade Offline
Member
***
Posts: 168
Threads: 2
Joined: May 2010
Just tested all the game I have, and here is the result:
Final Fantasy Cristal Chronicles Series can't even run in single core.
0FPS 60VPS SPEED 100%
Include:
[NGC]Final Fantasy Cristal Chronicles
Final_Fantasy_Crystal_Bearers
Final_Fantasy_Crystal_Chronicles_Echoes_Of_Time
Also, Tales_of_Graces can't run.

Others games running alright in single core.
Find
06-15-2010, 06:46 AM (This post was last modified: 06-15-2010, 06:55 AM by Xtreme2damax.)
#8
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
This causes a lot of games to hang or freeze, needs some work, props to getting Eternal Darkness working so far. Wink

Also seems to be incompatible with the latest fifo commits, with the latest revision(s) all games seem to hang with this patch.

NSMB is about 25 - 30 FPS slower with this patch, other games I've tried so far seem to hang. Also causes other games to run slower as well, understandable as it's an early wip patch, thought I would pass the report along though.

Seems this doesn't help Sonic Unleashed though, this game still hangs when loading just as in previous revisions.
Find
06-15-2010, 08:03 AM (This post was last modified: 06-15-2010, 08:04 AM by Xtreme2damax.)
#9
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
I thought I would be clear and rephrase that this patch seems to be incompatible with the GPFifo.cpp changes that were committed earlier today, all games seem to hang no matter what.
Find
06-15-2010, 08:06 AM
#10
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,006
Threads: 8
Joined: Aug 2009
Xtreme2damax, are you running Single Core mode? Would you please list the games that you have tested?
Find
« Next Oldest | Next Newest »
Pages (18): 1 2 3 4 5 ... 18 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