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

Dead or Alive - music stutters at the beginning of a fight #288

Open
Kuba-J opened this issue Nov 19, 2024 · 17 comments
Open

Dead or Alive - music stutters at the beginning of a fight #288

Kuba-J opened this issue Nov 19, 2024 · 17 comments

Comments

@Kuba-J
Copy link
Contributor

Kuba-J commented Nov 19, 2024

music stutters at the beginning of a fight - latest dualsdram test core

is like this before each new fight , when a new song starts

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 19, 2024

The stutter can also be heard in Virtua Fighter 2 when the fighter's choice comes up

EDIT: the last core on which it works well for me is 20241030

@srg320
Copy link
Collaborator

srg320 commented Nov 21, 2024

@Kuba-J, Can you check the following?
Start the game, but do not start the fight. Quit the game in the bios (A+B+C+Start). Listen to the beginning of the fight tracks (starting at 4) and check for stuttering.

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 21, 2024

music works fine in music player (bios)

I tested the same sd card on three dualsdram hardware. Two de10 and qmtech , on each I got different results. The first my test , as I described in the submission , clipping in the music at the beginning of the fight in DoA, on the second de10 everything is fine, on the qmtech clone I even have artifacts in the DOA intro.

@srg320
Copy link
Collaborator

srg320 commented Nov 21, 2024

Well I only have one Mister and one sd card. I don't have that issue yet. That makes it harder to find the problem.

Try this build
Saturn_DS.zip

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 21, 2024

no change + gfxs corruption

bandicam.2024-11-21.11-31-30-529.mp4

In my opinion, this error is related to sdram, you can even see gfx errors for a fraction of a second when clipping music. Here you can hear the music clipping better.

20241119_183859.mp4

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 21, 2024

problems do not occur up to core version 20241030 , from core 20241106 the problem occurs.

@srg320
Copy link
Collaborator

srg320 commented Nov 21, 2024

Try this build
Saturn_DS.zip

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 21, 2024

sorry , no luck (music) :(

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 25, 2024

i found the cause of the problem , the error occurs with vsync=1 setting , no problems with vsync=0. i am wondering what has changed and what is affecting it at the moment? core from october works ok with vsync=1

@srg320
Copy link
Collaborator

srg320 commented Nov 25, 2024

i found the cause of the problem , the error occurs with vsync=1 setting , no problems with vsync=0. i am wondering what has changed and what is affecting it at the moment? core from october works ok with vsync=1

At the moment of stuttering, the video mode is switched from normal to interlace. That's where the relation to vsync setting comes from.

There are two builds on October 30th. Are both of them without stuttering?

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 25, 2024

20241008 works ok , as for core 20241030 I only checked yours from here #259 , because I had problems

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 25, 2024

problem also occurs in core 20241030 (dualsdram test core )

@srg320
Copy link
Collaborator

srg320 commented Nov 25, 2024

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 25, 2024

ok i checked two versions of core single 20241030 before and after the fix for interlace. The problem appears with the changes for interlace.

https://github.com/MiSTer-unstable-nightlies/Saturn_MiSTer/releases/download/unstable-builds/Saturn_unstable_20241030_090616.rbf - works fine
https://github.com/MiSTer-unstable-nightlies/Saturn_MiSTer/releases/download/unstable-builds/Saturn_unstable_20241030_14f3a8.rbf - probem with vsync=1

@srg320
Copy link
Collaborator

srg320 commented Nov 26, 2024

Ok. The problem has been localized. But I don't know how to fix it. I don't know much about video signals. Need help from more experienced people.

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Nov 26, 2024

Thank you for your time and I apologize for being so late in verifying other things.

@Kuba-J
Copy link
Contributor Author

Kuba-J commented Dec 2, 2024

A new observation, deinterlacing BOB holds steady at 60Hz , Wave shows 59.7-59.8Hz and jumps to 60Hz. When using BOB I have no problem with vsync=1 (dead or alive)

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

No branches or pull requests

2 participants