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
    10004
    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

      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
                                      • ian57
                                        ian57 Staff @DRAgon734235 last edited by ian57

                                        @DRAgon734235 nop, 7.2 beta 🙂 do you have something connected on HDMI?

                                        "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
                                          I have tried to connect or not connect HDMI LCD , the HDMI LCD not display

                                          they do not have any effect

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

                                            @DRAgon734235 here is my complete config.txt :

                                            ############################################################################
                                            # Boot loader configuration                                                #
                                            # Warning: do not edit this file as it will be overwritten when upgrading! #
                                            ############################################################################
                                            
                                            # Using /etc/modules is deprecated and no longer supported on 4.4 kernel
                                            # So manually enable audio
                                            dtparam=audio=on
                                            
                                            # if you plug your tv at the same time as your rpi and that the rpi switches from the hdmi or
                                            # give a low resolution because tv had no enough time to initialize it
                                            boot_delay=3
                                            
                                            # disable boot rainbow
                                            disable_splash=1
                                            
                                            # default CEC name
                                            cec_osd_name=recalbox
                                            
                                            avoid_safe_mode=1
                                            
                                            kernel=boot/linux
                                            initramfs boot/initrd.gz
                                            
                                            # force hdmi while the tv can take time before sending the signal on the hdmi output
                                            hdmi_force_hotplug=1
                                            
                                            # total amount of GPU memory
                                            gpu_mem_256=128
                                            gpu_mem_512=256
                                            gpu_mem_1024=448
                                            
                                            # your settings can be set in /boot/recalbox-user-config.txt
                                            include recalbox-user-config.txt
                                            # Raise the first security limit up to 70° instead of 60° for pi3 and pi4
                                            [pi3]
                                            temp_soft_limit=70
                                            
                                            [pi4]
                                            temp_soft_limit=70
                                            dtoverlay=vc4-fkms-v3d
                                            #max_framebuffer=2
                                            
                                            
                                            # custom config
                                            [all]
                                            #3.5 HD tft screen 800x480
                                            dtoverlay=dpi18
                                                                        
                                            #geekwrom DPI 480x800 TFT display
                                            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 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            80
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com