• 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 ... 65 66 67 68 69 ... 117 Next »

[Patch] Auto Frameskip - update page 3
View New Posts | View Today's Posts

Pages (13): « Previous 1 ... 6 7 8 9 10 ... 13 Next »
Jump to page 
Thread Rating:
  • 7 Vote(s) - 2.14 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[Patch] Auto Frameskip - update page 3
08-13-2009, 06:18 AM
#71
Unknownforce Offline
X
****
Posts: 519
Threads: 11
Joined: Mar 2009
(08-13-2009, 05:57 AM)Iulius Wrote: i can confirm it too, look at the commit comments Tongue

i also mentioned this before in this thread somewhere.


it cant be fixed without breaking auto mode in all other games or game specific hack for auto mode (lol, what a strange idea)

well, that means it cannot be fixed at all.


in any case : auto mode is still better then full frameskip 9 in sunshine + you dont have to use 9 + sunshine runs great without frameskip or 1 maximum

thats why i dont really cared about it Undecided


Quote:It sounds like the actual frameskipping is not getting fully circumvented every time.

not my fault when games render unsteady frames.

its impossible to know if a frame was late because of a random effect or if it was late because the game runs slow.

as the second is much more often and also the reason why we want frameskip, i made it always think the game runs slow when a frame comes late.

This is why there needs to be an Auto Option instead of integrating it into the already available options. Auto should scale up to 9 or more if necessary without the user having to set that as the maximum.

True auto frameskip would be dolphin ONLY dropping frames to ensure the full speed of the core. Since the full speed of the core could be reached without frame skip and yet frames are STILL being dropped... then it doesn't work as it should and needs more work. I'm not dismissing your work, as it kind of works and it's definitely a big step in the right direction, but I wouldn't call it final since it's not complete.

And I'm not saying its your fault... you can only do the best you can with what you got. But it's the truth, whether you can fix it or not.

While it might be impossible to tell the difference between the two, the point is you shouldn't have to with auto frameskip, it shouldn't be based on whether the game is slow or a random effect, it should simply be based off of current CORE FPS count compared to the Target CORE FPS count. And let it do the scaling on it's own, not having to set a maximum on it.

While I don't know much about the programming aspect of it, it sounds like you're just tapping into the already available Frameskip option and just letting it handle the skipping as needed when it determines the game is running slow... auto mode should be a separate entity that handles the frame skipping itself, hence the reason for the "Auto" selection instead of the numbered selections that are available now.

Again, I'm only offering my help, not shooting down your work at all, it's great and I think you should continue working on it. Collaboration is what these projects are all about. Smile
[Image: Unknownforcesig.jpg]

[Image: 539486.png]

My Dolphin Builds
Find
Reply
08-13-2009, 07:12 AM
#72
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
Does the auto frame skip work with the frame limiter set to auto?
Find
Reply
08-13-2009, 07:26 AM
#73
Unknownforce Offline
X
****
Posts: 519
Threads: 11
Joined: Mar 2009
(08-13-2009, 07:12 AM)Xtreme2damax Wrote: Does the auto frame skip work with the frame limiter set to auto?

Yes, but auto frame limiter is buggy from what I hear, best to just set it to the actual game limit, like 60 fps for most NTSC games 50 for most PAL and 30 for things like the Zelda's, and some others.
[Image: Unknownforcesig.jpg]

[Image: 539486.png]

My Dolphin Builds
Find
Reply
08-13-2009, 04:36 PM (This post was last modified: 08-13-2009, 04:47 PM by Iulius.)
#74
Iulius Offline
Senior Member
****
Posts: 410
Threads: 6
Joined: Jun 2009
guys, im very sorry.

the newest version called "final" has some bug.

it uses always 1 more frameskip that is needed.


the reason is this line in core.cpp :

Quote:if (Timer.GetTimeDifference() < wait_frametime * (frames + skipped - 1))

the "-1" is WRONG and was here for testing purpose.


Please daco or someone with access to svn fix this.


just edit the line to

if (Timer.GetTimeDifference() < wait_frametime * (frames + skipped))


thank you !
Find
Reply
08-13-2009, 06:19 PM
#75
Emulatong Offline
Senior Member
****
Posts: 257
Threads: 40
Joined: Jul 2009
how do I use this Auto Frameskip?

I have build 3975
Find
Reply
08-13-2009, 08:40 PM
#76
satan666 Offline
-o-
**
Posts: 29
Threads: 0
Joined: Mar 2009
It always turn on. You didn't set your config.
===== Get latest Dolphin Here ===== [color=orange]Update Alway!!![/color]
Find
Reply
08-13-2009, 09:24 PM
#77
Emulatong Offline
Senior Member
****
Posts: 257
Threads: 40
Joined: Jul 2009
(08-13-2009, 08:40 PM)satan666 Wrote: It always turn on. You didn't set your config.

so how to set my config that will be effective?
Find
Reply
08-13-2009, 10:35 PM
#78
Iulius Offline
Senior Member
****
Posts: 410
Threads: 6
Joined: Jun 2009
frameskip to desired maximum value and framelimit to games frames limit.

thats all.


keep in mind that it got a bug at the moment that will be fixed whenever Dacos awakening happens Tongue
Find
Reply
08-14-2009, 01:23 AM
#79
DacoTaco Offline
His royal bitchness Tacoboy
*******
Moderators
Posts: 1,134
Threads: 31
Joined: Mar 2009
(08-13-2009, 10:35 PM)Iulius Wrote: frameskip to desired maximum value and framelimit to games frames limit.

thats all.


keep in mind that it got a bug at the moment that will be fixed whenever Dacos awakening happens Tongue

or nakee feels like loving us Tongue
[Image: PeachSig.jpg]
[Image: 566286.png]
[Image: 2280403.png]
Website Find
Reply
08-15-2009, 05:26 AM
#80
BlackLionPT Offline
BlackLionPT
***
Posts: 91
Threads: 18
Joined: Mar 2009
Just a question:
Isn't possible to make dolphin only reproduce some frames?
Instead of skiping, make the game runing in a total of 30 frames (for example), like in some games, you can select the frames (Sonic Heroes is one of those).
That would make the game run faster, and no computer power would be wasted.
[Image: 25g484l.gif]
CPU: Intel i7 2600 @ 4.6Ghz 1.295V | Motherboard: ASRock Z77 Extreme6 | RAM: 8 GB DDR3 1600Mhz CL7 | GPU: Ati 5870 1 GB + Artic Cooling Xtreme III | HD: 5TB (500GB x2 Raid0 + 2x2TB)
Find
Reply
« Next Oldest | Next Newest »
Pages (13): « Previous 1 ... 6 7 8 9 10 ... 13 Next »
Jump to page 


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


Users browsing this thread:



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode