Skip to main content
Shree
Associate III
August 28, 2020
Question

How to rotate the frame buffer from portrait to landscape mode ?

  • August 28, 2020
  • 1 reply
  • 1347 views

Hi,

I am using MB1166 Rev.A display with STM32MP1 board. In the default mode it shows the logs in portrait mode, how can I rotate it to landscape mode?

Regards,

Shrikant

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
September 1, 2020

Hi @Shree

On EVAL board the display on MB1166 is usually in landscape mode.

Are you using a weston image ?

Anyway screen orientation can be manage through parameter"transform" in /etc/xdg/weston/weston.ini file

Some useful information and link around weston configuration starting from that page :https://wiki.st.com/stm32mpu/wiki/Wayland_Weston_overview

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Shree
ShreeAuthor
Associate III
September 4, 2020

Hi @Community member​ ,

Its not a weston image so I don't have '/etc/xdg/weston/weston.ini' file in my rootfs.

Can you please share the for X11 image ?

Regards,

Shrikant