Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adafruit Mini PiTFT 1.3" - 240x240 TFT, console image offset when rotated 90° or 270° #228

Closed
grenius opened this issue Aug 11, 2022 · 8 comments · Fixed by #233
Closed
Assignees

Comments

@grenius
Copy link

grenius commented Aug 11, 2022

When using the pi-tft installer and choosing either 90 or 270° the console image is offset and the "old" console remains on the screen in it's original orientation.

@grenius
Copy link
Author

grenius commented Aug 14, 2022

Environment: raspberry pi OS buster

Hardware: raspberry pi zero 2 W / Zero2Go UPS hat / Zero4U USB hub

@makermelissa
Copy link
Contributor

Thanks for the details. The only one of those that I have is the Pi Zero 2 W.

@makermelissa
Copy link
Contributor

makermelissa commented Nov 3, 2022

Verified with a Pi Zero 2 W using the Desktop installation of Buster, Console install option, and a BrainCraft HAT. I suspect the board doesn't matter and I also suspect it may do the same on bullseye, but perhaps not since it has newer drivers. First one is easy to verify. Yeah, it does it on a Pi 4 as well.

@grenius
Copy link
Author

grenius commented Nov 3, 2022 via email

@makermelissa
Copy link
Contributor

Verified it still happens with bullseye and even on lite install. If you can, I'd recommend lite and using FBCP and it should be fine for now.

@makermelissa
Copy link
Contributor

Hmm, I thought I had previously fixed this. I found #129, which changes the driver parameter from rotate to rotation. This appears to fix it. I need to investigate why it was changed back.

@makermelissa
Copy link
Contributor

makermelissa commented Nov 3, 2022

It looks like it was changed in #157 by me. Unfortunately I never documented why I made that change. My guess it was either:

  1. It broke something for the FBCP install (possibly this issue: st7789_240x240 TFT freezes - raspberrypi-kernel incompatibility? #138)
  2. It was an accident.

I need to test to see if there are issues with the desktop if it uses rotation instead of rotate. We may just simply need to have alternate parameters for the console install if it is an issue.

@makermelissa
Copy link
Contributor

Thanks Melissa, I just borked my zero with a power failure while updating so I'll reinstall with bullseye.

For now, you can edit /boot/config.txt and just manually change the parameter name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants