RPCS3 / rpcs3

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

Regression: Dark Souls (BLES01765) crashes at start after PR (#12523) #12565

Open GitArUs opened 2 years ago

GitArUs commented 2 years ago

Quick summary

Emulation crashes right before game should start running with the console message: {PPU[0x1000005] Thread (HighGraphics) [0x01e70e5c]} VM: Access violation reading location 0x1fd0018 (unmapped memory)

Details

No response

Build with regression

1dd1062

Attach two log files

Good log: RPCS3_DS_c0e3b86.log Bad log: RPCS3_DS_1dd1062.log

Attach capture files for visual issues

No response

System configuration

OS: Fedora 36 CPU: i9-9900K GPU: NVidia RTX 3060 Driver: 515.57.0.0 Renderer: Vulkan & OpenGL

Other details

No response

elad335 commented 2 years ago

Try to clear PPU cache.

GitArUs commented 2 years ago

It does not help. In fact, I tried to play this game for the first time today using fresh rpcs3 build and it crashed on me.

solarmystic commented 2 years ago

Perhaps a Fedora (Linux) specific issue, no issues booting up Dark Souls (BLES01765) on my i5 12400F/2080 TI with 516.94 drivers, Windows 10 21H1 machine on the latest master (14088) even without prior PPU/SPU caches using a fresh rpcs3 build.

image

GitArUs commented 2 years ago

It works, when "Accurate PPU 128 Resevations" is set to anything other than "Disabled". Maybe I should consider this as required setting for this game/OS combination ? But behavior has changed between two mentioned commits...

kd-11 commented 2 years ago

Given how SPU-heavy the souls engine is (especially dark souls 1 blight town) it shouldn't require accurate settings to run. I'll run some tests later when I can boot into linux.

kd-11 commented 2 years ago

While I don't have the exact same version, I was able to boot just fine on linux with default settings and wcb and start a new game.

GitArUs commented 2 years ago

It is a matter of setting "PPU Non-Java Mode Fixup". I don't recall ever touching this, but apparently default setting is now enabled, and I had it disabled in global config, which was then inherited by all game configs. 1dd1062 triggers crash when this option is disabled (or the other way around). Persona 5 suffers the same problem, but other games, for example "Demon's Souls" and "Lightning Returns" work happily with this option disabled. Close it, or somebody wants to investigate ? I lack knowledge to analyse it. For example - what ppu 128 reservations have to do with non-java mode fixup ?...