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

    SDL Initializing errors on RPi3

    Scheduled Pinned Locked Moved Help and Support
    35 Posts 3 Posters 11.5k 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.
    • O
      OkTekk
      last edited by

      yes i did, like you said earlier

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @OkTekk
        last edited by BuZz

        @OkTekk Did you remove your own compile of emulationstation (if it's in /usr/local/bin). In case that's the problem

        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
        • O
          OkTekk
          last edited by

          that too, as well

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by

            I'm not at home currently. Will give you some lines to type to verify a few things later. Eg. To check gles libs etc

            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
            • O
              OkTekk
              last edited by

              Ok i stay tuned. Today is a peaceful day~

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @OkTekk
                last edited by BuZz

                @OkTekk

                Sorry for the delay.

                What is the output of these to confirm locations/versions

                sudo find / -name "libSDL2*.so"
                sudo find / -name "libGL*"
                which emulationstation
                apt-cache showpkg libsdl2-dev
                md5sum /usr/lib/arm-linux-gnueabihf/libSDL2.so
                

                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
                • O
                  OkTekk
                  last edited by OkTekk

                  @BuZz don't mind, my son gave me a shitty night i wouldn't have been able to answer before.
                  Here we go:

                  pi@RPi3Station:~ $ sudo find / -name "libSDL2*.so"
                  /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so
                  /usr/lib/arm-linux-gnueabihf/libSDL2.so
                  /usr/local/lib/libSDL2_image.so
                  
                  pi@RPi3Station:~ $ sudo find / -name "libGL*"
                  /opt/vc/lib/libGLESv2.so
                  /opt/vc/lib/libGLESv2_static.a
                  /opt/vc/lib/libGLESv1_CM.so
                  /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1
                  /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
                  /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10
                  /usr/lib/arm-linux-gnueabihf/libGL.so.1
                  /usr/lib/arm-linux-gnueabihf/libGLU.so.1
                  /usr/lib/arm-linux-gnueabihf/libGL.so
                  /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10.0
                  /usr/lib/arm-linux-gnueabihf/libGLU.so
                  /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0
                  /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0
                  /usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1
                  /usr/lib/arm-linux-gnueabihf/libGLU.a
                  /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
                  
                  pi@RPi3Station:~ $ which emulationstation
                  /usr/bin/emulationstation
                  
                  pi@RPi3Station:~ $ apt-cache showpkg libsdl2-dev
                  Package: libsdl2-dev
                  Versions:
                  2.0.4+4rpi (/var/lib/dpkg/status)
                   Description Language:
                                   File: /var/lib/dpkg/status
                                    MD5: 7085696df1cfaa119cbfcae5fa57d437
                  
                  2.0.2+dfsg1-6 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages)
                   Description Language:
                                   File: /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages
                                    MD5: 9a82f59c5790721baad7ffc5f181d3d6
                  
                  
                  Reverse Depends:
                    libsdl2-ttf-dev,libsdl2-dev 2.0.0
                    libsdl2-net-dev,libsdl2-dev 2.0.0
                    libsdl2-mixer-dev,libsdl2-dev 2.0.0
                    libsdl2-image-dev,libsdl2-dev 2.0.0
                    libsdl2-gfx-dev,libsdl2-dev
                    games-c++-dev,libsdl2-dev
                  Dependencies:
                  2.0.4+4rpi - libsdl2-2.0-0 (5 2.0.4+4rpi) libc6-dev (0 (null)) libx11-dev (0 (null)) libsdl-1.3-dev (0 (null)) libsdl-1.3-dev (0 (null))
                  2.0.2+dfsg1-6 - libsdl2-2.0-0 (5 2.0.2+dfsg1-6) libasound2-dev (0 (null)) libdbus-1-dev (0 (null)) libegl1-mesa-dev (0 (null)) libgl1-mesa-dev (0 (null)) libgles2-mesa-dev (0 (null)) libglu1-mesa-dev (0 (null)) libpulse-dev (0 (null)) libudev-dev (0 (null)) libwayland-dev (0 (null)) libx11-dev (0 (null)) libxcursor-dev (0 (null)) libxext-dev (0 (null)) libxi-dev (0 (null)) libxinerama-dev (0 (null)) libxkbcommon-dev (0 (null)) libxrandr-dev (0 (null)) libxss-dev (0 (null)) libxt-dev (0 (null)) libxv-dev (0 (null)) libxxf86vm-dev (0 (null)) libsdl-1.3-dev (0 (null)) libsdl-1.3-dev (0 (null))
                  Provides:
                  2.0.4+4rpi -
                  2.0.2+dfsg1-6 -
                  Reverse Provides:
                  
                  pi@RPi3Station:~ $ md5sum /usr/lib/arm-linux-gnueabihf/libSDL2.so
                  2e199a2a94f5d55ba3472a069eac9187  /usr/lib/arm-linux-gnueabihf/libSDL2.so
                  
                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by BuZz

                    I'm afraid I am not sure what the problem is.

                    you can try reinstalling the stable firmware/kernel by doing sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel libraspberrypi-bin

                    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
                    • BuZzB
                      BuZz administrators
                      last edited by BuZz

                      You might want to remove your locally installed libDL2_image also (and just use the system packaged one).

                      I suspect this is an issue relating to the new firmware and the GLES libs as this is how it looks on mine

                      $ sudo find / -name "libGL*"
                      /opt/vc/lib/libGLESv2_static.a
                      /opt/vc/lib/libGLESv2.so
                      /opt/vc/lib/libGLESv1_CM.so
                      /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0
                      /usr/lib/arm-linux-gnueabihf/libGLU.so.1
                      /usr/lib/arm-linux-gnueabihf/libGL.so.1
                      /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10
                      /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10.0
                      /usr/lib/arm-linux-gnueabihf/libGL.so
                      /usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1
                      /usr/lib/arm-linux-gnueabihf/libGLU.a
                      /usr/lib/arm-linux-gnueabihf/libGLU.so
                      

                      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
                      • O
                        OkTekk
                        last edited by

                        back to the stable firmware..but ES still don't work .. i'm doomed and will need to continue using my Pi2's instead of this one..
                        btw i already tried to do some raspbian fresh install followed right after by EM (without any other applications adds or modifications)

                        pi@RPi3Station:~ $ uname -a
                        Linux RPi3Station 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux
                        
                        pi@RPi3Station:~ $ sudo find / -name "libGL*"
                        /opt/vc/lib/libGLESv2.so
                        /opt/vc/lib/libGLESv2_static.a
                        /opt/vc/lib/libGLESv1_CM.so
                        /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1
                        /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
                        /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10
                        /usr/lib/arm-linux-gnueabihf/libGL.so.1
                        /usr/lib/arm-linux-gnueabihf/libGLU.so.1
                        /usr/lib/arm-linux-gnueabihf/libGL.so
                        /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10.0
                        /usr/lib/arm-linux-gnueabihf/libGLU.so
                        /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0
                        /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0
                        /usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1
                        /usr/lib/arm-linux-gnueabihf/libGLU.a
                        /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
                        
                        1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators
                          last edited by BuZz

                          What do you mean by

                          install followed right after by EM (without any other applications adds or modifications) ?

                          do you mean you compiled your own ES or used retropie-setup ?

                          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
                          • O
                            OkTekk
                            last edited by

                            sorry..i meant with retropie-setup

                            1 Reply Last reply Reply Quote 0
                            • BuZzB
                              BuZz administrators
                              last edited by

                              You are saying a fresh Raspbian image downloaded and with retropie-setup installed ES is not working still ? If so I will need to test that.

                              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
                              • BuZzB
                                BuZz administrators
                                last edited by

                                Was that a Raspbian Lite image or ?

                                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
                                • O
                                  OkTekk
                                  last edited by

                                  raspbian jessie full, apt upgrade, retropie-setup, that's it.

                                  1 Reply Last reply Reply Quote 0
                                  • BuZzB
                                    BuZz administrators
                                    last edited by BuZz

                                    Please can you be more specific as I am unable to reproduce it this end. Please compare what you did with this:

                                    I downloaded Full Raspbian from https://www.raspberrypi.org/downloads/raspbian/

                                    Wrote it to a Micro SD, and booted it on the Raspberry Pi 3.

                                    I then ssh'd in from another machine and did

                                    sudo apt-get update
                                    sudo apt-get dist-upgrade
                                    cd 
                                    git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
                                    cd RetroPie-Setup
                                    sudo ./retropie_setup.sh
                                    

                                    Once the menu had come up, I went to Packages, and chose "Quick Install".

                                    Then once that was complete, I went back to the main menu, and went to "Setup /Tools" and "Autostart", choosing the first option "Start Emulation Station at boot".

                                    I then rebooted and it booted into Emulation Station.

                                    I can only think you have changed something your end you have not mentioned. eg switched on the experimental Desktop GL driver (Which isn't compatible with RetroPie)

                                    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
                                    • O
                                      OkTekk
                                      last edited by OkTekk

                                      Oh oh :x

                                      Sweet Jesus ... i am a big fool and have made you waste your time...
                                      I often install/reinstall rpi's therefore my config.txt is backed up and used everytime ^^ you can guess what's following : experimental drv IS set because (before retropie) it didn't cause any harm.

                                      ... ahem. truly sorry having been this dumb !
                                      ES launch as it should be. Thanks for your time !!

                                      1 Reply Last reply Reply Quote 0
                                      • BuZzB
                                        BuZz administrators
                                        last edited by BuZz

                                        ARGH!

                                        well at least we got there in the end. This is why we go on again and again regarding people providing as much detail as possible. Glad you have it working.

                                        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 1
                                        • BuZzB
                                          BuZz administrators
                                          last edited by BuZz

                                          I have added a warning dialog to retropie_setup that appears if the experimental GL driver is enabled.

                                          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
                                          • O
                                            OkTekk
                                            last edited by OkTekk

                                            Awesome, your reactiveness is truly excellent. Again, many thanks !!
                                            ah.. last question, unrelated: do you plan to add dolphin or any fork ?

                                            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.