Homebrew RELEASE Development Thread - RetroArch libnx

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

rock88

Well-Known Member
Newcomer
Joined
May 19, 2018
Messages
81
Trophies
0
Age
35
XP
900
Country
Russia
Anybody tried to build beetle-psx-libretro core?
I just added Switch support to Makefile (copy from VBA-next, but remove -fno-exceptions flag), build psx core, then RetroArch with mednafen_psx_libretro_switch.a (rename it to libretro_switch.a), but after launch binary won't happen, I just see this screen -
mKFerq6.jpg
 
Last edited by rock88,

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Anybody tried to build beetle-psx-libretro core?
I just added Switch support to Makefile (copy from VBA-next, but remove -fno-exceptions flag), build psx core, then RetroArch with mednafen_psx_libretro_switch.a (rename it to libretro_switch.a), but after launch binary won't happen, I just see this screen -

You shouldn't use highly unstable code. Let me fix it before you attempt shit like that.
And this was attempted 3 times in 79 pages. And maybe asked like 3 dozen times
 
  • Like
Reactions: rock88

ballcity

Active Member
Newcomer
Joined
Apr 16, 2016
Messages
42
Trophies
0
Age
36
XP
268
Country
United States
Threaded builds are highly WIP. They might work.. or not.

You could try w/o a config and manually setting video->video_threaded on and vsync on
Yeah, still getting a 2162-0002 immediately after loading a ROM. Tried with and without configs. Tried a few different threaded builds etc. Just doesn't seem to work on 3.0.0 :'(.

I did try the "stable" download link from OP and it works fine, no issues there. So who knows.
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
I can build you a patched hb + retro stuff, but not sure if I find time today. Busy with finishing full screen
Thanks.
I can try in meantime to get my dev env up to scratch and clone the latest sources for libnx, hbl and retro
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Yeah, still getting a 2162-0002 immediately after loading a ROM. Tried with and without configs. Tried a few different threaded builds etc. Just doesn't seem to work on 3.0.0 :'(.

I did try the "stable" download link from OP and it works fine, no issues there. So who knows.

Well I would guess if it does not happen on the non threaded builds, that threading is at fault ;)
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Updated Threaded + Fullscreen (optional!) Test Builds:
https://git.m4xw.net/Switch/RetroArch/VBA-Next/-/jobs/585/artifacts/download
https://git.m4xw.net/Switch/RetroArch/libretro-snes9x2010/-/jobs/583/artifacts/download

Use w/o config (as supplied), Integer scaling is off by default (it works but seems to freeze on certain aspect ratios. leave it off for SNES if you want it like it was, for vba enable it to have it as it was [but I like the default more, @SeongGino]).

If you want fullscreen set aspect to Custom, make sure there is no integer scaling

Integer scaling + certain aspect rations will freeze
I capped everything 1270x780 as supersampling isn't there yet.


Def. need feedback on that. @SeongGino @Leonidas87

Edit: Don't forget vsync swap = 4 smoothes things out a bit. I'll use that as default (if it is still needed) at some point!
 
Last edited by m4xw,

SeongGino

The Average One
Member
Joined
May 20, 2015
Messages
939
Trophies
0
Age
25
Location
Jersey, Jersey
Website
www.twitter.com
XP
1,932
Country
United States
Def. need feedback on that.

Not totally sure what you want me to say, but...
Performance seems fine. The scaling seems accurate and working properly on VBA, but Snes9x's integer scaler with 1:1 par is bugged.
No pics, but it's offset and loops over from the right side to the left side of the screen.

EDIT: Ahem...
 
Last edited by SeongGino,

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Not totally sure what you want me to say, but...
Performance seems fine. The scaling seems accurate and working properly on VBA, but Snes9x's integer scaler with 1:1 par is bugged.
No pics, but it's offset and loops over from the right side to the left side of the screen.

EDIT: Ahem...

Its a known issue with integer scaling right now. It only works if I tell it to not honor the aspect ratios.
 

ballcity

Active Member
Newcomer
Joined
Apr 16, 2016
Messages
42
Trophies
0
Age
36
XP
268
Country
United States
Updated Threaded + Fullscreen (optional!) Test Builds:
https://git.m4xw.net/Switch/RetroArch/VBA-Next/-/jobs/585/artifacts/download
https://git.m4xw.net/Switch/RetroArch/libretro-snes9x2010/-/jobs/583/artifacts/download

Use w/o config (as supplied), Integer scaling is off by default (it works but seems to freeze on certain aspect ratios. leave it off for SNES if you want it like it was, for vba enable it to have it as it was [but I like the default more, @SeongGino]).

If you want fullscreen set aspect to Custom, make sure there is no integer scaling

Integer scaling + certain aspect rations will freeze
I capped everything 1270x780 as supersampling isn't there yet.


Def. need feedback on that. @SeongGino @Leonidas87

Edit: Don't forget vsync swap = 4 smoothes things out a bit. I'll use that as default (if it is still needed) at some point!
Same insta-error upon loading a ROM with 3.0.0... definitely doesn't like the threading.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,820
Trophies
2
XP
7,862
Country
United Kingdom
This is what happens on Kirby Dream Land 3 with Aspect Ratio set to 16:9/4:3,

Threaded Video = On
Vertical Sync = On
Bilinear Filtering = On

EDIT: It's similarly messed up on custom Ratio too.
20180612_002030[1].jpg
 
Last edited by ploggy,

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
Updated Threaded + Fullscreen (optional!) Test Builds:
https://git.m4xw.net/Switch/RetroArch/VBA-Next/-/jobs/585/artifacts/download
https://git.m4xw.net/Switch/RetroArch/libretro-snes9x2010/-/jobs/583/artifacts/download

Use w/o config (as supplied), Integer scaling is off by default (it works but seems to freeze on certain aspect ratios. leave it off for SNES if you want it like it was, for vba enable it to have it as it was [but I like the default more, @SeongGino]).

If you want fullscreen set aspect to Custom, make sure there is no integer scaling

Integer scaling + certain aspect rations will freeze
I capped everything 1270x780 as supersampling isn't there yet.


Def. need feedback on that. @SeongGino @Leonidas87

Edit: Don't forget vsync swap = 4 smoothes things out a bit. I'll use that as default (if it is still needed) at some point!

Taking a brake from phone calls, I'll be testing those two builds on 4.1.0 and 5.1.0 immediately
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Same insta-error upon loading a ROM with 3.0.0... definitely doesn't like the threading.
Nah ,just one of many bugs with my code :P

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

This is what happens on Kirby Dream Course 3 with Aspect Ratio set to 16:9/4:3

Threaded Video = On
Vertical Sync = On
Bilinear Filtering = On


Does bilinear filtering actually cause this, or why did u include it?

And other ratios fine?
 

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
Nah ,just one of many bugs with my code :P

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



Does bilinear filtering actually cause this, or why did u include it?

And other ratios fine?

Kirby has an aspect ration issue.

I swear it's in that exact part of the game. Even before full screen it would shrink or look mor squished just for specific areas on Kirby. I've witnessed Kirby aspect ration issues before so do consider that.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,820
Trophies
2
XP
7,862
Country
United Kingdom
Nah ,just one of many bugs with my code :P

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



Does bilinear filtering actually cause this, or why did u include it?

And other ratios fine?
It seems to happen on all Aspect Ratio's. Bilinear Filter does have an effect, it switches the display between what you see in the Vid and what it shows in the pic I posted (see my edit above)
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
It seems to happen on all Aspect Ratio's. Bilinear Filter does have an effect, it switches the display between what you see in the Vid and what it shows in the pic I posted (see my edit above)
What if you use default + integer scaling?

I mean I already know the fix, its just weird that some games and some cores act different
 
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.
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
    K3Nv2 @ K3Nv2: White fries hold up +1