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

    not full speed at some psx games on Rb pi4

    Scheduled Pinned Locked Moved Help and Support
    psxslowdownpcsx rearmedfullspeedraspberry pie 4
    36 Posts 6 Posters 3.8k 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.
    • I
      IGA @dankcushions
      last edited by

      @dankcushions

      Ok, there is 1 full match in survivor\battle royal mode of smackdown 2 ~ nearly 10 minuts...

      And there 1 single race from Colin McRae Rally 2 increase 30 fps could only at the moment when all rival's cars absent from screen

      Then I've changed in retroarch settings\drivers\audio from alsa to alsathread, but fps was still the same (25)

      I dankcushionsD 2 Replies Last reply Reply Quote 0
      • I
        IGA @IGA
        last edited by IGA

        After updating retroarch-setup script, i want to update retroarch own but it's said that i've running latest binary...
        Anyway ingame it showed as 1.9.7 -PCSX_Rearmed (r22 b715d67)

        I S 2 Replies Last reply Reply Quote 0
        • I
          IGA @IGA
          last edited by

          Maybe slowdowns depend from crt connection? (dtoverlay=vc4-fkms-v3d)
          Just in case, there is my pi config fragment:

           Additional overlays and parameters are documented /boot/overlays/README
          
          # Enable audio (loads snd_bcm2835)
          dtparam=audio=on
          
          [pi4]
          # Enable DRM VC4 V3D driver on top of the dispmanx display stack
          dtoverlay=vc4-fkms-v3d
          max_framebuffers=2
          
          [all]
          #dtoverlay=vc4-fkms-v3d
          #overscan_scale=1
          
          enable_tvout=1
          sdtv_mode=16
          sdtv_aspect=1
          audio_pwm_mode=2
          overscan_left=55
          overscan_right=8
          
          mituM 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @IGA
            last edited by

            thanks!

            [INFO] Threaded video stats: Frames pushed: 35906, Frames dropped: 128.
            

            again, not dropped frames, so it looks like it's an emulation issue. it could be fixed potentially INCREASING the cpu clock, but you'd want to make that a per-rom change. i would just update and try duckstation as per my link, which is a better emulator for pi4.

            I 1 Reply Last reply Reply Quote 0
            • S
              sleve_mcdichael @IGA
              last edited by sleve_mcdichael

              @iga said in not full speed at some psx games on Rb pi4:

              I wanted update retroarch, but it's said that i've running latest binary

              It sounds like you might still be running under Raspbian Stretch instead of the newer Raspbian Buster*. I don't think you can upgrade in-place, I think you need to flash your card with the new image. You can back up your roms, configs, and bios folders first, though, and then copy them back over to the new install.

              * You can check, by entering a terminal and using the command cat /etc/os-release. It should look something like:

              PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
              NAME="Raspbian GNU/Linux"
              VERSION_ID="10"
              VERSION="10 (buster)"
              VERSION_CODENAME=buster
              ID=raspbian
              ID_LIKE=debian
              HOME_URL="http://www.raspbian.org/"
              SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
              BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
              
              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @IGA
                last edited by

                @iga said in not full speed at some psx games on Rb pi4:

                Maybe slowdowns depend from crt connection? (dtoverlay=vc4-fkms-v3d)

                You mean from enable_tvout=1 ?

                It sounds like you might still be running under Raspbian Stretch instead of the newer Raspbian Buster

                Raspbian Stretch would not work on the Pi4, you'd need Buster for it to work. More likely RetroPie-Setup is not updated (still at 4.7.1) - lr-duckstation will not be available at that version.

                @IGA update your RetroPie-Setup script first before trying to install lr-duckstation and updating RetroArch.

                I 2 Replies Last reply Reply Quote 1
                • I
                  IGA @dankcushions
                  last edited by

                  @dankcushions Ok, I've install Duckstation, but where in this core options i could find showing external fps?

                  1 Reply Last reply Reply Quote 0
                  • I
                    IGA @mitu
                    last edited by

                    @mitu Build date: Sep 3 2021
                    Git version: 8373ac6
                    Compiler: GCC (8.3.0) 32-bit

                    1.9.7

                    • current?
                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @IGA
                      last edited by

                      @iga said in not full speed at some psx games on Rb pi4:

                      1.9.7

                      Yes, this is the version of RetroArch that's currently available in RetroPie.

                      1 Reply Last reply Reply Quote 0
                      • I
                        IGA @mitu
                        last edited by IGA

                        @mitu said in not full speed at some psx games on Rb pi4:

                        You mean from enable_tvout=1 ?

                        Yup, i've read it about there link text

                        "By default the composite output on the Pi 4 is disabled because it slows the system down. You need to add this to config.txt"

                        and [there]https://www.raspberrypi.org/forums/viewtopic.php?t=283639)

                        enable_tvout limits the core clock to 432 (from default of 500) as the vec hardware needs 108MHz and shares a PLL channel.
                        Generally that has minimal effect on arm code, but does have some effect on analogue audio (whose sigma-delta resampling runs off the core clock).
                        You could try replacing sigma-delta resampling with a more basic form with audio_pwm_mode=1
                        Or you could try overclocking. This isn't something I've tried, so no guarantees (and backing up first is advisable). But this would be my guess.
                        Code: Select all
                        core_freq=540
                        over_voltage=2

                        • or is this nonsense?
                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @IGA
                          last edited by

                          @iga Given the advice comes from an RPT engineer, I don't think it's nonsense. You could try using audio_pwm_mode=1to see if you get any improvements (without any overclocking).

                          sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                          • sirhenrythe5thS
                            sirhenrythe5th @mitu
                            last edited by sirhenrythe5th

                            Is there any chance that the tv-out mode will ever be improved on the Pi4?
                            Just that i unverstand it: is there no way at all because the hardware not able to support CRT better?

                            -- Retro-Achievements Username: SirALX --
                            RetroRatio: 1.88
                            Started Games beaten: 2,47%
                            Site Rank: 4382/93743 ranked users (TOP 4.76%)
                            Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

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

                              @sirhenrythe5th As far as the original design regarding the clock frequency downclocking with enable_tvout, I don't think it will/can be changed.

                              Otherwise, the analog video output is still being worked on - originally it wasn't even working with the new (pure) KMS driver, now it is working.

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

                                in this case you can see from the logs that no significant slowdowns are caused, so it’s not relevant. it’s an emulation accuracy issue.

                                1 Reply Last reply Reply Quote 1
                                • I
                                  IGA @mitu
                                  last edited by IGA

                                  @mitu said in not full speed at some psx games on Rb pi4:

                                  originally it wasn't even working with the new (pure) KMS driver, now it is working.

                                  aaaaaammmm... What did you mean?
                                  Raspberry4 still boot only with vc4-fkms-v3d parameter to work with analog output, if stay dtoverlay=vc4-kms-v3d-pi4 it would not work with composite output

                                  • or it's different things?
                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    IGA @IGA
                                    last edited by IGA

                                    just for an example....

                                    Same game running from Batocera ( same core) on Rb pi3 by hdmi

                                    So is the deal in a bad hardware or bad software?)

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

                                      @iga i can't tell you how batocera is configured for the core, RA, what version they're using, and so on. for example, they could resolve such issues perhaps with a different emulated CPU clock which i already told you about. but for me it's all a waste of time when lr-duckstation is a better core that almost certainly emulates this correctly at default settings.

                                      I 1 Reply Last reply Reply Quote 0
                                      • I
                                        IGA @dankcushions
                                        last edited by IGA

                                        @dankcushions Ok, i just wanted to know explanation

                                        But anyway, about better core that almost certainly emulates this correctly - how could i know - is it almost certainly correctly or not? if i even culd not see correct fps...

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

                                          @iga said in not full speed at some psx games on Rb pi4:

                                          @dankcushions Ok, i just wanted to know explanation

                                          But anyway, about better core that almost certainly emulates this correctly - how could i know - is it almost certainly correctly or not? if i even culd not see correct fps...

                                          you can either wait for the standalone duckstation core to be added to retropie, which i may work on again at some point, or you can take my word for it. either way, if you need the internal frame rate displayed to know if it's happening or not then i would say it's not an important issue...

                                          I 1 Reply Last reply Reply Quote 0
                                          • I
                                            IGA @dankcushions
                                            last edited by IGA

                                            @dankcushions said in not full speed at some psx games on Rb pi4:

                                            you can either wait for the standalone duckstation core to be added to retropie, which i may work on again at some point, or you can take my word for it. either way, if you need the internal frame rate displayed to know if it's happening or not then i would say it's not an important issue...

                                            Well, it's so interesting and i will be waiting...
                                            In any case, thank you for answering

                                            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.