PCSX2 / pcsx2

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

[BUG]: Petit Copter 2 (SLPM-62624)(SLES-53821) - Constant Hanging #10380

Open forrvalhalla opened 10 months ago

forrvalhalla commented 10 months ago

Describe the Bug

The game will freeze randomly anywhere in the game.

Occurs on all PCSX2 versions, and on both JP and PAL releases. Dump is verified, and the bug does not occur on real hardware. Have tried FastCDVD, and other methods mentioned in the CDVD Timing Sensitive issue report in the belief that it's CDVD related to no avail. I am unsure if it even is CDVD related however. Apologies for such a barren issue report, but I have no leads about this issue.

Reproduction Steps

Crash can happen anywhere. Best practice is to wait at the main menu until the arrows stop spinning. Entering Challenge Mode seems to speed up the process, but is likely just placebo.

Expected Behavior

The game should not hang randomly.

PCSX2 Revision

v1.7.5268

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

CPU

i5-7600K

GPU

GTX 1050ti

GS Settings

No response

Emulation Settings

No response

GS Window Screenshots

No response

Logs & Dumps

No response

refractionpcsx2 commented 10 months ago

It seems to be just a case of unfortunate timing in some cases. I can seem to get around it by setting the EE cycle rate to 60% (Underclock), however 300% and 70% are worse than 100%, significantly (can't even reach the menu).

forrvalhalla commented 10 months ago

Woah, it helps a lot, nice catch! Sadly though it's still unstable 😔 , took around 15-25 minutes this time though which is a definite improvement for sure. Thanks for taking a look.

refractionpcsx2 commented 10 months ago

Yeah I dunno what's going on, the plot kinda thickens.

If I boot the game normally and wait at the menu with the frame limiter off, it'll run at around 600fps and work fine if I then hit reset (or full boot instead) again at the menu with the frame limiter off, it'll run around 400fps and hang after a few seconds.

So it's like some state thing is getting messed up/not resetting when it should be, and that's completely screwing things.

refractionpcsx2 commented 10 months ago

@forrvalhalla out of curiosity what region BIOS are you using?

forrvalhalla commented 10 months ago

NTSC-U. The game runs perfect on my modded PS2, could my BIOS be mucking it up on the emulator side?

Also, saw the Reset commit last night. Downloaded the latest version of it and let it run overnight, was still going when I came back to it without a crash. Reset, then did some levels in the morning. Got about halfway through Challenge Mode, maybe about 30 minutes of play before it crashed. Still seems to have issues but I feel it's significantly better. image image

refractionpcsx2 commented 10 months ago

It's just the behaviour changed if you were using a PAL BIOS with the Japanese version, it was doing some very strange stuff and hanging was much more frequent. This wasn't reproducible with an NTSC bios (either US or J)

Yes unfortunately the reset PR doesn't fix it :(

ghost commented 3 months ago

@forrvalhalla

Can you try this patch? It worked for me. SLES-53821 patch=1,EE,001799AC,word,00000000

SLPM-62624 patch=1,EE,001799B8,word,00000000

forrvalhalla commented 2 months ago

Patch works like a charm, thank you very much! Managed to clear the entire Challenge Mode in a single game session without crashing, never been able to get anywhere this far on emulator - It's perfect! Thanks again. Hope to see this merged 🙏 Radio Helicopter II_SLES-53821_20240726171927