• 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

Error: no opengl libraries given

Scheduled Pinned Locked Moved Help and Support
avplibraryopengl
14 Posts 3 Posters 1.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.
  • T
    Turrican2k
    last edited by 2 Oct 2020, 13:29

    Is it somehow possible to start it outside of xorg?

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 2 Oct 2020, 13:50

      You'll have to be more specific - how did you install the game ? Does it have a download/project page with instructions on how to install/run ?

      1 Reply Last reply Reply Quote 0
      • T
        Turrican2k
        last edited by 2 Oct 2020, 15:37

        Here, Date Sun Dec 31, 2017 8:51 am

        https://www.raspberrypi.org/forums/viewtopic.php?p=1252534#p1252534

        (I use my own version of AVP Gold)

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 2 Oct 2020, 15:54

          This looks like it works only in Xorg, one of the forum posters mentions that:

          9.this only works in X-Windows, and the window itself is small, but you can change the resolution to make it larger.

          You can start it from EmulationStation as an X.org application, similar to how lincity works, for instance. You just need to prefix the game command in emulators.cfg with XINIT to tell runcommand to start the Xserver before the game.

          1 Reply Last reply Reply Quote 0
          • T
            Turrican2k
            last edited by 2 Oct 2020, 16:50

            So I take e.g. the LinCity-NG.sh and rename it to AVP.sh. I change the content from:

            #!/bin/bash
            "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "lincity-ng" ""

            To:

            #!/bin/bash
            XINIT "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "lincity-ng" ""

            Is that correct?
            Will AVP run smoother then?

            1 Reply Last reply Reply Quote 0
            • M
              mitu Global Moderator
              last edited by mitu 10 Feb 2020, 18:11 2 Oct 2020, 17:11

              @Turrican2k said in Error: no opengl libraries given:

              Is that correct?

              No, you need to have

               "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "avp" ""
              

              and also create a folder /opt/retropie/configs/ports/avp, where you add a file called emulators.cfg, containing:

              avp = "XINIT:/full/path/to/avp"
              default = "avp"
              

              Obviously, replace /full/path/to/avp with the full path to the avp binary that launches the game.

              Will AVP run smoother then?

              I doubt it. It's still running in the same configuration as before - in an X.org session.

              1 Reply Last reply Reply Quote 1
              • T
                Turrican2k
                last edited by Turrican2k 10 Mar 2020, 10:30 3 Oct 2020, 09:29

                Avp not found. How/where can i register avp?
                (home/Pi/avp/avpxbox/avp)

                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator
                  last edited by 3 Oct 2020, 14:39

                  Linux is case-sensitive, make sure any path you enter is correct and fully qualified (i.e. /home/pi is not the same as home/Pi).

                  1 Reply Last reply Reply Quote 1
                  • T
                    Turrican2k
                    last edited by Turrican2k 10 Apr 2020, 12:32 4 Oct 2020, 11:28

                    Thanks, it starts :)
                    Unfortunately, the keyboard doesn't work over it and I can't say whether it's going well. How can i fix it?

                    M 1 Reply Last reply 4 Oct 2020, 13:10 Reply Quote 0
                    • M
                      mitu Global Moderator @Turrican2k
                      last edited by 4 Oct 2020, 13:10

                      @Turrican2k said in Error: no opengl libraries given:

                      How can i fix it?

                      Start the game in a desktop session then.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Turrican2k
                        last edited by Turrican2k 10 Apr 2020, 15:44 4 Oct 2020, 13:52

                        ok, the keyboard works with a little trick. Thanks for your help.

                        Unfortunately, AVP is still running very slowly. I read somewhere that someone got AVP to work on a Raspberry 2 (?). He had used other files to install. Maybe someone still knows a possibility?

                        R 1 Reply Last reply 4 Jan 2021, 12:01 Reply Quote 0
                        • R
                          retropi19 @Turrican2k
                          last edited by retropi19 1 May 2021, 11:15 4 Jan 2021, 12:01

                          @turrican2k i run it in no desktop enviroment with the -f switch but it shows in a small screen in the middle,how you make it run in fullscreen?

                          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 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]]