EDIT: This is the the screen I bought

This is my first post here so I hope I do not screw up too much...

I have a raspberry pi3 with 3.5inch tft resistive touchscreen display (720x480) connected via SPI (GPIO pins).

I would like to use it for a project, but the problem is that the screen is too small and windows cant fit inside. I need to fit at least 1280x720 (1920x1080 would be better) into a 720x480 screen.

The screen is installed using this repository and I have already tried things mentioned in this post. I am currently at a loss for what to try next. I will also attach my current /boot/config.txt file, to make it easier to explain what to do.

Thanks in advance for any tips and suggestions.

my /boot/config.txt file:

# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border

# uncomment to force a console size. By default it will be display's size minus
# overscan.

# uncomment if hdmi display is not detected and composite is being output

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_cvt=1024 720 60 1 0 0 0

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display

# uncomment for composite PAL

#uncomment to overclock the arm. 700 MHz is the default.

# Uncomment some or all of these to enable the optional hardware interfaces
# Uncomment this to enable the lirc-rpi module

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
  • I assume you mean this TFT screen? If so here is a tutorial learn.adafruit.com/… Also FYI there are images at the bottom that have everything already good to go if you just want the screen to work
    – Eric F
    Commented Apr 12, 2019 at 17:46
  • Check my edit, it is a different screen. Also check the github link.
    – Luk164
    Commented Apr 12, 2019 at 18:04
  • Check my edit. It is the exact one I ordered.
    – Luk164
    Commented Apr 12, 2019 at 18:09
  • Hm sorry I am not any help past what you tried. Hopefully someone else comes along to help
    – Eric F
    Commented Apr 12, 2019 at 18:13
  • No problem, I aprreciate that you at least tried.
    – Luk164
    Commented Apr 12, 2019 at 18:14

1 Answer 1


This looks promising: https://www.raspberrypi.org/forums/viewtopic.php?t=143581

The screen in your link uses a XPT2046 chip. Seems that this line is required in the /boot/config.txt file:


The parameters for the framebuffer (width and height) could be a problem, try commenting them out by adding a # in the first position of each line, then the default will be chosen automatically.

Hopefully it will work, my screen is ordered, so I have not yet had a chance to test this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.