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

    RPI 4 Elecrow 5 inch screen error (help)

    Scheduled Pinned Locked Moved Help and Support
    elecrow5 inch screentouchscreen
    12 Posts 2 Posters 847 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
      Fingerprint
      last edited by

      Nope, that still didnt work. I'm getting the same error "*failed to add service - already in use?"
      Here's the configuration settings in 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
      gpu_mem_256=128
      gpu_mem_512=256
      gpu_mem_1024=256
      overscan_scale=1
      
      # --- added by elecrow-pitft-setup ---
      hdmi_force_hotplug=1
      max_usb_current=1
      hdmi_drive=1
      hdmi_group=2
      hdmi_mode=1
      hdmi_mode=87
      hdmi_cvt 800 480 60 6 0 0 0
      dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,-
      speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,
      ymin=200,ymax=3900
      display_rotate=0
      # --- end elecrow-pitft-setup ---
      
      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Then start with the default RetroPie Pi4 image and add again the lines neded by the display, omitting the advice from their document about the dtoverlay = vc4-fkms-v3d.

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

          @mitu
          Uh Nope that didnt work.
          In fact a rewrote the image after properly erasing everything, and launching it for the first time still showed that error.
          i didnt edit anything at all.
          It didnt do that before.
          What can i do now?

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

            Can you post the current config.txt ? The previous one had some obvious errors (hdmi_cvt is a command, the dtoverlay=ads784... should be just one line and not several). If it's the same as before, there's no need to post again.

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

              @mitu

              # 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=128
              #gpu_mem_512=256
              #gpu_mem_1024=256
              overscan_scale=1
              gpu_mem=128
              
              

              it was working before. I dont know why its having an issue now

              could it be something with the SD card causing an error?

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

                @Fingerprint said in RPI 4 Elecrow 5 inch screen error (help):

                could it be something with the SD card causing an error?

                I doubt it. The resolution you added is not correct. hdmi_group=1 and hdmi_mode=1 is CEA (TV) at 640x480.

                You'll need a custom HDMI mode, since the resolution is non standard: Try something like:

                hdmi_group=2
                hdmi_mode=87
                hdmi_ignore_edid=0xa5000080
                hdmi_cvt=800 480 60 6 0 0 0
                
                F 1 Reply Last reply Reply Quote 0
                • F
                  Fingerprint @mitu
                  last edited by Fingerprint

                  @mitu
                  Nope. Still didnt work. The resolution does display correctly, but it still gives me the error. this is frustrating.
                  Here's the current config file

                  # 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 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=128
                  #gpu_mem_512=256
                  #gpu_mem_1024=256
                  overscan_scale=1
                  gpu_mem=128
                  
                  # custom hdmi mode
                  hdmi_group=2
                  hdmi_mode=87
                  hdmi_ignore_edid=0xa5000080
                  hdmi_cvt=800 480 60 6 0 0 0
                  # custom hdmi mode end
                  # 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=128
                  #gpu_mem_512=256
                  #gpu_mem_1024=256
                  overscan_scale=1
                  gpu_mem=128
                  
                  # custom hdmi mode
                  hdmi_group=2
                  hdmi_mode=87
                  hdmi_ignore_edid=0xa5000080
                  hdmi_cvt=800 480 60 6 0 0 0
                  # custom hdmi mode end
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by mitu

                    Are you sure you're using the Pi4 image ? The error message

                    *failed to add service - already in use?

                    it's displayed by the old RPI GPU drivers, which are used by the Pi3 and below, but are not supported or used by the Pi4.

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

                      @mitu
                      I mean when I downloaded the image from this site it said the file was Retropie 4.8
                      I'll redownload the image again.

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

                        @Fingerprint
                        Downloading a new image worked! for now.
                        Everything seems to be working, i'll refer back to this forum if i need anymore help. 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.