• 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 ... 122 123 124 125 126 ... 369 Next »

Will better hardware increase EFB to Ram performance?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Will better hardware increase EFB to Ram performance?
03-28-2015, 07:07 AM (This post was last modified: 03-28-2015, 07:10 AM by mimimi.)
#8
mimimi Offline
Senior Member
****
Posts: 720
Threads: 1
Joined: May 2014
EFB to RAM generates a texture for the gpu to use, and also copies the object to the gamecube/wii memory. This is required if a game reads this data and does *something* with it, use it for a screenshot feature, know what is on screen(scan visor Metroid Prime 2/3), modify textures(Last Story). Right now it's also required as a fallback for cases that aren't handled otherwise, like partial texture updates in new super mario bros for the spinning coins, the block animation, blue(or red?) coins, the question mark box animation etc. Those partial texture updates could be handled without efb2ram, but this would require some new code.

Anyways, to answer the question, both cpu and gpu are important for efb2ram performance. On this copy from efb to ram, the gpu has to finish rendering, before it can copy from gpu ram to cpu ram. During this the cpu is waiting for the gpu. And then afterwards the gpu is waiting for the cpu to give it new tasks. (fun fact: directly after the efb2ram copy, the cpu is also calculating the hash for the efb copy, so this wait period depends on the texture cache accuracy setting on some games.) So both cpu and gpu are not doing anything for while and have to do all the work in a shorter period of time than usual. This is the reason why efb2ram can cause massive slowdowns, and why a higher IR setting has a much bigger impact than it does on efb2tex.

PS: In the thread for the last story, i posted how to patch the dolphin to only do efb2ram when necessary in the game, this results in a good speedup. I don't know if it really works 100%, i only tested loading a game and recoloring clothes with it.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Will better hardware increase EFB to Ram performance? - bomblord - 03-28-2015, 03:05 AM
RE: Will better hardware increase EFB to Ram performance? - KHg8m3r - 03-28-2015, 03:06 AM
RE: Will better hardware increase EFB to Ram performance? - bomblord - 03-28-2015, 03:08 AM
RE: Will better hardware increase EFB to Ram performance? - KHg8m3r - 03-28-2015, 03:55 AM
RE: Will better hardware increase EFB to Ram performance? - kirbypuff - 03-28-2015, 04:13 AM
RE: Will better hardware increase EFB to Ram performance? - bomblord - 03-28-2015, 06:21 AM
RE: Will better hardware increase EFB to Ram performance? - JMC47 - 03-28-2015, 06:42 AM
RE: Will better hardware increase EFB to Ram performance? - mimimi - 03-28-2015, 07:07 AM
RE: Will better hardware increase EFB to Ram performance? - Link_to_the_past - 03-28-2015, 07:40 AM
RE: Will better hardware increase EFB to Ram performance? - bomblord - 03-28-2015, 07:55 AM
RE: Will better hardware increase EFB to Ram performance? - mimimi - 03-28-2015, 09:22 AM

  • 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