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

    1.8TFT SPI 128*160 V1.1 screen not working with RaspberryPi please help :(

    Scheduled Pinned Locked Moved Help and Support
    1.8tft spi 128screenraspi zero w
    35 Posts 5 Posters 5.5k 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.
    • retroprogrammerR
      retroprogrammer
      last edited by

      @Hex Here is the text in /boot/config.txt

      # 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=2
      hdmi_mode=1
      hdmi_mode=87
      hdmi_cvt=128 128 60 1 0 0 0
      
      display_rotate=2
      
      # 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 the lirc-rpi module
      #dtoverlay=lirc-rpi
      
      # Additional overlays and parameters are documented /boot/overlays/README
      
      # Enable audio (loads snd_bcm2835)
      dtparam=audio=on
      gpu_mem_256=128
      gpu_mem_512=256
      gpu_mem_1024=256
      overscan_scale=1

      Here is me converting the original Xbox for a case:
      https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
      Check out my GitHub: https://github.com/retro-programmer

      1 Reply Last reply Reply Quote 0
      • HexH
        Hex
        last edited by Hex

        append width=128 height=160 and reboot and let me know if that works.

        Edit: Also change this line hdmi_cvt=128 128 60 1 0 0 0 to hdmi_cvt=128 160 60 1 0 0 0 in /boot/config.txt

        Sent from 20,000 leagues under the sea.

        Powersaver Emulation station : https://github.com/hex007/EmulationStation
        ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

        1 Reply Last reply Reply Quote 1
        • retroprogrammerR
          retroprogrammer
          last edited by

          @hex said in 1.8TFT SPI 128*160 V1.1 screen not working with RaspberryPi please help :(:

          width=128 height=160

          On /etc/modprobe.d/fbtft.conf

          Here is me converting the original Xbox for a case:
          https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
          Check out my GitHub: https://github.com/retro-programmer

          1 Reply Last reply Reply Quote 0
          • HexH
            Hex
            last edited by

            yes

            Sent from 20,000 leagues under the sea.

            Powersaver Emulation station : https://github.com/hex007/EmulationStation
            ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

            1 Reply Last reply Reply Quote 0
            • retroprogrammerR
              retroprogrammer
              last edited by retroprogrammer

              @Hex Like this:

              options fbtft_device name=fb_ili9163 gpios=reset:25,dc:24,led:23 speed=40000000 bgr=1 rotate=1 custom=1 fps=60,width=128 height=160

              Yes or No?

              Here is me converting the original Xbox for a case:
              https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
              Check out my GitHub: https://github.com/retro-programmer

              1 Reply Last reply Reply Quote 0
              • retroprogrammerR
                retroprogrammer
                last edited by

                @Hex Now the screen is all being used, thanks :) but the colours are still wrong and everything is still small know how to fix that to?

                Here is me converting the original Xbox for a case:
                https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                Check out my GitHub: https://github.com/retro-programmer

                1 Reply Last reply Reply Quote 0
                • HexH
                  Hex
                  last edited by

                  can you post a photo of what you mean by colors are wrong ?

                  Sent from 20,000 leagues under the sea.

                  Powersaver Emulation station : https://github.com/hex007/EmulationStation
                  ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                  1 Reply Last reply Reply Quote 0
                  • retroprogrammerR
                    retroprogrammer
                    last edited by

                    okay

                    Here is me converting the original Xbox for a case:
                    https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                    Check out my GitHub: https://github.com/retro-programmer

                    1 Reply Last reply Reply Quote 0
                    • retroprogrammerR
                      retroprogrammer
                      last edited by

                      just check this link:https://imgur.com/gallery/Yv7Hx/comment/1225358395

                      The logo that you see is of the GameBoy Advance, it is suppose to be blue, yeah?

                      Here is me converting the original Xbox for a case:
                      https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                      Check out my GitHub: https://github.com/retro-programmer

                      1 Reply Last reply Reply Quote 0
                      • HexH
                        Hex
                        last edited by

                        How about you start a game and check ?

                        The icon is based on your theme. change the theme to change icons. I dont know what you are supposed to see.

                        Sent from 20,000 leagues under the sea.

                        Powersaver Emulation station : https://github.com/hex007/EmulationStation
                        ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                        1 Reply Last reply Reply Quote 0
                        • retroprogrammerR
                          retroprogrammer
                          last edited by

                          Even when I play a game all the colours are mixed up, I am using the carbon theme and the Gameboy advance logo is blue, but on the screen it is red

                          Here is me converting the original Xbox for a case:
                          https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                          Check out my GitHub: https://github.com/retro-programmer

                          1 Reply Last reply Reply Quote 0
                          • HexH
                            Hex
                            last edited by Hex

                            Use this as your fbtft.conf

                            options fbtft_device name=sainsmart18fb gpios=reset:25,dc:24,led:23 speed=40000000 bgr=1 rotate=1 custom=1 fps=60 width=128 height=160

                            and reboot

                            Sent from 20,000 leagues under the sea.

                            Powersaver Emulation station : https://github.com/hex007/EmulationStation
                            ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                            1 Reply Last reply Reply Quote 0
                            • retroprogrammerR
                              retroprogrammer
                              last edited by retroprogrammer

                              @Hex Now I have a white screen

                              Do I have to change wiring?

                              Here is me converting the original Xbox for a case:
                              https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                              Check out my GitHub: https://github.com/retro-programmer

                              1 Reply Last reply Reply Quote 0
                              • HexH
                                Hex
                                last edited by

                                just revert it then. change name to fb_ili9163

                                I ont know what is causing the color problem. can you post a new picture of how a game like Zelda on Gameboy color looks like ?

                                Sent from 20,000 leagues under the sea.

                                Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                1 Reply Last reply Reply Quote 0
                                • retroprogrammerR
                                  retroprogrammer
                                  last edited by

                                  @Hex Here is the pictures of Zelda on GBC:https://imgur.com/a/6JHBZ

                                  Here is me converting the original Xbox for a case:
                                  https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                                  Check out my GitHub: https://github.com/retro-programmer

                                  1 Reply Last reply Reply Quote 0
                                  • HexH
                                    Hex
                                    last edited by Hex

                                    @retroprogrammer i see in your fbtft.config file you have bgr=1, can you remove it and let me know if that works?

                                    That should resolve your colour problem

                                    Sent from 20,000 leagues under the sea.

                                    Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                    ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                    1 Reply Last reply Reply Quote 0
                                    • retroprogrammerR
                                      retroprogrammer
                                      last edited by

                                      @Hex No still same problem

                                      Here is me converting the original Xbox for a case:
                                      https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                                      Check out my GitHub: https://github.com/retro-programmer

                                      1 Reply Last reply Reply Quote 0
                                      • retroprogrammerR
                                        retroprogrammer
                                        last edited by

                                        @Hex Is their a way of making the screen a bit bigger?

                                        Here is me converting the original Xbox for a case:
                                        https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                                        Check out my GitHub: https://github.com/retro-programmer

                                        1 Reply Last reply Reply Quote 0
                                        • HexH
                                          Hex
                                          last edited by Hex

                                          how about bgr=0

                                          The problem is that your blue and red channels are switched and this is the only way to resolve this. If this doesnt work then you will have to try different device names as some device_names dont support the BGR parameter (let me know if you need those).

                                          From the author of fbtft:

                                          bgr :
                                          Set BGR bit (supported by some drivers). Use if Red and Blue is swapped. Default is don't touch.
                                          

                                          The best way is to buy a new screen that is bigger. Else you could try my Viper frontend, which is in works currently. Even i was unhappy with the performance of ES on smaller screens. Here are some of the photos of my frontend. The screen is 320x240 @ 2.2inch.

                                          alt text

                                          Gamelist with images
                                          alt text

                                          Sent from 20,000 leagues under the sea.

                                          Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                          ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                          1 Reply Last reply Reply Quote 0
                                          • retroprogrammerR
                                            retroprogrammer
                                            last edited by retroprogrammer

                                            @hex said in 1.8TFT SPI 128*160 V1.1 screen not working with RaspberryPi please help :(:

                                            how about bgr=0

                                            The problem is that your blue and red channels are switched and this is the only way to resolve this. If this doesnt work then you will have to try different device names as some device_names dont support the BGR parameter (let me know if you need those).

                                            @Hex bgr=0 doesn't work either, I think the red and blue are swapped around or something, I need to know the device_ names please.

                                            Here is me converting the original Xbox for a case:
                                            https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                                            Check out my GitHub: https://github.com/retro-programmer

                                            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.