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

    GPI Case XRoar emulator crashes. (Solved)

    Scheduled Pinned Locked Moved Help and Support
    gpi casexroarcoco
    11 Posts 2 Posters 1.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.
    • K
      K9Kraken
      last edited by

      I installed installed a fresh copy of Retropie and installed XRoar without updating Retropie's update scripts. This installed Xroar version 0.33.2, this version runs.

      I then updated Retropie's update script and installed XRoar, it now installs version 0.35.4, this version crashes.

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

        @K9Kraken What's your resolution ? Maybe the new version doesn't like the resolution you have.

        1 Reply Last reply Reply Quote 0
        • K
          K9Kraken
          last edited by K9Kraken

          Here is where I am at:
          -Version 0.33.2: DPAD does not work and so far I cannot get it to map, the buttons I can map.
          -Version 0.35.4: Crashes.
          -Also need to figure out a way to exit the emulator instead of rebooting the system.

          I've installed XRoar 0.35.4 on my desktop linux machine. It runs and I'm able to map the gamepad axis from the analog stick to the DPAD. (xroar -joy joy0 -joy-axis X=6 -joy-axis Y=7 --machine cocous -run Downland.ccc)

          Going to test installing 0.33.2 on my desktop machine to see if it has the mapping issue, I will also try installing some of the between versions on my raspberry to test. (I installed 0.33.2 on my desktop linux and mapping the axis to dpad is still working.)

          I also sent Ciaran Anscomb the XRoar programmer an email about this issue: https://www.6809.org.uk/ciaran/

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

            @K9Kraken I think that newer versions use SDL2 instead of SDL1, it might be worth keeping the SDL1 version around until SDL2 gets more stable.

            K 1 Reply Last reply Reply Quote 1
            • K
              K9Kraken @mitu
              last edited by K9Kraken

              @mitu

              Yes thanks, after testing a few of the versions the issue starts when SDL2 was implemented. If I remove "-vo sdl" and add "-ui null" the emulator will run but of course has no display.

              I did try different resolutions with default settings with the same results.

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

                @K9Kraken You still didn't mention what's the resolution on the GPI case - maybe SDL2 can 'learn' about it.

                K 1 Reply Last reply Reply Quote 0
                • K
                  K9Kraken @mitu
                  last edited by

                  @mitu The screen resolution is 320x240. I tried selecting that resolution but still crashing.

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

                    @K9Kraken Try adding dispmanx as the video driver - edit /opt/retropie/configs/all/dispmanx.cfg (create the file if it doesn't exist) and add

                    xroar-coco="1"
                    xroar-cocous="1"
                    

                    Try re-running again with the latest xroar version and see if it gets something displayed.

                    1 Reply Last reply Reply Quote 0
                    • K
                      K9Kraken
                      last edited by

                      Thanks for the input, I contacted the developer and by adding the parameter "--disable-kbd-translate" to ./configure in the build script I was able to compile and run the latest version.

                      Now will need to work on these issues:
                      -New version is running slow.
                      -Cannot map in DPAD.
                      -Way to exit emulator without having to reboot the system.

                      Thanks.

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

                        @K9Kraken said in GPI Case XRoar emulator crashes. (Solved):

                        -Way to exit emulator without having to reboot the system.

                        I wonder if this is because of --disable-kbd-translate. Do you have a game to compare how slow the new version (compared to the previous one) runs ?

                        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.