MVC2 crashes in arcade mode after selecting characters
redream v1.5.0-14-gcef63b44 on rpi4
I can reproduce this maybe 2 out of every 3 attempts. Here are the steps:
- Move all current vmu files out of /opt/retropie/emulators/redream/ and into a temp directory.
- Launch the game in redream from EmulationStation.
- Quickly select 3 characters and rapidly keep pressing 'B' on the controller (which selects Normal or Turbo mode for the game, then starts the match).
- Observe that the emulator exits and I'm sent back to EmulationStation.
The runcommand.log is:
Parameters:
Executing: /opt/retropie/emulators/redream/redream "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2.chd"
redream v1.5.0-14-gcef63b44 appdir=/opt/retropie/emulators/redream
options_read filename=/opt/retropie/emulators/redream/redream.cfg
window_update_mode mode=exclusive fullscreen size=640x480 pts
audio_device_init latency=60.41 ms period=444 frames fifo=2220 frames
input_init
input_register_device id=3 desc=05000000c82d00000161000000010000 name=8Bitdo SN30 Pro
input_register_device id=1 desc=keyboard name=keyboard
input_register_device id=0 desc=none name=none
video_create_context GL_RENDERER=V3D 4.2 GL_VERSION=OpenGL ES 3.1 Mesa 20.0.0-devel (git-f21b31a0db) GLSL_VERSION=OpenGL ES GLSL ES 3.10
0:6(100): error: sampler arrays indexed with non-constant expressions are forbidden in GLSL ES 3.00 and later
rb_test_device_features indexes=0
rb_test_device_features texture_fetch=0
rb_test_device_features fragment_feedback=1
video_init gl_version=OpenGL ES 3.1 Mesa 20.0.0-devel (git-f21b31a0db) glsl_version=OpenGL ES GLSL ES 3.10 size=640x480 px
emu_init_port port=0 dev=3 desc=05000000c82d00000161000000010000
emu_init_port port=1 dev=1 desc=keyboard
emu_init_port port=2 dev=1 desc=keyboard
emu_init_port port=3 dev=1 desc=keyboard
input_finalize_port port=0 profile=name:05000000c82d00000161000000010000,deadzone:12,a:joy1,b:joy0,x:joy4,y:joy3,start:joy11,dpad_up:hat0,dpad_down:hat1,dpad_left:hat2,dpad_right:hat3,ljoy_up:-axis1,ljoy_down:+axis1,ljoy_left:-axis0,ljoy_right:+axis0,ltrig:joy6,rtrig:joy7,menu:joy10,exit:joy2
input_finalize_port port=1 profile=name:keyboard0,deadzone:12,a:l,b:p,x:k,y:o,start:space,dpad_up:t,dpad_down:g,dpad_left:f,dpad_right:h,ljoy_up:w,ljoy_down:s,ljoy_left:a,ljoy_right:d,ltrig:[,rtrig:],turbo:f6,screenshot:f5,menu:escape
input_finalize_port port=2 profile=name:keyboard1,deadzone:12
input_finalize_port port=3 profile=name:keyboard2,deadzone:12
disc_create filename=/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2.chd
chd_parse track=1 fad=150 secsz=2352 type=MODE1_RAW bswap=0
chd_parse track=2 fad=600 secsz=2352 type=AUDIO bswap=1
chd_parse track=3 fad=45150 secsz=2352 type=MODE1_RAW bswap=0
mem_init ram=0xb0800000 vram=0xb0000000 aram=0xafe00000 boot=0xafc00000
sh4_space_init base=0x8fc00000
serial_create opened
boot_load_rom path=/opt/retropie/emulators/redream/boot.bin
bios_override_settings region=usa lang=english bcast=ntsc time=0x83ee70d6
vmu_create initializing /opt/retropie/emulators/redream/vmu0.bin
vmu_create initializing /opt/retropie/emulators/redream/vmu1.bin
vmu_create initializing /opt/retropie/emulators/redream/vmu2.bin
vmu_create initializing /opt/retropie/emulators/redream/vmu3.bin
verify_cache mtime=6795164131059910086
arm7_suspend
arm7_reset
arm7_suspend
arm7_suspend
arm7_reset
arm7_suspend
arm7_suspend
arm7_reset
ESC[31m[/builds/inolen/redream-private/src/jit/frontend/sh4/sh4_frontend.c:369] Check failed: !(delay_def->flags & SH4_FLAG_DELAYED)
ESC[0m
Note that if you slowly advance through the character/game mode selections before the match, it doesn't crash.
I actually first noticed crashes with MVC2 when running it in reicast. With reicast, the game consistently crashes (every time) in arcade mode when starting the stage 2 fight. That's been verified by at least one other person on the retropie forum. This prompted me to test more in redream. Hope you can figure it out with respect to redream, since this is a very popular game.. seems that it deserves some attention. Plus redream is definitely my preferred DC emulator.. it's excellent.
I'm happy to perform any tests or run an instrumented build if it will help get to the root cause. Thanks!