LCD-show icon indicating copy to clipboard operation
LCD-show copied to clipboard

Require TFT 3.5 display configuration for Raspberry Pi Bookworm release

Open ruthvikb14 opened this issue 2 years ago • 64 comments

Hi,

I'm raising this issue to request help in installing the TFT3.5 display to Pi 3B+ with Bookworm OS. The current LCD35-show.sh will not work since it is configured to Bullseye and the the new version of Bookworm is > 12.1. And also there are few changes in Bookworm OS like config.txt is shifted from "/boot" to "/boot/firmware" etc. So it is much appreciated if you can include the changes to LCD-show repo to support Bookworm OS

ruthvikb14 avatar Apr 30 '24 10:04 ruthvikb14

having the same problem. If i use bullseyes no problems everything perfect, upgrading or new install to Bookworm doesnt show GUI mantains a black screen, and only in console mode it shows the console.

maxpaine69 avatar May 06 '24 12:05 maxpaine69

You need to switch to X11 from wayland using raspi-config. But you will likely find problems with the touchscreen after.

OldWoman37 avatar May 07 '24 19:05 OldWoman37

You need to switch to X11 from wayland using raspi-config. But you will likely find problems with the touchscreen after.

already tried didnt work

maxpaine69 avatar May 07 '24 19:05 maxpaine69

Do you have the: dtoverlay=tft35a:rotate=90 line in your /boot/firmware/config.txt file? Does your /boot/firmware/overlays folder contain tft35a.dtbo and tft35a-overlay.dtb? After boot, do you have a "fbcp" process running?

OldWoman37 avatar May 07 '24 20:05 OldWoman37

Do you have the: dtoverlay=tft35a:rotate=90 line in your /boot/firmware/config.txt file? Does your /boot/firmware/overlays folder contain tft35a.dtbo and tft35a-overlay.dtb? After boot, do you have a "fbcp" process running?

yes to every thing, i even created a new instaltion

maxpaine69 avatar May 07 '24 20:05 maxpaine69

Oh, this may just be a startup thing. Did you have it run the lightdm login screen before or some autologin thing?

OldWoman37 avatar May 07 '24 20:05 OldWoman37

Oh, this may just be a startup thing. Did you have it run the lightdm login screen before or some autologin thing?

only the autologin on the config, like it as on bullseye,

maxpaine69 avatar May 07 '24 20:05 maxpaine69

Do you have a process "lightdm" or "Xorg" running?

OldWoman37 avatar May 07 '24 20:05 OldWoman37

When running "sudo journalctl -xe", are there services with errors?

OldWoman37 avatar May 07 '24 20:05 OldWoman37

When running "sudo journalctl -xe", are there services with errors?

not to all the question, no error it strange.

maxpaine69 avatar May 07 '24 21:05 maxpaine69

You may just have to re-run raspi-config and select your settings: 1, S5, B3 or B4.

OldWoman37 avatar May 07 '24 21:05 OldWoman37

You may just have to re-run raspi-config and select your settings: 1, S5, B3 or B4.

nothing still the same

maxpaine69 avatar May 07 '24 21:05 maxpaine69

You may need to do: sudo systemctl set-default graphical.target sudo systemctl enable lightdm sudo systemctl start lightdm

OldWoman37 avatar May 07 '24 21:05 OldWoman37

You may need to do: sudo systemctl set-default graphical.target sudo systemctl enable lightdm sudo systemctl start lightdm

nothing still balck screen and blicking

maxpaine69 avatar May 07 '24 21:05 maxpaine69

Can you post the output of: "dmesg | grep fb"

OldWoman37 avatar May 07 '24 21:05 OldWoman37

Can you post the output of: "dmesg | grep fb"

[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=480 bcm2708_fb.fbheight=320 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:22:4E:3A vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 root=PARTUUID=9cd26e03-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=PT [ 0.060388] raspberrypi-firmware soc:firmware: Firmware hash is 86ccc427f35fdc604edc511881cdf579df945fb4 [ 1.711704] bcm2708_fb soc:fb: FB found 1 display(s) [ 1.719710] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 480x320 [ 13.915283] fbtft: module is from the staging directory, the quality is unknown, you have been warned. [ 13.951526] fb_ili9486: module is from the staging directory, the quality is unknown, you have been warned. [ 13.951951] SPI driver fb_ili9486 has no spi_device_id for ilitek,ili9486 [ 13.952115] fb_ili9486 spi0.0: fbtft_property_value: regwidth = 16 [ 13.952129] fb_ili9486 spi0.0: fbtft_property_value: buswidth = 8 [ 13.952140] fb_ili9486 spi0.0: fbtft_property_value: debug = 0 [ 13.952149] fb_ili9486 spi0.0: fbtft_property_value: rotate = 90 [ 13.952160] fb_ili9486 spi0.0: fbtft_property_value: fps = 30 [ 13.952169] fb_ili9486 spi0.0: fbtft_property_value: txbuflen = 32768 [ 14.531715] graphics fb1: fb_ili9486 frame buffer, 480x320, 300 KiB video memory, 32 KiB buffer memory, fps=31, spi0.0 at 16 MHz

here it is

maxpaine69 avatar May 07 '24 22:05 maxpaine69

So, to be clear, you have the console screen working, so you can login via a keyboard in textmode, but now, after that systemctl stuff, the screen is black but flashing/blinking?

OldWoman37 avatar May 07 '24 22:05 OldWoman37

the black screen with the flash is a simtop from the begining, i have the boot to desktop from raspi-config.

maxpaine69 avatar May 07 '24 22:05 maxpaine69

I'm sorry, I don't understand the issue then. Can you post a photo of what you see when booting (if not black but some text mode stuff), and then what you get after?

OldWoman37 avatar May 07 '24 22:05 OldWoman37

I'm sorry, I don't understand the issue then. Can you post a photo of what you see when booting (if not black but some text mode stuff), and then what you get after?

if i configure it to boot to console i see text, no problem there i see the console, but if i configure it to show desktop, it only show a black screen with a blincking cursor

maxpaine69 avatar May 07 '24 22:05 maxpaine69