CB1 icon indicating copy to clipboard operation
CB1 copied to clipboard

imposible rotate screen

Open jarvis710 opened this issue 1 year ago • 4 comments

Everything I have found on the internet, refers to the Rasberry Pi3 or 4 and not to the CB1, I do not see how to rotate the screen. Supposedly there is an option in system.cfg to do it but nothing. I listen to suggestions; I've been looking all over the internet for several days and nothing.

jarvis710 avatar May 27 '23 13:05 jarvis710

correction, the system.cfg does work; but not that, it rotates the touch so, not the image

jarvis710 avatar May 27 '23 13:05 jarvis710

I'm having this same issue with the TFT35 SPI and CB1. I was able to change the transformation matrix without a problem (ie the "touch" screen registers the correct orientation but the display is not correct).

I got it to rotate by running

sudo nano /etc/X11/Xwrapper.config

and adding lcd_rotate=2 or extraargs=fbcon=rotate:2

HOWEVER, restarting KlipperScreen then asks for a login and only shows console.

I suspect the software that runs the rotation requires root, which I'm not sure how to do at this point. The strange thing is however... if I run 'systemctl status KlipperScreen', one of the lines I receive states '***** KlipperScreen-start.sh[8652]: extraargs: Invalid key '/usr/lib/xorg/Xorg.wrap' at /etc/X11/Xwrapper.config line 16'. Not sure what this means, but may be why it's requiring a login.

bthubs avatar May 30 '23 19:05 bthubs

THANKS

jarvis710 avatar Jun 06 '23 02:06 jarvis710

THANKS

I figured out how to rotate my btt tft35 SPI. If you’re using an SPI screen, this should work for you. I detailed it on the btt tft35 SPI GitHub.

https://github.com/bigtreetech/TFT35-SPI/issues/7

Good luck!

bthubs avatar Jun 06 '23 12:06 bthubs