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 14.4k 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.
    • R
      rejesterd @quicksilver
      last edited by

      @quicksilver Good to know.. when I was reviewing the specs last night, my tired eyes couldn't tell the difference between Roman numerals VI and IV lol.

      @tackett1980 I think we can forget the tests I mentioned, as I seriously doubt you are swapping. Plus, I don't think the results from those tests would guide you to a configuration that avoids this particular crash.

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

        @quicksilver btw I did test with your binary, but it won't launch the game. In the runcommand log, I get..

        Parameters: 
        Executing: /opt/retropie/emulators/reicast/bin/reicast.sh alsa "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2.chd" 640 480
        Virtual cfg config:homedir=/home/pi
        Virtual cfg x11:fullscreen=1
        Virtual cfg x11:width=640
        Virtual cfg x11:height=480
        Virtual cfg audio:backend=alsa
        Virtual cfg audio:disable=0
        Virtual cfg config:image=/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2.chd
        
        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
        MAP 00800000 w/ 25165824
        MAP 20000000 w/ 25165824
        MAP 04000000 w/ 16777216
        
        quicksilverQ 1 Reply Last reply Reply Quote 0
        • quicksilverQ
          quicksilver @rejesterd
          last edited by quicksilver

          @rejesterd what version of raspbian is your pi 3 on? Or you using an old image?

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

            @quicksilver I'm on a pi4.. very recent image from about a month ago.

            mituM 1 Reply Last reply Reply Quote 0
            • I
              inolen
              last edited by

              @rejesterd do you have any more info about the crash? I've not heard of a crash from this game in ages, but would love to see the stdout after it crashes if you can snag it. To note, I pushed a fix a few nights ago that addresses a silly shader compilation error (literally, a typo) that'd been hanging around for a few weeks and effected some games with fog.

              T R 2 Replies Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @rejesterd
                last edited by

                @rejesterd said in Dreamcast mvc2 crashing at stage 2:

                @quicksilver I'm on a pi4.. very recent image from about a month ago.

                Then a binary compiled for the 3b model won't work, since it uses the legacy video drivers.

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

                  @inolen

                  I’m on the way home from work I can try to get the information you need if someone can walk me through how to obtain it.

                  quicksilverQ 1 Reply Last reply Reply Quote 0
                  • quicksilverQ
                    quicksilver @tackett1980
                    last edited by

                    @tackett1980 he's referring to the crashing behavior on redream not reicast.

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

                      Well, I gotta quit for the time being (I'm so sick of this game now lol), but here is what I've learned.

                      It consistently crashes in reicast every time when you reach the second stage (and in rare instances, it will crash even before then). The runcommand.log shows:

                      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[@]}"
                      

                      Note that if I run the game in reicast with sound disabled, the underrun messages go away, but the crash still occurs and the last line in the log is the same. So I don't think it's related to audio. I added these details to issue #1684.

                      In redream, the crash is not as consistent as you advance through stages (I made it to stage 3 many times and the game never crashed). However, I am able to get redream to crash pretty consistently right away if I just rapidly press B to select my characters and the game mode (turbo or normal). Doing that rapidly causes a crash before match 1 begins. So I reported that to inolen as issue #967. Hopefully he can fix it for redream. Not sure how much attention it will get from the reicast folks, as it's an old issue.. seems like they thought it was fixed back in July, but apparently not (or this is just a new crash profile).

                      Cheers.

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

                        @inolen I just reported it (issue 967). Thanks.

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

                          @quicksilver said in Dreamcast mvc2 crashing at stage 2:

                          My pi3 has an older version of reicast and I was able to make it to the 2nd stage without crashing. You might be able to take my reicast binary and swap it out on your pi.

                          https://mega.nz/#!9ZBBjSCZ!DEetDT-HYLEdByt5o2xYcv5uW3kb8HiiuO7yApzgX6U

                          Place it in:

                          /opt/retropie/emulators/reicast/bin/
                          

                          I would recommend backing up your reicast binary first before replacing.

                          I replaced my binary with yours, however yours is different.

                          On mine if I push start reicast, it sends me to a black screen that I can enter options for reicast itself or boot to the Dreamcast bios.

                          Yours does not give me that option. When I push start reicast it goes directly into the Dreamcast bios menu.

                          Why?

                          quicksilverQ 1 Reply Last reply Reply Quote 0
                          • quicksilverQ
                            quicksilver @tackett1980
                            last edited by

                            @tackett1980 Its older an older version than yours

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

                              @quicksilver

                              Oh ok, how do I get it off of what I assume is in interpreter mode? It’s super slow.

                              quicksilverQ R 2 Replies Last reply Reply Quote 0
                              • quicksilverQ
                                quicksilver @tackett1980
                                last edited by

                                @tackett1980 Im not sure why its running slow, could be some incompatibilities with your current settings IDK. Its not slow for me.

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

                                  @tackett1980 said in Dreamcast mvc2 crashing at stage 2:

                                  Oh ok, how do I get it off of what I assume is in interpreter mode? It’s super slow.

                                  In ~/.reicast/emu.cfg, you need to make sure Dynarec.Enabled = yes. If it's set to 'no', that means it's in interpreter mode.

                                  1 Reply Last reply Reply Quote 0
                                  • quicksilverQ
                                    quicksilver
                                    last edited by

                                    @tackett1980 Can you post the contents of your emu.cfg?

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

                                      @quicksilver

                                      Yes I will do so when I get back today.

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

                                        I actually can’t find this file anywhere....

                                        If I go /home/pi

                                        All I see is
                                        RetroPie
                                        RetroPie-Setup

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

                                          @tackett1980 Try /home/pi/.reicast, it's a hidden folder.

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

                                            @mitu said in Dreamcast mvc2 crashing at stage 2:

                                            @tackett1980 Try /home/pi/.reicast, it's a hidden folder.

                                            ok, thanks I got it figured out I think. Im trying this pastebin thing like im supposed to, hope this works.

                                            [T1212N]
                                            software.name = MARVEL VS CAPCOM 2
                                            
                                            [alsa]
                                            device = auto
                                            
                                            [audio]
                                            backend = omx
                                            disable = 0
                                            
                                            [config]
                                            Debug.SerialConsoleEnabled = no
                                            Dreamcast.Broadcast = 0
                                            Dreamcast.Cable = 0
                                            Dreamcast.ContentPath = 
                                            Dreamcast.FullMMU = no
                                            Dreamcast.Language = 1
                                            Dreamcast.RTC = -2081599938
                                            Dreamcast.Region = 1
                                            Dreamcast.Rtt = 0
                                            Dynarec.Enabled = yes
                                            Dynarec.SmcCheckLevel = 0
                                            Dynarec.idleskip = yes
                                            Dynarec.safe-mode = no
                                            Dynarec.unstable-opt = yes
                                            Social.HideCallToAction = no
                                            aica.LimitFPS = no
                                            aica.NoBatch = no
                                            aica.NoSound = no
                                            aica.OldSyncronousDma = no
                                            bios.UseReios = 0
                                            pvr.MaxThreads = 1
                                            pvr.Subdivide = 0
                                            pvr.SynchronousRendering = no
                                            pvr.rend = 0
                                            rend.Clipping = no
                                            rend.CustomTextures = no
                                            rend.DumpTextures = no
                                            rend.FloatVMUs = no
                                            rend.Fog = no
                                            rend.MaxFilteredTextureSize = 8
                                            rend.ModifierVolumes = no
                                            rend.RenderToTextureBuffer = no
                                            rend.RenderToTextureUpscale = 1
                                            rend.ResolutionPercentage = 100
                                            rend.Rotate90 = no
                                            rend.ScreenScaling = 100
                                            rend.ScreenStretching = 100
                                            rend.ShowFPS = no
                                            rend.TextureUpscale = 1
                                            rend.UseMipmaps = 1
                                            rend.WideScreen = no
                                            ta.skip = 0
                                            
                                            [dispmanx]
                                            height = 480
                                            maintain_aspect = yes
                                            width = 640
                                            
                                            [input]
                                            MouseSensitivity = 100
                                            VirtualGamepadVibration = 20
                                            device1 = 0
                                            device1.1 = 1
                                            device1.2 = 1
                                            device2 = 0
                                            device2.1 = 1
                                            device2.2 = 1
                                            device3 = 8
                                            device3.1 = 8
                                            device3.2 = 8
                                            device4 = 8
                                            device4.1 = 8
                                            device4.2 = 8
                                            maple_/dev/input/event0 = 0
                                            maple_/dev/input/event1 = 1
                                            maple_/dev/input/event2 = 0
                                            maple_/dev/input/event3 = 1
                                            
                                            [omx]
                                            audio_hdmi = yes
                                            audio_latency = 100
                                            
                                            [validate]
                                            OpenGlChecks = 0
                                            
                                            
                                            

                                            edit:
                                            four edits I think I got it finally.

                                            quicksilverQ 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.