0

Glitchy display (video) PiTFT Plus 320x240 2.8" TFT + Capaci
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Glitchy display (video) PiTFT Plus 320x240 2.8" TFT + Capaci

by felleg on Sun Jun 11, 2017 12:47 pm

I bought a 2.8" Capacitive PiTFT Plus on April 26 and everything had been great so far up to this point, but about a week ago a problem started happening with my PiTFT that made it sadly unusable. I use my PiTFTpiTFT (2.8", capacitive) to play games on it via RetroPie (I currently use the latest version of 4.2, I update my raspberry pi about every 2 weeks). I set it up using this tutorial from Adafruit itself: https://learn.adafruit.com/adafruit-pit ... sy-install. It has been working great for about a month, and only recently started dropping frames and glitching out in messy colors. Sometimes it also becomes completely white in the middle of gameplay and does not recover without a complete Raspberry Pi reboot. Here is a video that illustrates this: https://www.youtube.com/watch?v=aUQUyf0G2x4


I can assure you, I have tested about 10 times that connection were aligned and tight over the I/O pins (over which the piTFT connects). I am not an engineer, so I don't really know how to test the voltage on the pins and I don't even have the proper equipment to do so. All I can say is that neither my raspberry pi or the piTFT have been dropped or suffered physical damage as far as I can tell. They are usually sitting on my desk, or stored in a protective pouch inside a plastic case (see pictures attached). Here's a quick description of every picture:

Pictures 1-3: [direcly attached to this post]

Picture 4: Another angle of picture 3

Picture 5: Back side of the PiTFT, everything seems in great condition

Picture 6: Front side of the PiTFT, everything also seems in great condition

Picture 7: Shows the plastic case (Short Crust Plus) in which I house my raspberry pi and PiTFT. It offers protection.


I am to my wits' end to find what causes the issue. I don't think it's a software issue because my hdmi display suffers none of these glitches, and I don't think it's a hardware issue either since the PiTFT has been working without any flaw for about a month and has suffered no physical damage.


Should the item be replaced? Do you have suggestions on how I could fix this issue? Thanks in advance.
Attachments
picture 3.jpg
Shows I/O pins of my raspberry Pi (unconnected), the only defect I could find is rightmost pins are bent a light amount, but this should not affect performance.
picture 3.jpg (83.59 KiB) Viewed 77 times
picture 2.jpg
Shows another angle to show I/O pins alignment is OK
picture 2.jpg (101.55 KiB) Viewed 77 times
picture 1.jpg
Shows that connections are flush, yet this is the setup that produced the linked video
picture 1.jpg (92.17 KiB) Viewed 77 times

felleg
 
Posts: 2
Joined: Sun Jun 11, 2017 12:13 pm

Re: Glitchy display (video) PiTFT Plus 320x240 2.8" TFT + Ca

by felleg on Tue Jun 13, 2017 7:30 pm

Bump... Please help :(

felleg
 
Posts: 2
Joined: Sun Jun 11, 2017 12:13 pm

Re: Glitchy display (video) PiTFT Plus 320x240 2.8" TFT + Ca

by scruss_elmwood on Fri Jun 23, 2017 5:30 pm

Hi - I work for the reseller from whom the OP bought the PiTFT Plus. We've been working with the customer to resolve the issue, but we've reached the limit of our diagnostic knowledge of this product

The customer sent us some kernel log details. These included output from the kernel module used by the display:
Code: Select all | TOGGLE FULL SIZE
[    4.510632] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[    4.522028] fb_ili9340: module is from the staging directory, the quality is unknown, you have been warned.
[    4.523784] fbtft_of_value: buswidth = 8
[    4.523810] fbtft_of_value: debug = 0
[    4.523820] fbtft_of_value: rotate = 90
[    4.523832] fbtft_of_value: fps = 60
[    4.530132] input: ft6236 as /devices/platform/soc/3f804000.i2c/i2c-1/1-0038/input/input2
 ...
[    4.706156] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 4 KiB DMA buffer memory, fps=100, spi0.0 at 80 MHz

I have a couple of questions:
  • Earlier PiTFT setups seemed to use a value of fps=20, and yet the customer's machine is set (through running recent Adafruit scripts) to 60 fps. Would this be likely to be causing glitches?
  • With recent Raspberry Pi kernels, are the Adafruit custom modules and overlays still necessary? I understand that touchscreen might require its own driver.
  • Do you have all the information you need to diagnose this problem?
The customer wishes to use this screen for gaming, and while setting fps=20 seems to be stable for a short while, it apparently makes game play very rough.

Looking forward to your response!

scruss_elmwood
 
Posts: 1
Joined: Fri Jun 23, 2017 4:59 pm

Re: Glitchy display (video) PiTFT Plus 320x240 2.8" TFT + Ca

by adafruit_support_rick on Sat Jun 24, 2017 9:20 am

I don't think it will actually run at 100fps. I think ~26fps is the best you can manage, since the max SPI data transfer rate the TFT will support is 48MHz. But the fps=100 setting is a 'suggestion'. It will run as fast as it can.

In one of the pictures, the black 'ears' on the ribbon cable connector may be a little loose. See if you can push them in at all.

adafruit_support_rick
 
Posts: 33782
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.