AnsweredAssumed Answered

How can I rotate Wayland weston?

Question asked by Hyobok Ahn on Sep 6, 2017
Latest reply on Jan 17, 2018 by Joan Xie

Hello.

My project need to rotate screen.

I use Yocto git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1.15-1.0.0_ga release version with Wayland backend and Qt5.

What is best way to rotate 90 degree clock-wise ?

 

I try to use weston.init (I add my self) with my display is LVDS 1024x768.

    [output]

   name=LVDS1

   mode=1024x768

   tansform=90

 

but, that is not work. in this reason

I try name=WL1, but it was not work too.

 

I see manual, if I use name=LVDS1, I must use drm or x11 backend.

So, I add [core] section with backend option like as

   [core]

   backend=drm-backend.so.

but, If I use this option, I fail to loading dri/swrast_dri.so,  dri/vivante_dri.so.

how can I install this library with Waland backend Yocto build system?

 

or, is there any better way to rotate screen without this way?

 

Thanks.

Outcomes