• 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 ... 43 44 45 46 47 ... 117 Next »

shortcut to skip EFB Access from CPU
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
shortcut to skip EFB Access from CPU
05-11-2014, 08:16 AM
#6
galop1n Offline
Member
***
Posts: 70
Threads: 1
Joined: May 2014
Hi,

I started playing with Dolphin code drop recently for fun, playing with profilers and boost perf if possible. I am a graphic/low level programmer in the video game industry, and will focus first on having a D3D11 backend faster than the OGL one Smile

I do not yet anything to pull on git, but one of the change i work on already involve a deferred EFB access mode "hack". Usually, when a graphic engine read back memory from the GPU, it will be seen every frame and do not really need a strong link to the frame it was requested. And user code usually already deal with frame latency to prevent CPU/GPU syncs anyway ( at least on X360, PS3 and PC ).

The idea is to remove the sync completely. On the Render thread, we execute requests received as fake FIFO commands and put the results in a cache. On the CPU thread, we push the fake command to the FIFO and try to match a previously done request from the previous frames in the cache to return a value directly.

I am working on this for Zelda: Skyward Sword as profiling session shown a lot of sync waste to allow PEEK in the depth buffer. If you know some other games using EFB access with visible glitches when disable, let me know, i will look at the access pattern to see if the hack i am working on is also viable for them.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
shortcut to skip EFB Access from CPU - sagaopc - 03-29-2014, 11:55 AM
RE: shortcut to skip EFB Access from CPU - sagaopc - 03-31-2014, 04:11 AM
RE: shortcut to skip EFB Access from CPU - delroth - 03-31-2014, 04:21 AM
RE: shortcut to skip EFB Access from CPU - sagaopc - 03-31-2014, 07:30 AM
RE: shortcut to skip EFB Access from CPU - degasus - 03-31-2014, 07:11 PM
RE: shortcut to skip EFB Access from CPU - galop1n - 05-11-2014, 08:16 AM
RE: shortcut to skip EFB Access from CPU - JMC47 - 05-11-2014, 08:26 AM
RE: shortcut to skip EFB Access from CPU - neobrain - 05-11-2014, 08:33 AM
RE: shortcut to skip EFB Access from CPU - galop1n - 05-11-2014, 09:10 AM
RE: shortcut to skip EFB Access from CPU - neobrain - 05-11-2014, 09:18 AM
RE: shortcut to skip EFB Access from CPU - degasus - 05-11-2014, 10:44 AM
RE: shortcut to skip EFB Access from CPU - JMC47 - 05-11-2014, 07:54 PM
RE: shortcut to skip EFB Access from CPU - degasus - 05-11-2014, 07:57 PM
RE: shortcut to skip EFB Access from CPU - JMC47 - 05-11-2014, 08:29 PM
RE: shortcut to skip EFB Access from CPU - delroth - 05-11-2014, 09:20 PM
RE: shortcut to skip EFB Access from CPU - JMC47 - 05-11-2014, 10:55 PM

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


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode