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

    Raspberry Pi 4 is now OpenGL ES 3.1 conformant.

    Scheduled Pinned Locked Moved Help and Support
    mesa opengl
    27 Posts 9 Posters 4.2k 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.
    • WODAKW
      WODAK @quicksilver
      last edited by

      @quicksilver If you are doing the update and your Pi is overclocked, don't forget to comment your overclock settings (gpu_freq).

      Links:
      RPI4 freezes at boot after update
      Overclocking partially broken with DVFS firmware

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @WODAK
        last edited by

        @WODAK I did that but had to remove my CPU overclock as well otherwise it still wouldn't boot.

        WODAKW 1 Reply Last reply Reply Quote 0
        • WODAKW
          WODAK @quicksilver
          last edited by

          @quicksilver All related parameters from gpu_freq (core_freq, h264_freq, isp_freq, and v3d_freq) shoudn't be set. Only the arm_freq is working (according to forums....I didn't try it yet).

          1 Reply Last reply Reply Quote 0
          • DarksaviorD
            Darksavior @WODAK
            last edited by Darksavior

            @WODAK I tried these and it made things much slower. It's more noticeable in Emulationstation. Before, using the 19.2 drivers, I was getting ~60fps. These new drivers, ~30fps. I'm testing this at 1080p on a pi4. @mitu Maybe the retropie script needs to be updated for it?

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

              @Darksavior said in Raspberry Pi 4 is now OpenGL ES 3.1 conformant.:

              . @mitu Maybe the retropie script needs to be updated for it?

              What would it need to be updated ?

              DarksaviorD 1 Reply Last reply Reply Quote 0
              • George SpiggottG
                George Spiggott
                last edited by

                Which of the existing cores, if any, will benefit from 3.1? I know Dolphin does but that's not on Retropie.

                Currently running:
                Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
                ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

                1 Reply Last reply Reply Quote 0
                • DarksaviorD
                  Darksavior @mitu
                  last edited by

                  @mitu Emulationstation for gles3 to fix the slowdowns?

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

                    @Darksavior said in Raspberry Pi 4 is now OpenGL ES 3.1 conformant.:

                    @mitu Emulationstation for gles3 to fix the slowdowns?

                    EmulationStation doesn't use GLES (right now) on the Pi4, only on the PI3 and below. Regardless, if this is a driver regression with the new MESA libraries, shouldn't it be corrected upstream, not in EmulationStation (if any solution could be found there) ?

                    I haven't had a chance to test the new MESA libraries yet, to see if any regressions have been introduced.

                    DarksaviorD 1 Reply Last reply Reply Quote 0
                    • DarksaviorD
                      Darksavior @mitu
                      last edited by

                      @mitu I'm asking at the pi forum as well.
                      One thing I just noticed, if I enter retropie-setup from the ES menu, then exit to the menu, it's ~60fps. Loading a game or a reboot brings ES back to ~30fps.

                      1 Reply Last reply Reply Quote 1
                      • DarksaviorD
                        Darksavior
                        last edited by Darksavior

                        Ignoring the possible problem with ES, retroarch and the cores do need to be re-compiled for it. Retroarch's fps counter is broken and notifications are black boxes with mame2015. Mupen64plus-next is fine.

                        dankcushionsD 1 Reply Last reply Reply Quote 0
                        • dankcushionsD
                          dankcushions Global Moderator @Darksavior
                          last edited by

                          @Darksavior said in Raspberry Pi 4 is now OpenGL ES 3.1 conformant.:

                          Ignoring the possible problem with ES, retroarch and the cores do need to be re-compiled for it. Retroarch's fps counter is broken and notifications are black boxes with mame2015. Mupen64plus-next is fine.

                          there’s no gles 3.1 compiler flags for retroarch so this sounds like another raspbian/mesa issue.

                          DarksaviorD 1 Reply Last reply Reply Quote 0
                          • DarksaviorD
                            Darksavior @dankcushions
                            last edited by Darksavior

                            @dankcushions I tried mame2016 a few minutes ago and it doesn't have the issues 2015 has. Glad to know it's an isolated problem. Seems that it's the emulator with the issue.

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

                              @Darksavior there's OSD Font corruption with lr-atari800 also - unrelated to Mesa. It's a retroarch /core issue.

                              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
                              • B
                                Brunnis
                                last edited by

                                I noticed when compiling RetroArch from source, it says OpenGL ES3 is disabled. I fixed this by adding --enable-opengles3 in the RetroArch build script. Maybe this should be added to RetroPie?

                                IMG_20200125_214659~2.jpg

                                Also, lr-mupen64-next seems to be built for GL ES V2 (looking at the build options when building from source). I've added the build option FORCE_GLES3=1 to fix that. Maybe something that should be fixed as well?

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

                                  @Brunnis the Mesa drivers are still in the untested repo, but we are aware of the changes needed etc.

                                  Nothing to "fix" yet. Patience everyone :-)

                                  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

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    Brunnis @BuZz
                                    last edited by

                                    @BuZz said in Raspberry Pi 4 is now OpenGL ES 3.1 conformant.:

                                    @Brunnis the Mesa drivers are still in the untested repo, but we are aware of the changes needed etc.

                                    Nothing to "fix" yet. Patience everyone :-)

                                    Ahh, good to know. 😎 Thought it had been overlooked since the Pi 4 has been ES 3.0 compatible since release.

                                    1 Reply Last reply Reply Quote 0
                                    • WODAKW
                                      WODAK
                                      last edited by

                                      Now we can overclock (partial) again :)

                                      sources:

                                      RPI4 overclock issue

                                      Some test

                                      1 Reply Last reply Reply Quote 0
                                      • WODAKW
                                        WODAK
                                        last edited by WODAK

                                        Not to forget this great news

                                        Vulkan is coming to Raspberry Pi: first triangle

                                        Maybe next year....but we are not going anywhere :)

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tekn0
                                          last edited by tekn0

                                          Have there been any advancements regarding OpenGL ES 3.1 support on the PI 4? I think it has been a while since the last post.

                                          Thank you for any updated info!

                                          dankcushionsD 1 Reply Last reply Reply Quote 0
                                          • dankcushionsD
                                            dankcushions Global Moderator @tekn0
                                            last edited by

                                            @tekn0 it currently supports ES 3.1 if that's what you're asking?

                                            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.