libretro / beetle-psx-libretro

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

Game Crash Problem (Vulkan) #132

Closed FiLeonard closed 7 years ago

FiLeonard commented 7 years ago

Tony Hawk's Pro Skater 2 crashes immediatly when used with the attached memcard. (Vulcan) It has been created with pcsx-rearmed. ePSXe loads it as well. Using this memcard with other games in Beetle PSX, it boots normally. (Tried with Driver.) I tried other memcards created by pcsx-rearmed and they work as expected in Beetle PSX. (e.g. MGS) Of course, method is libretro.

Just tried to boot it in the non-HW core of mednafen and there it boots.

In mednafen HW it gives me an access violation in nvoglv64.dll Maybe a problem with the nvidia drivers. But what has this to do with the memcard?

Tony Hawk's Pro Skater 2 (Europe).zip

simias commented 7 years ago

I can't find anything obviously wrong with the memory card format. Only one file in one block, no broken sector, nothing seems incoherent:

File #1:
  File name: BESLES-02908CLHAG01
  Title: THPS2 CAREERー CAREER A
  File size (reported): 8192B (1 blocks)
  Blocks: 1 (1 total)

Block 1: used (First)
  File name: BESLES-02908CLHAG01
  File size: 8192B (1 block)
  Metadata checksum: 0x21 (OK)
FiLeonard commented 7 years ago

Ok now i am able to reproduce the problem. The memcard was a distraction. Starting retroarch and immediatly booting THPS2 by playlist results in a crash with beetle psx. Starting another game by playlist first with beetle PSX, then closing it, THEN starting THPS2 by playlist, it boots.

Loading the core first and then selecting the file manually also doesnt crash

simias commented 7 years ago

Just to clarify: this is not related to the memory card image at all anymore, right?

FiLeonard commented 7 years ago

Right. I'm sorry for that. i mistook the memcard for producing the error, but probably i reproduced the aforementioned behavior unbeknownst to me while testing the memcards. Also, It happens with vulkan only.

I have the same problem with gex:enter the gecko NTSC (SLUS-00598) THPS2 is SLES-02908.

The question is: is there an internal difference between [(first loading the core and then loading the content) AND (booting some game, that works, then closing it and then booting something from the playlist)] and [booting an item via playlist in the first place after starting retroarch]. Because only the latter produces the crash.

If not, it has to be a problem with my setup: e.g nvidia driver.

FiLeonard commented 7 years ago

Vulkan renderer on, default beetle-psx options, Nvidia Driver 376.09 or 376.19 Win64bit with Retroarch nightly 28th november or 4th december.
and mednafen_psx_hw from 5th or 6th december. tried all combinations.

Okay these titles have this problem, Tekken 3: SCES 01237 THPS 2: SLES-02908. gex: enter the gecko SLUS-00598 Street Fighter Alpha 3

What works as expected: Driver FF7 FF8 FF9 Chrono Cross GT2 G-Police MGS NFS - Porsche NFS3 Parasite Eve 2 Ridge Racer 4 THPS 4 Twisted Metal 2 Vigilante 8

Just to clarify: The games in the first list work by playlist, after i launched one of the games which works and close it again OR by loading the core and selecting the file manually by loading the content. They crash if i start them by playlist immediatly after starting retroarch.

FiLeonard commented 7 years ago

Problem vanished in new versions