Skip to main content
Shree
Associate III
Aug 28, 2020 12:52 PM UTC
Question

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

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.

2 replies

Olivier GALLIEN
ST Technical Moderator
Sep 1, 2020 2:51 PM UTC

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

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
Sep 4, 2020 8:10 AM UTC

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