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

Good news regarding tearing and low EmulationStation performance on Pi 4

Scheduled Pinned Locked Moved General Discussion and Gaming
performancevsyncpi 4kernel 5.4
194 Posts 38 Posters 58.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.
  • M
    mitu Global Moderator @Picard
    last edited by 5 Apr 2020, 17:19

    @Picard We don't support running on the 64bit kernel.

    P 1 Reply Last reply 5 Apr 2020, 17:23 Reply Quote 0
    • P
      Picard @mitu
      last edited by Picard 4 May 2020, 19:22 5 Apr 2020, 17:23

      @mitu Thanks, I'll undo that. (Mistaken assumption from GigaCat's response above.)
      Edit: No immediate help after going back to 32-bit kernel, then uninstalling and attempting to re-install RetroPie. Going back to a clean re-image to re-attempt...
      Edit: Worked after reverting to a clean re-image.

      1 Reply Last reply Reply Quote 0
      • Q
        quicksilver @George Spiggott
        last edited by 5 Apr 2020, 23:16

        @George-Spiggott can you give an example of a level that plays poorly on SOTE? Which emulator are you using specifically? I feel like this game ran fullspeed last I played it.

        G 1 Reply Last reply 6 Apr 2020, 15:53 Reply Quote 1
        • D
          Darksavior @Brunnis
          last edited by Darksavior 4 Jun 2020, 02:58 6 Apr 2020, 01:58

          Noob question, does rpi-update offer kernel headers now? I need them to build the gamecon pad driver.

          1 Reply Last reply Reply Quote 0
          • M
            mitu Global Moderator
            last edited by 6 Apr 2020, 03:37

            @Picard then the error could be from a source Mesa install and not from the kernel upgrade.
            @Darksavior I don't think so, you'll need rpi-source, but it downloads the full kernel sources and not just the headers.

            D 1 Reply Last reply 6 Apr 2020, 07:09 Reply Quote 0
            • D
              Darksavior @mitu
              last edited by 6 Apr 2020, 07:09

              @mitu Thanks, but not sure what to do with the instructions on that page.

              R 1 Reply Last reply 6 Apr 2020, 16:44 Reply Quote 0
              • G
                George Spiggott @quicksilver
                last edited by 6 Apr 2020, 15:53

                Thanks @quicksilver. The fps drops to around 45 at times during the Hoth missions but this may be the normal frame rate for the game as the game doesn't seem that slow. I understand that some slowdowns can be expected with high end N64 games even on native hardware. The sound cuts in and out from the intro sequence onwards into at least as far as the Hoth missions. I'm using lr-mupen64plus-next.

                I'm overclocked with the specs in my sig and running the emulator unmodified.

                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)

                Q 1 Reply Last reply 6 Apr 2020, 17:53 Reply Quote 0
                • R
                  Rascas @Darksavior
                  last edited by 6 Apr 2020, 16:44

                  @Darksavior To install 5.4 kernel headers, run the rpi-source to get the kernel source, go into the kernel dir (should be /home/pi/linux-xxxxx) and run:

                  make headers_install INSTALL_HDR_PATH=/usr
                  
                  D 1 Reply Last reply 6 Apr 2020, 19:11 Reply Quote 1
                  • Q
                    quicksilver @George Spiggott
                    last edited by 6 Apr 2020, 17:53

                    @George-Spiggott Without getting too far off topic. Try mupen64plus-gliden64. It seems to run full speed for me. Generally it is faster than lr-mupen64plus-next.

                    1 Reply Last reply Reply Quote 0
                    • D
                      Darksavior @Rascas
                      last edited by 6 Apr 2020, 19:11

                      @Rascas said in Good news regarding tearing and low EmulationStation performance on Pi 4:

                      make headers_install INSTALL_HDR_PATH=/usr

                      Thanks, but that did not work.

                      R 1 Reply Last reply 6 Apr 2020, 19:23 Reply Quote 0
                      • R
                        Rascas @Darksavior
                        last edited by 6 Apr 2020, 19:23

                        @Darksavior Works fine here. With that command, headers are installed to /usr/include/ like it is normal but you can change the path to where you want to install them.

                        D 1 Reply Last reply 6 Apr 2020, 19:43 Reply Quote 0
                        • D
                          Darksavior @Rascas
                          last edited by 6 Apr 2020, 19:43

                          @Rascas There might be an issue with the pad driver compiling with it, I really have no idea what I'm doing. I'll create a new thread and see if anyone can help.

                          1 Reply Last reply Reply Quote 0
                          • D
                            Darksavior
                            last edited by 9 Apr 2020, 06:03

                            Ignoring my gamepad problem, I briefly tried these drivers.
                            It doesn't support 4k60? 4k30 makes ES's menu glitch out and it eventually crashes to the terminal. 1080p seems fine and smooth.
                            No audio since it defaults to this new hdmi audio driver. I found some way to make the old driver the default in alsamixer, but it didn't last.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Swampy
                              last edited by 11 Apr 2020, 12:39

                              First tests with raspberry pi 4 and kernel 5.4 and no problems so far.
                              I can confirm, that emulationstation runs in full speed now.

                              Till now, I didn't test all emulators. I will post again, if I find any problems.

                              Linux is like wigwam: no Gates, no Windows and Apache inside.

                              S 1 Reply Last reply 11 Apr 2020, 13:17 Reply Quote 0
                              • S
                                saccublenda @Swampy
                                last edited by 11 Apr 2020, 13:17

                                Does ES work with kms driver, that is setting dtoverlay=vc4-kms-v3d-pi4 in /boot/config.txt?

                                S B 2 Replies Last reply 11 Apr 2020, 14:05 Reply Quote 0
                                • S
                                  Swampy @saccublenda
                                  last edited by 11 Apr 2020, 14:05

                                  @saccublenda, for me it only works with the fake kms - driver dtoverlay=vc4-fkms-v3d. I tried it with kms, but I only get a never ending black screen.

                                  Linux is like wigwam: no Gates, no Windows and Apache inside.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Brunnis @saccublenda
                                    last edited by Brunnis 4 Nov 2020, 15:09 11 Apr 2020, 14:05

                                    @saccublenda Yes. It works right away and seems to fix all tearing issues in both ES and RetroArch.

                                    EDIT: Actually, with latest firmware you can use vc4-kms-v3d. No need for ”-pi4” at the end.

                                    EDIT: If you have boot issues, try removing any overclock.

                                    S S 2 Replies Last reply 11 Apr 2020, 14:20 Reply Quote 1
                                    • S
                                      saccublenda @Brunnis
                                      last edited by 11 Apr 2020, 14:20

                                      @Brunnis I did install the last kernel and tried dtoverlay= vc4-kms-v3d, but it exits on the prompt saying:

                                      Error creating SDL window!
                                      Could not create GLES window surface

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Swampy @Brunnis
                                        last edited by 11 Apr 2020, 14:25

                                        @Brunnis, I can confirm, that it works with no "-pi4" at the end. Only the retropie splashscreen didn't show.

                                        Linux is like wigwam: no Gates, no Windows and Apache inside.

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          George Spiggott
                                          last edited by 11 Apr 2020, 20:24

                                          Purely as a guide to how it may run on some possible future 64bit Retropie/Dolphin build has anyone tried these new drivers on a Gentoo/dolphin (or similar) build?

                                          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)

                                          S 1 Reply Last reply 12 Apr 2020, 07:29 Reply Quote 0
                                          26 out of 194
                                          • First post
                                            26/194
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received