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

    lr-gpsp giving "Illegal Instruction" on Raspberry Pi models 0W, 3B and 4.

    Scheduled Pinned Locked Moved Help and Support
    lr-gpspraspberry pi 0wraspberry pi 3braspberry pi 4
    36 Posts 12 Posters 4.1k 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.
    • L
      Lhimo
      last edited by

      Is the binary working on Pi0W as well? I can't get it to launch.

      1 Reply Last reply Reply Quote 0
      • O
        oscarw
        last edited by

        Replacing the core worked... for a while. As soon as I started playing Shrek 2 it restarted after a while of playing. Switching back to lr-mgba it fixed that problem. But lr-mgba is super slow on Pi0W so that is not an option. Does anyone have any suggestion to way it keeps restarting?

        1 Reply Last reply Reply Quote 0
        • L
          losingteam85 @juchong
          last edited by

          @juchong I tried getting in through WinSCP and overwriting the old gpsp_libreto.sp , but the system said "Permission Denied Error Code 3." Have you seen this, and do you know how I can give myself permission? Thanks!

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

            @losingteam85 Using an old version shouldn't be needed anymore, try to update and use the latest lr-gpsp.

            L 1 Reply Last reply Reply Quote 0
            • L
              losingteam85 @mitu
              last edited by

              @mitu I was able to update from source, tried it, restarted my system again, and still lr-gpsp won't load my GBA roms. I'm still getting the "line 1255: 2706 Illegal instruction" problem. The games do seem to work in lr-mgba. Not sure what's up. Thanks for your help!

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

                @losingteam85 Try updating RetroPie-Setup first, then install again from source.

                L B 2 Replies Last reply Reply Quote 0
                • L
                  losingteam85 @mitu
                  last edited by

                  @mitu That worked, thanks!

                  1 Reply Last reply Reply Quote 0
                  • B
                    bebeidon @mitu
                    last edited by

                    @mitu Hi, I hope it's appropriate to answer to this post.
                    I'm using a Pi 0 with Retropie Version 4.5.1 on Stretch.
                    lr-gpsp runs well for most games but some like Mario Golf restart after a short time (I think this is related to the BIOS). I have the gba bios in the BIOS folder and it's recognized by mGBA too.
                    So I figured I try to fix it by updating (first the Retropie-Setup Script, then the emulator).
                    Now the performance of lr-gpsp is very bad and the problem is still present.
                    Is this fixable on Stretch? i don't want the new image because the cheevos badges look bad on the little screen.

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

                      @bebeidon said in lr-gpsp giving "Illegal Instruction" on Raspberry Pi models 0W, 3B and 4.:

                      Is this fixable on Stretch? i don't want the new image because the cheevos badges look bad on the little screen.

                      Not sure what the problem is on Stretch (this topic is about lr-gpsp on the new release, based on Buster), but Stretch it's no longer supported, unfortunately. What do you mean by the cheevos 'looking bad' - is it the new notification style in RetroArch ? You can turn them off or use the previous notification style I think.

                      1 Reply Last reply Reply Quote 0
                      • B
                        bebeidon
                        last edited by bebeidon

                        @mitu yes thank you i found out about that(using the old style).

                        Now i tried to fix lr-gpsp by updating it on a buster and a stretch image from source but on both i still have the same error with Mario Golf on GBA, that it restarts when i should select my player right at the start. When updating on buster I did not update the underlying kernel etc. Now on my latest try I updated the kernel to when getting asked in the update process, but now it seems to be stuck on the installation from the lr-gpsp from source:
                        "warning: BSD_SOURCE and SUID_SOURCE are deprecated, use DEFAULT_SOURCE

                        I was so hoping that this fix would work at least on the buster image, I really don't know how to fix this issue now.

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

                          @bebeidon This seems an issue with that particular game and not - in general - with lr-gpsp- maybe a bad ROM missing/incorrect BIOS ?.

                          You should open a separate topic and provide the details about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bebeidon @mitu
                            last edited by

                            @mitu ok but yes, i tried different roms and the bios is there and correct, validatd the hash. it is getting recognized by mGBA too. i thought maybe it's related so i answered in this thread. It really seems like a BIOS problem though because at first start there is no gba intro only after the restart and the following restarts the intro appears, really weird problem. Are there other known gba roms with skip-intro problems maybe so i could test those?

                            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.