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

    Retroarch install from source failed

    Scheduled Pinned Locked Moved Help and Support
    rpi4installingretroarch
    12 Posts 2 Posters 680 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.
    • F
      Floppy
      last edited by

      Hi I am having issue installing retroarch on my rpi4. Below is the log for my installation. I assume it should be opengl library issue but I cannot seem to find a solution online.

      Pi Model or other hardware: rpi4b
      Power Supply used: 3A power supply
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.6.1
      Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used): existing OS
      USB Devices connected: Hard drive
      Controller used: NA
      Error messages received: Please refer to the log
      Log found in /dev/shm/runcommand.log (if relevant): NA
      Guide used: (Mention if you followed a guide) NA
      File: (File with issue - with FULL path) Please refer to the log
      Emulator: (Name of emulator - if applicable) NA
      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
      How to replicate the problem: NA

      Log location: https://paste.ubuntu.com/p/HXzcFZW5Wd/

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

        For the 4.6.1 you should have the binary installation available - why aren't you installing from binary ?

        F 1 Reply Last reply Reply Quote 0
        • F
          Floppy @mitu
          last edited by

          @mitu for retroarch it seems only source installation option is available

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

            for retroarch it seems only source installation option is available

            There is a binary installation available for Pi4.

            7f1919e2-7483-43dc-a636-7f34e52647d0-image.png

            What OS image did you use for installation ?

            F 1 Reply Last reply Reply Quote 0
            • F
              Floppy @mitu
              last edited by

              @mitu i am using stock raspbian

              Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
              
              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                Which version - the Lite or the Desktop version ? Did you do any re-configuration for the system ?

                F 1 Reply Last reply Reply Quote 0
                • F
                  Floppy @mitu
                  last edited by

                  @mitu i believe it was the lite version and i did not reconfigure any system settings. The source.list is also pointing to raspbian buster.

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

                    I think the reason your install doesn't work is because you modified your config.txt and removed the GL driver overlay - loaded by default and which is necessary for RetroPie to work on the Pi4 model.
                    Any reason you're not using the RetroPie image ?

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      Floppy @mitu
                      last edited by Floppy

                      @mitu Can you help check if my config.txt is wrongly configured?

                      The reason why I insist on installing on existing os is that I am using hard drive for os and I try not to flash the image as it means I need to overwrite the hard drive.

                      # 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
                      gpu_mem=256
                      
                      
                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @Floppy
                        last edited by

                        @Floppy No, it's not correct - you disabled the necessary overlay for the GL driver, which is unsupported on the Pi4.

                        F 2 Replies Last reply Reply Quote 0
                        • F
                          Floppy @mitu
                          last edited by

                          @mitu you mean i should uncomment #dtoverlay=vc4-fkms-v3d?

                          1 Reply Last reply Reply Quote 0
                          • F
                            Floppy @mitu
                            last edited by

                            @mitu nvm, I shall just reflash the retropie pre-built image.

                            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.