irixxxx / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
47 stars 24 forks source link

[GKD Mini/Pixel] Sound issues in Phantasy Star IV #109

Closed R3D-C0M3T closed 5 months ago

R3D-C0M3T commented 5 months ago

Tested in opendingux alpha 2 & 3 on the latest version of their software (iux 2.0 english build 12/2/23). Getting crackling/popping on both devices (they're essentially the same internally) no matter the configuration, overclock makes no difference. Can be most easily heard in the bgm as soon as a new game is started. Happy to help troubleshoot if more info is needed.

irixxxx commented 5 months ago

Could you please turn on the "show fps" option in the interface options section? It should be at stable 60+-1 fps (or 50 on a PAL version). Is this the case where the sound stutters?

R3D-C0M3T commented 5 months ago

Seeing a stable 60+-1, happens even while standing still, doesn't sound like stuttering.

irixxxx commented 5 months ago

Do you have another device running a version of Opendingux to check if that only happens in IUX?

R3D-C0M3T commented 5 months ago

Hmm, I sold my rg350m a while back but I do have an old rs-97 kicking around. I'll see if I can get it up & running to test & report back (hopefully it still works). Could very well be an iux issue, it's not without its problems.

R3D-C0M3T commented 5 months ago

Someone on discord volunteered to test it on their 280v: same rom, same build, no sound issues, so it appears this is an issue with iux. Hopefully we'll see some better cfw soon that'll take care of that, I appreciate your time, thank you.

irixxxx commented 5 months ago

Just thinking about this: is this the only game with this problem, or have you noted it elsewhere? If it's a general problem the sound rates between PicoDrive and the IUX might be off. I might just be able to track the sound buffer content and duplicate or eradicate some samples to compensate for this.

R3D-C0M3T commented 5 months ago

So upon further testing it seems this is happening system-wide, it's just worse/more noticeable in some games/emulators than others. ReGba has a few debugging features & one of the things it does is log sound buffer overruns. The number of overruns logged correlates with the number of audio events I heard (in that case breif cut-outs instead of crackling/popping/distortion).

I've raised the issue with people who should have a line to the gkd software team, but I'm not holding my breath for a fix, which is a real shame since the hardware is so nice & it's pretty much unusable for me in its current state. I appreciate the thought & look forward to using picodrive as intended on them someday =]