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

    Emulationstation issue - idle game selection change

    Scheduled Pinned Locked Moved Help and Support
    es bugses crashvideo snapsbookwormjammaboard
    24 Posts 2 Posters 2.0k 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.
    • mituM
      mitu Global Moderator @ilpappa
      last edited by mitu

      @ilpappa said in Emulationstation issue - idle game selection change:

      I could not see any ghost input during the several hours of test, from both joysticks, so all went fine.

      OK. Do you get the same behavior if you disconnect the gamepads completely or use a different gamepad ?

      Apparently other people are suffering same issue by looking online, of course only in emulationstation Emulation Station menu phantom scrolling .

      A 7 years old post where 2 of the posters identified the issue as hardware/controller related (see here for a a similar issue caused by faulty controllers reported in the forums). I'm not sure there's a bug since I can't reproduce this and I imagine if it were a widespread issue the forums would have been full of similar reports.

      Not sure at this point what to do, other than drestroying my cab :D

      Not sure either. If it's a bug, it's related somehow to your configuration, but can't think of anything that would cause this outside of ghost inputs from the controller themselves.

      1 Reply Last reply Reply Quote 0
      • I
        ilpappa
        last edited by ilpappa

        First of all a BIG thank you @mitu for the time you're dedicating for my issue.

        I'm back after several fix attempts which were unsuccessfull. I tried to:

        • Replace pi4 with brand new -> same issue
        • Replace JammaPi with brand new -> same issue
        • Disconnect all USB devices from the pi (I have three extension cables + keyboard receiver) -> same issue
        • Re-wired my Jamma making some improvements (ie finally fixing the ground loop, bridging GND points together, using video ground, etc.) -> no ground loop anymore + better images but same issue as above
        • Changed microswitches with cheap china (I have good DX44) -> same issue

        Now the cherry on the cake is that I actually disconnected Joystick 1 except the axis and all buttons of Joystick 0 except axis, x, start and coin 1, but got same issue. Curios thing is that in the log I see many ghost Joystick 1 inputs despite being disconnected...how is this possible?
        Another wierd thing is that my phisical buttons go from 4 to 10, but log shows input for buttons 1 and 2...where does this come from?

        Log here, check from Jan 24 00:43:33 lvl3:

        I could not think of anything else...I'm going to receive a new PSU with better quality, will try that as well but I've basically rebuilt the whole thing.

        Any ideas?

        EDIT: forgot to mention that with the above improvements my stable build on buster gets issues only after >10mins of video snaps running, while the test build on bullseye take couple of mins to show the issue.

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

          Sorry, I have no further ideas besides what I've already written before.

          My idea of disconnecting was to completely disconnect the devices and use a keybooard or an USB controller only just to see if any ghosting still shows up.

          I 1 Reply Last reply Reply Quote 0
          • I
            ilpappa @mitu
            last edited by

            @mitu

            Thanks. I can do full disconnection but need to do couple of modification on the wires. Nothing complicated but at this point what this test could tell us?

            Many thanks again.

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

              @ilpappa said in Emulationstation issue - idle game selection change:

              Nothing complicated but at this point what this test could tell us?

              Whether the 'ghost' inputs are caused by your inputs or there's a bug in EmulationStation caused by your config/rom list.

              I 1 Reply Last reply Reply Quote 0
              • I
                ilpappa @mitu
                last edited by

                @mitu
                Completely disconnected both controllers and used Keyboard, but issue persists. We can def agree that this is a bug somewhere then.

                ES Log

                Is there any setting in emulationstation I should consider doing? All video snaps/screens have been fetched via Skraper, is there any particular setting I should be using there as well (I'm not super familiar of the skraper but was quite intuitive on how to be used)?

                Many thanks

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

                  @ilpappa said in Emulationstation issue - idle game selection change:

                  Completely disconnected both controllers and used Keyboard, but issue persists. We can def agree that this is a bug somewhere then.

                  From the log, I see the joysticks are still detected and there's still input being processed from them. Are these (JammaPi) using a special driver ? How did you configure them in Linux ?

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    ilpappa @mitu
                    last edited by

                    @mitu

                    Probably they’re still detected because the microcontroller sits within the GPIO->Jamma board and of course I’m not able to disconnect that.

                    I’m not sure about the configuration, this is the script used for the installation where I’m sure the answers are. Apologies but my linux knowledge is quite basic. If you visit the link you’ll be able to see the code which seems not complicated.

                    https://github.com/vince87/JammaPi/blob/master/install.sh

                    Images of the board here:

                    https://www.arcadeitalia.net/viewtopic.php?t=30495

                    Thanks

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

                      Try removing the kernel module joypi with

                      sudo rmmod joypi
                      

                      maybe this stops any processing done for the inputs.

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        ilpappa @mitu
                        last edited by

                        @mitu

                        that command solved the issue. No more ghost inputs. But of course no joystick input.

                        Is there anything I could do more to fix the root cause?

                        Many thanks

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

                          Is there anything I could do more to fix the root cause?

                          At this point I think the bug is in the joypi module - you should report this to the author of the module and ask them for further support. Maybe there's some additional configuration that would fix this behavior or even a patch to stop the ghost inputs.

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            ilpappa @mitu
                            last edited by

                            @mitu
                            Thanks. The project seems abandoned but I’ll try to seek for some support.

                            I just realized I have a coin counter connected to my two coin purses which has a diode on the 12v which seems to be shorted. You might recall that some users reported long time ago ghost inputs due to issues connected to 12v. You think the diode is a path worth to be explored? Many thanks!

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

                              @ilpappa unfortunately I'm not the one to give advice about electronics - I don't have enough knowledge/experience.

                              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.