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

    [SOLVED] EmulationStation crash after turning off DS4/PS4 controller

    Scheduled Pinned Locked Moved Help and Support
    ds4 bluetoothubuntu 18.04ds4crash
    20 Posts 2 Posters 1.7k 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.
    • P
      Panja
      last edited by

      @mitu
      I have the following repo's added:
      ubuntu-x-swat
      ubuntu Universe

      Apt update has been run of course.

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

        @Panja Then there's a problem with one of your extra repositories - leave just the Ubuntu ones, update and re-try.

        1 Reply Last reply Reply Quote 0
        • P
          Panja
          last edited by

          @mitu

          I have disabled both the repo's but still cannot re-install SDL.

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

            @Panja Can you install any other package ? What's the output of:

             apt-cache policy libsdl2-2.0-0
            
            P 1 Reply Last reply Reply Quote 0
            • P
              Panja @mitu
              last edited by

              @mitu

              Yes, installing other packages is no problem.

              libsdl2-2.0-0:
                Installed: 2.0.9+1
                Candidate: 2.0.9+1
                Version table:
               *** 2.0.9+1 100
                      100 /var/lib/dpkg/status
                   2.0.8+dfsg1-1ubuntu1.18.04.3 500
                      500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                   2.0.8+dfsg1-1ubuntu1 500
                      500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
              
              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Panja
                last edited by mitu

                @Panja Try

                sudo apt-get install --reinstall libsdl2-2.0-0=2.0.8+dfsg1-1ubuntu1.18.04.3
                

                or download the package directly and install it with dpkg -i <pkg.deb>.

                1 Reply Last reply Reply Quote 0
                • P
                  Panja
                  last edited by

                  @mitu

                  Some packages could not be installed. This may mean that you have
                  requested an impossible situation or if you are using the unstable
                  distribution that some required packages have not yet been created
                  or been moved out of Incoming.
                  The following information may help to resolve the situation:
                  
                  The following packages have unmet dependencies:
                   libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.9+1) but 2.0.8+dfsg1-1ubuntu1.18.04.3 is to be installed
                  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
                  
                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Panja
                    last edited by

                    @Panja Remove the -dev package, you can install it later on from the repository.

                    1 Reply Last reply Reply Quote 0
                    • P
                      Panja
                      last edited by Panja

                      @mitu

                      sudo apt remove libsdl2-dev
                      sudo apt-get install --reinstall libsdl2-2.0-0=2.0.8+dfsg1-1ubuntu1.18.04.3
                      sudo apt install libsdl2-dev
                      

                      I now have:

                      ii  libsdl2-2.0-0:amd64                   2.0.8+dfsg1-1ubuntu1.18.04.3                amd64        Simple DirectMedia Layer
                      

                      Gonna have a try with the controllers later on, when I'm actually at the machine itself.
                      Will report back!

                      1 Reply Last reply Reply Quote 0
                      • P
                        Panja
                        last edited by

                        @mitu

                        I can confirm: downgrading SDL to v2.0.8 solved my problem!
                        Thanks for the help, as always. :-)

                        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.