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,163
Trophies
1
Age
41
XP
3,046
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,163
Trophies
1
Age
41
XP
3,046
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
225
Trophies
0
XP
1,422
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
25
XP
29
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
47
XP
22
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
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3N1 @ K3N1:
    You're buying a $10,000 PC I think you can afford a $70 China device :angry:
  • K3N1 @ K3N1:
    I guess Jammie Foxx had a stroke or something
  • AncientBoi @ AncientBoi:
    I think I saw that on the news. :unsure: but not sure
  • AncientBoi @ AncientBoi:
    Omg, Amazon truck crashed n spilled the packages. I was waiting for mine. Expected tomorrow
  • K3N1 @ K3N1:
    Did they crash into a USPS truck?
  • K3N1 @ K3N1:
    Was supposed to get Google fiber installed yesterday but they were like nah we're too busy
    +1
  • K3N1 @ K3N1:
    https://m.imdb.com/title/tt21867434/ kind of liking these biographies that are coming out lately
    +1
  • AncientBoi @ AncientBoi:
    looks funny enough
  • cearp @ cearp:
    the blacker the berry, the sweeter the juice
  • SylverReZ @ SylverReZ:
    Getting wild in the delivery business lol.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Delivery business? Planet express? FUTURAMA! :P
    +1
  • dygeo @ dygeo:
    does anyone have an idea if in usb mode we can increase the overclock to the bottom
  • SylverReZ @ SylverReZ:
    No idea mate.
  • dygeo @ dygeo:
    overclock to maximum *
  • dygeo @ dygeo:
    @sylverez in usb mode it's maximum 768 I wanted to increase to use sysdvr :)
  • dygeo @ dygeo:
    is it not possible to unlock?
  • SylverReZ @ SylverReZ:
    I said, I have no clue. Ask the Switch people bc I don't have a Switch anymore lol.
  • K3N1 @ K3N1:
    I tried getting animal control to take my neighbor they wouldn't do it
  • AncientBoi @ AncientBoi:
    :O....... :rofl2::evil:
  • Psionic Roshambo @ Psionic Roshambo:
    I need 120FPs Diablo IV at 4K lol
  • Psionic Roshambo @ Psionic Roshambo:
    Like literally the 4090 OC is like the only way
  • K3N1 @ K3N1:
    Gaming industry really made 4k a gimmick 60+GB extra and only slightly sharper
    K3N1 @ K3N1: Gaming industry really made 4k a gimmick 60+GB extra and only slightly sharper