Can LayerManagerControl rotate the output 90 degrees CCW?
I am running Weston/Wayland with IVI shell on i.MX8 QM MEK board (version 4.19 Warrior).
I found a web site which showed using the ‘orientation 1’: link
When tried this with 4.19 BSP, output from the serial com port:
Interpreter error: 'orientation' not recognized.
The layer with id: 2000 does not exist
layer_clear: the layer with given id does not exist
I have some matrix math I could include in a function to rotate the screen to the proper orientation, but wondered if there was a way to do this with the LayerManagerControl or with Weston/Wayland.
Let me know any questions or comments.
You can do it on wayland:
1 - vi /etc/xdg/weston/weston.ini
2 - uncomment the g2d backend support:
3 - uncomment the output device configuration
4 - restart weston
systemctl stop weston
systemctl start weston
Thanks for the suggestion Andre!
I think the IVI shell running on top of Weston/Wayland is overriding the Weston 'output' controls. 'systemctl stop/start weston' are not valid commands. The return from 'systemctl stop weston' is 'Failed to stop weston.service: Unit weston.service not loaded.'
Perhaps I should have mentioned I tied to insert similar code ([output]... name... mode... transform...) prior to asking the question of the NXP community, without any success. I had not tried with the g2d backend support enabled. With this enabled, the displayed content is shrunk vertically (unfortunately touch does not track the shrinking). It is unfortunately not rotated though. Just to be clear, here are my weston.ini file contents after following your suggestion: