procount / pinn-os

os-images for PINN
33 stars 17 forks source link

Screen rotate on Pi 4 #10

Closed hattoriakuto closed 3 years ago

hattoriakuto commented 3 years ago

Hi

first off thanks for a wonderful program. I have an issue with the Official Raspberry Pi screen and you program i cant seam to work out how to rotate the screen and I can not find how to get to have pinn-os rotate so that i can use the case for the screen.

any halp and advice is welcome

Thanks in advance

procount commented 3 years ago

I think you should be able to do this in config.txt by adding lcd_rotate=1 (or 2 or 3, depending on how much rotation you need), See https://www.raspberrypi.org/documentation/configuration/config-txt/video.md. You will also need to configure the rotation in each OS installed by PINN, as each OS is independent.

hattoriakuto commented 3 years ago

thanks for that

davidstk1311 commented 1 year ago

is there no way to "send" the rotation over to the os so you dont have to do it on all os´s individually?

procount commented 1 year ago

There is no consistent way of setting the rotation on all OSes. They could use legacy video drivers, fkms, kms, LCD or some other way of defining the rotation. Not everyone may want the same rotation on each OS.

You could possibly do this if you cloned the OSes you wanted to install and modified either the tarballs or the partition_setup.sh file, but it's not an ideal solution. OS "flavours" may possibly be an avenue to explore.