RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Dreamcast mvc2 crashing at stage 2

    Scheduled Pinned Locked Moved Help and Support
    reicastmvc2crashingstage 2
    128 Posts 6 Posters 13.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tackett1980 @rejesterd
      last edited by tackett1980

      @rejesterd

      safe mode is on
      unstable optimizations off
      I think I fixed the VMU issues by installing a new bios and flash.
      it still crashes though, same spot.

      new runcommand below, keep in mind there were like a million omx underrun errors so I truncated those.

      Parameters: 
      Executing: /opt/retropie/emulators/reicast/bin/reicast.sh omx "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi"
      glGetError 0x500
      OMX: creating 3 buffers
      OMX: audio output to 'hdmi'
      OMX: underrun occurred
      Config dir is: /home/pi/.reicast/
      Data dir is:   /home/pi/.reicast/
      Personality: 00C00000
      Updated personality: 00800000
      found libbcm_host
      rpi2: bcm_init
      ARM VFP-Run Fast (NFP) enabled !
      Linux paging: 4096 00001000 00000FFF
      Info: nvmem is enabled, with addr space of size 512MB
      Info: p_sh4rcb: 0x4f8f0000 virt_ram_base: 0x539f0000
      Virtual cfg config:homedir=/home/pi
      Virtual cfg x11:fullscreen=1
      Virtual cfg input:evdev_device_id_1=0
      Virtual cfg input:evdev_mapping_1=/opt/retropie/configs/dreamcast/mappings/controller_DragonRiseInc.GenericUSBJoystick.cfg
      Virtual cfg input:evdev_device_id_2=1
      Virtual cfg input:evdev_mapping_2=/opt/retropie/configs/dreamcast/mappings/controller_DragonRiseInc.GenericUSBJoystick.cfg
      Virtual cfg input:evdev_device_id_3=-1
      Virtual cfg input:evdev_mapping_3=-1
      Virtual cfg input:evdev_device_id_4=-1
      Virtual cfg input:evdev_mapping_4=-1
      Virtual cfg input:joystick_device_id=-1
      Virtual cfg players:nb=2
      Virtual cfg audio:backend=omx
      Virtual cfg audio:disable=0
      Virtual cfg config:image=/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi
      
      evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
      evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
      EGL config: 0x1, 0x1, 0x1 640x480
      OpenGL version: OpenGL ES 2.0
      Packed depth/stencil not supported: no modifier volumes when rendering to a texture
      Screen DPI is 96, size 640 x 480. Scaling by 1.00
      Loaded /home/pi/.reicast/data/dc_boot.bin as bootrom
      
      Loaded /home/pi/.reicast/data/dc_nvmem.bin as nvram
      
      chd: chd_open failed for file /home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi: 5
      
      GDI : 3 tracks
      file[1] "Marvel vs. Capcom 2 (USA) (Track 1).bin": FAD:0, CTRL:4, SSIZE:2352, OFFSET:0
      file[2] "Marvel vs. Capcom 2 (USA) (Track 2).bin": FAD:300, CTRL:0, SSIZE:2352, OFFSET:0
      file[3] "Marvel vs. Capcom 2 (USA) (Track 3).bin": FAD:45000, CTRL:4, SSIZE:2352, OFFSET:0
      gdrom: Opened image "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi"
      
      	 ARM7_TCB addr: 0x4b000 | from: 0x4ad3c | addr here: 0x4a620
      Game ID is [T1212N]
      recSh4 Init
      @@	ngen_ResetBlocks()
      Initializing the ARM32 dynarec
      readm helpers: up to 00271250
      @@	ngen_ResetBlocks()
      Using Recompiler
      Sh4 Reset
      Initializing audio backend "omx" (OpenMAX IL)...
      Using Recompiler
      cntx // fpcb offset: -68157440 // pc offset: -184 // pc A0000000
      @@	ngen_ResetBlocks()
      recSh4:Dynarec Cache clear at 8C0000DE
      Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
      MODEM Reset
      VREG = 00 ARMRST 00
      VREG = 00 ARMRST 01
      VREG = 00 ARMRST 00
      Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
      VREG = 00 ARMRST 00
      VREG = 00 ARMRST 01
      VREG = 00 ARMRST 01
      VREG = 00 ARMRST 00
      Status: reicast git/n - 12.93 - 77.29 - V: 46.33 (4.42, VGA480p59.94) R: 6.97+3.48 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 59.89+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.04 - 99.55 - V: 59.67 (1.22, VGA480p59.94) R: 48.73+0.00 VTX: 0.00 , MIPS: 0.00
      @@	ngen_ResetBlocks()
      recSh4:Dynarec Cache clear at AC0082FE
      VREG = 00 ARMRST 00
      Status: reicast git/n - 10.01 - 99.88 - V: 59.87 (2.41, VGA480p59.94) R: 24.74+0.00 VTX: 0.00 , MIPS: 0.00
      @@	ngen_ResetBlocks()
      recSh4:Dynarec Cache clear at AC00FFFE
      VREG = 00 ARMRST 01
      VREG = 00 ARMRST 01
      VREG = 00 ARMRST 00
      Status: reicast git/n - 11.44 - 87.39 - V: 52.38 (inf, VGA480p59.94) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 9.64 - 103.65 - V: 62.13 (4.46, VGA480p59.94) R: 11.92+1.98 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.00 - 99.99 - V: 59.94 (1.00, VGA480p59.94) R: 59.94+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.27 - 97.29 - V: 58.32 (1.77, VGA480p59.94) R: 32.90+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 9.76 - 102.45 - V: 61.41 (2.04, VGA480p59.94) R: 27.46+2.49 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.35 - 96.59 - V: 57.90 (3.13, VGA480p59.94) R: 17.47+0.99 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 9.67 - 1OMX: underrun occurred
      OMX: underrun occurred
      
      03.33 - V: 61.94 (1.47, VGA480p59.94) R: 42.12+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.20 - 97.98 - V: 58.73 (3.80, VGA480p59.94) R: 14.43+0.99 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.68 - 93.62 - V: 56.12 (1.00, VGA480p59.94) R: 53.14+2.97 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.76 - 92.87 - V: 55.67 (1.00, VGA480p59.94) R: 46.22+9.44 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.99 - 90.95 - V: 54.52 (1.00, VGA480p59.94) R: 52.53+1.98 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.68 - 93.63 - V: 56.12 (1.00, VGA480p59.94) R: 47.18+8.94 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.88 - 91.85 - V: 55.06 (1.00, VGA480p59.94) R: 52.08+2.97 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.69 - 93.53 - V: 56.06 (1.00, VGA480p59.94) R: 48.12+7.93 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.91 - 91.60 - V: 54.91 (1.00, VGA480p59.94) R: 54.91+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.04 - 99.50 - V: 59.64 (1.26, VGA480p59.94) R: 46.22+0.99 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.18 - 98.16 - V: 58.84 (1.00, VGA480p59.94) R: 58.84+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.00 - 99.94 - V: 59.91 (1.00, VGA480p59.94) R: 59.91+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.29 - 97.09 - V: 58.20 (4.50, VGA480p59.94) R: 11.93+0.99 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.38 - 96.30 - V: 57.72 (1.00, VGA480p59.94) R: 32.84+24.88 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.34 - 96.69 - V: 57.96 (1.00, VGA480p59.94) R: 31.48+25.98 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 11.06 - 90.35 - V: 54.16 (0.99, VGA480p59.94) R: 34.78+19.87 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.56 - 94.63 - V: 56.72 (1.00, VGA480p59.94) R: 41.30+14.92 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 11.07 - 90.26 - V: 54.10 (0.99, VGA480p59.94) R: 28.79+25.81 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.60 - 94.31 - V: 56.53 (1.00, VGA480p59.94) R: 35.21+21.32 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.58 - 94.50 - V: 56.65 (1.00, VGA480p59.94) R: 36.27+20.37 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.64 - 93.96 - V: 56.32 (1.00, VGA480p59.94) R: 33.89+22.43 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.54 - 94.82 - V: 56.84 (1.00, VGA480p59.94) R: 42.38+14.46 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.44 - 95.72 - V: 57.38 (1.00, VGA480p59.94) R: 37.42+19.95 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.87 - 91.94 - V: 55.11 (1.00, VGA480p59.94) R: 34.75+20.35 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.53 - 94.92 - V: 56.90 (1.00, VGA480p59.94) R: 35.43+21.46 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.71 - 93.32 - V: 55.94 (1.00, VGA480p59.94) R: 34.96+20.97 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.35 - 96.59 - V: 57.90 (1.00, VGA480p59.94) R: 44.42+13.47 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.32 - 96.87 - V: 58.07 (1.00, VGA480p59.94) R: 55.09+2.97 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.44 - 95.71 - V: 57.37 (1.00, VGA480p59.94) R: 34.92+22.45 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.55 - 94.76 - V: 56.81 (1.00, VGA480p59.94) R: 32.39+24.41 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.62 - 94.12 - V: 56.42 (1.00, VGA480p59.94) R: 40.94+15.47 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.81 - 92.48 - V: 55.43 (1.00, VGA480p59.94) R: 38.45+16.98 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.60 - 94.30 - V: 56.52 (1.00, VGA480p59.94) R: 42.14+14.38 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.53 - 94.92 - V: 56.90 (1.00, VGA480p59.94) R: 41.93+14.97 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.52 - 95.01 - V: 56.95 (1.00, VGA480p59.94) R: 37.97+18.98 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.41 - 96.01 - V: 57.55 (1.00, VGA480p59.94) R: 50.11+7.44 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.44 - 95.74 - V: 57.39 (1.00, VGA480p59.94) R: 43.42+13.97 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.63 - 94.04 - V: 56.37 (1.00, VGA480p59.94) R: 39.41+16.96 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.60 - 94.28 -OMX: underrun occurred
      OMX: underrun occurred
      
       V: 56.51 (1.00, VGA480p59.94) R: 40.65+15.86 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.61 - 94.24 - V: 56.49 (1.00, VGA480p59.94) R: 38.49+17.99 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.61 - 94.18 - V: 56.45 (1.00, VGA480p59.94) R: 40.96+15.48 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.56 - 94.67 - V: 56.75 (1.00, VGA480p59.94) R: 41.82+14.93 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.53 - 94.92 - V: 56.90 (1.00, VGA480p59.94) R: 41.43+14.97 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.49 - 95.24 - V: 57.09 (0.99, VGA480p59.94) R: 36.74+20.85 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.24 - 97.57 - V: 58.48 (1.00, VGA480p59.94) R: 55.99+2.49 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.42 - 95.89 - V: 57.48 (1.00, VGA480p59.94) R: 44.10+13.38 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.65 - 93.87 - V: 56.27 (1.00, VGA480p59.94) R: 39.84+16.43 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.65 - 93.84 - V: 56.25 (1.00, VGA480p59.94) R: 35.84+20.41 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.50 - 95.16 - V: 57.04 (1.00, VGA480p59.94) R: 49.60+7.44 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.40 - 96.08 - V: 57.60 (1.00, VGA480p59.94) R: 44.19+13.40 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.53 - 94.96 - V: 56.92 (1.00, VGA480p59.94) R: 40.44+16.47 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.47 - 95.49 - V: 57.24 (1.00, VGA480p59.94) R: 35.83+21.40 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.54 - 94.79 - V: 56.82 (1.00, VGA480p59.94) R: 38.38+18.44 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.63 - 94.06 - V: 56.38 (1.00, VGA480p59.94) R: 41.91+14.47 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.45 - 95.66 - V: 57.34 (1.00, VGA480p59.94) R: 40.88+16.45 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.55 - 94.71 - V: 56.77 (1.00, VGA480p59.94) R: 40.34+16.43 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.25 - 97.52 - V: 58.46 (1.00, VGA480p59.94) R: 49.96+8.49 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.35 - 96.61 - V: 57.91 (1.00, VGA480p59.94) R: 50.42+7.48 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.50 - 95.23 - V: 57.08 (1.00, VGA480p59.94) R: 42.69+14.39 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.50 - 95.23 - V: 57.08 (1.00, VGA480p59.94) R: 38.71+18.36 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.50 - 95.16 - V: 57.04 (1.00, VGA480p59.94) R: 37.20+19.84 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.52 - 95.01 - V: 56.95 (1.00, VGA480p59.94) R: 36.47+20.48 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.45 - 95.67 - V: 57.35 (1.00, VGA480p59.94) R: 37.90+19.45 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.51 - 95.06 - V: 56.98 (1.00, VGA480p59.94) R: 42.48+14.49 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.53 - 94.92 - V: 56.90 (1.00, VGA480p59.94) R: 36.43+20.46 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 11.02 - 90.72 - V: 54.38 (1.00, VGA480p59.94) R: 34.42+19.95 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.74 - 93.06 - V: 55.79 (1.00, VGA480p59.94) R: 38.85+16.93 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.31 - 96.98 - V: 58.13 (1.00, VGA480p59.94) R: 48.19+9.93 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.50 - 95.18 - V: 57.05 (1.00, VGA480p59.94) R: 43.66+13.39 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.57 - 94.54 - V: 56.67 (1.00, VGA480p59.94) R: 42.25+14.41 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.56 - 94.63 - V: 56.72 (1.00, VGA480p59.94) R: 33.83+22.88 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 9.73 - 102.76 - V: 61.60 (3.26, VGA480p59.94) R: 13.41+5.46 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.05 - 99.47 - V: 59.63 (1.00, VGA480p59.94) R: 59.13+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.03 - 99.66 - V: 59.74 (0.99, VGA480p59.94) R: 60.24+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 9.97 - 100.28 - V: 60.11 (1.00, VGA480p59.94) R: 60.11+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 9.91 - 100.80 - V: 60.43 (1.00, VGA480p59.94) R: 60.43+0.00 VTX: 0.00 , MIPS: 0.00
      Status: reicast git/n - 10.00 - 99.92 - VOMX: underrun occurred
      OMX: underrun occurred
      /opt/retropie/emulators/reicast/bin/reicast.sh: line 92: 21709 Trace/breakpoint trap   "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
      
      
      1 Reply Last reply Reply Quote 0
      • T
        tackett1980
        last edited by

        Ok I disabled the audio entirely to see if maybe that was causing the issue, still the same problem.

        Here's the runcommand log for that episode as well.

        Parameters: 
        Executing: /opt/retropie/emulators/reicast/bin/reicast.sh omx "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi"
        glGetError 0x500
        OMX: creating 3 buffers
        OMX: audio output to 'hdmi'
        Config dir is: /home/pi/.reicast/
        Data dir is:   /home/pi/.reicast/
        Personality: 00C00000
        Updated personality: 00800000
        found libbcm_host
        rpi2: bcm_init
        ARM VFP-Run Fast (NFP) enabled !
        Linux paging: 4096 00001000 00000FFF
        Info: nvmem is enabled, with addr space of size 512MB
        Info: p_sh4rcb: 0x4f8f0000 virt_ram_base: 0x539f0000
        Virtual cfg config:homedir=/home/pi
        Virtual cfg x11:fullscreen=1
        Virtual cfg input:evdev_device_id_1=0
        Virtual cfg input:evdev_mapping_1=/opt/retropie/configs/dreamcast/mappings/controller_DragonRiseInc.GenericUSBJoystick.cfg
        Virtual cfg input:evdev_device_id_2=1
        Virtual cfg input:evdev_mapping_2=/opt/retropie/configs/dreamcast/mappings/controller_DragonRiseInc.GenericUSBJoystick.cfg
        Virtual cfg input:evdev_device_id_3=-1
        Virtual cfg input:evdev_mapping_3=-1
        Virtual cfg input:evdev_device_id_4=-1
        Virtual cfg input:evdev_mapping_4=-1
        Virtual cfg input:joystick_device_id=-1
        Virtual cfg players:nb=2
        Virtual cfg audio:backend=omx
        Virtual cfg audio:disable=0
        Virtual cfg config:image=/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi
        
        evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
        evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
        EGL config: 0x1, 0x1, 0x1 640x480
        OpenGL version: OpenGL ES 2.0
        Packed depth/stencil not supported: no modifier volumes when rendering to a texture
        Screen DPI is 96, size 640 x 480. Scaling by 1.00
        Loaded /home/pi/.reicast/data/dc_boot.bin as bootrom
        
        Loaded /home/pi/.reicast/data/dc_flash.bin as nvram
        
        chd: chd_open failed for file /home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi: 5
        
        GDI : 3 tracks
        file[1] "Marvel vs. Capcom 2 (USA) (Track 1).bin": FAD:0, CTRL:4, SSIZE:2352, OFFSET:0
        file[2] "Marvel vs. Capcom 2 (USA) (Track 2).bin": FAD:300, CTRL:0, SSIZE:2352, OFFSET:0
        file[3] "Marvel vs. Capcom 2 (USA) (Track 3).bin": FAD:45000, CTRL:4, SSIZE:2352, OFFSET:0
        gdrom: Opened image "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi"
        
        	 ARM7_TCB addr: 0x4b000 | from: 0x4ad3c | addr here: 0x4a620
        Game ID is [T1212N]
        recSh4 Init
        @@	ngen_ResetBlocks()
        Initializing the ARM32 dynarec
        readm helpers: up to 00271250
        @@	ngen_ResetBlocks()
        Using Recompiler
        Sh4 Reset
        Initializing audio backend "omx" (OpenMAX IL)...
        Using Recompiler
        cntx // fpcb offset: -68157440 // pc offset: -184 // pc A0000000
        @@	ngen_ResetBlocks()
        recSh4:Dynarec Cache clear at 8C0000DE
        Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
        MODEM Reset
        VREG = 00 ARMRST 00
        VREG = 00 ARMRST 01
        VREG = 00 ARMRST 00
        Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
        VREG = 00 ARMRST 00
        VREG = 00 ARMRST 01
        VREG = 00 ARMRST 01
        VREG = 00 ARMRST 00
        Status: reicast git/n - 6.48 - 154.25 - V: 92.46 (1.63, VGA480p59.94) R: 25.35+31.31 VTX: 0.00 , MIPS: 0.00
        @@	ngen_ResetBlocks()
        recSh4:Dynarec Cache clear at AC0082FE
        VREG = 00 ARMRST 00
        Status: reicast git/n - 4.36 - 229.35 - V: 137.48 (1.17, VGA480p59.94) R: 63.99+53.49 VTX: 0.00 , MIPS: 0.00
        @@	ngen_ResetBlocks()
        recSh4:Dynarec Cache clear at AC00FFFE
        VREG = 00 ARMRST 01
        VREG = 00 ARMRST 01
        VREG = 00 ARMRST 00
        Status: reicast git/n - 4.99 - 200.10 - V: 119.95 (40.00, VGA480p59.94) R: 2.99+0.00 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 8.94 - 111.76 - V: 66.99 (1.20, VGA480p59.94) R: 51.99+3.49 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 8.45 - 118.26 - V: 70.89 (1.52, VGA480p59.94) R: 46.42+0.00 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 7.65 - 130.62 - V: 78.30 (1.68, VGA480p59.94) R: 42.39+3.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 6.73 - 148.39 - V: 88.95 (2.47, VGA480p59.94) R: 34.98+0.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 7.02 - 142.25 - V: 85.27 (2.44, VGA480p59.94) R: 33.91+0.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.51 - 95.12 - V: 57.02 (1.00, VGA480p59.94) R: 54.54+2.47 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.52 - 95.00 - V: 56.95 (1.00, VGA480p59.94) R: 47.96+8.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.41 - 96.05 - V: 57.58 (1.00, VGA480p59.94) R: 47.15+10.42 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.19 - 98.12 - V: 58.81 (1.00, VGA480p59.94) R: 47.35+11.46 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.20 - 97.98 - V: 58.73 (1.00, VGA480p59.94) R: 46.29+12.44 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.49 - 95.31 - V: 57.13 (1.00, VGA480p59.94) R: 52.16+4.96 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.28 - 97.23 - V: 58.28 (1.00, VGA480p59.94) R: 46.82+11.45 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.58 - 94.45 - V: 56.62 (1.00, VGA480p59.94) R: 54.13+2.48 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.53 - 94.88 - V: 56.87 (1.00, VGA480p59.94) R: 54.38+2.49 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.26 - 97.45 - V: 58.41 (1.00, VGA480p59.94) R: 43.43+14.97 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.17 - 108.93 - V: 65.30 (1.23, VGA480p59.94) R: 51.84+0.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.94 - 100.55 - V: 60.27 (1.00, VGA480p59.94) R: 59.77+0.00 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 8.35 - 119.75 - V: 71.78 (1.34, VGA480p59.94) R: 50.84+2.49 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 8.90 - 112.25 - V: 67.29 (1.60, VGA480p59.94) R: 21.93+19.93 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.36 - 96.46 - V: 57.82 (1.00, VGA480p59.94) R: 31.90+25.92 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.51 - 95.14 - V: 57.03 (1.00, VGA480p59.94) R: 32.44+24.58 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.68 - 93.58 - V: 56.09 (1.00, VGA480p59.94) R: 31.77+24.32 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.20 - 97.94 - V: 58.71 (1.00, VGA480p59.94) R: 58.71+0.00 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.35 - 96.57 - V: 57.88 (1.00, VGA480p59.94) R: 40.42+17.46 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.51 - 95.14 - V: 57.03 (1.00, VGA480p59.94) R: 30.74+26.28 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.57 - 94.52 - V: 56.66 (1.00, VGA480p59.94) R: 30.31+26.34 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.40 - 96.07 - V: 57.59 (1.00, VGA480p59.94) R: 30.78+26.81 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.45 - 95.65 - V: 57.33 (1.00, VGA480p59.94) R: 34.40+22.93 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.39 - 96.21 - V: 57.67 (1.00, VGA480p59.94) R: 29.83+27.84 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.20 - 97.97 - V: 58.73 (1.00, VGA480p59.94) R: 29.86+28.86 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.21 - 97.87 - V: 58.67 (1.00, VGA480p59.94) R: 42.26+16.40 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.36 - 96.43 - V: 57.80 (1.00, VGA480p59.94) R: 37.37+20.43 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.41 - 95.99 - V: 57.54 (1.00, VGA480p59.94) R: 36.21+21.33 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.33 - 96.78 - V: 58.01 (1.00, VGA480p59.94) R: 35.70+22.31 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.34 - 96.70 - V: 57.96 (1.00, VGA480p59.94) R: 36.98+20.98 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.46 - 95.54 - V: 57.27 (1.00, VGA480p59.94) R: 29.38+27.89 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.45 - 95.60 - V: 57.31 (1.00, VGA480p59.94) R: 29.90+27.40 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.26 - 97.38 - V: 58.37 (1.00, VGA480p59.94) R: 28.93+29.43 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.66 - 93.74 - V: 56.19 (1.00, VGA480p59.94) R: 27.84+28.34 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.02 - 99.76 - V: 59.80 (1.00, VGA480p59.94) R: 35.88+23.92 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.79 - 92.61 - V: 55.51 (1.00, VGA480p59.94) R: 27.75+27.75 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.44 - 95.74 - V: 57.39 (1.00, VGA480p59.94) R: 28.69+28.69 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 11.10 - 90.07 - V: 53.99 (1.00, VGA480p59.94) R: 26.99+26.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.52 - 95.01 - V: 56.95 (1.00, VGA480p59.94) R: 28.47+28.47 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 11.23 - 88.97 - V: 53.33 (1.00, VGA480p59.94) R: 26.91+26.41 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.41 - 95.98 - V: 57.53 (1.00, VGA480p59.94) R: 28.76+28.76 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.15 - 98.49 - V: 59.04 (1.00, VGA480p59.94) R: 39.19+19.84 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.53 - 94.91 - V: 56.89 (1.00, VGA480p59.94) R: 30.44+26.45 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.36 - 96.45 - V: 57.82 (1.00, VGA480p59.94) R: 32.89+24.92 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.52 - 95.00 - V: 56.95 (1.00, VGA480p59.94) R: 30.47+26.47 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.22 - 97.81 - V: 58.63 (1.00, VGA480p59.94) R: 32.30+26.33 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.40 - 96.12 - V: 57.62 (1.00, VGA480p59.94) R: 29.30+28.31 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 11.32 - 88.29 - V: 52.92 (1.00, VGA480p59.94) R: 33.45+19.47 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.12 - 98.79 - V: 59.22 (1.00, VGA480p59.94) R: 57.23+1.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.44 - 95.75 - V: 57.40 (1.00, VGA480p59.94) R: 31.44+25.95 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 11.19 - 89.33 - V: 53.54 (1.00, VGA480p59.94) R: 28.26+25.28 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.41 - 95.97 - V: 57.53 (1.00, VGA480p59.94) R: 29.75+27.77 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.35 - 96.60 - V: 57.91 (1.00, VGA480p59.94) R: 44.43+13.47 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.06 - 99.36 - V: 59.56 (1.00, VGA480p59.94) R: 48.64+10.92 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.18 - 98.21 - V: 58.87 (1.00, VGA480p59.94) R: 42.90+15.96 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.38 - 96.28 - V: 57.72 (1.00, VGA480p59.94) R: 30.85+26.87 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.50 - 95.20 - V: 57.06 (1.00, VGA480p59.94) R: 34.24+22.82 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.30 - 97.05 - V: 58.17 (1.00, VGA480p59.94) R: 36.30+21.87 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.40 - 96.11 - V: 57.61 (1.00, VGA480p59.94) R: 37.75+19.86 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.24 - 97.58 - V: 58.49 (1.00, VGA480p59.94) R: 40.49+17.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.97 - 100.23 - V: 60.08 (1.00, VGA480p59.94) R: 37.24+22.84 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.12 - 98.73 - V: 59.18 (1.00, VGA480p59.94) R: 54.71+4.47 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.11 - 98.86 - V: 59.26 (1.00, VGA480p59.94) R: 33.36+25.89 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.02 - 99.77 - V: 59.81 (1.00, VGA480p59.94) R: 30.90+28.90 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.09 - 99.01 - V: 59.35 (1.00, VGA480p59.94) R: 31.92+27.43 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.45 - 95.64 - V: 57.33 (1.00, VGA480p59.94) R: 28.91+28.41 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.40 - 96.09 - V: 57.60 (1.00, VGA480p59.94) R: 28.80+28.80 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.92 - 100.78 - V: 60.41 (1.00, VGA480p59.94) R: 37.44+22.96 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.86 - 101.39 - V: 60.78 (1.00, VGA480p59.94) R: 51.81+8.96 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.01 - 99.85 - V: 59.86 (1.00, VGA480p59.94) R: 38.90+20.95 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.13 - 98.68 - V: 59.15 (1.00, VGA480p59.94) R: 36.28+22.86 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 7.64 - 130.82 - V: 78.42 (1.98, VGA480p59.94) R: 27.97+11.48 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.59 - 104.20 - V: 62.46 (1.00, VGA480p59.94) R: 60.46+1.49 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.60 - 104.07 - V: 62.39 (1.00, VGA480p59.94) R: 59.89+2.49 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.50 - 105.16 - V: 63.04 (1.00, VGA480p59.94) R: 60.06+2.97 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 9.45 - 105.78 - V: 63.41 (1.00, VGA480p59.94) R: 59.91+3.49 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 7.50 - 133.23 - V: 79.86 (1.95, VGA480p59.94) R: 36.93+3.99 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - 10.28 - 97.19 - V: 58.26 (1.00, VGA480p59.94) R: 44.81+13.44 VTX: 0.00 , MIPS: 0.00
        Status: reicast git/n - /opt/retropie/emulators/reicast/bin/reicast.sh: line 92: 24867 Trace/breakpoint trap   "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
        
        
        1 Reply Last reply Reply Quote 0
        • R
          rejesterd
          last edited by rejesterd

          If all the other warnings are gone, I'm not sure where else to look. But I can tell you that even on a pi4, MVC2 crashes every time with reicast at stage 2 (or if you lose in stage 1 and try playing it over again).. basically, it crashes after reicast tries to save to the vmu file a second time. I've tried it with multiple versions of reicast. On the pi3, maybe it never even does the initial vmu save correctly.

          Edit: For reference, this is my runcommand.log when it crashes..

          Parameters: 
          Executing: /opt/retropie/emulators/reicast/bin/reicast.sh alsa "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2.chd" 640 480
          ALSA: underrun occurred
          ALSA: underrun occurred
          /opt/retropie/emulators/reicast/bin/reicast.sh: line 35:  7380 Trace/breakpoint trap   "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
          

          I did the same as you and disabled the audio, which makes the underrun messages go away.. but the end of the log is still the same.

          1 Reply Last reply Reply Quote 0
          • R
            rejesterd
            last edited by

            @tackett1980 I just realized that my retropie setup log for reicast (which I updated from source today) shows a commit number from issue #1662 (which is before #1684, where this crashing issue is supposed to be fixed). I'm wondering if you could run the following commands from the terminal, and let me know the output..

            cd ~/RetroPie-Setup/logs
            
            reicastver () { for fname in *.log.gz; do    zcat "$fname" | grep -A 1 "Cloning into '/home/pi/RetroPie-Setup/tmp/build/reicast'"; done; }
            
            reicastver
            

            That should spit out your reicast version number. Just wanted to compare it to mine.

            T 1 Reply Last reply Reply Quote 0
            • T
              tackett1980 @rejesterd
              last edited by

              @rejesterd

              Roger, I’ll take a look when I get home.

              1 Reply Last reply Reply Quote 0
              • R
                rejesterd
                last edited by

                Yep.. It seems the latest retropie_setup script grabs reicast commit id 201bf1543616356cb9fa316cfcde7b89dfc09428, which doesn't contain the fix that reicast maintainers identified as being the root cause for the crash in MVC2. I rebuilt reicast against the latest commit (from today), manually installed it, and I no longer observe the crash on rpi4.

                BTW, I can also reproduce this faster by simply starting the stage 1 fight (waiting until after the big "FIGHT" flashes across the screen), quit the fight (which triggers a vmu save). Then just try to go back and fight stage 1 again. Same crash will occur at the same time (i.e. right after the "FIGHT" flashes across the screen).

                So definitely let me know the result of running the above commands. If the retropie_setup script is indeed grabbing the same older version of reicast, I can tell you what I did to build it manually on the pi4. Can't guarantee that the same steps will work for you on the pi3, but it's probably worth a try, considering my test results. Then I can add this to the retropie-setup issue tracker. I don't want to do that yet, as I'm not on an officially supported platform.

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  @rejesterd said in Dreamcast mvc2 crashing at stage 2:

                  It seems the latest retropie_setup script grabs reicast commit id 201bf1543616356cb9fa316cfcde7b89dfc09428, which doesn't contain the fix that reicast maintainers identified as being the root cause for the crash in MVC2

                  which fix is that ? The RetroPie-Setup script uses the master branch from the reicast repository, not the development one (not recommended by the maintainer).

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    rejesterd @mitu
                    last edited by

                    @mitu The fix is reicast issue 1684. Have you updated reicast from source in retropie today? If so, what version is shown in your build log?

                    mituM 1 Reply Last reply Reply Quote 0
                    • R
                      rejesterd
                      last edited by

                      @mitu - Looks like master only goes up to 1662. Thanks for clarifying.

                      1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @rejesterd
                        last edited by

                        @rejesterd the master branch hasn't been updated in a long time (July last year to be exact), so my guess is that updating from source/binary will get anyone that version. For now, the fix you mention is only part of the alpha branch, which is the development branch of reicast and is in constant flux.

                        1 Reply Last reply Reply Quote 0
                        • R
                          rejesterd
                          last edited by

                          @tackett1980 No need to run the commands I posted previously, as mitu clarified something for me.

                          So the main issue is that the version of reicast which retropie currently provides does not contain the fix reported in reicast issue #1684. This fix will prevent the crashing at stage 2 in mvc2. So if you want this fix, you need to manually build a newer version of reicast on your pi.

                          My initial testing of mvc2 has been good so far in my newer build of reicast, but as mitu indicated, this was built from a development branch. So it hasn't gone through as much testing (if any) as the older version which retropie will install for you. So expect other issues to come up.

                          For example, I already noticed that the game freezes if I hit the Exit hotkey button on my controller. Fortunately, I can workaround this by configuring a Menu hotkey button, and hitting that instead. That brings up the reicast menu, where you can then select 'Exit'. So that's just a preview of what you'll be dealing with. Fortunately, this issue has an easy workaround (i.e. use the Menu hotkey when playing a game, and then select 'Exit' from the menu). Other issues may not

                          If you want to try building a newer version of reicast manually on your pi, I can give you steps. Just understand that you might want to continue using the retropie-provided version of reicast for other dreamcast games (which my steps would enable you to do). If you're interested, post the contents of..

                          /opt/retropie/emulators/reicast/reicast.sh
                          /opt/retropie/configs/dreamcast/emulators.cfg

                          ..and I'll write up some steps for you.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tackett1980 @rejesterd
                            last edited by tackett1980

                            @rejesterd

                            Wow.

                            Thank you guys so much for this information and everything!

                            I haven’t had the chance to look today, I’m feeling a little under the weather.

                            The only game I want to play is mvc2, I have no interest in any other Dreamcast game at this point. So if you could give me steps to build this the way you are describing I would appreciate it and I will give it a try.

                            I wonder if the Naomi emulation using the reicast core for the arcade rom has the same issues? I’ve seen some people on YouTube running the Naomi emulator arcade version of this game and my ultimate goal is to get that up and running in a dedicated cabinet...at some point. For now I’d just like to be able to play this version

                            So if you could list the steps that need to be done to get this operational I would appreciate it very much. I will post the requested information from my end if I don’t feel like a walking corpse tommorrow.

                            Edit: does anyone have any idea when they will add the fix to the master branch?

                            Thanks again!

                            1 Reply Last reply Reply Quote 0
                            • R
                              rejesterd
                              last edited by rejesterd

                              Ok, feel better. Here you go..

                              First, open a terminal window on the pi, and run the following:

                              cd ~/
                              
                              git clone -n https://github.com/reicast/reicast-emulator.git
                               
                              cd ~/reicast-emulator/
                              
                              git checkout 49046aecd9e87d6ba8c1508ad6222526842bbacd
                              
                              cd reicast/linux/
                              
                              make -j4
                              

                              That will start the build, and it will take a few minutes to complete. When it's done, you'll have the command prompt available to you again in the terminal window. If the build was successful, you should see a file called 'reicast.elf' when you run..

                              ls -al
                              

                              ..from that same terminal window. That's your new reicast binary, which needs to be placed in the reicast installation directory. To do that, run the following:

                              sudo cp reicast.elf /opt/retropie/emulators/reicast/bin/reicast_49046ae
                              

                              At this point, you'll have 2 copies of the reicast binary in /opt/retropie/emulators/reicast/bin/: the new one you just copied over, and the one that retropie_setup.sh installed for you (which is just named 'reicast').

                              If you can get to that point, then run..

                              cat /opt/retropie/emulators/reicast/bin/reicast.sh
                              
                              cat /opt/retropie/configs/dreamcast/emulators.cfg
                              

                              ..and copy/paste the resulting output from each cat command. Then I can send you the remaining steps.

                              Edited: Just needed to correct the path to reicast.sh shown above

                              T 2 Replies Last reply Reply Quote 0
                              • T
                                tackett1980 @rejesterd
                                last edited by

                                @rejesterd

                                I will do this when I get home and post it. Thanks!

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tackett1980 @rejesterd
                                  last edited by tackett1980

                                  @rejesterd

                                  Ok sir I made it up to the very end where you are asking me to run these two lines.

                                  It says not such file or directory, however.

                                  My reicast.sh is not in the reicast root directory, it is in reicast/bin/reicast.sh

                                  Ok I ran the cat on it from the bin directory, but the output is enormous and I’m not sure how to get it from the pi to here on the forums unless I take a picture of it or something.

                                  edit:
                                  Ok I think I'm following what your doing here. I had to google what the cat command did but here it is.

                                  reicast.sh:

                                  #!/usr/bin/env bash
                                  
                                  # This file is part of The RetroPie Project
                                  #
                                  # The RetroPie Project is the legal property of its developers, whose names are
                                  # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
                                  #
                                  # See the LICENSE.md file at the top-level directory of this distribution and
                                  # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
                                  #
                                  
                                  AUDIO="$1"
                                  ROM="$2"
                                  XRES="$3"
                                  YRES="$4"
                                  rootdir="/opt/retropie"
                                  configdir="$rootdir/configs"
                                  biosdir="$HOME/RetroPie/BIOS/dc"
                                  
                                  source "$rootdir/lib/inifuncs.sh"
                                  
                                  function mapInput() {
                                      local js_device
                                      local js_device_num
                                      local ev_device
                                      local ev_devices
                                      local ev_device_num
                                      local device_counter
                                      local conf="$configdir/dreamcast/emu.cfg"
                                      local params=""
                                  
                                      # get a list of all present js device numbers and device names
                                      # and device count
                                      for js_device in /dev/input/js*; do
                                          js_device_num=${js_device/\/dev\/input\/js/}
                                          for ev_device in /dev/input/event*; do
                                              ev_device_num=${ev_device/\/dev\/input\/event/}
                                              if [[ -d "/sys/class/input/event${ev_device_num}/device/js${js_device_num}" ]]; then
                                                  file[$ev_device_num]=$(grep --exclude=*.bak -rl -m 1 "$configdir/dreamcast/mappings/" -e "= $(</sys/class/input/event${ev_device_num}/device/name)" | tail -n 1)
                                                  if [[ -f "${file[$ev_device_num]}" ]]; then
                                                      #file[$ev_device_num]="${file[$ev_device_num]##*/}"
                                                      ev_devices[$ev_device_num]=$(</sys/class/input/event${ev_device_num}/device/name)
                                                      device_counter=$(($device_counter+1))
                                                  fi
                                              fi
                                          done
                                      done
                                  
                                      # emu.cfg: store up to four event devices and mapping files
                                      if [[ "$device_counter" -gt "0" ]]; then
                                          # reicast supports max 4 event devices
                                          if [[ "$device_counter" -gt "4" ]]; then
                                              device_counter="4"
                                          fi
                                          local counter=0
                                          for ev_device_num in "${!ev_devices[@]}"; do
                                              if [[ "$counter" -lt "$device_counter" ]]; then
                                                  counter=$(($counter+1))
                                                  params+="-config input:evdev_device_id_$counter=$ev_device_num "
                                                  params+="-config input:evdev_mapping_$counter=${file[$ev_device_num]} "
                                              fi
                                          done
                                          while [[ "$counter" -lt "4" ]]; do
                                              counter=$(($counter+1))
                                              params+="-config input:evdev_device_id_$counter=-1 "
                                              params+="-config input:evdev_mapping_$counter=-1 "
                                          done
                                      else
                                          # fallback to keyboard setup
                                          params+="-config input:evdev_device_id_1=0 "
                                          device_counter=1
                                      fi
                                      params+="-config input:joystick_device_id=-1 "
                                      params+="-config players:nb=$device_counter "
                                      echo "$params"
                                  }
                                  
                                  if [[ ! -f "$biosdir/dc_boot.bin" ]]; then
                                      dialog --no-cancel --pause "You need to copy the Dreamcast BIOS files (dc_boot.bin and dc_flash.bin) to the folder $biosdir to boot the Dreamcast emulator." 22 76 15
                                      exit 1
                                  fi
                                  
                                  params=(-config config:homedir=$HOME -config x11:fullscreen=1)
                                  [[ -n "$XRES" ]] && params+=(-config x11:width=$XRES -config x11:height=$YRES)
                                  getAutoConf reicast_input && params+=($(mapInput))
                                  [[ -n "$AUDIO" ]] && params+=(-config audio:backend=$AUDIO -config audio:disable=0)
                                  [[ -n "$ROM" ]] && params+=(-config config:image="$ROM")
                                  if [[ "$AUDIO" == "oss" ]]; then
                                      aoss "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
                                  else
                                      "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
                                  fi
                                  
                                  

                                  emulators.cfg:

                                  reicast-audio-omx = "/opt/retropie/emulators/reicast/bin/reicast.sh omx %ROM%"
                                  reicast-audio-oss = "/opt/retropie/emulators/reicast/bin/reicast.sh oss %ROM%"
                                  default = "reicast-audio-omx"
                                  
                                  
                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    rejesterd @tackett1980
                                    last edited by

                                    @tackett1980 Sorry about that.. yes, the reicast.sh in the reicast bin folder is what we want. To complete your journey toward the dark side, do the following:

                                    cd ~/
                                    
                                    sed 's/\/bin\/reicast\"/\/bin\/reicast_49046ae\"/g' /opt/retropie/emulators/reicast/bin/reicast.sh > ~/reicast_49046ae.sh
                                    
                                    chmod +x reicast_49046ae.sh
                                    
                                    sudo cp reicast_49046ae.sh /opt/retropie/emulators/reicast/bin/
                                    
                                    sudo cp /opt/retropie/configs/dreamcast/emulators.cfg ~/emulators.cfg.old
                                    
                                    sed '/reicast/ i reicast-for-mvc2 = "/opt/retropie/emulators/reicast/bin/reicast.sh omx %ROM%"' emulators.cfg.old > emulators.cfg
                                    
                                    sudo cp emulators.cfg /opt/retropie/configs/dreamcast/
                                    

                                    That's it. So now launch mvc2, and press a button on your controller as it's launching. This will take you to the menu where you can select a specific emulator for this ROM. Select 'reicast-for-mvc2'.

                                    Also, note that if you install/update any dreamcast emulators via retropie_setup going forward, these custom settings will be overwritten. So maybe keep some copies of reicast_49046ae.sh and emulators.cfg in your home directory.

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      tackett1980 @rejesterd
                                      last edited by

                                      @rejesterd

                                      Alright friend. I thank you for all this hard work with me.

                                      I did this, and it does come up in the select emulators, but it won’t boot. Just crashes back to the emulation station rom select screen.

                                      I probably screwed something up somewhere

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rejesterd
                                        last edited by

                                        hm.

                                        cat /dev/shm/runcommand.log
                                        

                                        Take a look at the log. Then launch the game with your default reicast emulator (reicast-audio-omx, and we can compare the logs.

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          tackett1980 @rejesterd
                                          last edited by

                                          @rejesterd

                                          OK,

                                          here is the runcommand with the default reicast.

                                          Parameters: 
                                          Executing: /opt/retropie/emulators/reicast/bin/reicast.sh oss "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi"
                                          glGetError 0x500
                                          Config dir is: /home/pi/.reicast/
                                          Data dir is:   /home/pi/.reicast/
                                          Personality: 00C00000
                                          Updated personality: 00800000
                                          found libbcm_host
                                          rpi2: bcm_init
                                          ARM VFP-Run Fast (NFP) enabled !
                                          Linux paging: 4096 00001000 00000FFF
                                          Info: nvmem is enabled, with addr space of size 512MB
                                          Info: p_sh4rcb: 0x4f9f0000 virt_ram_base: 0x53af0000
                                          Virtual cfg config:homedir=/home/pi
                                          Virtual cfg x11:fullscreen=1
                                          Virtual cfg input:evdev_device_id_1=0
                                          Virtual cfg input:evdev_mapping_1=/opt/retropie/configs/dreamcast/mappings/controller_DragonRiseInc.GenericUSBJoystick.cfg
                                          Virtual cfg input:evdev_device_id_2=1
                                          Virtual cfg input:evdev_mapping_2=/opt/retropie/configs/dreamcast/mappings/controller_DragonRiseInc.GenericUSBJoystick.cfg
                                          Virtual cfg input:evdev_device_id_3=-1
                                          Virtual cfg input:evdev_mapping_3=-1
                                          Virtual cfg input:evdev_device_id_4=-1
                                          Virtual cfg input:evdev_mapping_4=-1
                                          Virtual cfg input:joystick_device_id=-1
                                          Virtual cfg players:nb=2
                                          Virtual cfg audio:backend=oss
                                          Virtual cfg audio:disable=0
                                          Virtual cfg config:image=/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi
                                          
                                          evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
                                          evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
                                          EGL config: 0x1, 0x1, 0x1 640x480
                                          OpenGL version: OpenGL ES 2.0
                                          Packed depth/stencil not supported: no modifier volumes when rendering to a texture
                                          Screen DPI is 96, size 640 x 480. Scaling by 1.00
                                          Loaded /home/pi/.reicast/data/dc_boot.bin as bootrom
                                          
                                          Loaded /home/pi/.reicast/data/dc_flash.bin as nvram
                                          
                                          chd: chd_open failed for file /home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi: 5
                                          
                                          GDI : 3 tracks
                                          file[1] "Marvel vs. Capcom 2 (USA) (Track 1).bin": FAD:0, CTRL:4, SSIZE:2352, OFFSET:0
                                          file[2] "Marvel vs. Capcom 2 (USA) (Track 2).bin": FAD:300, CTRL:0, SSIZE:2352, OFFSET:0
                                          file[3] "Marvel vs. Capcom 2 (USA) (Track 3).bin": FAD:45000, CTRL:4, SSIZE:2352, OFFSET:0
                                          gdrom: Opened image "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi"
                                          
                                          	 ARM7_TCB addr: 0x4b000 | from: 0x4ad3c | addr here: 0x4a620
                                          Game ID is [T1212N]
                                          recSh4 Init
                                          @@	ngen_ResetBlocks()
                                          Initializing the ARM32 dynarec
                                          readm helpers: up to 00271250
                                          @@	ngen_ResetBlocks()
                                          Using Recompiler
                                          Sh4 Reset
                                          Initializing audio backend "oss" (Open Sound System)...
                                          sound enabled, dsp opened for write
                                          set Frequency to 44100, return 0 (rate=44100)
                                          set dsp to stereo (2 => 0)
                                          set dsp to 16bits signed audio (16/16 => 0)
                                          Using Recompiler
                                          cntx // fpcb offset: -68157440 // pc offset: -184 // pc A0000000
                                          @@	ngen_ResetBlocks()
                                          recSh4:Dynarec Cache clear at 8C0000DE
                                          Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
                                          MODEM Reset
                                          VREG = 00 ARMRST 00
                                          VREG = 00 ARMRST 01
                                          VREG = 00 ARMRST 00
                                          Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
                                          VREG = 00 ARMRST 00
                                          VREG = 00 ARMRST 01
                                          VREG = 00 ARMRST 01
                                          VREG = 00 ARMRST 00
                                          Status: reicast git/n - 11.71 - 85.37 - V: 51.18 (3.32, VGA480p59.94) R: 4.47+10.93 VTX: 0.00 , MIPS: 0.00
                                          Status: reicast git/n - 4.99 - 200.03 - V: 119.90 (1.00, VGA480p59.94) R: 59.95+59.95 VTX: 0.00 , MIPS: 0.00
                                          Status: reicast git/n - 4.63 - 215.79 - V: 129.35 (1.09, VGA480p59.94) R: 59.93+58.43 VTX: 0.00 , MIPS: 0.00
                                          @@	ngen_ResetBlocks()
                                          recSh4:Dynarec Cache clear at AC0082FE
                                          VREG = 00 ARMRST 00
                                          @@	ngen_ResetBlocks()
                                          recSh4:Dynarec Cache clear at AC00FFFE
                                          VREG = 00 ARMRST 01
                                          VREG = 00 ARMRST 01
                                          VREG = 00 ARMRST 00
                                          Status: reicast git/n - 4.58 - 218.14 - V: 130.76 (6.71, VGA480p59.94) R: 14.47+4.99 VTX: 0.00 , MIPS: 0.00
                                          Status: reicast git/n - 8.19 - 122.01 - V: 73.14 (1.54, VGA480p59.94) R: 44.28+2.98 VTX: 0.00 , MIPS: 0.00
                                          Status: reicast git/n - 8.50 - 117.54 - V: 70.46 (1.52, VGA480p59.94) R: 46.14+0.00 VTX: 0.00 , MIPS: 0.00
                                          Status: reicast git/n - 10.32 - 96.86 - V: 58.06 (1.00, VGA480p59.94) R: 58.06+0.00 VTX: 0.00 , MIPS: 0.00
                                          Status: reicast git/n - 10.24 - 97.59 - V: 58.50 (1.00, VGA480p59.94) R: 58.00+0.49 VTX: 0.00 , MIPS: 0.00
                                          Status: reicast git/n - 10.06 - 99.31 - V: 59.53 (1.00, VGA480p59.94) R: 59.03/opt/retropie/emulators/reicast/bin/reicast.sh: line 92:  1832 Trace/breakpoint trap   aoss "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
                                          
                                          

                                          Here is the crashy one we just built:

                                          Parameters: 
                                          Executing: 
                                          
                                          

                                          actually its blank, geez I screwed something up.

                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            rejesterd @tackett1980
                                            last edited by

                                            @tackett1980 - Probably worth taking a look at the modified files..

                                            cat /opt/retropie/emulators/reicast/bin/reicast_49046ae.sh
                                            
                                            cat /opt/retropie/configs/dreamcast/emulators.cfg
                                            

                                            ..just to make sure they look right. Also..

                                            ls -al /opt/retropie/emulators/reicast/bin/
                                            

                                            ..would confirm that the new binary is there, and it's not 0 bytes in size.

                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.