Page 2 of 2
MKS TFT35 V1.0 на RaspberryPi
Posted: 23 Oct 2023 01:51
by Matic_LMS
Hi there! Great project, the concept is great and very useful. But I have an issue. I can get Klipperscreen to show up on the screen but as soon as I do that I lose the connection between Moonraker and Klipper. Now did anybody else experience this issue? I have attached then code that I executed last before experiencing the issue. Basically after the reboot, the boot code of the PI can be seen on the MKS screen and then the Klipper screen shows but it keeps saying it connects to the printer and the web interface shows it can't connect to Klipper. It's not MCU problems or anything else. Can someone with a bit more Linux knowledge explain to me what I am doing wrong or how to fix this? Thank you a lot.
This is the last code I execute....copying the output of the primary framebuffer to the secondary one...
Code: Select all
sudo apt-get install cmake
cd ~
sudo git clone https://github.com/tasanakorn/rpi-fbcp
cd rpi-fbcp/
sudo mkdir build
cd build
sudo cmake ..
sudo make
sudo install fbcp /usr/local/bin/fbcp
Code: Select all
sudo nano /etc/systemd/system/fbcp.service
Code: Select all
[Unit]
Description=fbcp
After=KlipperScreen.service
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/usr/local/bin/fbcp
[Install]
WantedBy=multi-user.target
MKS TFT35 V1.0 на RaspberryPi
Posted: 23 Oct 2023 10:16
by hardlock
Matic_LMS wrote: 23 Oct 2023 01:51
This is the last code I execute....copying the output of the primary framebuffer to the secondary one...
I looked, this code has nothing to do with the operation of the klipper or moonraker. If I have time, I'll try to do a clean install with updated packages soon. Maybe something will become clearer.
MKS TFT35 V1.0 на RaspberryPi
Posted: 23 Oct 2023 17:51
by Matic_LMS
hardlock wrote: 23 Oct 2023 10:16
Matic_LMS wrote: 23 Oct 2023 01:51
This is the last code I execute....copying the output of the primary framebuffer to the secondary one...
I looked, this code has nothing to do with the operation of the klipper or moonraker. If I have time, I'll try to do a clean install with updated packages soon. Maybe something will become clearer.
Thanks so much! I have been scratching my head with this problem for months now...I just bought a new screen from BTT the TFT35 SPI but as it turns out it does not work with RPI... So I want to return it. I really have no idea why this is happening. I realize that the code by itself has nothing to do with Moonraker but every time I have clean-installed Raspbian and tried to install Klipperscreen this happens...moonraker loses connection with Klipper. There is also this starting job in the code when the PI boots or i shut it down with a CLI command, that takes forever...and it counts like 10min and the job is still being executed. I really want to use the OG MKS screen...
MKS TFT35 V1.0 на RaspberryPi
Posted: 30 Oct 2023 15:09
by hardlock
Today I tried to install everything from scratch on a new flash drive.
I followed the instructions exactly from the first page.
- Raspberry Pi imager v1.8.3
- Raspberri Pi OS (Legacy) Lite (2023-05-03)
- Linux raspberry3b 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l
as result - everything works without problems.:
MKS TFT35 V1.0 на RaspberryPi
Posted: 02 Nov 2023 01:00
by Matic_LMS
hardlock wrote: 30 Oct 2023 15:09
Today I tried to install everything from scratch on a new flash drive.
I followed the instructions exactly from the first page.
- Raspberry Pi imager v1.8.3
- Raspberri Pi OS (Legacy) Lite (2023-05-03)
- Linux raspberry3b 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l
as result - everything works without problems.:
klipperscreen_tft35.jpg
Is there a posibility that you create an image of that SD card and uploade it to MEGA or something? I realy have no idea where the problem is...