Homebrew Question How well does RetroArch's 'run-ahead' feature reduce latency with NES emulation on the Switch?

Meteor7

Guess where this thumb goes.
OP
Member
Joined
Jun 9, 2014
Messages
1,336
Trophies
1
Location
a fit of spasms and accidental black magic
XP
4,654
Country
United States
RetroArch has a feature to reduce latency called 'run-ahead' which pre-emulates a set amount of frames ahead, and displays the frame corresponding to the button you press when you press it. As someone without a hacked Switch, I'm curious of how well the function has worked for reducing latency on NES titles in particular, but also for any emulation in general. Specifically, how low can the latency get? Has anyone taken any rough measurements? Does it adversely affect performance in some way? Does it introduce glitches or instability? Does it set your Switch on fire? Does it make all your dreams come true and dispense candy? All of the above? The reason I ask is because I'm curious to know whether one can achieve a lower latency on NES titles through RetroArch on Switch than through Nintendo's emulation given as part of their subscription service, and if it can, then what sort of trade-offs might be part of the deal. I'm also curious to hear any observations or opinions regarding how well the Switch version of RetroArch functions in general. Aaaand I suppose that's all, have a good day. Or don't. I'm not your mommy. ...probably.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
Not played with this one but is it a noticeable problem?

I had a (PAL) NES on a CRT back in my formative years. Can notice problems with games on crappy LCD TVs and/or bad controllers/controller paths. Never particularly had a problem with latency for anything being emulated on a dedicated game playing device though. If it is going to be a problem then I would have to have a look at the quality of the emulation rather than looking to tricks to try to negate such problems.
 

notimp

Well-Known Member
Member
Joined
Sep 18, 2007
Messages
5,779
Trophies
1
XP
4,420
Country
Laos
Not at all. I'd imagine. Run ahead is very CPU intensive - and mostly only available/enabled on PC builds of retroarch. Please correct me if I'm wrong, but I'd imagine, that it would not be active on the switch at all.

Also - its mainly retroarchs attempt to combat the notion that they havent cared about latency for the better part of their existence (It kind of comes with the "we work on your toothbrush and your smartoven as well" territory.. ;) ).

Run-ahead is buggy on many games as well and probably shouldnt have been released as a non-experimental feature, but then everyone started talking, about how much better Nintendos own SNES emulator was in terms of latency at one point - and for ARM devices, they were right. So as far as I'm concerned, run ahead is more of a marketing effort/interesting conceptual feature, than anything else. (Because it doubles or quadruples your CPU load, and causes issues on many games.)

Also - yes, retroarch without run-ahead is notoriously input laggy - on ARM that is.

My go ahead test for this is quickrolling on reaction on Tekken 3 but as it doesnt run fullspeed on the Switch yet - I cant test it yet. :)

Sadly I've no built in "timings memories" for SNES games (f.e.). :)
 
Last edited by notimp,

Meteor7

Guess where this thumb goes.
OP
Member
Joined
Jun 9, 2014
Messages
1,336
Trophies
1
Location
a fit of spasms and accidental black magic
XP
4,654
Country
United States
Not at all. I'd imagine. Run ahead is very CPU intensive - and mostly only available/enabled on PC builds of retroarch. Please correct me if I'm wrong, but I'd imagine, that it would not be active on the switch at all.
It is most certainly very CPU intensive, which is why I was curious just how far it could be pushed. According to this, though, it seems like they do have run-ahead implemented on Switch, though I haven't been able to confirm myself, of course.

Run-ahead is buggy on many games as well and probably shouldnt have been released as a non-experimental feature, but then everyone started talking, about how much better Nintendos own SNES emulator was in terms of latency at one point - and for ARM devices, they were right. So as far as I'm concerned, run ahead is more of a marketing effort/interesting conceptual feature, than anything else. (Because it doubles or quadruples your CPU load, and causes issues on many games.)
I'm actually quite grateful we've got the feature already, even if it is indeed a big buggy. While I haven't tested the PC build with many games other than Super Mario World, the run-ahead feature drops latency low enough and with enough stability to make Kaizos fun, and that's quite the boon for me. Besides, I'm rather giddy just being able to see input lag being countered so hard, even if it's less than perfect so far. I'm excited to see more stable implementation in the future. ^_^

My go ahead test for this is quickrolling on reaction on Tekken 3 but as it doesnt run fullspeed on the Switch yet - I cant test it yet. :)

Sadly I've no built in "timings memories" for SNES games (f.e.). :)
Mm, yeah, I'd imagine many PS1 games wouldn't be full-speed yet. C'est la vie.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    especially Nintendo because they only ever lower the price of games when they do a greatest hits/platinum hits/players choice re-release
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, and the HD collections released for 7th gen consoles too
  • The Real Jdbye @ The Real Jdbye:
    but they don't seem to have done any of those for the switch yet and maybe never will
  • ColdBlitz @ ColdBlitz:
    I think we all forgot breath of the wild released for the wii u tbh
    +1
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, tbh the HD collections are more justified since they include more than just 1 game per copy
  • Xdqwerty @ Xdqwerty:
    @SylverReZ I read that non-binary people identify as a blend of male and female. The point is i think i'm a blend of those and thus non binary
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Non-binary people are those who don't identify themselves exclusively as male or female.
  • cearp @ cearp:
    I don't identify as anything, unless I need to get on a plane then I show ID
    +3
  • AncientBoi @ AncientBoi:
    👈 [homo, queer, fag, coksuqr, etc......]
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I meant that I read that they can also identify as what i mentioned
    +2
  • BigOnYa @ BigOnYa:
    I identify as Long Rod Johnson, cause a cat called me that once.
    +2
  • AncientBoi @ AncientBoi:
    [takes a 👀 in your pants] Liar :angry:
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, and thus that would make me non binary since i feel like a blend of both male and female
    +1
  • AncientBoi @ AncientBoi:
    @Xdqwerty only time will tell, what/whom you are. At 14, its a bit early to "Define" yourself. :)
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    I only recently have learned who I am and how much I am capable of and I'm 50 lol
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    A thousand epiphanies and unbelievable pain and growth.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I wish I could sum it up for children to understand but it truly takes living a lifetime of learning
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    It's more than knowledge it's understanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Both are required
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, ask chatgpt or Google gémini to summarize it
  • Psionic Roshambo @ Psionic Roshambo:
    Lol summarize life's lessons
  • BigOnYa @ BigOnYa:
    My wifey tells me all the time "You need to grow the fuck up." Which I don't understand, cause I'm full grown already.
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she means grow more
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
    Xdqwerty @ Xdqwerty: Yawn