RetroArch 1.9.13 released, adds automatic frame delay

asdasdsadasd (1).png

It's time to go grab a new version of RetroArch. The Libretro team has just put out the latest version--1.9.13--which as usual, adds a few new fun features to the emulation frontend. Spotlighted in this update is the new automatic frame delay feature; yet another capability that helps lessen latency with emulators. This automates a previously existing option, making it easier for the end user, and works with all cores on RetroArch. A more detailed breakdown of what exactly frame delay is, and what this feature does was written up by the devs and can be seen below.

What is “Frame Delay”?​

The setting known as “Frame Delay” has actually existed for some time in RetroArch. However, due to its nature and the complexity of its effect, it has always required a level of strictly manual adjustment and finetuning on the user side.

To best describe the underlying mechanism, let us briefly touch upon the timing of when a new frame is produced (including when the inputs are sampled) and then displayed on-screen.

The way frames are rendered and then displayed on video can be best understood by considering this sequence:
• each frame has a set duration, namely a “frame time” or “frame period” as it is usually called, which on a 60hz screen and in ideal circumstances corresponds to a length of 16.7 milliseconds on average;
• as per the picture shown above, once the first frame is shown the next frame starts being prepared “behind the scenes”. This rendering process includes the moment the inputs are polled and it all happens within the allotted frame period;
• in typical situations the rendering process of the next frame is finished some time before the given frame period is over;
• this results in the next frame essentially “stalling”, being left in a suspended state for a few more milliseconds than necessary, until the frame period is properly finished;
• only at that point the newly created frame is presented on-screen.
normalframetime-1024x590.png



While the process described here is normal and does not usually yield a considerable impact on latency, the fact that the next frame has to be put “on hold” and wait a certain amount of time from the moment it finishes rendering until the end of the frame period does in fact contribute to the combined responsiveness of the inputs.

This is where “Frame Delay” comes into play.

framedelay-1024x590.png


Depending on the value set for the “Frame Delay” option, the creation of the new frame including the input polling can be postponed by a certain number of milliseconds, until the last moment that is realistically viable.

Doing this requires some additional CPU processing power depending on the chosen amount of delay, but it also helps decrease the number of milliseconds that the new frame – which has been prepared and is ready to be presented on video – has to remain on hold. As a consequence, adjusting the “Frame Delay” setting can offer a slight – albeit measurable – improvement to the perceived input latency.

Beyond that, mGBA has seen an update that gives it better audio--no more crackling, while gpSP has added a dynamic recompiler for 64bit CPUs. This version update is not available on the Google Play Store, and likely won't be for the time being, due to issues with the Play Store's new policies regarding apps. If you want to grab v1.9.13, you can do so at the source link.

:arrow: Source
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,180
Trophies
1
Age
42
XP
3,270
Country
United States
The frame delay option is pretty seamless, haven't seen it mess with any cores that could hardly afford any delay (i.e. flycast), and say Genesis-plus GX feels quite good, approaching 1 frame of run-ahead even.
 
  • Like
Reactions: shaunj66

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,180
Trophies
1
Age
42
XP
3,270
Country
United States
That said the Vita data release seems full of corrupted files, and the piglet vpk just completely crashes the entire system now. Wonder who is watching the Vita version...
 

TheNintendoEnthusiast

Well-Known Member
Member
Joined
Jun 15, 2013
Messages
233
Trophies
1
XP
1,744
Country
United States
For anyone who is updating and worried about their save data. The default paths your saves are located are retroarch/cores/saves* (there is separate folders for save states and standard saves). Make sure that's backed up. If you are updating via Mac and hit overwrite it'll erase those folders.

I learned the hard way by losing my saves and savestates.



Keep your saves safe!
 

snake218

Active Member
Newcomer
Joined
Jan 11, 2010
Messages
33
Trophies
1
XP
250
Country
United States
Flycast is crashing for me when I launch a game (force close app) in this later version, anybody else with same problem?
Android version on RP2
 
Last edited by snake218,

Daihakushaku

Member
Newcomer
Joined
Nov 14, 2021
Messages
10
Trophies
0
Age
26
XP
49
Country
United States
Ok, now i just hope they update it to have better touchscreen controls on Android, the default touchscreen profile is absolutely horrendous to use...
 

sagman76

New Member
Newbie
Joined
Dec 1, 2021
Messages
1
Trophies
0
Age
48
XP
32
Country
United Kingdom
Flycast is crashing for me when I launch a game (force close app) in this later version, anybody else with same problem?
Android version on RP2
Yes. Sometimes it has worked other times just crashes at launch. Im going to roll back
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...