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

    Could not initialize OpenGL /GLES library....

    Scheduled Pinned Locked Moved Help and Support
    odroid xu4xu4retropie setupopenglgles
    20 Posts 5 Posters 3.8k 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.
    • BuZzB
      BuZz administrators
      last edited by

      I can check/debug this on my Odroid system also @mitu

      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
      • N
        Nefariis
        last edited by

        Alright list of steps..

        1. open retro_setup.sh
        2. update setup script from source
        3. uninstall/reinstall emulationstation
        4. Pull log and upload to Pastebin (https://pastebin.com/gtbJkWpS)
        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @Nefariis
          last edited by

          It looks like it's picking OpenGL over GLES, that's why it's not working correctly.

          1 Reply Last reply Reply Quote 0
          • N
            Nefariis
            last edited by

            Have any suggestions on what I might try?

            I am waaay out of my element here - but if you point me to a few sites/suggestions I might be able to figure it out.

            Thank you again for your help

            mituM BuZzB 2 Replies Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @Nefariis
              last edited by

              @nefariis We're looking into it - it looks like the EmulationStation build options, that have been updated recently, are not correctly picking up the GLES libraries needed.

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

                I have a fix for the XU - I'm just verifying on some other boards before committing my changes - I will update here when it's done.

                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 @Nefariis
                  last edited by

                  @nefariis If you clean EmulationStation build folder (if needed) and try again it should work.

                  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

                  R 1 Reply Last reply Reply Quote 2
                  • R
                    retropi19 @BuZz
                    last edited by

                    @buzz i know im off-topic but im trying to use the script :

                    https://github.com/RetroPie/RetroPie-Setup/blob/08d99e4288789c72af6a3a99829d7347402bd925/scriptmodules/admin/image.sh#L281

                    to generate/build the berryboot images but when i execute the image.sh file with ./image.sh in a command line prompt in raspbian,nothing happens, do i need to run the script different or something else reguired?

                    Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                    Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

                    1 Reply Last reply Reply Quote -1
                    • N
                      Nefariis
                      last edited by

                      Yup that fixed it and everything looks to be running ok

                      Thank you guys very much

                      1 Reply Last reply Reply Quote 0
                      • J
                        jamesvvic
                        last edited by jamesvvic

                        Hi hopefully someone can help, I tried the troubleshooting steps here and I am still getting that error "Could not initialize OpenGL / GLES library". Just let me know what info. you'll need from me to somehow see what's the problem. I have everything installed from basic install. Reinstalled emulationstation twice already. I'm using a different board Orange Pi PC and Armbian Ubuntu Focal. Except for the problem packages that I was able to fix/got installed, retropie installed without problems. I'm stuck with that error though. I'm no expert but I am able to follow instructions and somehow find solutions on my own but for this one I really need help. I really want this to work.

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

                          RetroPie doesn't support Orange Pi boards, but there's a fork geared at these boards at http://www.retrorangepi.org - you can try it and see if your board is supported.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jamesvvic @mitu
                            last edited by

                            @mitu thank you for your reply. I understand it's not supported, but I'm hoping I can make it work. I reinstalled Armbian Buster since Raspberry Pi OS is also the same. I bought this Orange Pi before because it's cheap and if only I known that there'll be a chip shortage I should have bought a raspberry Pi 4 before, I'm trying to buy 1 now but out of stock. I have a raspberry Pi zero w but performance is not very good.

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

                              I understand it's not supported, but I'm hoping I can make it work.

                              It's that easy, you'll have to know the platform and adapt the RetroPie-Setup script to the packages available in the distribution. Also, a large part of the packages have special compilations and installation instructions geared towards the platform being used (RPI/Odroid/PC), so you'll have to adapt the base install script and packages to your platform.

                              I reinstalled Armbian Buster since Raspberry Pi OS is also the same

                              Raspberry Pi OS contains a RPI tailored distribution (kernel/libraries/programs) which is based on Debian stable, but it's not the same. You should start from RetrOrangePi and - if your board is not supported by it - adapt it to your system.

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jamesvvic @mitu
                                last edited by jamesvvic

                                @mitu Thank you for your responses, Ill try to ask in RetrOrange Pi forum as well.

                                Found this online, maybe this will help?

                                sudo __platform=generic-x11 ./retropie_setup.sh
                                
                                
                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @jamesvvic
                                  last edited by

                                  @jamesvvic said in Could not initialize OpenGL /GLES library....:

                                  Found this online, maybe this will help?

                                  I doubt it.

                                  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.