Recalbox Forum

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

    Gameboy pocket zero (Gaboze Pocaio) - screen issue ili9342

    Recalbox General
    gameboy pocket zero gaboze pocaio
    5
    17
    2898
    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.
    • SuperPuissant
      SuperPuissant last edited by

      Hi there,

      I've build a gameboy pocket zero using the gaboze pociao open source project and it's running great under Retropie using the github premade image from the creator of the gaboze.
      The point is that I'd like to use recalbox as I love it so much more than retropie, but I am unable to make the screen working.

      It is a generic 2.6 inches ili9342 screen bought on Aliexpress (https://fr.aliexpress.com/item/NoEnName-Null-2-6-inch-TFT-touch-screen-ILI9342-8-bit-16-bit-3-wire-4/32827359467.html?spm=a2g0s.9042311.0.0.40696c37Ue7UEM) and I was not able to find any documentation to set it properly. All my attempts result in a white screen of death.

      Any hint would be much appreciated!!

      Thanks!

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

        Hello
        Look https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)#audio--video

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

          Hey,

          Thanks and yes, I've been through this already but I have no clue on which dtoverlay to use, all seems to be suited for ili9341 and not ili9342, unless I missed something?

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

            So I've tested every combinations, none worked

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

              @ian57 any idea ?
              https://github.com/32teeth/Generic-ILI9342

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

                @SuperPuissant @acris
                ILI9342 does not seems to be supported by the actual overlays. neither by fbcp-ili9341 https://github.com/juj/fbcp-ili9341/issues/12

                @acris your link seems to be the only solution to make this screen work.
                @SuperPuissant please read the doc from https://github.com/32teeth/Generic-ILI9342 and use the debian way , and adapt it to recalbox.
                If you have problems, il will check each step with you,

                "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
                • SuperPuissant
                  SuperPuissant last edited by

                  @ian57 not sure how to do that, I've added the file fbcp-ili9342 to /usr/bin, then chmod +x ili9342
                  I have added a file S13fbcpili9342 in /etc/init.d, same chmod +x
                  modified the /boot/config.txt and recalbox.conf
                  no results, white screen...

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

                    @SuperPuissant I can't do more than that, I don't own this screen sorry. try to run the bcp-ili9342 file directly from a ssh console to see if the programme is running on your Pi.

                    "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
                    • SuperPuissant
                      SuperPuissant last edited by SuperPuissant

                      Hey @ian57 , I did, it worked.

                      My question would be more to have an example of the script to make it run at startup as I am not very knowledgeable with debian. Even a skeleton will do.

                      I've managed to make both ili9341 and ili9342 running at 60fps with juj drivers on retropie so there is no reason not to do it on recalbox!
                      Thanks!

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

                        Hi @ian57, any hint please on how to run executable at startup with recalbox?

                        Thanks!

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

                          @SuperPuissant as /etc/rc.local does not exists in RB, you'll need to modifie the /etc/init.d/S11fbcp or /etc/init.d/S13fbcp and modify the following line to run your fbcp program

                           start)
                                          printf "Starting fbcp ... "
                                          start-stop-daemon -S -q -m -b -p /var/run/fbcp.pid --exec /usr/bin/fbcp-ili9342 -- -n
                                          echo "done.
                          

                          don't forget to activate the tft support in recalbox.conf :

                          ## for support and configuration details needed by /boot/config.txt
                          system.fbcp.enabled=1
                          

                          "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
                          • Arm
                            Arm last edited by

                            Bonjour!
                            j'ai le même problème sur ma gaboze pocaio,
                            j'ai un écran 2.4 tft avec un driver ili9341 mais je n'arrive pas à l'installer sur Recalbox !
                            @SuperPuissant as tu réussi?
                            Peux tu m'expliquer comment tu as fait ?
                            Merci Armand

                            OyyoDams 1 Reply Last reply Reply Quote 0
                            • OyyoDams
                              OyyoDams Staff @Arm last edited by

                              @arm this is an english topic. Please speak english here. Thanks

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

                                Hello!
                                I have the same problem on my gaboze pocaio,
                                I have a 2.4 tft screen with a driver ili9341 but I can not install it on Recalbox!
                                @SuperPuissant did you succeed?
                                Can you explain to me how did you do it?
                                @ian57 Is it possible?
                                Thank you Armand

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

                                  @arm Please give the link to your screen to see specs. seems that it's this one http://www.lcdwiki.com/2.4inch_SPI_Module_ILI9341_SKU:MSP2402
                                  it should work, but you need to wire correctly the screen on the raspbarry pi. After read the page https://github.com/recalbox/recalbox-os/wiki/TFT-Screen-SPI-Bus-(EN). You can try the 2.8 config on this page seem to be ok for 2.4 too according to https://learn.adafruit.com/adafruit-2-4-pitft-hat-with-resistive-touchscreen-mini-kit/easy-install.

                                  "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
                                  • SuperPuissant
                                    SuperPuissant last edited by

                                    Hi,

                                    no I finally gave up and stuck to the retropie. As far as I remember I've managed to compile juj drivers for ili9342 and bootup correctly but for some reason it was not consistent (sometime it was booting with the image sometimes it was remaining blank). I've never managed to figure out why.

                                    I need to dig up a little bit to find the right option to compile juj drivers for both screens, I'll let you know if I manage to find it back.

                                    cheers

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

                                      @ian57
                                      it is this screen : https://fr.aliexpress.com/item/32854563773.html?spm=a2g0s.9042311.0.0.27426c37D3zv1j
                                      there is no shield or touch

                                      I just tried the tutorial TFT Screen SPI Bus (EN) for 2.8 with mk_arcade_joystick_rpi and it does not work!

                                      I think we need the file ili9341.dtbo , but I do not find it ...

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

                                      Want to support us ?

                                      72
                                      Online

                                      98.6k
                                      Users

                                      28.1k
                                      Topics

                                      187.0k
                                      Posts

                                      Copyright © 2021 recalbox.com