lcdwiki / LCD-show-ubuntu

3.2" 3.5" 5.0" 7.0" TFT LCD Ubuntu driver for the Raspberry PI and PI 2 and PI 3
106 stars 41 forks source link

Headless Ubuntu 22.04 not showing tty1 on boot #18

Closed vibhoregit closed 2 years ago

vibhoregit commented 2 years ago

So I'll be clear from the beginning, I am using headless ubuntu server 22.04 on a rpi 4 model. I want the rpi to show tty1 (default terminal) on boot up on the LCD screen but so far I have gotten only white LCD screen (and black screen output on HDMI). I have tested with gnome desktop and that works with the LCD but not the headless system. Is there a way to display tty1 on LCD screen (like how it usually displays on a HDMI display even with headless systems). I am using a 3.5 inch rev A LCD.

vibhoregit commented 2 years ago

Okay found the solution. Edit /boot/firmware/cmdline.txt (Make a backup before editing!) and add fbcon=map:10 at the end of line. Then ensure PI IS NOT CONNECTED TO HDMI!! Do a reboot and done! Reference : https://github.com/goodtft/LCD-show/issues/305

acorrow commented 1 year ago

HUGE Upvote, idk why I didn't look for issues sooner. Been beating my head against a wall on this for a day....

is-paranoia commented 1 year ago

@vibhoregit Hi! Could you share your files: /boot/config.txt , /boot/firmware/cmdline.txt and /boot/firmware/config.txt? Followed your instructions on Raspberry Pi 4B (Ubuntu server 22.4) and the screen is still white( Thanks!

vibhoregit commented 1 year ago

@is-paranoia cmdline.txt config.txt These are all the files I have since the Pi is not with me any more