MiSTer-devel / Saturn_MiSTer

Sega Saturn for MiSTer
55 stars 16 forks source link

Revolution X - Music Is the Weapon (Europe) // Sound music is cutting out and going back after some seconds #75

Closed Zet-sensei closed 5 months ago

Zet-sensei commented 8 months ago

During the attract mode, the music of the game is cutting for a couple of seconds and goes back multiple times on a same track.

YLFAndy commented 5 months ago

Confirmed this is still occurring on the current core (20-04-24) AND with NTSC. The attract mode music is the biggest offender. In-game is pretty solid, but the attract mode music plays a few bars then acts as if the track was restarted.

YLFAndy commented 5 months ago

Discord user レトロジャー reports the music IS working for them without issue. So it seems maybe it's a silicon lotto issue with ram timing maybe.

YLFAndy commented 5 months ago

Tested on my dual ram setup with more success. The issue reproduces once after first track load (specifically of the intro track), then it doesn't reproduce again until the first time that track plays when looping in attract mode. 146MHz sustained RAM speed.

On real hardware, the first occurrence does not happen.

srg320 commented 5 months ago

I can't reproduce the problem. Need more information.

YLFAndy commented 5 months ago

I can't reproduce the problem. Need more information.

I can get video examples today. Are there any good signal tap points I could grab for you that would help? I can get a trace, I just don't know what would help the most.

srg320 commented 5 months ago

I can't reproduce the problem. Need more information.

I can get video examples today. Are there any good signal tap points I could grab for you that would help? I can get a trace, I just don't know what would help the most.

I need to see this problem for myself.

YLFAndy commented 5 months ago

https://we.tl/t-CsalL0zWnW

Here's a wetransfer link for the videos I captured yesterday. The only video of concern is the 1.2GB one. I let the attract mode run and the problem shows. This is single ram (143Mhz, v2.9).

YLFAndy commented 5 months ago

I have another single ram system and the music is perfect, so it's very device dependent.

Zet-sensei commented 5 months ago

I've tried once more with my Dual RAM system (measured 149MHz stable) & core (2024-04-20). Game loaded from a Sandisk USB stick, in CHD format (conversion done myself with CHDMAN 0.243).

For comparison later, I will try once more with the game on the SD card & also with a BIN+CUE version.

EDIT : No changes with a BIN+CUE version on the USB stick. I will try tomorrow with the internal SD card if necessary.

YLFAndy commented 5 months ago

Here's a YouTube video with comparison to original hardware: https://youtu.be/klI6cg2YImc

I've added a visual indicator when drops happen.

Dunno if this helps, but the music is SCSP Direct Sound.

Also, I noticed the core has a seam running down the center that original hardware does not, but that's unrelated to this bug. I'll file a new one if I can get more info.

srg320 commented 5 months ago

Try this build. Saturn.zip

Zet-sensei commented 5 months ago

No changes for Revolution X (Europe) with that build.

I've tried :

No difference between CHD & BIN/CUE files, neither from the internal SD compared to a USB stick.

Same result as in the video created by @YLFAndy

YLFAndy commented 5 months ago

Same for me. No change.

srg320 commented 5 months ago

Try this build. Saturn.zip

YLFAndy commented 5 months ago

Try this build. Saturn.zip

That build worked for me! Thank you! @Zet-sensei, hopefully this fixes it for you as well.

srg320 commented 5 months ago

@Zet-sensei, also test Bust-A-Move 2.

Zet-sensei commented 5 months ago

Perfect for me too with that last test build. Revolution X & Bust-A-Move 2 are working as intended.

Zet-sensei commented 5 months ago

Fixed with commit https://github.com/MiSTer-devel/Saturn_MiSTer/commit/093cdc6c23fab016a9841295ffc79d313e1e66b7