Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N3DS - Performance Issue (maybe related to transparencies) #607

Open
MarioKartFan opened this issue Feb 1, 2022 · 4 comments
Open

N3DS - Performance Issue (maybe related to transparencies) #607

MarioKartFan opened this issue Feb 1, 2022 · 4 comments

Comments

@MarioKartFan
Copy link

MarioKartFan commented Feb 1, 2022

On the N3DS, Metal Gear Solid plays at full speed, with virtually no frame drops. Really impressive. There were occasionally some dips in performance (for example, when you enter the Truck next to the Helipad shortly after the start of the game) but after recent commits from @notaz those have been eliminated.

One significant issue that remains, however, is in cutscenes with significant "smoke-like" effects. For example, during the cutscene with Raven, when he fires the cannon and there is a billow of smoke, performance genuinely suffers. Similar impact is felt when the tank treads kick up snow at the start of the cutscene.

I compared the N3DS to my original hardware PSX today, and in that scene alone, the cutscene on the N3DS concludes more than 2 seconds after the cutscene concludes on the original hardware.

Maybe an even better example is after the battle with the tank. When black smoke is billowing out the sides of the tank, Raven's voice stutters repeatedly because the performance is so bad. This continues until the camera cuts away from the smoke.

I do not know if this is the result of some issue specific to the N3DS implementation of Retroarch or if it's an issue with pcsx_rearmed. Last year, Justinweiss speculated that it might be a dynamic recompilation issue. I thought it worth opening an issue here, since recent dynamic recompilation fixes addressed other performance issues on the N3DS. I wonder if this is an issue with pcsx_rearmed that maybe isn't as obvious on higher end devices.

These issues also arise, albeit to a lesser extent, in other games with ice and smoke effects. For example, there are very minor dips in performance of FFIX when certain spell effects appear. Not nearly as severe as the example in Metal Gear Solid though.

Would be incredible if this could get resolved. Happy to paypal someone a coffee (or a month's worth of coffee!) if this one gets resolved.

@notaz
Copy link
Collaborator

notaz commented Feb 1, 2022

From your description it sounds GPU related as it happens in scenes with some effects only. So unai plugin would need more optimization, or perhaps trying to use the hardware on 3DS to assist the work (both hard tasks to accomplish).
It's unfortunate they didn't put a Cortex-A series CPU with a NEON unit into N3DS. I wonder how Vita performs there in comparison (which should use the NEON GPU).

@notaz
Copy link
Collaborator

notaz commented Nov 4, 2024

Are there some games that consistently suffer from this, instead of just short effects, fade ins/fade outs or cutscenes? Or at least some long cutscene? Some savestates would also help if it's deeper into the game. @InquisitiveCoder

@InquisitiveCoder
Copy link

Sorry, I'm not aware of any off the top of my head. Since hacking my New 3DS I've only played through Resident Evil 2 and 3 start to finish. I'll try booting up the rest of my collection and see if I can find any.

I know Brave Fencer Musashi has a longer-lasting transparency effect in the intro stage if you absorb the Perfume ability but it doesn't drop the frame rate.

@staringstar
Copy link

I dont know about the newer versions but last year I completed FF9 on 3DS, and any magic spell (especially late game ones) had a lot of dithered transparency which caused big dips almost everytime, so that may be a good place to look into.
The good thing about testing with FF9 would be that it would only require any late game save and not any specific cutscene.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants