• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Quake 2, 3D accelerated in any Pi model, 60+ FPS

Scheduled Pinned Locked Moved Ideas and Development
quake 2opengl es3d acceleration
11 Posts 3 Posters 1.1k 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
    Protocultor
    last edited by Protocultor 5 Apr 2025, 15:29 28 Jul 2024, 19:36

    If you thought it was impossible, I don't blame you. But this runs at 60+ fps most of the time in a Raspberry Pi 3 B+; drops at most to 50 in a heavy situation, but it remains playable at all times, at 1920x1080 no less.

    To install this, just update the yquake2 package in Retropie-Setup, present among the experimental ones; binaries are available. You don't even need the game, this will install the demo if needed.

    As you will see, this adds a new "gles1" renderer, yup, as in "OpenGL ES 1.0"; this should be compatible with anything. Any feedback is appreciated.

    EDIT 12-08-2024: officially added to Yamagi Quake 2!
    EDIT 06-10-2024: new performance options added, almost 10% increase.
    EDIT 04-05-2025: now included in RetroPie, binaries available.

    L 1 Reply Last reply 29 Jul 2024, 18:06 Reply Quote 1
    • L
      Lolonois @Protocultor
      last edited by 29 Jul 2024, 18:06

      Noice.

      @Protocultor said in Quake 2, 3D accelerated in any Pi model:

      Can someone test this with a Zero?

      A Zero or a Zero2(W)? I don't have a Zero at hand and for the Zero2W I am missing a mini HDMI adapter. :/

      P 1 Reply Last reply 29 Jul 2024, 20:22 Reply Quote 0
      • P
        Protocultor @Lolonois
        last edited by 29 Jul 2024, 20:22

        @Lolonois anything that is not a RPi3 B+, because I know how it runs there :)
        I'm just interested in people's experience with this.

        1 Reply Last reply Reply Quote 0
        • L
          Lolonois
          last edited by 2 Aug 2024, 20:40

          I did testdrive with a Pi Z2W, which uses the gles1 renderer. Works smooth at 1920x1080. 💪

          FTR I used a stock RetroPie 3 image (Buster), added the ports "system" and replaced the existing yquake2.sh with yours in Retropie-Setup/scriptmodules/ports/: Build.Run.Fun!

          FWIW and wants to test, you can check in /opt/retropie/configs/ports/quake2/emulators.cfg which renderer is selected (check for +set vid_renderer ...). However,If you are on a architecture that also supports mesa then the gl1 renderer is picked.

          P 1 Reply Last reply 2 Aug 2024, 23:41 Reply Quote 1
          • P
            Protocultor @Lolonois
            last edited by 2 Aug 2024, 23:41

            @Lolonois said in Quake 2, 3D accelerated in any Pi model:

            FWIW and wants to test, you can check in /opt/retropie/configs/ports/quake2/emulators.cfg which renderer is selected (check for +set vid_renderer ...). However,If you are on a architecture that also supports mesa then the gl1 renderer is picked.

            Thanks for the feedback! Just changed the script to verify first for gles compatibility (instead of gl or mesa), and use the gles1 renderer if found.

            1 Reply Last reply Reply Quote 0
            • L
              Lolonois
              last edited by 13 Aug 2024, 08:07

              @Protocultor said in Quake 2, 3D accelerated in any Pi model, 60+ FPS:

              EDIT 12-08-2024: officially added to Yamagi Quake 2!

              Nice. So does it also qualify for a PR to RetroPie-Setup? (I assume as the scriptmodule is from the experimental section and the change is not large the bar to get it accepted might not be that high.)

              P 1 Reply Last reply 13 Aug 2024, 13:16 Reply Quote 0
              • P
                Protocultor @Lolonois
                last edited by 13 Aug 2024, 13:16

                @Lolonois said in Quake 2, 3D accelerated in any Pi model, 60+ FPS:

                Nice. So does it also qualify for a PR to RetroPie-Setup? (I assume as the scriptmodule is from the experimental section and the change is not large the bar to get it accepted might not be that high.)

                I don't know? RetroPie guys prefer to work with official releases, even for experimental, so we may have to wait for YQ2 version 8.50.
                @BuZz, @mitu, would you accept a PR pointing to a specific commit, as a temporary thing, waiting for the next big release?
                It's just to make this project visible, and it's not like numbered releases are a guarantee for stability.

                1 Reply Last reply Reply Quote 0
                • P Protocultor referenced this topic on 4 Nov 2024, 16:49
                • L Lolonois referenced this topic on 11 Mar 2025, 20:14
                • P
                  Protocultor
                  last edited by 2 Apr 2025, 13:12

                  Months have passed, but today YQ2 8.50 was released, and here's a gigantic PR to celebrate:
                  https://github.com/RetroPie/RetroPie-Setup/pull/4057
                  @Lolonois can you check it out?

                  1 Reply Last reply Reply Quote 2
                  • P
                    Protocultor
                    last edited by Protocultor 4 Apr 2025, 23:48 4 Apr 2025, 22:47

                    @mitu apologies, again, for the last message in the pull request; it wasn't "me" . I deleted it, have to be more careful with the accounts. Thanks for the patience.
                    Just for the curious: it was an empty reply.

                    1 Reply Last reply Reply Quote 0
                    • P
                      Protocultor
                      last edited by 23 days ago

                      Good news, the PR was accepted.
                      Does somebody know when the binaries are updated after a PR acceptance?

                      M 1 Reply Last reply 23 days ago Reply Quote 0
                      • M
                        mitu Global Moderator @Protocultor
                        last edited by 23 days ago

                        @Protocultor said in Quake 2, 3D accelerated in any Pi model, 60+ FPS:

                        Does somebody know when the binaries are updated after a PR acceptance?

                        There's no rule or schedule, but we can ask @BuZz to update them. Currently the binary is still installing the 8.41 version.

                        1 Reply Last reply Reply Quote 1
                        • 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]]