RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.37k stars 1.91k forks source link

Demon's Souls reliably hangs after build 6718 #4568

Closed ashemedai closed 6 years ago

ashemedai commented 6 years ago

System: Windows 10 (April's update; build 1803), GTX 980, Intel i7-4770, 16 GB Settings: Vulkan, Write Color Buffers, English (US), Pads: DualShock 4, rest default Firmware: 4.82 Kept the title to Demon's Souls as it's the only ISO I have dumped at the moment, so could not personally verify with other titles.

After PR #4553 (tested with build 6734) Demon's Souls hangs after fighting the first enemy in the tutorial. Audio keeps playing, FPS counter still fluctuates at times, but game is otherwise hung up.

After forcibly quitting the emulator render window, you cannot load the game again due to encountering {PPU[0x1000000] Thread (main_thread)} class std::runtime_error thrown: Verification failed (e=0xb7) (0): (in file Emu\Cell\SPUASMJITRecompiler.cpp:2753). It does not matter if you delete the save game and clear the LLVM cache, problem persists.

I could not reproduce the above mentioned loading problem with PR #4565 and build 63e4a0d8. That build, however, still has the hang problem described earlier.

Build 6718 works, as in: I can continue past the first enemy, kill some others and walk around for a while.

I've attached the log file of the 63e4a0d8 build run until the hang: RPCS3.gz I might have missed something subtle, but it does not seem that there's anything in the log that's out of the ordinary. If there's anything I can do to help narrow it down, let me know.

tommis15 commented 6 years ago

@psennermann You tried a clean install of RPCS3?

isshininu commented 6 years ago

For everyone experiencing stuck on RPCS3 7069: go to dev_hdd1/cache and clear content of this folder completely. After this run game again, it should no more freeze.

psennermann commented 6 years ago

Yes, I tried a clean install...

psennermann commented 6 years ago

But I don't think the issue lies in last PR 7069, because with the older PR "[No Merge] praise miyazaki" I had the same problem...

kd-11 commented 6 years ago

You need to clear your SPU cache as well

Parthorisian commented 6 years ago

Wow, it really works ragdoll interaction+allows load any savegames/places unavailable before+audio stuttering has been fixed! Praise Nekotekina!

kd-11 commented 6 years ago

Closing as fixed

YaPeL commented 6 years ago

I still have the issue, clean install and all, non TSX cpu, I attached the log to the other issue

GoaLitiuM commented 6 years ago

The game still freezes with LLVM Recompiler as SPU Decoder, but sometimes it recovers after waiting a while after the freezing occurs. With ASMJIT the issue seems to be gone. For the reference, I also have a non-TSX capable CPU (i7-2600k).

Asinin3 commented 6 years ago

SPU LLVM is experimental, it says it right there next to the name.. No need to report issues like "it freezes" or "graphics missing" only spu logs etc will be useful at this stage.

Fashish commented 6 years ago

Same issue as @psennermann, the game freezes before even getting to the main menu. I've tried everything suggested in this thread to no avail. Using the latest 7111 build.

Sladern commented 6 years ago

how do i download old builds? can someone get me a link please?

Rozzemak commented 6 years ago

Just quick update: Freeze is still present on anything bigger than safe SPU Block Size, but SPU Dec. LLVM Recompiler works now. Needs verification. (I have only 1 machine)

psennermann commented 6 years ago

on my system Demon's Soul still hangs no matter what options you choose (LLVM included)

al0xf commented 6 years ago

Delete the dev_hdd1 (one) and data folders to clear all caches and try again first with SPU ASMJIT and then with SPU LLVM with safe block size.

isshininu commented 6 years ago

Delete the dev_hdd1 (one) and data folders to clear all caches and try again first with SPU ASMJIT and then with SPU LLVM with safe block size.

It will not help.

He is talking about another DeS bug affecting 4 cores/4 threads CPUs only, as described here: https://github.com/RPCS3/rpcs3/issues/4861

CaptainStarPaw commented 6 years ago

RPCS3 0.0.5-7377-b7e010bb Alpha

i7-8700K CPU GeForce 980 Ti GPU 16 GB DDR4

PPU: LLVM, SPU: LLVM, 1 SPU thread, safe SPU block size, TSX Enabled.

All fine here, cleared out cache and I've played through the first three boss fights no issues.