Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: 9.0.1/RPi 3b+: RPi 7" display can't be rotated
#6
(06-02-2024, 02:19 PM)Tim Curtis Wrote:
(06-02-2024, 02:06 PM)taku82162 Wrote: Hi,
Thanks to everyone who developed this great software.
Please excuse my poor English.

I encountered a similar problem.
I will post what I have tried.

I also installed 9.0.1 onto my Pi-4B 1.4 8GB with RPi 7" display using the RPi imager.
I set "Rotate screen" to "180 Deg", and the screen rotated correctly immediately after startup, but the screen became upside down during startup.

I did the same thing by adding 
  "video=DSI-1:800x480@60,rotate=180"
 to the end of /boot/firmware/cmdline.txt, and it started to display normally, but the touch operation was not correct.

I modified /boot/firmware/config.txt using this URL as a reference.

Code:
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch,invx,invy  # <- add this line.
MAX_framebuffers=2
#display_auto_detect=1  # <- comment out this line.
After modifying cmdline.txt and config.txt as above, the display and touch operation became normal.

If you do not set "Rotate screen" to "180 Deg" and modify cmdline.txt and config.txt as above, the display will be correct from the middle of startup and touch operation will also be normal.

I hope this reply is helpful.

Yes very helpful.
I'll plan to include the addition configs in the fix for screen rotation.

thank you very much you two!
i will try the workaround mentioned by @taku82162 and report back

and thank you for your hard work @Tim Curtis!

edit: the workaround works, but funny detail, the mouse cursor is "inverted"...e.g. when i touch the "m" in the upper right corner, i get the correct options menu, but the mouse cursor is in the bottom left corner
Reply


Messages In This Thread
RE: 9.0.1/RPi 3b+: RPi 7" display can't be rotated - by Iacov - 06-02-2024, 02:49 PM

Forum Jump: