Homebrew RetroArch Switch

I_doTinySoldering

Active Member
Newcomer
Joined
Jan 19, 2018
Messages
34
Trophies
0
Age
44
XP
138
Country
United States
Nice to see RetroArch development underway.

How programmable is the Switch video output? Are we stuck with 480p and 720p or is the console capable of outputting native 240p over HDMI?

What's the consensus on the Joy Cons at this point? I hear the wired controller has a strange method of polling that nullifies its advantage over the wireless Joy Cons.
Linky: gbatemp.net/threads/reverse-engineering-the-switch-pro-controller-wired-mode.475226

Given that Retroarch will be emulating multiple machines that have native controller to machine transport latencies of ~2ms, the Switch controllers could pose a significant road block to high end (OCD level) emulation performance.

@LibretroRetroArc
Will the Switch hardware be powerful enough delay processing frames to reduce latency for some cores?
 
  • Like
Reactions: Beaps

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,516
Country
Germany
Nice to see RetroArch development underway.

How programmable is the Switch video output? Are we stuck with 480p and 720p or is the console capable of outputting native 240p over HDMI?

What's the consensus on the Joy Cons at this point? I hear the wired controller has a strange method of polling that nullifies its advantage over the wireless Joy Cons.
Linky: gbatemp.net/threads/reverse-engineering-the-switch-pro-controller-wired-mode.475226

Given that Retroarch will be emulating multiple machines that have native controller to machine transport latencies of ~2ms, the Switch controllers could pose a significant road block to high end (OCD level) emulation performance.

@LibretroRetroArc
Will the Switch hardware be powerful enough delay processing frames to reduce latency for some cores?
I can only compare that to the Wii U which has wireless controllers as well but at least 2D systems (SNES, Mega Drive and so one) are fully playable without latency.
 

dpad_5678

Ape weak on own. Ape strong in unity.
Member
Joined
Nov 19, 2015
Messages
2,219
Trophies
1
XP
2,880
Country
United States
*snip*
Anyways (on topic) this is still very cool, all the progress dev's made in the Switch scene and all, but I still feel no regret for updating past 3.0.0 or whatever firmware's considered "prime" right now. Still cool though. :)
 
Last edited by porkiewpyne,

I_doTinySoldering

Active Member
Newcomer
Joined
Jan 19, 2018
Messages
34
Trophies
0
Age
44
XP
138
Country
United States
Latency?
On what cores specifically is this latency most notable?

I asked about two potential (but not all) potential sources of input latency.

The Switch controller is never going to match native 8 bit, 16 bit, or arcade pcb latencies, but the faster the better.

Given that systems like the NES, SNES, and Genny poll the controller each frame, delaying the time that the emulator processes each frame allows the emulator to wait a moment to poll input. This reduces the amount if time the emulator has to completely process each frame (below the standard 16.6 ms), so it requires additional CPU muscle.
 

syntaxyz

Well-Known Member
Newcomer
Joined
Dec 2, 2014
Messages
50
Trophies
0
Age
33
XP
1,176
Country
Netherlands
Not yet since the current way of loading NRO/NSO don't have rw permissions yet.
Once kernel comes around, that might change.
Or perhaps once the userland commands/modules are more well documented and implemented into libnx/libtransistor.
Theoretically you could download and upload a save file while running Retroarch, but for that not to be concidered a hack it should be implemented in a way where you can share a folder using some well known protocol (ftp,samba,w/e) or have cloud file-management support like dropbox.
 

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,602
Country
Mexico
Theoretically you could download and upload a save file while running Retroarch, but for that not to be concidered a hack it should be implemented in a way where you can share a folder using some well known protocol (ftp,samba,w/e) or have cloud file-management support like dropbox.
You could, but afaik Retroarch for Switch doesn't have wifi or internet connection using the Switch's hardware yet.
That would be some months ahead when it starts picking up more with the releases of TZhax and TX's hardware mod.
 

LibretroRetroArc

Well-Known Member
Member
Joined
Aug 24, 2012
Messages
748
Trophies
0
XP
1,258
Country
Netherlands
Latest core to work with RetroArch Switch now thanks to the efforts of random contributors is Picodrive!

Unfortunately, the SH2 dynarec for Picodrive is ARMv7 32bit only, no AArch64. Fingers crossed that SH2 interpreter might be quick enough for Switch, although I bet it won't. I'd hope to be wrong though.

@Natehax and others already posted screenshots of this.
 
Last edited by LibretroRetroArc,

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,602
Country
Mexico
Latest core to work with RetroArch Switch now thanks to the efforts of random contributors is Picodrive!

Unfortunately, the SH2 dynarec for Picodrive is ARMv7 32bit only, no AArch64. Fingers crossed that SH2 interpreter might be quick enough for Switch, although I bet it won't. I'd hope to be wrong though.

@Natehax and others already posted screenshots of this.
Oh nice!
I'll add that to the OP.
Maybe @x0x0 could give the Picodrive core a try on the Switch to let us know about the performance running on interpreter :P
 
  • Like
Reactions: lordelan

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,602
Country
Mexico
Proof of PicoDrive core running on the Nintendo Switch:
IMG_20180121_234232.jpg


@RESWITCHED DISCORD , Thanks to B Monkey for Fixing some Heavy issues (we are also working on other Cores)
Courtesy of @Natehaxx :P
 
  • Like
Reactions: DarthDub and ploggy

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,602
Country
Mexico

Added the video to the OP :)
Also, thanks for the brief explanation on how things are at the moment, and what might be required for other cores to work on the Switch.

About the Saturn core, what size specifically did you get when you compiled the Saturn core?
So at the moment PegaSwitch doesn't load NROs above 30MB?
 
  • Like
Reactions: lordelan

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: The mutated Axolotl was awesome