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

    Pi400 slow stuttery dremcast redream emulationI

    Scheduled Pinned Locked Moved Help and Support
    redreamdreamcastpi400stutterslow down
    15 Posts 4 Posters 3.6k 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.
    • L
      luckyluca
      last edited by

      Comparing the pi400 at stock against the pi4 at stock, I noticed the pi400 to produce stutter and slowdowns on Dreamcast games such as 18 wheeler on redream on the latest retropie.

      Is this a known issue with Redream/Retropie that needs optimizing for the pi400 or something else?

      Help would be most welcome
      Thanks

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

        @luckyluca said in Pi400 slow stuttery dremcast redream emulationI:

        Is this a known issue with Redream/Retropie that needs optimizing for the pi400 or something else?

        No, it's not a known issue. The Pi4 and Pi 400 are using the same image, and the Redream binary is the same for both - the Pi4 one. Are you sure you're running the same Redream version on the systems you're comparing ?

        L 1 Reply Last reply Reply Quote 0
        • L
          luckyluca @mitu
          last edited by luckyluca

          @mitu
          I don't know the actual redream version, (how can I check?) but I've update everything including redream it via Retropie-Setup this morning and run it again. Stutter and slowdowns are still present.

          Please see my videos depicting stutter (hope it's visible) on the pi400 stock (1.8ghz) with 4.7.1 and latest version of redream:

          Against MagnusRC videos, using the pi4 stock (1.5ghz) with 4.7.1:

          I would've expected, if anything, for the pi400 to perform better and be slightly smoother than the pi4, being clocked 20% faster.
          What are your thoughts?

          This is my first raspberry pi system, but seen how it (under)performs, I'm considering returning it for a pi4.

          Thanks
          Luca

          P.s.
          could you recommend a step by step guide to benchmark pi400,especially the gpu side?

          mituM dankcushionsD 2 Replies Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @luckyluca
            last edited by

            @luckyluca said in Pi400 slow stuttery dremcast redream emulationI:

            I would've expected, if anything, for the pi400 to perform better and be slightly smoother than the pi4, being clocked 20% faster.
            What are your thoughts?

            I don't see a visible difference, sorry. In your video, the emulator seems to be running at fullspeed (60fps), just like in the other video. The 2nd video doesn't show which resolution is used, you can try and lower your running resolution to 720p or 480p from the runcommand launch menu.

            This is my first raspberry pi system, but seen how it (under)performs, I'm considering returning it for a pi4.

            The Pi 400 is a higher clocked Pi4, I don't see how that would help.

            L 1 Reply Last reply Reply Quote 0
            • L
              luckyluca @mitu
              last edited by luckyluca

              @mitu

              both are running at the same resolution and redream settings.

              It is rather visible, the pi400 has microstutter, motion is not fluid, the pi4's motion appears fluid (disregard the fps counter as it is misleading). Besides, the pi400 should, if anything, be smoother being a faster clock, right?

              I've updated a new video of the pi400, see for instance from second 16 until second 34:

              I'm not saying it's not to be expected that some games can stutter, I'm just comparing apple for apple against the pi4. My main reason for getting the raspberry pi4/400 was to being able to play the Dreamcast system smoothly.
              Regarding returning the pi400, I agree with you, it doesn't make sense being effectively the same machine, does it? Perhaps a driver/gpu issue with the pi400?

              Can you recommend a good and simple benchmark I can run from retropie in order to test the pi400, especially gpu?

              Thanks

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

                there seems to be similar kind of stutter in your pi4 video. see 2:48 for example.

                @luckyluca said in Pi400 slow stuttery dremcast redream emulationI:

                Against MagnusRC videos, using the pi4 stock (1.5ghz) with 4.7.1:

                L 1 Reply Last reply Reply Quote 0
                • L
                  luckyluca @dankcushions
                  last edited by

                  @dankcushions You're right actually (I was focusing on the first portion of the video/game mainly).

                  But I'm not seeing the performance increase from the 1.5->1.8 clock though, but perhaps I'm expecting too much from the pi400 (I'm new to the Raspberry Pi, having transitioned from the Playstation Classic).

                  I'd still love to run a benchmark and compare it against other pi400 and pi4.

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • windgW
                    windg
                    last edited by windg

                    If you are using different sd cards for pi400 and pi4, then try the sd card with the RetroPie, from pi4 to pi400 and test the game again.

                    My English isn't at a good level.

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

                      @luckyluca mm the cpu is probably not the bottleneck. the pi4s cpu is quite decent. the gpu and the system bandwidth tend to be the bottleneck in GL applications.

                      you could try a system update:

                      sudo apt update && sudo apt dist-upgrade

                      that should get the latest stable mesa drivers (possibly an update since the image). as always, backup before any updates !
                      (ignore - upstream has not got update mesa yet)

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

                        @dankcushions said in Pi400 slow stuttery dremcast redream emulationI:

                        that should get the latest stable mesa drivers (possibly an update since the image). you can get the latest cutting edge mesa driver via the retropie package manager i believe, but not at my pi to get the steps for that. as always, backup before any updates !

                        That won't help, Redream comes with its own MESA driver for the Pi4 GPU.

                        @luckyluca Try lowering the resolution and see if it improves the stuttering you're noticing. Toggle the performance CPU governer in Runcommand's settings.
                        You can try lr-flycast instead of redream, it has several options for improving performance - including frame skipping if I recall.

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

                          @mitu said in Pi400 slow stuttery dremcast redream emulationI:

                          @dankcushions said in Pi400 slow stuttery dremcast redream emulationI:

                          that should get the latest stable mesa drivers (possibly an update since the image). you can get the latest cutting edge mesa driver via the retropie package manager i believe, but not at my pi to get the steps for that. as always, backup before any updates !

                          That won't help, Redream comes with its own MESA driver for the Pi4 GPU.

                          still? the author's performance tweak was accepted into MESA months ago, so i would presume they're not doing that anymore, unless they've made other changes i suppose.

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

                            @dankcushions Their version might include other optimizations, however the changes you mentioned have been included in Mesa 20.0, while Raspbian has only 19.3 in the official repository.

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

                              @mitu dang, you're right! i had no idea they were that out of date.

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                luckyluca @dankcushions
                                last edited by luckyluca

                                Update:
                                Thanks for the suggestions and tips, I'll need to build more confidence with the system first, as I'm new to the Raspberry Pi, I'll look into them in the near future. Regarding the emulator, I'd rather stick to Redream as it is an overall a better choice for Dreamcast games.

                                I'm talking to the Redream team and so far: somebody else noticed the same jitter/stutter on their pi400. Same jitter, albeit perhaps less frequently, is visible on the pi4 stock video provided by MagnusRC.

                                Pi4 stock on retropie, latest version, see 3min.30secs for jitter:

                                Pi400 stock on retropie, latest version, see sec.35 and again at 1min.26secs for jitter:

                                Thanks again, hopefully a new Redream build in the near future might improve things. Regarding overclocking, do you know what the default gpu clock is for the pi400/pi4?

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

                                  @luckyluca said in Pi400 slow stuttery dremcast redream emulationI:

                                  Regarding overclocking, do you know what the default gpu clock is for the pi400/pi4?

                                  I think the default gpu_freq is set to 500 (Pi4), I assume is the same for Pi 400.

                                  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.