shadps4-emu / shadPS4

PS4 emulator for Windows,Linux,MacOS
https://shadps4.net/
GNU General Public License v2.0
10.79k stars 662 forks source link

The last bbhack version AMD crashing again #648

Closed ChronoRPG closed 1 month ago

ChronoRPG commented 2 months ago

Greeting

With the last bbhack version ( c253fd8 ) AMD have a regression

Crashing the game when i try load the save or when i try a new game, on both case with AMD bloodborne crash.

I leave my log archive for investigate the cause.

shad_log.txt

raphaelthegreat commented 2 months ago

I cannot reproduce this problem on my AMD gpu. Can you enable validation option and send a new log? Make sure to install Vulkan SDK

ChronoRPG commented 2 months ago

Of crouse, this is the log, with Enable vulkan validation layers, and enable vulkan syncronization validation shad_log.txt

voguelike commented 2 months ago

same here, i crash with this unhandled exception every time i continue or finish making a new character: [Debug] <Critical> liverpool.h:unhandled_exception:1100: Unreachable code! Unhandled exception: vk::Device::createComputePipelineUnique: ErrorUnknown

i tried all of the permutations i could think of; with and without gparams and libSceDiscMap, with and without sound and sfx, as well as with and without any patches/mods or external applications such as reshade.

i would send a log with vulkan validation layers enabled but it crashes instantly and leaves an empty log, so here is the regular one instead 😅 shad_log.txt

raphaelthegreat commented 2 months ago

I have pushed a commit that may fix the problem

ChronoRPG commented 2 months ago

Now it's worse 😅 I can't watch the first screen of bloodborne XDD

raphaelthegreat commented 2 months ago

Please post a log (always with reports so I can fix it)

ChronoRPG commented 2 months ago

Sorry, this the log with the new error shad_log.txt

raphaelthegreat commented 2 months ago

This looks like its crashing before any graphics part has been reached. Are you using sync logging?

voguelike commented 2 months ago

new build is throwing the same unhandled exception but this time before i even reach the main menu

here's the new log with validation layers enabled

shad_log.txt

ChronoRPG commented 2 months ago

This is the log with syncronization validation enable shad_log.txt

voguelike commented 2 months ago

interesting, so the newest build now let's me attempt to load back into the game but it never gets to rendering any part of the game. when i try to load into the game either from continuing or making a new character, i get the loading screen then during the loading screen a split second of audio makes it out then it fades into a black screen and eventually crashes without any critical errors. shad_log.txt

voguelike commented 2 months ago

seems inconsistent too. i tried again without sound, and sfx and this time i got [Debug] <Critical> vk_scheduler.cpp:SubmitExecution:202: Unreachable code! Device lost during submit: vk::Queue::submit: ErrorDeviceLost

i also tried without gparams and libSceDiscMap for posterity but i got the same crash shad_log.txt

voguelike commented 2 months ago

i know these aren't bb-hack builds but i tried the last two main builds ( 6bf42aa and cf706f8 ) and i found that both of them crash if sfx are in the game.

without sfx though, i can at least get into the game but i can only see the hud, the rest is either gray screen or black screen depending on if gparams and libSceDiscMap is in or not.

here's the log that shows the crash with sfx sfx;enabled - shad_log.txt

and here's the log where i can get in the game but can only see the hud with the rest being a gray/black shad_log.txt

ChronoRPG commented 2 months ago

For me get fix the problem, now i can into the game very well, but when i into the game this going to 60 fps and then when touch the keyboard the fps down brutality, and is unplayable

i feel how if had a desyncronisation betwen the video and the input keyboard.

Drigtime commented 2 months ago

It works for me, I can access in game, my specs are

What I did was

voguelike commented 2 months ago

It works for me, I can access in game, my specs are

  • CPU : AMD Ryzen 5 5600
  • GPU : AMD Radeon RX 6700 XT

    • Driver Version : 24.10.37.04-240823a-407010C-AMD-Software-Adrenalin-Edition
    • Vulkan API Version : 1.3.287
    • Vulkan Driver Version : 2.0.310

What I did was

  • Applied the patchs (dont know if it really affect the out come)

    • Disabled chromatic aberration
    • Disable motion blur
  • Removed the recommended files in drawparam
  • Removed files in sfx
  • Removed the recommended files in sound
  • Did not include libSceDiscMap
  • Applied the mod Bloodborne FPS Boost (and other fixes)

are you using this exact build? https://github.com/shadps4-emu/shadPS4/actions/runs/10621808609

Drigtime commented 2 months ago

are you using this exact build? https://github.com/shadps4-emu/shadPS4/actions/runs/10621808609

Yes, I'm not saying that it never crash, but I would say 2 out of 3 time I could launch a new game or load a save.

shad_log - worked.txt

voguelike commented 2 months ago

yes you are right. i started the installation from scratch to remove all confounding variables and i got it to work by removing libSceDiscMap, the recommended files in drawparam as well as installing the bloodborne fps boost mod and now i can get into the game.

yesterday i was able to successfully play without crashing using (main bb5) while keeping all drawparam files and the libSceDiscMap sys_module in place and now i'm unable to on this build. however, that is a fork of this repo so this kind of variation is to be expected.

Hermiten commented 1 month ago

The first issue is fixed, I'm closing it.