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

    Manual source installation fails in Pi4 & No binary install available

    Scheduled Pinned Locked Moved Help and Support
    raspbian busterinstall errorbinary installmanual installpi4 b
    20 Posts 3 Posters 2.0k 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.
    • Z
      zranx @mitu
      last edited by

      Here it is:

      pi@raspberrypi:~ $ cat /boot/config.txt
      # For more options and information see
      # http://rpf.io/configtxt
      # Some settings may impact device functionality. See link above for details
      
      # uncomment if you get no picture on HDMI for a default "safe" mode
      #hdmi_safe=1
      
      # uncomment this if your display has a black border of unused pixels visible
      # and your display can output without overscan
      #disable_overscan=1
      
      # uncomment the following to adjust overscan. Use positive numbers if console
      # goes off screen, and negative if there is too much border
      #overscan_left=16
      #overscan_right=16
      #overscan_top=16
      #overscan_bottom=16
      
      # uncomment to force a console size. By default it will be display's size minus
      # overscan.
      #framebuffer_width=1280
      #framebuffer_height=720
      
      # uncomment if hdmi display is not detected and composite is being output
      #hdmi_force_hotplug=1
      
      # uncomment to force a specific HDMI mode (this will force VGA)
      #hdmi_group=1
      #hdmi_mode=1
      
      # uncomment to force a HDMI mode rather than DVI. This can make audio work in
      # DMT (computer monitor) modes
      #hdmi_drive=2
      
      # uncomment to increase signal to HDMI, if you have interference, blanking, or
      # no display
      #config_hdmi_boost=4
      
      # uncomment for composite PAL
      #sdtv_mode=2
      
      #uncomment to overclock the arm. 700 MHz is the default.
      #arm_freq=800
      
      # Uncomment some or all of these to enable the optional hardware interfaces
      #dtparam=i2c_arm=on
      #dtparam=i2s=on
      #dtparam=spi=on
      
      # Uncomment this to enable infrared communication.
      #dtoverlay=gpio-ir,gpio_pin=17
      #dtoverlay=gpio-ir-tx,gpio_pin=18
      
      # 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
      dtoverlay=dwc2,dr_mode=host
      
      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @zranx
        last edited by

        ...
        [pi4]
        # Enable DRM VC4 V3D driver on top of the dispmanx display stack
        dtoverlay=vc4-fkms-v3d
        max_framebuffers=2
        ...
        

        This looks correct. With this config you don't have the option of a binary install ?

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zranx @mitu
          last edited by

          This is what I see when I launch the setup script:
          9b1668e7-9d49-4660-843a-06ba6cdab73f-image.png

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

            @zranx That's normal, the binary update option is not shown on the start-up screen. You can check on an individual package screen to see if a binary update/install is available.

            Note : if a package is already installed from source, updating it will try to use the same method (vs. updating from binary if a binary update is available).

            Z 1 Reply Last reply Reply Quote 0
            • Z
              zranx @mitu
              last edited by zranx

              Binaries are displayed as installed when checking core and main packages, thanks for the clarification.

              Will a "Basic Install", install binaries by default on the rpi4? So if I see compilation messages, there would be something wrong?

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

                @zranx said in Manual source installation fails in Pi4 & No binary install available:

                Will a "Basic Install", install binaries by default on the rpi4? So if I see compilation messages, there would be something wrong?

                Some packages don't have a binary install since it's not needed (i.e. runcommand or packages that are just a couple of scripts), but most of the packages should install from binary with a basic install - including RetroArch, EmulationStation and all emulators.

                T 1 Reply Last reply Reply Quote 0
                • T
                  tavuntu @mitu
                  last edited by

                  @mitu I haven't tried compiling from Source but I'm seeing the same issue about not having the binary install available in the last RetroPie setup (tried yesterday). I know some don't have the binary install because they don't need it, but none of the lr-xxxx emulators have it now... and they should, this is weird.

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

                    @tavuntu Did you modify the config.txt as the original poster ? Then you won't have the binary install option, since running without the kms drivers is not supported.

                    Z T 2 Replies Last reply Reply Quote 0
                    • Z
                      zranx @mitu
                      last edited by

                      The first time this happened to me I had not disabled the kms drivers. I only disabled them when everything started failing and I was never able to fix it again (had to roll back to a backup).

                      1 Reply Last reply Reply Quote 0
                      • T
                        tavuntu @mitu
                        last edited by tavuntu

                        @mitu Sorry for the long time. The issue about no having the binaries available seems to be caused by me.. for not using a supported OS (I'm using DietPi). If you have a minute, plese look at this and this for context. I have successfully installed retroarch in DietPi, but I'm still unable to tweak it enough to make the binaries available. I still have a lot to learn about shell and retropie/retroarch in general.

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

                          @tavuntu said in Manual source installation fails in Pi4 & No binary install available:

                          If you have a minute, plese look at this and this for context.

                          You already had an answer on the Github issue, not sure what else can be added. Even if installation would work, there's no guarantee the binaries would work on a different system/distro, since they're only tested on RaspiOS.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tavuntu @mitu
                            last edited by tavuntu

                            @mitu I just saw the other answer in there, I'll try changing those flags and see what happens, thanks!

                            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.