PCSX2 / pcsx2

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

[BUG]: Persona 3 FES glitchy audio while saving #7316

Open Jakey757 opened 1 year ago

Jakey757 commented 1 year ago

Describe the Bug

While the game is saving, audio will stutter along for a second or two. Emulation speed does not drop below 100% and none of the audio sync methods have an effect on the issue. The console prints VBLANK OVERLAP while saving.

image

https://user-images.githubusercontent.com/49990481/199495316-52c1249e-e0f9-475f-a9ad-f5a47d0497d2.mp4

Reproduction Steps

Load the save state/memory card save, go to the notebook at the counter and save the game.

PCSX2 Revision

1.7.3511

Operating System

Windows 10 (64bit)

CPU

i7 4790

GPU

rx 570

Logs & Dumps

P3 audio issue.zip Persona 3 FES NTSC-U savestate/memory card save

ghost commented 1 year ago

I Remember Having a similar issue in the main menu screen of persona 4, But that was in the PS4's ps2 emulator.

ghost commented 1 year ago

Could it be caused by memcardFilters:

RedDevilus commented 1 year ago

Could it be caused by memcardFilters: - "SLES-55354" - "SLES-55018" in the gameindex.yaml ?

The memcard filters are just looking at the current serial + those two others when you use a folder memcard but a file memcard looks at all serials, I doubt that would be the issue.

ghost commented 1 year ago

@Jakey757 you didn't mention Using any patch, so i just wanna clear it up just in case

You aren't using The controllable party patch right ?

Jakey757 commented 1 year ago

no... im not using any patches.

ghost commented 1 year ago

Seems like it's been around for some time now, https://forums.pcsx2.net/Thread-Slight-lags-on-Persona-3-FES

i'll try it on my ps2 sometime to see if it can be replicated on real hardware. Edit: it doesn't occur on Real hardware

Mrlinkwii commented 1 year ago

can this be checked on latest nightly

Jakey757 commented 1 year ago

can this be checked on latest nightly

No change in v1.7.4622. Same padman: *** VBLANK OVERLAP *** message in the console.

Jakey757 commented 3 months ago

Still happening as of v1.7.5907. Tested with CDVD Precaching.

MrCK1 commented 3 months ago

Has this been confirmed against real hardware that it doesn't exist there?

escape209 commented 3 months ago

Has this been confirmed against real hardware that it doesn't exist there?

Part of a walkthrough from 2011 of the original (not FES) release. Uploader doesn't explicitly state it's real hardware, but it's very likely, given upload date, video quality and the lack of apparent emulation issues. The player starts a save at 8:48 and the music doesn't slow down at all during that time.

escape209 commented 3 months ago

I just tried saving with the game itself on one SSD and the emulator installed on another. Even with that setup, and with a Ryzen 7900X and a 6700 XT, I couldn't avoid some kind of audio crackling and/or slowdown. My guess was that emulation actually is dipping below 100% very briefly, and that seems to be the case from my testing (note the brief dip to 28FPS while the audio is affected):

https://github.com/PCSX2/pcsx2/assets/8225831/b6ef46fa-c0f5-464d-adc7-81cadbaed9ab

AmyRoxwell commented 3 months ago

I just tried saving with the game itself on one SSD and the emulator installed on another. Even with that setup, and with a Ryzen 7900X and a 6700 XT, I couldn't avoid some kind of audio crackling and/or slowdown. My guess was that emulation actually is dipping below 100% very briefly, and that seems to be the case from my testing (note the brief dip to 28FPS while the audio is affected): 2024-06-19.05-01-20.mp4

PLS enable all the options on OSD when that happens, so we can see what exactly is slowing that part on your hardware image

escape209 commented 3 months ago

PLS enable all the options on OSD when that happens, so we can see what exactly is slowing that part on your hardware

https://github.com/PCSX2/pcsx2/assets/8225831/ff5e0b48-7910-44fd-b887-0e8bd0dd187b

Naturally whatever it is is worse when saving to a new save slot. Here I save a few times to new save slots, and a few times I overwrite existing saves.