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

    Emulations slow Pi Zero 2

    Scheduled Pinned Locked Moved Help and Support
    retropie slow
    6 Posts 2 Posters 659 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
      mash.m
      last edited by

      Hi,

      i just finished my Switch Lite Retropie build.

      Pi Model or other hardware: Raspberry Pi Zero 2 W
      Power Supply used: Boost from Lion Battery (capable of delivering 2A)
      RetroPie Version Used 4.8 Pre-build
      USB Devices connected: Teensy as input device
      Display: 5.5" OLED 1080x1920#

      96c9f412-83ec-4600-96bd-670336604371-image.png

      The display resolution is 1080 x 1920 not the opposite. i configured in the config.txt:

      max_framebuffer_height=1920
      hdmi_group=2
      hdmi_force_hotplug=1
      hdmi_mode=87
      hdmi_timings=1080 1 100 40 90 1920 1 8 2 4 0 0 0 60 0 152000000 3
      display_rotate=1
      #dtoverlay=vc4-fkms-v3d
      

      As you can see it is running fine. But Amiberry is running very slow with at least 5fps. Top shows:

      7eebad38-f03c-4dfa-a4a2-c8621fcf8fdc-image.png

      while running a game demo.

      My guess is that the Pi Zero is not capable to render 1080x1920 via gpu. at this moment it is difficult to connect an other display with a lower resolution to check. this will be my last option. But do you have any hints?
      PS1 Emu runs better, but not smooth. SNES is ok, but i can see some screen tearing.

      i would like to give the D3 option (pixel doubling) a chance, but i can not activate it in raspi-config cause of missing screen dimensions.

      Markus

      M YFZdudeY 2 Replies Last reply Reply Quote 0
      • M
        mash.m @mash.m
        last edited by

        Amiberry Display config:

        c7d742d4-7b17-429e-b4b1-f73c38736460-image.png

        1 Reply Last reply Reply Quote 0
        • YFZdudeY
          YFZdude @mash.m
          last edited by YFZdude

          @mash-m said in Emulations slow Pi Zero 2:

          The display resolution is 1080 x 1920 not the opposite. i configured in the config.txt:

          max_framebuffer_height=1920
          
          display_rotate=1
          

          ?!?
          Wouldn't it be 1920x1080 if you changed the option to read display_rotate=0?

          hdmi_mode=87

          This mode is listed as 2560x720 @ 25Hz on the raspberry documentation. I think you would want hdmi_mode=82 for 1920x1080 resolution.

          Also it looks like the documentation mentions hdmi timings as such:

          hdmi_timings

          This allows setting of raw HDMI timing values for a custom mode, selected using hdmi_group=2 and hdmi_mode=87.

          If you don't use mode 87, then your config line with all those custom timing settings shouldn't be active/necessary

          https://www.raspberrypi.com/documentation/computers/config_txt.html
          .

          M 1 Reply Last reply Reply Quote 0
          • M
            mash.m @YFZdude
            last edited by mash.m

            @YFZdude

            No, pixel orientation is 1080 x 1920, custom timing is needet:

            https://de.aliexpress.com/item/1005004285318699.html?spm=a2g0o.order_list.0.0.642c5c5fBesper&gatewayAdapt=glo2deu

            HDMI Mode 87 on Group 2 is for custom timing.

            Mode 87 on group 1 is

            87

            2560x720

            25Hz

            64:27

            Pi 4

            YFZdudeY 1 Reply Last reply Reply Quote 0
            • YFZdudeY
              YFZdude @mash.m
              last edited by

              @mash-m
              Ok yeah I mixed up the CEA and DMT tables a bit there.

              1 Reply Last reply Reply Quote 0
              • M
                mash.m
                last edited by

                Hi,

                screen tearing is almost gone with some extra buffer in config.txt

                extra_transponse_buffer=2

                What i found is that this extra buffer will help while dispaly rotating.

                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.