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

[Bug] Namco Museum Battle Collection: Major audio issues with cracking and skipping #15485

Open
5 tasks done
Goldenfreddy0703 opened this issue Apr 17, 2022 · 36 comments
Open
5 tasks done
Labels
Milestone

Comments

@Goldenfreddy0703
Copy link

Game or games this happens in

Namco Museum Battle Collection

What area of the game / PPSSPP

When I play the Original Games, the audio starts to crackle which causes issues.

  • I have tried multiple devices to see if its the PPSSPP itself, Its an issue for every device i tried.
  • I have tried every version of Namco Museum Battle Collection including all languages and still same audio issue.
  • From all the other original games, Mappy is the only game that has slow audio for some odd reason
  • All the Arrangement Games seem to be fine, its only Original Games.

Here is a screenshot of the Original Games.
Original

I do not have a savedata for this because this is effected to multiple devices.

What should happen

The Original Games should not have Major audio issues with cracking and skipping. It Should have Normal audio like the Arrangement Games. This could be due to Simulating Block Transfer Effects but i doubt it. It is an important feature that is needed to run the Original Games.
Simulating Block Transfer Effects

Logs

I had trouble uploading a debug log but i hope this will help.
PPSSPP Log.txt

Platform

Windows

Mobile phone model or graphics card

Nvidia GeForce GTX 1660 Ti with Max-Q Design

PPSSPP version affected

v1.12.3

Last working version

None

Graphics backend (3D API)

Direct3D 11

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@hrydgard hrydgard added the Audio label Apr 17, 2022
@anr2me
Copy link
Collaborator

anr2me commented Apr 17, 2022

Your logs file didn't show much info as it only logs Error message, you should run the Debug Log.bat file to get more detailed logs.

@Goldenfreddy0703
Copy link
Author

Should i use the Lastest Git Build and run the Debug Log.bat?

@anr2me
Copy link
Collaborator

anr2me commented Apr 17, 2022

Should i use the Lastest Git Build and run the Debug Log.bat?

Yes, preferably getting the logs from the latest dev build.

@Goldenfreddy0703
Copy link
Author

Ok i will do that, i am testing it now.

@Goldenfreddy0703
Copy link
Author

Hey so apparently, i have a log but i can't upload it, github is say not included in list

@anr2me
Copy link
Collaborator

anr2me commented Apr 17, 2022

Hey so apparently, i have a log but i can't upload it, github is say not included in list

zip the log file first

@Goldenfreddy0703
Copy link
Author

Thank you, sorry that took forever
ppsspplog.zip

@hrydgard hrydgard added this to the Future-Prio milestone Apr 17, 2022
@hrydgard
Copy link
Owner

Thanks for the log, not sure it's gonna help too much in this case though :/ Needs investigation for sure, I'm guessing these games do their own mixing and there's probably some obscure audio buffering issue that they run into, that normal games don't because they use the PSP's native mixer API.

@Goldenfreddy0703
Copy link
Author

True, i always thought it could be the Simulating Block Transfer Effects cause the original games need that but im not too sure, it could be due to audio with that function but im not fully sure. One thing i herd from a thread is maybe changed the audio format which could possibly help but im not sure if that would work

@Goldenfreddy0703
Copy link
Author

Hey, I was looking at other issues and pr, would this issue relate to this one by anychance?
#5213

@unknownbrackets
Copy link
Collaborator

You mentioned trying other devices, more detail on that might help.

Some specific things to try:

  • Try switching the audio backend from WASAPI to DirectSound.
  • Enable the FPS display (set to Both), and check if it's showing < 100% at any time during gameplay.
  • Enable "Show developer menu" under Settings -> Tools -> Developer tools, then during the game click "DevMenu" in the top corner. In the menu that appears, scroll down if needed and check "Show frametimes graph". Then reproduce the issue and post a screenshot with the frametimes displayed (we're looking for spikes.)
  • Enable the setting "Log dropped frame statistics" under Settings -> Tools -> Developer tools, then use the info log method again to get frame drop statistics.
  • Try other graphics backends than Direct3D 11, specifically OpenGL or Vulkan.
  • Try enabling the software rendering setting, but only using a very recent git build not v1.12.3.

If there's no spikes, no logged frame drops, it's always 100%, and changing the backends does nothing - then this must be an emulation issue in audio mixing. But if any of these help, it may be some sort of performance issue.

-[Unknown]

@Goldenfreddy0703
Copy link
Author

It's got to be an emulation issue at this point because I've tried it on multiple devices such as android tv, windows, Linux, my android phone, through emulated devices, ect.

@unknownbrackets
Copy link
Collaborator

Well, it could be a performance problem (I mean, still a bug in PPSSPP) that's happening on all these devices. My questions are designed to ferret out a performance problem.

If it's happening on multiple types of devices like that, I wouldn't bother with the graphics backends or audio backends, but the other things are still useful.

-[Unknown]

@Goldenfreddy0703
Copy link
Author

Your right, I will try some of the specifics and get you a log for it so it could help more.

@Goldenfreddy0703
Copy link
Author

Hey so i tried all the specific things and i think i got you an infolog to help.
Im not too sure if this is an info log but here is a log from the latest branch. Here is also another debug log to help too.
InfoLog
InfoLog.zip
DebugLog
DebugLog.zip

@Goldenfreddy0703
Copy link
Author

Hey so i just wanted to come back and check on this, did this information help you guys out on this bug?

@Goldenfreddy0703
Copy link
Author

Hey so its been a few days and i wanted to see how this is going, any new information on this by anychance?

@anr2me
Copy link
Collaborator

anr2me commented May 10, 2022

I tried DigDug (got 60/60 FPS) and the sound aren't much different than what this video had (using JPCSP i think, may be they had similar issue to PPSSPP) https://www.youtube.com/watch?v=80c_3ju2txM
It should probably sounds like this on PSP https://www.youtube.com/watch?v=Zeqq8tP3sEI

While the sound on a PlayStation version is a lot better based on this video https://youtu.be/yK48czSNEgs?t=1195

And also, DigDug II (original) sounds much better (i didn't heard any noises/crackling sound) than DigDug (original) on PPSSPP, as long you can get full speed 60/60 FPS

@Goldenfreddy0703
Copy link
Author

Goldenfreddy0703 commented May 10, 2022

Have you tried Pacman or Galaga original?

@Goldenfreddy0703
Copy link
Author

Hey guys, i know its been almost a month and i understand if you guys are busy with other issues but any information on this one by anychance?

@unknownbrackets
Copy link
Collaborator

Well, unfortunately the log didn't help outside iirc showing a couple drops from using software rendering. You didn't mention any of those settings having an impact, so it probably is some uncommon api usage that'll need to be investigated. I just double checked though and it is using sceSas (although mono atrac3+), so doesn't look too crazy.

Maybe it's doing something evil mucking with the actual Sas structs and double buffering. Hopefully not.

-[Unknown]

@Goldenfreddy0703
Copy link
Author

Awww thanks for telling me, I wish there was a way to fix the audio for the old games. Idk why audio is messed up, slow, fast, it could be just rendering but again, not too sure

Thank you tho.

@UnveilingCoyote
Copy link

When will this be fixed?

@hrydgard hrydgard modified the milestones: Future-Prio, v1.17.0 Aug 23, 2023
@Goldenfreddy0703
Copy link
Author

I was wondering about this as well, glad this is on the v1.17.0 milestone tho.
Thank you

@UnveilingCoyote
Copy link

Update on this?

@UnveilingCoyote
Copy link

Will this be fixed anytime soon?

@Goldenfreddy0703
Copy link
Author

Hey there, been awhile sense I responded to this issue but is ppsspp already past the 1.17.0 milestone? Its probably been about 2 years and im surprised this is still an ongoing issue.

@hrydgard
Copy link
Owner

1.17 is the upcoming milestone, we're not past it.

And please don't post just for updates. I have looked at it a couple of times and haven't been able to figure it out. I will look again but no guarantees I'll solve it before the 1.17 release.

Feel free to help debug it.

@Goldenfreddy0703
Copy link
Author

Hey sure and it's totally fine. I think awhile back, it had something to do with the audio format but I'm not too sure. Maybe I will look into this more and help with debugging soon.

Thank you

@sum2012
Copy link
Collaborator

sum2012 commented Jan 17, 2024

@Goldenfreddy0703 Can you record the cracking and skipping (include graphic and sound) into https://www.youtube.com (and share the link with us) ?

@UnveilingCoyote
Copy link

Here is the slowdown

Uploading Screen_Recording_20240117_173022_PPSSPP.mp4…

@UnveilingCoyote
Copy link

Screen_Recording_20240117_173022_PPSSPP.mp4

@Goldenfreddy0703
Copy link
Author

Hey @sum2012 it's been awhile sense I used ppsspp but I can try to get on my computer later and see if I can record it for you. Thank you for pinging me.

@sum2012
Copy link
Collaborator

sum2012 commented Jan 18, 2024

@UnveilingCoyote edit reload the page okay now

@hrydgard hrydgard modified the milestones: v1.17.0, v1.18.0 Jan 18, 2024
@UnveilingCoyote
Copy link

Update on this?

@sum2012
Copy link
Collaborator

sum2012 commented Mar 1, 2024

Sorry later reply ,I don't think that the sound is cracking and skipping

@hrydgard hrydgard modified the milestones: v1.18.0, Future-Prio Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants