• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

A scriptmodule check for Bookworm and Pi5 install

Scheduled Pinned Locked Moved Help and Support
bookwormpi5script module
8 Posts 4 Posters 874 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.
  • D
    DirtBagXon
    last edited by 10 Nov 2023, 23:13

    Apologies guys, I haven't been around here for a while.

    I know there are functions in the scriptmodules for isPlatform() etc.

    But is there one that I could use to check if I'm on a Pi5 and Bookworm is installed to make a decision on whether to install an extra package ?

    Or point me to a post.

    Wayland related stuff.

    Thx
    DBX

    Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
    Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
    Hypseus Discord: https://discord.gg/dgCsCfmRfJ

    M 1 Reply Last reply 11 Nov 2023, 03:57 Reply Quote 0
    • D
      DirtBagXon
      last edited by DirtBagXon 11 Oct 2023, 23:46 10 Nov 2023, 23:41

      Ok, think I have found what I was looking for:

      if (isPlatform "rpi5")  && [[ "$__os_debian_ver" -ge 12 ]]; then
      

      Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
      Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
      Hypseus Discord: https://discord.gg/dgCsCfmRfJ

      1 Reply Last reply Reply Quote 0
      • M
        mitu Global Moderator @DirtBagXon
        last edited by mitu 11 Nov 2023, 04:02 11 Nov 2023, 03:57

        @DirtBagXon said in A scriptmodule check for Bookworm and Pi5 install:

        Wayland related stuff.

        You already found the answer (isPlatform "rpi5"), but why would you need wayland related libraries ? RetroPie doesn't use a desktop/compositor to run emulators on a Pi.

        W 1 Reply Last reply 11 Nov 2023, 10:34 Reply Quote 0
        • W
          Widge @mitu
          last edited by 11 Nov 2023, 10:34

          We discovered that Supermodel wouldn't work on a Pi5 running Bookworm Lite unless a certain package was installed.

          R 1 Reply Last reply 11 Nov 2023, 12:29 Reply Quote 1
          • D
            DirtBagXon
            last edited by DirtBagXon 11 Nov 2023, 11:46 11 Nov 2023, 10:54

            It turns out it is more a VC4/V3D change for X11 config.

            But the check is still relevant for our requirements and (hopefully) fixes the SuperModel3 port when we are in that hardware/OS environment. There is a Pi Bookworm repo packages that seems to do exactly what is required, so was foreseen.

            Edit: In reality this should be a Bookworm addition across all the Pi range for that emulator, but early days + only Pi4 and above will run it.....

            Thanks for the reply @mitu and @Widge

            Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
            Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
            Hypseus Discord: https://discord.gg/dgCsCfmRfJ

            1 Reply Last reply Reply Quote 1
            • R
              retropieuser555 @Widge
              last edited by 11 Nov 2023, 12:29

              @Widge what was the dependant/package that's needed? Not sure if it's the same but I found supermodel 3 would compile and build but not load

              Pi 5 4GB

              Retroflag GPI with raspberry pi zero 2 w/ wifi

              Retroachievements:- lovelessrapture

              W 1 Reply Last reply 11 Nov 2023, 13:46 Reply Quote 0
              • W
                Widge @retropieuser555
                last edited by 11 Nov 2023, 13:46

                @retropieuser555 that's exactly the problem. Try sudo apt install gldriver-test then try launching Supermodel again.
                That package can then be removed afterwards if you want, it seems to make a permanent change somewhere that allows supermodel to run.
                This problem didn't occur in the full desktop version of bookworm where that package is already included. Only in Lite where the package is absent.

                1 Reply Last reply Reply Quote 1
                • D
                  DirtBagXon
                  last edited by 11 Nov 2023, 15:23

                  For those interested:

                  https://github.com/DirtBagXon/model3emu-code-sinden/commit/168606b2c0d8139be84ab6efc1f2d2d2b0b2b198

                  Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                  Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                  Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                  1 Reply Last reply Reply Quote 0
                  3 out of 8
                  • First post
                    3/8
                    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.

                    This community forum collects and processes your personal information.
                    consent.not_received