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.
    • mituM
      mitu Global Moderator @quicksilver
      last edited by

      @quicksilver Probably installing from source from https://gitlab.freedesktop.org/mesa.

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

        Quoted from Raspberry Pi forum :)

        Igalia have done a great job on this and are still going; 3.2 is on its way

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

          Are there any emulators that would take advantage of openGL ES 3.2?

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

            Mesa 19.3.2 available for testing

            Quoted:

            "*We've updated Mesa to 19.3.2 to get all the new fixes and features, but this required updates to llvm-9, libclc, libdrm and libglvnd. Sometimes updating libraries like these can mess with packages which depend on them, so testers are definitely welcome."

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

              I'm going to try testing it out now. @dankcushions do you know if certain emulators just automatically take advantage of the glES 3.1 pathways or do additional steps need to be taken?

              After install of new drivers:
              Some games that used to work are now locking up and crashing. Also overclocking seems to have been removed or reduced. System wouldn't even finish booting until I removed my previously working overclock settings.

              WODAKW 1 Reply Last reply Reply Quote 0
              • 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
                                            • 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.