RPCS3 / rpcs3

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

[NPEB01352] Deadly Premonition: Director's Cut - Segfault with OpenGL on Mesa #15590

Open valters-tomsons opened 4 months ago

valters-tomsons commented 4 months ago

Quick summary

Trying to run the game with OpenGL renderer causes a segfault shortly after loading a save game. Does not happen on Vulkan.

Details

I've been seeing this issue since December 2023, on various RPCS3/Mesa/kernel versions released since then.

  1. Download and run the latest AppImage
  2. Configure game to use OpenGL & boot it
  3. When you reach main menu, load game
  4. Cutscene(s) will play, feel free to skip them
  5. Crash occurs, see log

Attach a log file

RPCS3.log

Attach capture files for visual issues

No response

System configuration

CPU: Ryzen 7 5800X GPU: Radeon RX 6700 / Mesa 24.0.6-2 OS: Arch Linux 6.8.9 DE: KDE Plasma 6 (Wayland)

Other details

No response

kd-11 commented 4 months ago

Cannot reproduce on mesa-git (24.2.0-devel)

valters-tomsons commented 4 months ago

I was wrong earlier, this does not seem to happen when starting a new game. Will try to reproduce from a new game & upload a save game.

valters-tomsons commented 4 months ago

I lost my previous save game, which used to crash instantly. It's still reproducible in the Prologue, but it takes up to 10 minutes for the crash to happen.

I've had two crashes with the save below, one happened less than a minute after loading (literally moving 5 meters from the spawn point, seems random tho), the second one took around 5 minutes of playing (see update below).

NPEB01352-00.tar.gz

Update: It appears that there's a spot where it always crashes, it takes a minute to get there, though. Video: https://www.youtube.com/watch?v=70fXY7rnM_w

  1. Load up the save game and move forward
  2. When you encounter a fork, take a right
  3. Keep moving, you can run past the monsters
  4. You'll be blocked by some planks and boxes, destroy them and keep moving
  5. When you see a house on the left, enter it and interact with destroyed generator
  6. Exit the house and keep moving, there'll be another house
  7. Destroy the padlock, enter house, kill the monster
  8. Interact with the generator
  9. Exit the house, kill the monsters
  10. Exit the gate that's halfway between both houses on the left
  11. Take a few steps, you should get a crash
valters-tomsons commented 4 months ago

Just tested with mesa-tkg-git (24.2.0_devel.189413.eebc4ec264e-1). It does not seem to crash at that specific place anymore, but continuing to play, it still crashes after ~5 minutes.

log here: RPCS3.zip

Edit:

Here's a save game to easily reproduce the issue. Just load it and run down the mountain, it should crash shortly before you reach the bridge.

NPEB01352-00.tar.gz

Edit 2: This save should crash on load with both versions: NPEB01352-00.tar.gz