Closed Silanda closed 2 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.
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.
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.
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.
Ah okay, this helps me file this problem better. It probably is a DMAC / IPU thing then and the audio problem is secondary.
@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 )
@Silanda Any status update on this?
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.
Okay, tested again. AV sync is still wildly out in some cutscenes at default settings.
@Silanda just checking in for another update. Any idea if it's still an issue?
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.
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.
I've only got the PAL version I'm afraid.
Darn, okay I'll ping you again when we add PAL to that PR :)
I updated the PR but it sounds like the desync was sorted already.
okay, well do the Trinitrons play on latest master now?
Should be fixed on master now?
i can confirm on the NTSC version that the audio desync used to happen and is now fixed.
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