Homebrew RELEASE Development Thread - RetroArch libnx

  • Thread starter m4xw
  • Start date
  • Views 695,391
  • Replies 4,272
  • Likes 69
Status
Not open for further replies.

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,448
Trophies
1
Age
119
XP
6,985
Country
Germany
I'd say:
-Dynamic Core loading
-(take a look at aspect/fullscreen)
-UI
-Threading
-Audio (still using early & most stable version of Snes which looks fine for me)
-Input losses (not experiencing those personally)

The order isn't for discussion, only additional contents. ;)
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,143
Country
United Kingdom
Tried this with the mame2003 nro and got excited to see the Retroarch menu but had no luck getting a rom to run, immediate error switch off for 12secs thing.
Still, one day I’m sure it’ll be awesome.
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,448
Trophies
1
Age
119
XP
6,985
Country
Germany
Tried this with the mame2003 nro and got excited to see the Retroarch menu but had no luck getting a rom to run, immediate error switch off for 12secs thing.
Still, one day I’m sure it’ll be awesome.

Error code?
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,707
Country
Mexico
Tried this with the mame2003 nro and got excited to see the Retroarch menu but had no luck getting a rom to run, immediate error switch off for 12secs thing.
Still, one day I’m sure it’ll be awesome.
I just tested Mortal Kombat yesterday and worked just fine.
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,143
Country
United Kingdom
Ok guys guess i’ll try some other roms and get more details.
I only tried asteroids
I’m on 1.0.0 btw in case that makes a difference

rastan; boot screen flashes for a second then 2162-0002
same with others
 
Last edited by snoofly,
  • Like
Reactions: m4xw

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
Great work,

Threading off and vsync off for no freezing but Audi crackling.

Docked to my portable monitor.

Tell me if you see what's wrong with this Zelda picture.


Brake day for me.

Will try and make a thread on how to get this setup running, portable, can play anywhere o a 15.6 inch monitor.

To also confirm docking and undocking with no issue.

Latest build from last night.

5.1.0 and 4.1.0
15284878537388614817086379695215.jpg


--------------------- MERGED ---------------------------

Also modded roms/games working
 

DrNeroCF

Well-Known Member
Newcomer
Joined
Oct 12, 2016
Messages
97
Trophies
0
Age
39
XP
409
Country
United States
So guys, I just got home and gonna work on threading fixes.
But I want to ask any of you, what are the most wanted features?

Right now my Priorities are:
-Threading
-Audio
-Dynamic Core loading
-Input losses (probably a easy fix, just polling related)
-UI
-(take a look at aspect/fullscreen)

In that exact order.

If you don't mind me asking, is the stuttering related to running with threading on in general, or would a fixed threading be different from the 'threaded video' in the PC version of Retroarch, since the description on that one says it'll introduce more input delay and stuttering?
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,448
Trophies
1
Age
119
XP
6,985
Country
Germany
If you don't mind me asking, is the stuttering related to running with threading on in general, or would a fixed threading be different from the 'threaded video' in the PC version of Retroarch, since the description on that one says it'll introduce more input delay and stuttering?

Stutter is because of non threading and blocking functions.

Vsync blocks the only thread avaiable and audio does have a blocking function as well.

I don't think the increased latency does apply to true multicore, that sounds more like they bitch about cpu context switches on the same core

--------------------- MERGED ---------------------------

I actually tried the pthread compat (which would be a software solution to compat threading, running everything on one core, but threaded) and it was just horrible

So yes, threading on 1 core does only cause overhead right now, but true multicore will fix shit
 
  • Like
Reactions: Leonidas87

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,707
Country
Mexico
So guys, I just got home and gonna work on threading fixes.
But I want to ask any of you, what are the most wanted features?

Right now my Priorities are:
-Threading
-Audio
-Dynamic Core loading
-Input losses (probably a easy fix, just polling related)
-UI
-(take a look at aspect/fullscreen)

In that exact order.
Looks like you have a lot of stuff in your to-do
Good look dude, I will keep an eye on this thread and on gitlab to see further improvements :)
 

DrNeroCF

Well-Known Member
Newcomer
Joined
Oct 12, 2016
Messages
97
Trophies
0
Age
39
XP
409
Country
United States
Stutter is because of non threading and blocking functions.

Vsync blocks the only thread avaiable and audio does have a blocking function as well.

I don't think the increased latency does apply to true multicore, that sounds more like they bitch about cpu context switches on the same core

Thanks for the reply. In that case, priorities look good to me.
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,448
Trophies
1
Age
119
XP
6,985
Country
Germany
Thanks for the reply. In that case, priorities look good to me.
I mean i could do it like reswitched did and optimize it non blocking for 1 core, but 1 libnx function is missing, would need to reimplement that and change lots of code and with threading its obsolete anyway, so fuck no.

Anyway could u guys test this vba next build https://m4xw.net/nextcloud/index.php/s/WQpPE9XMScxp9LE

Dont use a config and set video_threaded and vsync on, report audio issues.

I think i got its running quite nice. Crashs / Instability should be reduced by a lot hopefully

--------------------- MERGED ---------------------------

I was able to reinit all modules 30 times before it crashed
 

SeongGino

The Average One
Member
Joined
May 20, 2015
Messages
939
Trophies
0
Age
26
Location
Jersey, Jersey
Website
www.twitter.com
XP
1,942
Country
United States
I mean i could do it like reswitched did and optimize it non blocking for 1 core, but 1 libnx function is missing, would need to reimplement that and change lots of code and with threading its obsolete anyway, so fuck no.

Anyway could u guys test this vba next build https://m4xw.net/nextcloud/index.php/s/WQpPE9XMScxp9LE

Dont use a config and set video_threaded and vsync on, report audio issues.

I think i got its running quite nice. Crashs / Instability should be reduced by a lot hopefully

Congratulations, I can't hear a single pop for once w/ threading on + vsync on. Even on Monkey Ball Jr. or Megaman & Bass.
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,448
Trophies
1
Age
119
XP
6,985
Country
Germany
The future is NOW!
Just for shits and giggles, give it the ultimate stuttering test on VBA...
Load up Mother 3 and/or Golden Sun 2 :P

Well took me quite some typing https://git.m4xw.net/Switch/RetroArch/RetroArch/commit/f12be20653afc1af2167638ce11e1eed06f77f3b

Is the citra port threading stable? I really thing their port is missing the mutex checks in the drivers.

And btw its problematic spawning more than 1 thread on core 0 I think. If I use Core 2-4 its fine for some reason.

I am too stoned for this shit

--------------------- MERGED ---------------------------

Was able to switch into two ROMs. Problem is, the rgui randomly hangs and I'm forced to return home, so it seems a touch unstable.
Well I was able to reinit 30 times, but that might be a bit random

I feel like retroarch is not securing their stuff enough for threading, but that might be just switch quirks.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    babycomingsh @ babycomingsh: 最好换一个新的SD卡