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

Issue with screen rotation #371

Closed
Simgy opened this issue Aug 21, 2023 · 4 comments
Closed

Issue with screen rotation #371

Simgy opened this issue Aug 21, 2023 · 4 comments

Comments

@Simgy
Copy link

Simgy commented Aug 21, 2023

Hello,

I installed last version of Raspberry OS with an hyperpixel 4.0 touch.
I set the hyperpixel and touchscreen of my raspberry in landscape position with :

  • dtparam=rotate=90,touchscreen-swapped-x-y,touchscreen-inverted-y

but when I install octoscreen, the window of octoscreen is in portait mode.

I tried lot of solution with no result.
Do you have this type of problem? how did you solve it?
OctoScreen_portait

@treakifo
Copy link

For what it's worth, I'm having the same problem, also using a Hyperpixel 4.0 touch and config.txt setting. The console text at boot appears in the correct orientation, but OctoScreen needs to be rotated 90 degrees. It was working on the same hardware from an earlier version of the OctoPi OS image, but I stupidly decided to rebuild with the current version.

@fargodwe
Copy link

Did you try a 180 rotation?

@treakifo
Copy link

I actually got it working! From Pimoroni's Hyperpixel driver page (https://github.com/pimoroni/hyperpixel4) the section entitled "Totally Manual Rotation", I was able to use the Rotation on the Fly instructions to rotate the screen the the correct value. The command stores the rotation you set and no additional manual config changes are needed.

I tried reproducing the steps on another Raspberry Pi 4 with another Hyperpixel, but I couldn't get it to work again. I finally just cloned the SD card I used to build the first Pi and that finally worked.

@JeffB42
Copy link
Collaborator

JeffB42 commented Jul 12, 2024

Thanks @treakifo , I'm going to close this issue now.

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

No branches or pull requests

4 participants