klipperscreen asks for login
hey guys, trying to use an aliexpress 4 inch tft, but it stops and asks for
"ratrig login:"
any advice please?
![No description](https://cdn.answeroverflow.com/1096138312449794088/IMG_20230413_202156.jpg)
14 Replies
flat-fuchsiaā¢2y ago
Just done a Mk3 on RatOS with a 3.5 tft and got exactly the same. You ever get a solution?
sunny-greenā¢2y ago
yes, fixed this by raspi-config enabled auto login, now i have another isssue
Apr 13 20:23:36 Ratrig KlipperScreen-start.sh[4326]: Fatal server error:
Apr 13 20:23:36 Ratrig KlipperScreen-start.sh[4326]: (EE) no screens found(EE)
@_brickers
flat-fuchsiaā¢2y ago
whats that auto login for console or desktop?
sunny-greenā¢2y ago
console
flat-fuchsiaā¢2y ago
tried that and still the same, just getting the same screen as your originl post
Which raspberry pi?
And which version of the RatOS image?
Every screen needs it's own special configuration in bullseye depending on which pi model is used, and it sucks. Currently 2.0.1 is made to work out of the box with BTT's pitft.
flat-fuchsiaā¢2y ago
So Iām on the latest release of RatOS running a elgoo 3.5 tft. All the elgoo drivers installed but screen looks like image.
![No description](https://cdn.answeroverflow.com/1096410662898507806/IMG_1707.jpg)
The drivers and instructions for this thing is made for a 6 year old release of raspbian. It's not even called raspbian anymore.
But i did find one thing that might work:
try using:
in /boot/config.txt. If you're using a pi3 it should be under the last [pi3] section, if you're using pi4, it should be under the last [pi4] section, instead of the current
vc4-fkms
or vc4-kms
drivers.flat-fuchsiaā¢2y ago
Checked the config.txt and that line is already there.
![No description](https://cdn.answeroverflow.com/1096742798318915654/IMG_1724.png)
Right, then š¤·š»āāļø ask the manufacturer about bullseye.
flat-fuchsiaā¢2y ago
SOLUTION:
You can download and install the files with the following
git clone https://github.com/waveshare/LCD-show.git
cd LCD-show/
sudo chmod +x LCD35-show
sudo ./LCD35-show
The device will reboot, once it's booted we can log back in and continue.
Next we can rotate the display with the following command.
cd LCD-Show
sudo ./LCD35-show 270
Reboot your Raspberry Pi and make sure you get video on your LCD.
If your screen is not rotated correctly with the above command, do the following.
sudo nano /boot/config.txt
And change the line for your display to add :rotate=270 as shown below
dtoverlay=waveshare35a:rotate=270
Now that we have our LCD functional and working, lets install a user interface.
First is the X desktop environment, then Touch-TFT and its
sudo apt-get install libgtk-3-0
sudo apt install xserver-xorg xinit xserver-xorg-video-fbdev
Lastly we need to remove the 99-fbturbo.conf file from our Xorg directory.
sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf.old
Shouldn't need the last parts here
Great you found a tool to fix it though, i'll take a look at that
flat-fuchsiaā¢2y ago
Simplified the instructions a little:
ELGOO 35TFT WORKING ON CLEAN INSTALL OF RATOS
SSH INTO PI AND RUN THESE COMMANDS:
sudo apt-get update
sudo apt-get install -f
git clone https://github.com/waveshare/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
chmod +x LCD35-show
sudo ./LCD35-show
sudo nano /boot/config.txt
CHANGE LINE BELOW AT BOTTOM OF FILE SO MATCHS, then CRTLX to save
hdmi_cvt=800 533 60 6 0 0 0
sudo reboot
sudo apt-get install git build-essential xorg-dev xutils-dev x11proto-dri2-devy
sudo reboot
sudo apt-get install libltdl-dev libtool automake libdrm-dev
sudo reboot
git clone https://github.com/ssvb/xf86-video-fbturbo.git
cd xf86-video-fbturbo
autoreconf -vi
./configure --prefix=/usr
make
sudo make install
sudo cp xorg.conf /etc/X11/xorg.conf
sudo reboot
KLIPPERSCREEN SHOULD NOW BE WORKING
like-goldā¢14mo ago
@_brickers
Looking for a solution for my Elegoo 3.5 SPI TFT I just found your good described solution.
However, if you are using the current 64 bit RatOS Version 2.0.2 the waveshare link to LCD-Show35 freezes during installation.
The workaround is to use instead:
git clone https://github.com/goodtft/LCD-show.git
This LCD-Show35 file will do the job on the 64bit bullseye version.
Just wanted to add this here because I was searching some time to find the solution.