Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    recalbox not work well with DPI LCD on 4B

    Recalbox General
    recalbox dpi lcd
    9
    54
    10005
    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.
    • DRAgon734235
      DRAgon734235 @Zing last edited by

      @Zing

      dtoverlay=dpi18
      enable_dpi_lcd=1
      display_default_lcd=1
      #dpi_group=2
      dpi_mode=87
      dpi_output_format=0x7f216
      hdmi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 52000000 6
      

      this is my configuration at config.txt

      stay at recalbox logo not caused by “hdmi_drive=2”

      Zing 1 Reply Last reply Reply Quote 0
      • DRAgon734235
        DRAgon734235 @Zing last edited by

        @Zing

        if I use HDMI LCD . the same image with HDMI configuration will work well

        1 Reply Last reply Reply Quote 0
        • Zing
          Zing Global moderator Translator @DRAgon734235 last edited by

          @DRAgon734235 I just realized that you are referring to a DPI screen, and I was thinking it was a DVI screen, sorry for the mistake.

          I just realized that you are referring to a DPI screen, and I was thinking it was a DVI screen, sorry for the mistake.

          You need to read these tutorials:

          • https://recalbox.gitbook.io/documentation/tutorials/video/display-configuration/complete-guide-on-video-configuration

          • https://recalbox.gitbook.io/documentation/tutorials/video/tft/setting-up-your-small-tft-screen-on-the-dpi-bus

          • https://recalbox.gitbook.io/documentation/tutorials/video/display-configuration/adjusting-the-image-size-using-overscan

          Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
          If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

          DRAgon734235 2 Replies Last reply Reply Quote 0
          • DRAgon734235
            DRAgon734235 @Zing last edited by

            @Zing

            hello, thank for your replay, I think that three wenlink just work for 3B , Not 4B

            Now I am the 4B DPI problem, at 3B , the DPI LCD display well 。

            I have tried this weblink
            https://recalbox.gitbook.io/documentation/tutorials/video/tft/setting-up-your-small-tft-screen-on-the-spi-bus
            That just work for 3B , not work for 4B ,

            also tryed this
            https://recalbox.gitbook.io/documentation/tutorials/video/tft/second-minitft-for-scrapes-and-videos-ogst-case-raspeberry-pi-1-2-3-spi-dpi-small-tft-screens
            add the code

            system.secondminitft.enabled=1
            

            this code not have any effect

            ==================================================
            This is my problem, the DPI lcd work well at 3B , not work well at 4B
            your weblink for reference just for 3B not solve 4B problem

            1 Reply Last reply Reply Quote 0
            • ian57
              ian57 Staff last edited by

              @DRAgon734235 that's srtrange but it may comes from the Pi4 3D Accel. Try to comment out the 3D acceleration for pi4 to fall back in Pi3-like running.
              With Pi4 3D accel, only 180° rotation is allowed in framebuffer, 90 and 270 do not work

              You need to comment

              #dtoverlay=vc4-kms-v3d
              

              in /boot/config.txt
              After you should able to rotate the display as in your Pi3 config.

              "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

              DRAgon734235 1 Reply Last reply Reply Quote 0
              • DRAgon734235
                DRAgon734235 @Zing last edited by

                @Zing
                DPI LCD same configuration 3B work well

                But 4B just stay at this recalbox logo image
                alt text

                1 Reply Last reply Reply Quote 0
                • DRAgon734235
                  DRAgon734235 @ian57 last edited by

                  @ian57 said in recalbox not work well with DPI LCD on 4B:

                  #dtoverlay=vc4-kms-v3d

                  After comment
                  #dtoverlay=vc4-kms-v3d

                  Still stay at recalbox logo image

                  ian57 1 Reply Last reply Reply Quote 0
                  • ian57
                    ian57 Staff @DRAgon734235 last edited by ian57

                    @DRAgon734235 seems that Emulationstation does not like unaccelerated Pi4 config.

                    When I'll have some time will check on my geekworm dpi screen

                    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                    DRAgon734235 1 Reply Last reply Reply Quote 0
                    • DRAgon734235
                      DRAgon734235 @ian57 last edited by

                      @ian57 said in recalbox not work well with DPI LCD on 4B:

                      geekworm

                      OK ,

                      think you

                      1 Reply Last reply Reply Quote 0
                      • DRAgon734235
                        DRAgon734235 last edited by

                        @ian57 @Zing

                        have news ?

                        ian57 1 Reply Last reply Reply Quote 0
                        • ian57
                          ian57 Staff @DRAgon734235 last edited by

                          @DRAgon734235 Hi,

                          It works well... but no rotation 90/270° available from the firmware and the overlay... the fondation doc DOES NOT work!

                          perhaps a lead.. i read something about that the kernel 5.10 supports all rotation from the accelerated overlay... so we need to b*mp to test...

                          As a sum up ... All the screen are working with acceleration but no 90° 270° actually
                          only 180°

                          "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                          1 Reply Last reply Reply Quote 0
                          • DRAgon734235
                            DRAgon734235 last edited by

                            my 4b stay at this
                            alt text

                            Do you have any suggestion ? (Even in “rotate=0” )

                            1 Reply Last reply Reply Quote 0
                            • DRAgon734235
                              DRAgon734235 last edited by

                              @ian57
                              Do you have any suggestion ?

                              ian57 1 Reply Last reply Reply Quote 0
                              • ian57
                                ian57 Staff @DRAgon734235 last edited by

                                @DRAgon734235 hdmi or dpi ?
                                which screen ?

                                "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                                1 Reply Last reply Reply Quote 0
                                • DRAgon734235
                                  DRAgon734235 last edited by

                                  @ian57
                                  https://www.aliexpress.com/item/1005001659074233.html?spm=a2g0o.productlist.0.0.9cc286b4PDloaM&algo_pvid=05efcf4a-b64c-4624-b3b0-7450fe193177&algo_expid=05efcf4a-b64c-4624-b3b0-7450fe193177-13&btsid=0b86d81616125235002752171e1e1f&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

                                  Waveshare 2.8inch dpi LCD

                                  ian57 1 Reply Last reply Reply Quote 0
                                  • ian57
                                    ian57 Staff @DRAgon734235 last edited by

                                    @DRAgon734235 this screen has 480x640 resolution so you need to rotate it (90 or 270). Actually it seems not to be supported in frambuffer, only with xrandr in GUI. I saw this https://www.raspberrypi.org/documentation/configuration/cmdline-txt.md and tried it but it only works with 0-180° not with 90-270.

                                    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                                    1 Reply Last reply Reply Quote 0
                                    • DRAgon734235
                                      DRAgon734235 last edited by DRAgon734235

                                      @ian57

                                      I do not rotate the LCD with 90 or 270, the LCD display as the default direction like this image

                                      alt text

                                      and the recalbox stay at this picture always

                                      ian57 1 Reply Last reply Reply Quote 0
                                      • ian57
                                        ian57 Staff @DRAgon734235 last edited by

                                        @DRAgon734235 I think you need to use the fdmk overlay instead of the dmks overlay : here is may configuration for my 800x480 dpi screen

                                        temp_soft_limit=70
                                        dtoverlay=vc4-fkms-v3d
                                         
                                         
                                        # custom config
                                        [all]
                                        #3.5 HD tft screen 800x480
                                        dtoverlay=dpi18
                                        disable_overscan=1
                                         
                                        overscan_left=0
                                        overscan_right=0
                                        overscan_top=0
                                        overscan_bottom=0
                                         
                                        hdmi_force_hotplug=1
                                         
                                         
                                        #geekwrom
                                        framebuffer_width=800
                                        framebuffer_height=480
                                        #dtparam=spi=off
                                        #dtparam=i2c_arm=off
                                        enable_dpi_lcd=1
                                        display_default_lcd=1
                                        dpi_output_format=0x6f015
                                        dpi_group=2
                                        dpi_mode=87
                                        hdmi_timings=480 0 16 16 24 800 0 4 2 2 0 0 0 60 0 32000000 6
                                        #display_rotate=3
                                        

                                        "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                                        DRAgon734235 2 Replies Last reply Reply Quote 0
                                        • DRAgon734235
                                          DRAgon734235 @ian57 last edited by

                                          @ian57
                                          I use recalbox-rpi4 7.1

                                          this is my code :

                                          dtoverlay=vc4-fkms-v3d
                                          max_framebuffers=1
                                          overscan_scale=1
                                          
                                          overscan_left=0
                                          overscan_right=0
                                          overscan_top=0
                                          overscan_bottom=0
                                          
                                          hdmi_force_hotplug=1
                                          
                                          framebuffer_width=480
                                          framebuffer_height=800
                                          
                                          gpio=0-9=a2
                                          gpio=12-17=a2
                                          gpio=20-25=a2
                                          dtoverlay=dpi18
                                          enable_dpi_lcd=1
                                          display_default_lcd=1
                                          #extra_transpose_buffer=2
                                          dpi_group=2
                                          dpi_mode=87
                                          dpi_output_format=0x7F216
                                          hdmi_timings=480 0 26 16 10 640 0 25 10 15 0 0 0 60 0 32000000 1
                                          dtoverlay=waveshare-28dpi-3b-4b
                                          
                                          

                                          The recalbox still stay at that recalbox logo picture always

                                          1 Reply Last reply Reply Quote 0
                                          • DRAgon734235
                                            DRAgon734235 @ian57 last edited by

                                            @ian57

                                            Your recalbox is 4.6 ?

                                            ian57 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            99
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com