• 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 ... 62 63 64 65 66 ... 365 Next »

Non-blocking CPU EFB access?
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Non-blocking CPU EFB access?
10-12-2017, 01:05 AM (This post was last modified: 10-19-2017, 11:11 PM by Shonumi.)
#1
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
The subject feature is an option in the Ishiiruka branch and it allows F-Zero GX to run twice as fast in the infamous Sand Ocean stages when enabled.
From my experience testing it, I don't see any obvious glitches in this game with this hack enabled.

Is this a feature the team would be willing to add as an option in the hacks section of the master branch?
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
10-12-2017, 01:59 AM
#2
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,531
Threads: 29
Joined: Feb 2013
No. I ran it by Stenzek a while back - it feeds the data in an inaccurate matter. It's worse than just turning off the effect altogether.
Find
Reply
10-12-2017, 02:02 AM
#3
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
OK. Thanks for the info.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
10-12-2017, 10:02 PM
#4
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
(10-12-2017, 01:59 AM)JMC47 Wrote: No.  I ran it by Stenzek a while back - it feeds the data in an inaccurate matter.  It's worse than just turning off the effect altogether.

After additional testing, it turned out that the feature that allows Ishiiruka to run that stage so much faster is not "Fast EFB Access" after all, but rather non-blocking CPU EFB access".  It is described in pull request #3652.

Does the pull request having a status of "closed" mean that it was rejected or simply that it will be incorporated at some point later on?
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
10-13-2017, 01:14 AM
#5
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,531
Threads: 29
Joined: Feb 2013
Looks like that one is possible. I think stenzek had a better implementation for it though that he wanted to do. There's other things he's spending his time on right now. I'll definitely ping him about it if it's a huge speedup.
Find
Reply
10-13-2017, 01:22 AM
#6
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
Thanks. I cannot run it back to back because it is not a feature that is exposed to the user to disable but the difference in those stages between the master and Ishiiruka is literally ~90% on my system, i.e., almost double the speed. The discussion in the PR in Github quotes improvements in the order of 60%, which is still a huge speedup.

I know it is a limited scenario but if it is a reasonable code modification, every little bit helps.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
10-14-2017, 04:31 AM
#7
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,827
Threads: 10
Joined: May 2012
(10-13-2017, 01:22 AM)themanuel Wrote: I know it is a limited scenario but if it is a reasonable code modification, every little bit helps.

The discussion about the fast EFB hack is not about efficiency, it is about the approval to return wrong values for better performance. We're fine with every small performance enhancement, also with very big code redesigns, if the emulation behavior is still correct. So this PR is fine, just Stenzek had proposed another way and hasn't finished since then. But we're very opposed to merge wrong but fast behavior, regardless if it still works fine in some popular games.
Find
Reply
10-14-2017, 04:48 AM
#8
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
(10-14-2017, 04:31 AM)degasus Wrote: The discussion about the fast EFB hack is not about efficiency, it is about the approval to return wrong values for better performance. We're fine with every small performance enhancement, also with very big code redesigns, if the emulation behavior is still correct. So this PR is fine, just Stenzek had proposed another way and hasn't finished since then. But we're very opposed to merge wrong but fast behavior, regardless if it still works fine in some popular games.

Yep.  Perfectly reasonable.  Just to be clear it's not fast EFB access but "non-blocking CPU EFB access", as described in pull request #3652.
At any rate, I'll sit tight.  It looks like Sand Ocean may run full speed on master in the near future.
Thanks.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
10-19-2017, 05:28 AM
#9
nikeymikey Offline
Junior Member
**
Posts: 33
Threads: 4
Joined: Jul 2016
I just ran F-Zero GX on the latest dev build, constant 60fps on Sand Ocean with a full field of opponents. Also fullscreen @1080p, 3xIR, 8x SSAA, 16xAf and Hybrid Ubershaders.
[color=#3333ff][Image: ya8z1x-4.png][/color]
[Image: bannerfans_19527277_1.png]


Find
Reply
10-19-2017, 05:40 AM
#10
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
(10-19-2017, 05:28 AM)nikeymikey Wrote: I just ran F-Zero GX on the latest dev build, constant 60fps on Sand Ocean with a full field of opponents. Also fullscreen @1080p, 3xIR, 8x SSAA, 16xAf and Hybrid Ubershaders.

Master build or Ishiiruka?
What CPU do you have?
What graphics back-end are you using?

Thanks.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • 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