notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.86k stars 494 forks source link

3.5 Inch Screen not working #340

Closed shekit closed 3 years ago

shekit commented 9 years ago

Hi,

I bought this screen(http://www.alibaba.com/product-detail/Raspberry-Pi-2-3-5-inch_60348819079.html) from a store here in New York and have been unable to get it to work. I havent been able to find any documentation about this screen. I am also unsure which screen option to select from the file. I have tried 'pitft', 'waveshare32b' and 'tinylcd35' however in all cases I am left with a blank white screen. In each case the raspPi also became unresponsive and I needed to reinstall the OS. I was hoping you could help me in identifying the screen or suggest which screen option to enter.

Thanks!

shekit commented 9 years ago

Also I followed the steps suggested in this previous github issue (https://github.com/notro/fbtft/issues/215) by sudobrew and others. When I ran 'sudo modprobe ...' the screen did turn black at one stage but that's about it. When I rebooted the pi it went back to the white screen. Also 'dmesg | grep graphics' does not return anything. Any help would be great!

shekit commented 9 years ago

Hi I got the screen to work. Finally! Phew. However the screen is really laggy. How do I increase the FPS. I tried bumping up the speed from 16000000 to 32000000 but the GUI looks really bad. I also added this line in the '/boot/config.txt': dtoverlay=flexfb,fps=50,speed=32000000,debug=32 .

MunhozThiago commented 9 years ago

Could you please describe the model of your LCD and the steps you took to make it work? Please put the whole commands.

shekit commented 9 years ago

Hi,

The screen I am using is a generic brand. It has nothing mentioned and no documentation that I could find. Though this is how it looks (http://www.alibaba.com/product-detail/Raspberry-Pi-2-3-5-inch_60348819079.html)

I followed the steps used by sudobrew in this issue (#215). I still havent got the touch working since I don't know the chip it uses. Also permanent settings are still not working. I have to ssh into the pi and use the sudo modprobe commands to get the LCD running.

shekit commented 9 years ago

The main issue I'm having now is the screen is really laggy. It becomes really apparent when I'm viewing gifs. It's like a swipe passes through the full screen every time the screen updates. Could this be a screen issue or an issue with using a SPI screen? Is this something that is experienced with all small TFT screens?

I am unable to bump up the speed beyond 16000000 as it causes the screen to distort.I have also overclocked the RPi2 and tried increasing gpu_mem to 256 but there seems to be no visible improvement.

The monitor plugged in through the HDMI works fine with no lagginess.

Texy commented 9 years ago

All screens are different - not all of them are 'fast' enough for your purpose. Whilst it does work with the pi, it doesn't work well enough. Research what others find suitable and buy that.

andig commented 8 years ago

@shekit I've had similar problems. As workaround I've booted the image coming with the display and took note of the parameters instead of guessing them. Wfm.

FreshXOpenSource commented 8 years ago

@shekit : can you please provide the parameters to load the flexfb module in linux?

frahugo commented 8 years ago

I made the mistake of ordering this noname screen. @andig: you were able to make it work? What params should we use? Thanks

andig commented 8 years ago

imho each screen is different. I've finally installed the distro that came with the display docs, took note of the parameters and voila- those also work on recent raspbian. I could check what those were, but most likely that won't help you any.

frahugo commented 8 years ago

Thx @andig. I'll try to find an image (didn't get one with the screen).

andig commented 8 years ago

In my case I've eailed support and they sent download links per mail. Best luck...

Tom-Neverwinter commented 8 years ago

http://www.aliexpress.com/item/1pc-3-5-inch-B-B-LCD-Touch-Screen-Display-Module-320-x-480-for-Raspberry/32408089216.html

I purchased one of these screens, I'm assuming I'm sol based on the speeds these screens are capable of.

stevstrong commented 7 years ago

Here a way how to increase the speed of your display screen: http://stm32duino.com/viewtopic.php?f=9&t=1654&p=22332#p22315

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.