• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Retroarch cores crash on trigger press (Mouse Click) with overlay active

Scheduled Pinned Locked Moved Help and Support
lr-fceummwiimotelightgunoverlay
50 Posts 13 Posters 10.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.
  • W
    WarC0zes
    last edited by 6 Mar 2019, 08:50

    @SuperJim I'm a beginner for compile. It's possible to share your compiled retroarch with the fix?

    RetroPie v4.5.1 • RPi3 Model B • NorthPada 5V 3A • 128GB SanDisk Ultra Cat.10 microSDXC • 1 x Logitech Wireless Desktop MK250 • 1 x Qanba Q4RAF USB Arcade joysticks • 1 x PS4 Dualshock4 v2 controller • 1 x Mayflash Dolphinbar + Nintendo WiiMote.

    1 Reply Last reply Reply Quote 0
    • S
      SuperJim
      last edited by 7 Mar 2019, 22:04

      I don't think I can upload files here.

      1 Reply Last reply Reply Quote 0
      • R
        roslof @SuperJim
        last edited by 8 Mar 2019, 07:23

        @SuperJim your steps worked like a charm. Feels amazing to finally be able to play trackball games w/overlays. Thanks Jim & all for helping make this fix a reality after so long...

        1 Reply Last reply Reply Quote 0
        • M
          maxbeanz
          last edited by 21 Mar 2019, 22:27

          Does anyone know if this has been fixed yet or do we still have to manually do @SuperJim 's fix above ? I'm about to redo my Pi setup.

          M 1 Reply Last reply 22 Mar 2019, 04:37 Reply Quote 0
          • M
            mitu Global Moderator @maxbeanz
            last edited by 22 Mar 2019, 04:37

            @maxbeanz It has only been fixed upstream, but the fix is not yet part of the RetroArch package in RetroPie.

            1 Reply Last reply Reply Quote 0
            • M
              maxbeanz
              last edited by 22 Mar 2019, 10:24

              @mitu So it's safe to just update RetroArch from source ?

              M 1 Reply Last reply 22 Mar 2019, 10:29 Reply Quote 0
              • M
                mitu Global Moderator @maxbeanz
                last edited by 22 Mar 2019, 10:29

                @maxbeanz No and no. The source update would still get you the 1.7.6 version (before the fix was added) and removing the version tag from the source script would not be able compile the latest dev/master (due to https://github.com/libretro/RetroArch/issues/8448).
                I suggest to either apply the patch to the 1.7.6 build or wait for the next RetroArch package release.

                1 Reply Last reply Reply Quote 0
                • M
                  maxbeanz
                  last edited by maxbeanz 22 Mar 2019, 10:40

                  OK thanks, i'll bookmark this page.

                  One last thing, he says 'enable neon' should be added but it doesn't work for him. Is this going to make much difference for Raspberry Pi 3 ?

                  M 1 Reply Last reply 22 Mar 2019, 11:44 Reply Quote 0
                  • M
                    mitu Global Moderator @maxbeanz
                    last edited by 22 Mar 2019, 11:44

                    @maxbeanz said in Retroarch cores crash on trigger press (Mouse Click) with overlay active:

                    One last thing, he says 'enable neon' should be added but it doesn't work for him.

                    Because the configuration script needs some CFLAGS set to enable NEON for the compiler. These are added automatically by the RetroPie setup script so --enable-neon would work and NEON would be enabled by the configuration script. See here.

                    Is this going to make much difference for Raspberry Pi 3 ?

                    IMHO yes.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SuperJim
                      last edited by SuperJim 24 Mar 2019, 06:01

                      It's the configure command that fails, with the following message,

                      Checking presence of predefined macro __ARM_NEON__ ... no
                      Build assumed that __ARM_NEON__ is defined, but it's not. Exiting ...

                      I googled around for it, and it sounds like the specific name for this macro may have changed? In any case, the command worked with 1.7.5, but not with 1.7.6; I'm guessing there's a simple change that would fix it. I also don't think the mali option is actually needed on the pi.

                      M 1 Reply Last reply 24 Mar 2019, 06:04 Reply Quote 0
                      • M
                        mitu Global Moderator @SuperJim
                        last edited by mitu 24 Mar 2019, 06:04

                        @SuperJim You'll need to run configure with

                        CFLAGS="..." ./configure <arguments>
                        

                        and the value of CFLAGS is the one from the link I posted earlier. The RetroPie scriptmodule automatically adds those, since the default compiler options on a Raspbian are more conservative (supporting all PI models).

                        S 1 Reply Last reply 24 Mar 2019, 06:08 Reply Quote 0
                        • S
                          SuperJim @mitu
                          last edited by 24 Mar 2019, 06:08

                          @mitu thanks for that! I've updated the instructions above.

                          1 Reply Last reply Reply Quote 0
                          • D
                            dudumaroja
                            last edited by dudumaroja 13 Apr 2019, 21:46

                            hello, @SuperJim `s fix works great fix the freezing when using overlay but break the mame2003 use,, you cant use the full screen somehow the cursor only cover a 1/4 of the screen ( when using dolphin bar ) nes and snes are working great for me.

                            1 Reply Last reply Reply Quote 0
                            • H
                              holto
                              last edited by 18 Apr 2019, 17:59

                              I also had the issue and am worked through the instructions to compile and copy the patched RA version. Since I couldn't think of a way to cut and past, the long command beginning with cflags was a bit tricky. After several failed attempts I realized the -O2 was a letter "O" and not a zero. Thanks for the instructions none the less. The fix worked with tests in scummvm and arcade(lr-mame-2003 emulated centipede) using a mouse. I have not tried the fix yet on my home arcade which has a trackball instead of a mouse. I expect it will work fine. I thankfully did not experience the problem mentioned above with lr-mame-2003. Thank you all for the work on this issue.

                              1 Reply Last reply Reply Quote 0
                              • P
                                punchout
                                last edited by 6 May 2019, 15:07

                                Hey guys!
                                I've tried the steps above without any luck.. my apologies.. but I must be missing something. I am using PuTTY!! Any help would be great! Really would like to get rid of the crashing on left click. pi3.PNG

                                P 1 Reply Last reply 6 May 2019, 17:32 Reply Quote 0
                                • P
                                  punchout @punchout
                                  last edited by 6 May 2019, 17:32

                                  @punchout Sorry where do I find this file.. "using whatever editor you prefer, edit input/drivers/udev_input.c, line 991 and replace," I am using FileZilla

                                  S 1 Reply Last reply 22 May 2019, 09:06 Reply Quote 0
                                  • S
                                    SuperJim @punchout
                                    last edited by 22 May 2019, 09:06

                                    @punchout the error is pretty self-explanatory, you seem to have something called "RetroArch" in your home directory already (could be a file or directory).

                                    Once you resolve that problem, the file mentioned is located in /home/pi/RetroArch/input/drivers/udev_input.c

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      SuperJim
                                      last edited by 6 Jul 2019, 04:00

                                      Unfortunately this issue still seems to exist in RetroPie 4.5

                                      BuZzB 1 Reply Last reply 6 Jul 2019, 05:19 Reply Quote 0
                                      • BuZzB
                                        BuZz administrators @SuperJim
                                        last edited by 6 Jul 2019, 05:19

                                        @SuperJim yep. It was fixed in retroarch 1.7.7 which we haven't updated to yet.

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          ChuckyP
                                          last edited by 16 Oct 2019, 19:39

                                          Just checking in to see if the fix has made its way into the public release? I have very little experience compiling, but am ready to tackle the task if there is no easy route to update. Thanks.

                                          M 1 Reply Last reply 22 Oct 2019, 19:11 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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]