PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.49k stars 1.6k forks source link

Smackdown vs Raw 2007 (PAL) cutscene timing problems. #82

Closed Silanda closed 2 years ago

Silanda commented 10 years ago

As per the description, the voiced cutscenes appear to run too fast, leading to an audiovisual desync and the scenes ending early. This is with no speedhacks on and occurs irrespective of gsdx mode or backend, and is using a current build. There are similar problems with the other games in the series too (SvR, the earlier Smackdown games seem to work fine), with lurching speed ups during wrestler entrances.

The framerate counter does not show any untoward changes from 50fps, which makes it look like a timing problem internal to the emulator. It also sounds the same as the problem described some time ago here: http://forums.pcsx2.net/Thread-WWE-Smackdown-Vs-Raw-2k6-to-2010-Common-Problem

My Specs: Intel i5 3570k @ 4.4 GHz Nvidia GTX 780ti 16GB RAM Windows 8.1

Silanda commented 10 years ago

I'll caution that I haven't tested this thoroughly but, somewhat counterintuitively, this problem seems to be largely alleviated by running a custom build with an overclocked EE.

ramapcsx2 commented 10 years ago

Can you test a few more things? Is there a change when using the EE speedhack for example? Also please try ZeroSPU2 instead of SPU2-X.

Silanda commented 10 years ago

ZeroSPU2 runs like crap on my system (stuttering) but the problem's still apparent.

My speedhack results are not quite what I expected. This doesn't happen in every cut scene, so I've only tested it in one today. FWIW this cutscene is the post match cutscene after Shawn Michaels' first match in career mode. The match can be skipped to get to the cutscene.

With the EE speedhack set to off, the onscreen graphics seem to move slightly too slowly which desyncs the audio. At the middle setting the audio stays in sync but there are some missing graphics on the Titantron when Carlito enters.

I've also tried changeing the code for the middle speedhack in iR5900-32.cpp to this:

case 2: // Sync hack x2 scalarLow = 2; scalarMid = 3; scalarHigh = 2; break;

That alleviates the problem in most cases with no side effects. Some cutscenes do end slightly early on occasion though.

Silanda commented 10 years ago

Just to add: at no time does PCSX2's stated framerate drop below its correct rate of 50Hz. Also, judging from the way it behaves, I assume that the audio for each cutscene is one audio file played like a music track rather than individual tracks for each characters speech, sfx, etc.

Additionally, I am now uncertain of my original post. The test I did today suggests that the visual parts of the scenes run too slowly and end when the audio ends, with the animations lagging behind. However when I made the original post I could have sworn I'd encountered scenes where the animations skip, leading to the reverse happening.

ramapcsx2 commented 10 years ago

Ah okay, this helps me file this problem better. It probably is a DMAC / IPU thing then and the audio problem is secondary.

ssakash commented 8 years ago

@Silanda

I've also tried changeing the code for the middle speedhack in iR5900-32.cpp to this: case 2: // Sync hack x2 scalarLow = 2; scalarMid = 3; scalarHigh = 2; break;

could you observe whether values 1 (or) 2 on EE cyclerate produces better result on resolving the issues ? ( it's not the right fix though )

MrCK1 commented 6 years ago

@Silanda Any status update on this?

Silanda commented 6 years ago

Wow, I'd forgotten about this. I just had a very quick play around with my somewhat recent build, and things seem okay. I'll test it more thoroughly tomorrow with a new, completely up to date build, and report back.

Silanda commented 6 years ago

Okay, tested again. AV sync is still wildly out in some cutscenes at default settings.

MrCK1 commented 4 years ago

@Silanda just checking in for another update. Any idea if it's still an issue?

Silanda commented 4 years ago

Just had a quick go and I didn't see the audio sync problems. However, the videos on the Titantron don't play any more: they appear stuck on a single frame.

refractionpcsx2 commented 3 years ago

Hopefully the Titantron's work on master now, however can you check for audio desync using PR #3862 ? If you have the NTSC version of course, if you're on PAL you might have to wait a bit longer.

Silanda commented 3 years ago

I've only got the PAL version I'm afraid.

refractionpcsx2 commented 3 years ago

Darn, okay I'll ping you again when we add PAL to that PR :)

tadanokojin commented 3 years ago

I updated the PR but it sounds like the desync was sorted already.

refractionpcsx2 commented 3 years ago

okay, well do the Trinitrons play on latest master now?

refractionpcsx2 commented 2 years ago

Should be fixed on master now?

seta-san commented 2 years ago

i can confirm on the NTSC version that the audio desync used to happen and is now fixed.