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

Game performance degraded when upgrading from 0.6.3 to 0.7.0 #1313

Closed
hugojmaia opened this issue Feb 21, 2019 · 7 comments
Closed

Game performance degraded when upgrading from 0.6.3 to 0.7.0 #1313

hugojmaia opened this issue Feb 21, 2019 · 7 comments

Comments

@hugojmaia
Copy link

@hugojmaia hugojmaia commented Feb 21, 2019

Today I decided to run the sweep of blaarg roms on the mGBA I had on my 3ds. Results were good and when I shared them I learned there was a newer version.
I update and re-run the tests, mostly the same results except for 7 failing on both sound tests.
People tell me "It's no big deal, it's probably something that won't be noticed in normal play".
I boot up crystal clear and as soon as leave the pokémon center into Olivine city I notice the difference.
On 0.6.3 I had 59.89 fps and perfect sound. On 0.7.0 I had 50.41 fps and choppy sound.

This was run on a 3DS XL running the Sys 11.9.0-42U firmware that was originally hacked on 9.0.0-something.

@endrift
Copy link
Member

@endrift endrift commented Feb 21, 2019

3dsx or CIA? CFW or no?

@endrift
Copy link
Member

@endrift endrift commented Feb 21, 2019

Probably a dupe of #1264, though I was never able to reproduce on 3DS.

@hugojmaia
Copy link
Author

@hugojmaia hugojmaia commented Feb 21, 2019

CFW and CIA. As far as I know my 3DS is refered to as the o3DS, it has weaker hardware when compared with the n3DS line.

@endrift endrift added this to the mGBA 0.7.2 milestone Feb 23, 2019
@Astrinus
Copy link

@Astrinus Astrinus commented Feb 28, 2019

Also, Fast-Forward seems not to work anymore (stuck around 59.9-60.5 fps even when selecting 3x fast-forward speed)

@endrift endrift modified the milestones: mGBA 0.7.2, mGBA 0.8.0 May 25, 2019
@endrift
Copy link
Member

@endrift endrift commented Jan 2, 2020

This may have been fixed in ad870aa, please confirm.

@hugojmaia
Copy link
Author

@hugojmaia hugojmaia commented Jan 21, 2020

Testing done with those roms:
gb-test-roms-master.zip
Results:
mGBA-0.6.3-3ds.zip
mGBA-0.7.0-3ds.zip
mGBA-0.8-b1-3ds.zip
And then I decided to do a more practical test using pokemon prism. (Only gbc game I had left there).
The S.S. Anne music makes heavy use of sound 7 so it makes for a clear day and night comparison.
On version 0.6.3 it gets anywhere between 58 and 59.9 fps.
On versions 0.7.0 all the way to the current 0.8 it won't hit 50 fps with very broken sound.
Here's my save file for prism version 235 (Rom not included) in case anyone wanna test, save point is in front of the battle arcade, just go down 2 screens to get the S.S. Anne music.
Pokemon Prism.zip

As far as GBC emulation is concerned, no improvements have been made since sound 7 broke when leaving 0.6.3.
As for GBA emulation, I tried Castlevania Aria of Sorrow and got 45~50 fps with choppy sound. Although the only way I've managed to get GBA games running on the 3ds has been through VC injects. And as a bonus to that NSUI doesn't work on linux.

My testing platform is an o3DS XL, running Luma3DS v10.0.1 CFW.
Just for fun I booted BGB using wine and it's running prism with no issues at all.

Edit: I've been calling it S.S. Anne, but the ship in gen 2 is actually called S.S. Aqua.

@endrift
Copy link
Member

@endrift endrift commented Mar 19, 2021

The biggest regression was caused by me un-batching channel 4 audio. This is now reimplemented, though other things have gotten a little slower since.

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

Successfully merging a pull request may close this issue.

None yet
3 participants