• 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 … 50 51 52 53 54 … 117 Next »

Development Thread
 Testers wanted - gx-optimization branch
View New Posts | View Today's Posts

Pages (5): 1 2 3 4 5 Next »
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Development Thread
 Testers wanted - gx-optimization branch
05-21-2012, 06:33 AM (This post was last modified: 01-09-2013, 03:28 PM by Starscream.)
#1
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Bug 
Hi Dolphin users,

I've been working with degasus on a few backend agnostic (i.e. affects GL, DX9 and DX11) graphics emulation optimizations. The gx-optimization branch contains changes which avoid doing actions when a game sets a graphics register to the same value it contained before. Turns out this simple optimization divides by two the number of OpenGL calls per rendered frame in some games.

We'd be interested to get some more testing done on this code in order to merge it to master soon. We're looking mainly for three things:
  • Rendering bugs caused by our new optimizations. Please check that the bugs you're noticing do not happen on the last Dolphin master revision to avoid making us lose time!
  • Games on which the optimization improves performance. Be careful to use the same settings when comparing performance.
  • Games on which the optimization reduces performance. I don't think this will happen but in case you notice something like this, please also check your settings.

Link to builds of the last gx-optimization branch commit: https://www.dropbox.com/sh/lrsiiujv0784lcb/YDfqQo0uPQ

Thanks for testing and thanks in advance for your feedback!
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
05-21-2012, 10:14 PM (This post was last modified: 05-21-2012, 10:25 PM by Garteal.)
#2
Garteal Offline
「Lab Mem. 004」
********
Global Moderators
Posts: 2,095
Threads: 24
Joined: Aug 2011
I've tested this with 2 games at the moment: Twilight Princess and The Last Story.
The builds I've used are: 3.0-638 | main | and 3.0-643 | gx optimization |
There is no difference at all so far.
No bugs have been observed.

I have tried both the DirectX9 and OpenGL backend using various settings, which include:
- Setting EFB Copies to RAM
- Setting EFB Copies to Texture
- Setting the IR to Native
- Setting the IR to x4

Here is the results hosted on PasteBin. (Expires in a day)
Find
Reply
05-22-2012, 02:45 AM
#3
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,347
Threads: 273
Joined: Dec 2010
I'm going to guess you you had framelimit and stuff off Big Grin
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
05-22-2012, 08:07 AM
#4
RachelB Offline
Developer
*******
Moderators
Posts: 1,003
Threads: 1
Joined: Dec 2011
(05-22-2012, 02:45 AM)ExtremeDude2 Wrote: I'm going to guess you you had framelimit and stuff off Big Grin

I can confirm his results actually. I tested zelda TP yesterday and got the same thing. 30 fps in hyrule field, 10 without the ztp hack. On the title screen i got 120 fps on master, and 124 with gtx-optimizations. That's with 2 minute tests with each build/setting. Other than the title screen, which could easily be attributed to margin of error, they were almost exactly the same to within a small handful of frames.
Find
Reply
05-23-2012, 01:26 AM (This post was last modified: 05-23-2012, 01:29 AM by dEnigma.)
#5
dEnigma Offline
Member
***
Posts: 138
Threads: 1
Joined: Sep 2011
Did some testing and benchmarking with Zelda WW and so far haven't noticed anything unusual, but sadly there also seems to be no increase in OpenGl performance (of two benchmarks one showed a little gain in speed, while the other showed a small decrease). I will test more games when I find the time.

Oh, I only tested the 64bit version so far.

edit: Oh, and I used my own builds, but I guess that shouldn't be a problem.
[Image: postcountwe8.jpg]
---------------------------------------------------------------------------------------
[Image: 2350461.png]
Find
Reply
05-25-2012, 12:29 AM
#6
KHRZ Offline
Above and Beyond
*******
Posts: 1,527
Threads: 61
Joined: Mar 2009
Many games are mostly bottlenecked by the CPU thread (this includes Zelda I think). Try something like Super Mario Galaxy. Also, you could try the games in single core mode, to see improvement in those that aren't affected in dual core mode.
Specs: intel i5 3570k @ 3.4GHz;
16Gb RAM; Raedon HD 7900;
Win8 64-Bit
Website Find
Reply
05-25-2012, 06:45 AM
#7
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Merged to master a few hours ago, thanks to everyone who tested the changes!
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
05-25-2012, 03:35 PM
#8
RachelB Offline
Developer
*******
Moderators
Posts: 1,003
Threads: 1
Joined: Dec 2011
(05-25-2012, 12:29 AM)KHRZ Wrote: Many games are mostly bottlenecked by the CPU thread (this includes Zelda I think). Try something like Super Mario Galaxy. Also, you could try the games in single core mode, to see improvement in those that aren't affected in dual core mode.

I don't ever use dual core, and i've still never seen any improvement with it.
Find
Reply
05-26-2012, 06:25 AM
#9
dEnigma Offline
Member
***
Posts: 138
Threads: 1
Joined: Sep 2011
I know this has already been merged into master but I just tested it with SSBB and despite introducing no graphical issues it gained me about 6 fps on the graphics-intensive map "Delfino Plaza", so yay for gx_optimization and yay for delroth.
[Image: postcountwe8.jpg]
---------------------------------------------------------------------------------------
[Image: 2350461.png]
Find
Reply
05-26-2012, 06:58 AM
#10
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
How can you be sure? Any number of of settings/programs running could account for this. See how many times you can reproduce this speedup and post some screen shots of before and after.
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 (5): 1 2 3 4 5 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma