libretro / beetle-psx-libretro

Standalone port/fork of Mednafen PSX to the Libretro API.
GNU General Public License v2.0
309 stars 131 forks source link

Mac OS ARM M1 Pro constantly crashes #863

Open personaone opened 1 year ago

personaone commented 1 year ago

First and foremost consider this:

Description

Retroarch crashes on loading a game, sometimes it load successfully, sometimes it crashes. This is very inconsistent, other cores like SNES/Sega don't behave this way. Sometimes a restart fixes this, sometimes it doesn't - very random. I'm attaching a crash log.

Expected behavior

Expectation is that the game just runs, like any other core [Photos/videos of original hardware behavior and/or mednafen behavior]

Actual behavior

Frequently when loading games, Retroarch crashes [Photos/videos of the core's behavior]

Steps to reproduce the bug

  1. Load the PSX-Beetle core
  2. Load a game
  3. [and so on...]

Bisect results

Hard to tell, it's very random

Version/Commit

[If you're using RetroArch, this information is on the bottom left after loading the core. You can do this via Main Menu -> Load Core]

Please specify whether you are using Beetle PSX or Beetle PSX HW.

Core options

Mem card type: Mednafen, Show full overscan, Custom Aspect ratio 8x

Please also specify, if reporting a graphical glitch for Beetle PSX HW, your "Renderer" core option setting and your frontend selected video driver.

Environment information

psx.txt

hizzlekizzle commented 1 year ago

Can you generate a log in RetroArch that captures a crash?

there are a few ways to get a log, but the easiest is to go to settings > log and set both logging verbosities to DEBUG and 'log to file' to ON. Do whatever it takes to reproduce the offending behavior and then close RetroArch (if needed). It will then create a log file in your 'log' directory, which you can open in a text editor. If you want us to take a look at it, copy/paste the log contents somewhere like pastebin.com and then post a link to it here (this is more convenient for people than having to download it and open it in our own text editors)

personaone commented 1 year ago

Can you generate a log in RetroArch that captures a crash?

there are a few ways to get a log, but the easiest is to go to settings > log and set both logging verbosities to DEBUG and 'log to file' to ON. Do whatever it takes to reproduce the offending behavior and then close RetroArch (if needed). It will then create a log file in your 'log' directory, which you can open in a text editor. If you want us to take a look at it, copy/paste the log contents somewhere like pastebin.com and then post a link to it here (this is more convenient for people than having to download it and open it in our own text editors)

Sure

https://pastebin.com/V6rpxFXF

crashes straight to desktop on loading content. Not always - so it's really inconsistent too.

personaone commented 1 year ago

I think I'm starting to notice a trend here, for some reason whenever I pull a new core by using the Update Installed Cores option, the newly installed core crashes when loading content. This is actually affecting this core, where the example the Genesis Plus GX one just runs no problem straight after updating. The PSX core runs only after a few reboots - so it might have something to do with maybe file permissions that don't get updated after a new core is updated? Here's another log file with logging to both core and RA. I don't see any errors though....

https://pastebin.com/Bk4xCHjG