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

    Amiberry 3.3 / RPi 4 slow

    Scheduled Pinned Locked Moved Help and Support
    amiberryraspberry pi 4slow gameschoppy audio
    64 Posts 9 Posters 10.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.
    • mituM
      mitu Global Moderator @gordonfreemanjr
      last edited by

      @gordonfreemanjr said in Amiberry 3.3 / RPi 4 slow:

      Game Mode
      640x480 / 60p

      This seems right, similar to your screenshot. Why ES doesn't show up, that I cannot explain - didn't found this situation before.

      G 1 Reply Last reply Reply Quote 0
      • G
        gordonfreemanjr @mitu
        last edited by gordonfreemanjr

        @mitu Still, when the Pi is blackscreened at the start up, that is when the ES doesn’t show up, the F4 key works and brings the terminal up. As far as I’m concerned, this the expected behaviour when quitting the ES.

        It’s almost like the ES was booting after all, just hiding behind the black screen for some reason.

        RPi 4 4GB
        Retropie v 4.7.1

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

          @gordonfreemanjr i don't know why it would make a difference, but could you try with the default theme? and/or updating emulationstation to latest master (update from source)?

          G 2 Replies Last reply Reply Quote 0
          • G
            gordonfreemanjr @dankcushions
            last edited by

            @dankcushions I like this suggestion. I’ll try that later today and get back to you. Thanks!

            RPi 4 4GB
            Retropie v 4.7.1

            1 Reply Last reply Reply Quote 0
            • G
              gordonfreemanjr @dankcushions
              last edited by

              @dankcushions Both methods have failed. Same situation: black screen on startup, even with the preset theme and the ES script updated from source.

              RPi 4 4GB
              Retropie v 4.7.1

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

                @gordonfreemanjr One last idea (filtering out 4k modes at the source) - add to config.txt:

                [hdmi:0]
                hdmi_max_pixel_freq=200000000
                [hdmi:1]
                hdmi_max_pixel_freq=200000000
                

                Remove the hdmi_safe option and comment out the hdmi_group/hdmi_mode options (if still enabled).

                G 1 Reply Last reply Reply Quote 1
                • G
                  gordonfreemanjr @mitu
                  last edited by

                  @mitu Ok, so the „safe”, „mode” and „group” options are now commented out, and the „pixel freq” options are on.

                  The ES boots fine. The HOME button on my Smart TV remote displays the following info:

                  3840x2160 / 30p
                  UHD

                  RPi 4 4GB
                  Retropie v 4.7.1

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

                    @gordonfreemanjr said in Amiberry 3.3 / RPi 4 slow:

                    3840x2160 / 30p
                    UHD

                    Based on the information above, I guess the 4k video modes aren't filtered. Can you post the config.txt with the latest modifications ?

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gordonfreemanjr @mitu
                      last edited by gordonfreemanjr

                      @mitu Sure. Here:
                      https://pastebin.com/t9RYrdNn

                      Also, some screenshots:
                      https://ibb.co/rFKRj99
                      https://ibb.co/SPjw72F

                      RPi 4 4GB
                      Retropie v 4.7.1

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

                        @gordonfreemanjr The config looks ok. The only think that's a bit different than the stock config is enable_uart(added by a shutdown script maybe ?), but that shouldn't affect the video resolution stuff.

                        G C 2 Replies Last reply Reply Quote 0
                        • G
                          gordonfreemanjr @mitu
                          last edited by gordonfreemanjr

                          @mitu I just called Samsung and they confirmed that upscaling the resolution is what a Smart TV does and there’s no internal setting to change it.

                          ...

                          Still, when I connect the Pi via HDMI, the TV asks me what kind of equipment it is. I usually pick Game Console. Maybe I should ID the Pi as something else to avoid the upscaling? A decoder? A toaster?

                          At the same time I find it weird that I’m the first RPi4/Smart TV user to encounter an error like this one.

                          RPi 4 4GB
                          Retropie v 4.7.1

                          quicksilverQ 1 Reply Last reply Reply Quote 0
                          • C
                            Cna @mitu
                            last edited by Cna

                            @mitu I know nothing about Rpi4 but i encoutered real slowdowns on Rpi3 with enable_uart=1 which set core_freq to 250Mhz instead of 400Mhz on Pi3.
                            You may give a try on removing this.

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

                              @cna that setting doesn't seem to affect the gpu core frequency on the pi 4 the way it does on previous pi models. With it on I still get 500mhz frequency for the core clock.

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

                                @gordonfreemanjr said in Amiberry 3.3 / RPi 4 slow:

                                I just called Samsung and they confirmed that upscaling the resolution is what a Smart TV does and there’s no internal setting to change it.

                                That's not exactly true. When using hdmi_safe, it reported the resolution correctly (640x480).

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

                                  @gordonfreemanjr the solution @mitu suggested to limit the maximum resolution doesnt work by itself on my vizio tv either for some reason (it should work but I have learned my vizio has some weird quirks)

                                  What worked for me was also setting this in my config.txt

                                  hdmi_ignore_edid=0xa5000080
                                  
                                  G 2 Replies Last reply Reply Quote 1
                                  • G
                                    gordonfreemanjr @quicksilver
                                    last edited by

                                    @quicksilver Thx. Was that the only additional line or have you included the one @mitu proposed as well?

                                    RPi 4 4GB
                                    Retropie v 4.7.1

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

                                      @gordonfreemanjr That setting plus mitu's works for me.

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        gordonfreemanjr @quicksilver
                                        last edited by

                                        @quicksilver IT WORKS.

                                        This is the only combination of settings that did it for me. Both need to be active at the same time. Now, when I press the HOME remote button to inspect the resolution, it's 1080p / 60 - and it shows in the emulation speed. For the first time ever, Amiberry works at full speed.

                                        This is the gamechanger for me.

                                        @quicksilver @mitu Thank you both for your help. It's been a long topic and couple days, but this is it. It works.

                                        Thank you!

                                        So, to sum up. The final working combination to fix the resoution for the RPi4/Samsung Smart TV combo:

                                        [hdmi:0]
                                        hdmi_max_pixel_freq=200000000
                                        [hdmi:1]
                                        hdmi_max_pixel_freq=200000000
                                        hdmi_ignore_edid=0xa5000080
                                        

                                        RPi 4 4GB
                                        Retropie v 4.7.1

                                        mituM S 2 Replies Last reply Reply Quote 1
                                        • mituM
                                          mitu Global Moderator @gordonfreemanjr
                                          last edited by mitu

                                          @gordonfreemanjr Well, glad you sorted it out.

                                          I'm wondering if the TV's EDID is not broken and/or lying about the TV's capabilities. Can you get the EDID contents from the TV with

                                          tvservice -d myTV.edid
                                          base64 myTV.edid
                                          

                                          then post the output of the last command.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            gordonfreemanjr @mitu
                                            last edited by gordonfreemanjr

                                            @mitu Sure. If you don't mind, I'll just attach the .edid file itself. My Ubuntu is unable to open in correctly.
                                            https://we.tl/t-VITH1B471s

                                            That’s how it appears on the screen though:
                                            https://ibb.co/wKk2p4L

                                            RPi 4 4GB
                                            Retropie v 4.7.1

                                            mituM 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.