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



  • 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/


  • Global Moderator

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



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


  • Global Moderator

    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 ?



  • @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
    

  • Global Moderator

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



  • @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.


  • Global Moderator

    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 ?



  • @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
    
    

  • Global Moderator

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



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



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



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.