1. Zense

    Zense GBAtemp Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,287
    Country:
    Italy
    Generally SOTN stays at 60 but it drops as soon as something taxing shows up. Its Iostly noticeable in music stuttering. I use your same settings. The main menu before starting stays at around 45 fps iirc. The photo snapshot with the burning effect went without any hiccups that I could notice. It used to stay constantly at lower fps iirc.

    I'll try to see what happens in ffix later in the game. I also agree that short transitions and loading screens go more smoothly.

    How is the 480i pause screen in chrono cross? I remember it playing at 30fps~.
     
    Last edited by Zense, Feb 26, 2020
    justinweiss likes this.
  2. justinweiss

    justinweiss Member
    Newcomer

    Joined:
    May 29, 2016
    Messages:
    28
    Country:
    United States
    Still around that. I would guess it's just struggling to draw ~3x the usual amount of pixels.
     
    Zense likes this.
  3. MarioKartFan

    MarioKartFan Advanced Member
    Newcomer

    Joined:
    Aug 27, 2019
    Messages:
    61
    Country:
    Algeria
    @justinweiss Im surprised more people aren’t raving about your recent pull request. PCSX performance is much improved and at or near full speed on my 2DS XL. There was a big hurrah when you pushed UNAI in September but these recent changes are really significant too.

    Is there anything else you can do to squeeze out a bit more performance? We are really close to 0 frame skip full speed on some major titles now.

    Thanks for all you have done!
     
  4. Zense

    Zense GBAtemp Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,287
    Country:
    Italy
    What major titles for example? :creep:
     
  5. justinweiss

    justinweiss Member
    Newcomer

    Joined:
    May 29, 2016
    Messages:
    28
    Country:
    United States
    No idea! I was pretty surprised to see such big results from a few compile options. The async cd reads branch should help with some games. There's a few other ideas I've had, but they've mostly made things slower.
     
    Nutez likes this.
  6. Zense

    Zense GBAtemp Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,287
    Country:
    Italy
    I just tried Spyro 1 PAL on the async release (so not latest nightly with your last improvement) and I was surprised to see it played at a stable fullspeed 50fps in 90% of the time. The few times it would drop would be when you would have a lot of effects and polygons on screen. I'm excited to try the latest addition you made to see how it fares. I did not expect this game to ever be playable.

    Also, I tried In the Hunt but it still suffered from stuttering music when the ps1 music is selected. I'm probably gonna make a recording of it.
     
    Last edited by Zense, Mar 1, 2020
  7. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    365
    Country:
    Netherlands
    You're doing an amazing job on tracking down these long standing issues. @justinweiss

    PCSX-ReARMed runs better than ever. With most of the PSX's catalogue running near perfect, We're at a point which almost everyone deemed impossible a year ago.

    Much appreciated !

    Other than a few minor issues with the current build,
    - MGBA seems to be loading most roms i've tried so far, but struggles at running at full speed.
    - gPSP unfortunately still seems quite unstable, but mostly fullspeed.
    - PCSX haven't encountered any crashes.
     
    cvskid, justinweiss and Zense like this.
  8. justinweiss

    justinweiss Member
    Newcomer

    Joined:
    May 29, 2016
    Messages:
    28
    Country:
    United States
    Unstable in-game or when switching between games? I haven't run into any ingame crashes myself after porting the fix from pcsx, I'd be interested in seeing the crash screen if you do.
     
  9. kenseiden

    kenseiden i am overflow
    Member

    Joined:
    Sep 20, 2015
    Messages:
    222
    Country:
    United States
    For me, I seem to be getting consistent crashes in gpSP by doing this:
    - Loading up a ROM
    - Close content
    - Loading up a new ROM, after which the exception/crash screen occurs

    It seems that if I load games one after another without closing content, I don't get those crashes.
     
  10. Zense

    Zense GBAtemp Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,287
    Country:
    Italy
    I was wondering if your latest additions, the async cd rom read and the compile-time tweaks, are merged to the master and can be found in the latest nightlies, because it does not seem like it. Just tried the 02.03.20 nightly for pcsx_rearmed and I did not find the async read option anymore. Did see the spu irq compatiblity option though. I'm not sure if it was there before. Actually I tried Spyro 1 on the latest nightly and it ran worse and at 40fps instead of the 50fps from your latest release in this thread.
     
  11. MarioKartFan

    MarioKartFan Advanced Member
    Newcomer

    Joined:
    Aug 27, 2019
    Messages:
    61
    Country:
    Algeria
    You can go on GitHub and see the pull request. Async has not been merged (at least it hadn’t as of last night).
     
    Zense likes this.
  12. MarioKartFan

    MarioKartFan Advanced Member
    Newcomer

    Joined:
    Aug 27, 2019
    Messages:
    61
    Country:
    Algeria
    @justinweiss Is there any chance you can upload a build that includes all of your recent changes including the async read? Would love to test out a cumulative update as the nightlies do not have async yet and I don’t think the async build you uploaded had your compile time improvements. Maybe I’m wrong! Thanks.
     
  13. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    365
    Country:
    Netherlands
    Haven't had much time for playing with this, but now you've mentioned it,
    I've encountered a seemingly random crash in-game once.
    After playing V-Rally 3 for about 5 min. Unfortunately don't have the crashlog for this one.
    Haven't had any crashes since tho.

    Most crashes seem to occur on loading time, while starting a rom.

    I also had crashes upon creating a new game in Donkey Kong Country 1 and 2.
    Both logs are included, together with the log of DKC 2 crashing on restart right after.
     

    Attached Files:

    Zense likes this.
  14. justinweiss

    justinweiss Member
    Newcomer

    Joined:
    May 29, 2016
    Messages:
    28
    Country:
    United States
    Wow, that's weird -- all three of those look like the crashes the patch was meant to fix :-(

    Just to narrow it down -- you're running Luma 8.0+, right? And a gpSP build that has https://github.com/libretro/gpsp/commit/3f2f57c982ffead643957db5b26931df4913596f in it? I'll have to spend more time with it and see.

    The crashes that I was still expecting to see were occasional data aborts when switching roms, with CPSR ending in 10.
     
    Last edited by justinweiss, Mar 3, 2020
  15. justinweiss

    justinweiss Member
    Newcomer

    Joined:
    May 29, 2016
    Messages:
    28
    Country:
    United States
    Kind of. It's easiest just to make a build with my WIP branch. This has a few extra things in it:

    - async cd reads: https://github.com/justinweiss/pcsx_rearmed/tree/async-cd-reads
    - (experimental) threaded audio: https://github.com/justinweiss/pcsx_rearmed/tree/3ds-threaded-audio , maybe slight speedup but more complex, not sure if it's worth it yet.
    - (very experimental) ARM-optimized lighting / blending functions: https://github.com/justinweiss/pcsx_rearmed/tree/arm-lighting-blending , bigger speedups in some places, but way more complex. I still think it's worth it.

    Consider this very unofficial and unsupported, the ARM optimization especially needs a lot of work before it'd be ready for official builds. And I'm not going to have a ton of time to spend on it in the near future, so don't expect these to change quickly... but feel free to give them a try.

    A few other random things I've noticed:

    - For some reason it seems like you can lose a few FPS by having the 3DS slider up, no idea why.
    - Make sure you turn dithering off, that should probably be the default on 3DS if someone wants an easy PR! It's slower enough that I didn't bother trying to optimize it.
    - High-res games could probably get a big speedup by skipping drawing odd scanlines entirely -- the 3DS is low-res enough that you wouldn't see them anyway. It looks like this was the default for older ARM devices at one point, but it's broken in pcsx and unimplemented in RetroArch. Easiest fix would probably be to convert all 480ish scanlines to a 240 buffer in pcsx, and pretend to RetroArch that it's actually 240p. May want to shrink it horizontally, too -- "medium-res" is still too wide for the 3DS screen, so you get weird aspect ratios. That would be more expensive, I think, but probably worth it.

    Also, I don't have CIA RetroArch on my 3ds, so I haven't even tried to install the CIA yet :-)
     

    Attached Files:

    Last edited by justinweiss, Mar 3, 2020
    cvskid, Nutez, MrHuu and 1 other person like this.
  16. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    365
    Country:
    Netherlands
    An easy PR?

    Here we go: (3DS) Disable dithering by default
     
    Nutez and Zense like this.
  17. MarioKartFan

    MarioKartFan Advanced Member
    Newcomer

    Joined:
    Aug 27, 2019
    Messages:
    61
    Country:
    Algeria
    I’ve been testing out your unofficial build all day. Symphony of the Night plays better than ever before. Previously there were certain rooms with advanced depth effects where the frame rate ranked. Your new build holds 60fps the entire time.
     
    Zense and justinweiss like this.
  18. Zense

    Zense GBAtemp Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,287
    Country:
    Italy
    I can confirm this. Spyro 1 pal runs at 50fps with even fewer drops (only found 1 at a very specific point). Crash Bash PAL runs smoothly at 50fps (gonna have to see the first boss if there are any drops still), Disney's Hercules runs at 60 fps (only noticed two drops during Hydra battle and in the city).
    Gonna test these games that had occasional or constant low fps before:

    Ape Escape
    Brave Fencer Musashi
    Breath of Fire III
    Breath of Fire IV
    Chrono Cross
    Final Fantasy Tactics
    Roll Away
    Tactics Ogre
    Xenogears
     
  19. MarioKartFan

    MarioKartFan Advanced Member
    Newcomer

    Joined:
    Aug 27, 2019
    Messages:
    61
    Country:
    Algeria
    If you disable Lighting under UNAI advanced settings, you can get full speed in Suikoden II with no frame drops. Disabling this setting has no discernible impact on graphics quality in this particular game so from my perspective the greatest JRPG of all time is now perfectly playable on the 3DS!
     
    Zense likes this.
  20. Rj.MoG

    Rj.MoG GBAtemp Regular
    Member

    Joined:
    Jun 8, 2015
    Messages:
    262
    Country:
    United States
    This build doesn’t seem to want to load my Bios and the memory card is corrupted or not readable in any of the games I’ve tried. It is significantly faster in all games however and doesn’t seem to crash! I’m using the CIA Version. Have any advice? SOTN tried to format the memory card and says that it’s corrupt. THPS2 just continually tried to load.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Unofficial, RetroArch, builds