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

    Raspberry Pi 5 - official announcement

    Scheduled Pinned Locked Moved General Discussion and Gaming
    rpi5raspberry pi 5
    599 Posts 67 Posters 485.3k 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.
    • windgW
      windg @mbrennock
      last edited by

      @mbrennock If you like to test RetroPie with Pi5 you have to do a a manual install on top of Bookworm Lite : https://retropie.org.uk/docs/Manual-Installation/ . Then you can report here the issues or in the github page, and if you have the knowledge to help developers to fix them.

      My English isn't at a good level.

      M 1 Reply Last reply Reply Quote 3
      • P
        pi5gamer
        last edited by

        Will the 64-bit bookworm lite work with the Dev version of retropie if I install it via ssh

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

          @pi5gamer said in Raspberry Pi 5 - official announcement:

          Will the 64-bit bookworm lite work with the Dev version of retropie if I install it via ssh

          Yes. But there's no 'dev' version of RetroPie, just the regular one. Read on the rest of the topic to see what configuration are needed on the Pi5.

          NOTE: Support for the Pi5 is a work in progress, so some things will not work or be broken - don't expect them to be fixed immediately. Also, unless you have Linux or some prior RetroPie experience, I'd recommend to wait until something stable/more polished comes up.

          P 1 Reply Last reply Reply Quote 0
          • P
            pi5gamer @mitu
            last edited by pi5gamer

            @mitu

            Can I download Retropie 4.8 image for the pi 4 from the GitHub and use that and also emulation station keeps on crashing when I load it up and I think its because of the amount of ram available to my GPU how do I fix this.

            Thanks in Advance for your help

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

              @pi5gamer No, that won't work. The Pi5 needs a newer OS and kernel/firmware which are not included in our images (Pi4 or not).

              You need to install the latest RasPi OS Lite (bookworm) first and then install RetroPie manually on-top of it. As I said, if you're not familiar with Linux and haven't worked with RetroPie before, then it's better to wait for an actual release.

              1 Reply Last reply Reply Quote 0
              • M
                moio
                last edited by

                The only minor issue I encountered (manual install on top of Lite) is an error installing Kodi from packages:

                Sorry, but kodi is not installable for your OS/Platform via RetroPie-Setup
                

                apt install kodi worked.

                Should I open a GitHub issue?

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

                  @moio said in Raspberry Pi 5 - official announcement:

                  Should I open a GitHub issue?

                  No, it's a known issue with kodi and RaspiOS Bookworm. Has been reported to the RaspiOS folks. Also, Pi5/Bookwom support is preliminary, so there's no use to open issues for it.

                  1 Reply Last reply Reply Quote 0
                  • retropieuser555R
                    retropieuser555
                    last edited by retropieuser555

                    Has anyone seen a query on raspberry pi forums, bookworm or dolphin GitHub why you can load Dolphin, AetherSX2 via GUI but not while in terminal/CLI and you get that QT5 error above?

                    It seems odd and I'm not quite sure where the issue is, as it occurs on Ubuntu 23.10 & raspberry Pi OS Bookworm. So it doesn't seem a problem specific to the OS? Or it's purely hardware (pi or arm64) specific? As it seems to occur on pi4 using bookworm as well

                    edit: managed to get it almost load turning on X11 and using startx

                    Pi 5 4GB

                    Retroflag GPI with raspberry pi zero 2 w/ wifi

                    Retroachievements:- lovelessrapture

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

                      Without have the knowledge, maybe the package for qt5 or qt6 is missing (qtbase5-dev). I haven't check this emulators yet, so the above is just a guess .

                      My English isn't at a good level.

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

                        @retropieuser555 said in Raspberry Pi 5 - official announcement:

                        Has anyone seen a query on raspberry pi forums, bookworm or dolphin GitHub why you can load Dolphin, AetherSX2 via GUI but not while in terminal/CLI and you get that QT5 error above?

                        Because they need a desktop env to run ? Not all application can run outside a desktop environment (dolphin for sure does not).

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

                          It's look similar then with the duckstation standalone when the dev droped the no-gui option.

                          My English isn't at a good level.

                          1 Reply Last reply Reply Quote 0
                          • retropieuser555R
                            retropieuser555
                            last edited by

                            Okay I've got it figured out,

                            startx /opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e /home/pi/RetroPie/roms/<rom name>
                            

                            This works happily from Terminal/CLI. It doesn't need a desktop environment, just a window to be opened (and x org installed etc). I also fixed the tiny window issue by using this fix below, which you'd need to use for your particular display and then rebuild dolphin, I've only tested it on a 1080p display though.

                            https://forums.dolphin-emu.org/Thread-small-fullscreen-on-linux

                            So now adding startx to the emulators.cfg won't work as startx in the runcommand.sh will always turn that into xinit, but xinit doesn't work from the command line for me.

                            Anyone had any success getting xinit to run from command line? If we can get that working this will load fine, I'm already playing with genuine wiimotes using my dolphinbar, which is all kinds of awesome on a Pi 5 RetroPie setup.

                            Pi 5 4GB

                            Retroflag GPI with raspberry pi zero 2 w/ wifi

                            Retroachievements:- lovelessrapture

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

                              @retropieuser555 said in Raspberry Pi 5 - official announcement:

                              Anyone had any success getting xinit to run from command line? If we can get that working this will load fine, I'm already playing with genuine wiimotes using my dolphinbar, which is all kinds of awesome on a Pi 5 RetroPie setup.

                              Yes, but I had to remove xorg-server-legacy xserver-xorg-legacy first, seems that on Bullseye is buggy and prevents xinit from properly starting.

                              retropieuser555R 1 Reply Last reply Reply Quote 1
                              • windgW
                                windg
                                last edited by

                                It's not better to try with wayland instead of xorg ?

                                My English isn't at a good level.

                                mituM 1 Reply Last reply Reply Quote 0
                                • retropieuser555R
                                  retropieuser555 @mitu
                                  last edited by retropieuser555

                                  @mitu So apparently I don't have that installed so that's not the issue, I'll put up a proper error log in a bit:-

                                  pi@raspberrypi:~ $ sudo apt remove xserver-xorg-legacy
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  Package 'xserver-xorg-legacy' is not installed, so not removed
                                  The following packages were automatically installed and are no longer required:
                                    libdecor-0-0 libdecor-0-dev libdecor-0-plugin-1-cairo libpisp0.0.1
                                    libwayland-bin libwayland-dev
                                  Use 'sudo apt autoremove' to remove them.
                                  0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
                                  

                                  Xinit error log: https://pastebin.com/Yr9BcCuT

                                  I think the problem is here:-

                                  Fatal server error:
                                  [  9540.595] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
                                  

                                  Pi 5 4GB

                                  Retroflag GPI with raspberry pi zero 2 w/ wifi

                                  Retroachievements:- lovelessrapture

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

                                    @windg said in Raspberry Pi 5 - official announcement:

                                    It's not better to try with wayland instead of xorg ?

                                    For Wayland there's no similar mechanism in RetroPie like XINIT to instruct runcommand to start the emulator in an Xorg sesion. For Dolphin in particular, there's no native Wayland support so it would run under XWayland and use the x11 API anyway, so there's no benefit in running it under Wayland.

                                    1 Reply Last reply Reply Quote 2
                                    • mituM
                                      mitu Global Moderator @retropieuser555
                                      last edited by

                                      @retropieuser555 without knowing the command that started this, the error log is not much help. Regardless, I'll add at some point support for dolphin to be run directly from EmulationStation, you can wait until then to test again.

                                      retropieuser555R 1 Reply Last reply Reply Quote 1
                                      • retropieuser555R
                                        retropieuser555 @mitu
                                        last edited by

                                        @mitu Ah sorry,

                                        Here's the command:-

                                        xinit /opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e "/home/pi/RetroPie/roms/gc/AC.rvz"
                                        

                                        Must be a permissions issue, I just ran it with sudo and it worked fine.

                                        Pi 5 4GB

                                        Retroflag GPI with raspberry pi zero 2 w/ wifi

                                        Retroachievements:- lovelessrapture

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

                                          Just prefix the emulators.cfg entry with XINIT: and it should work:

                                          dolphin-x11-vk = "XINIT:/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -v vulkan --config Dolphin.Display.Fullscreen=True -b -e %ROM%"
                                          dolphin-x11 = "XINIT:/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui --config Dolphin.Display.Fullscreen=True -b -e %ROM%"
                                          

                                          EDIT: make sure you also have installed the matchbox-window-manager package.

                                          retropieuser555R 1 Reply Last reply Reply Quote 2
                                          • retropieuser555R
                                            retropieuser555 @mitu
                                            last edited by

                                            @mitu Wow, you're right, wonder why me doing it different it didn't want to work for me, very strange.

                                            Btw the -b batch option gave me an error (I think it's for the Dolphin-gui only) so I just removed it and it plays fine, that's awesome thank you

                                            Pi 5 4GB

                                            Retroflag GPI with raspberry pi zero 2 w/ wifi

                                            Retroachievements:- lovelessrapture

                                            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.