<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can LayerManagerControl rotate the output 90 degrees CCW? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012177#M149906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry no It can´t. You have to do the rotation it when is booting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2020 14:14:51 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2020-03-26T14:14:51Z</dc:date>
    <item>
      <title>Can LayerManagerControl rotate the output 90 degrees CCW?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012176#M149905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Can &lt;SPAN style="background: white;"&gt;&lt;SPAN&gt;LayerManagerControl &lt;/SPAN&gt;&lt;/SPAN&gt;rotate the output 90 degrees CCW?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I am running Weston/Wayland with IVI shell on i.MX8 QM MEK board (version&amp;nbsp;4.19 Warrior).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I found a web site which showed using the ‘orientation 1’: &lt;A href="https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002121.html"&gt;&lt;SPAN style="color: #2989c5;"&gt;link&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;When tried this with 4.19 BSP, output from the serial com port:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Interpreter error: 'orientation' not recognized.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;The layer with id: 2000 does not exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;layer_clear: the layer with given id does not exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; background: white; font-size: 11.5pt; "&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Let me know any questions or comments.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 12:53:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012176#M149905</guid>
      <dc:creator>garym</dc:creator>
      <dc:date>2020-03-25T12:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can LayerManagerControl rotate the output 90 degrees CCW?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012177#M149906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry no It can´t. You have to do the rotation it when is booting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 14:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012177#M149906</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2020-03-26T14:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can LayerManagerControl rotate the output 90 degrees CCW?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012178#M149907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it on wayland:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - vi /etc/xdg/weston/weston.ini&lt;/P&gt;&lt;P&gt;2 - uncomment the&amp;nbsp;g2d backend support:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;use-g2d=1&lt;/P&gt;&lt;P&gt;3 - uncomment the output device configuration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;[output]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;name=HDMI-A-1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;mode=1920x1080@60&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;transform=90&lt;/P&gt;&lt;P&gt;4 - restart weston&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;systemctl stop weston&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;systemctl start weston&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 14:19:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012178#M149907</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2020-03-30T14:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can LayerManagerControl rotate the output 90 degrees CCW?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012179#M149908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion Andre!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the IVI shell running on top of Weston/Wayland is overriding the Weston 'output' controls.&amp;nbsp; 'systemctl stop/start weston' are not valid commands. &amp;nbsp; The return from 'systemctl stop weston' is 'Failed to stop weston.service: Unit weston.service not loaded.'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp; I had not tried with the g2d backend support enabled.&amp;nbsp; With this enabled, the displayed content is shrunk vertically (unfortunately touch does not track the shrinking).&amp;nbsp; It is unfortunately not rotated though.&amp;nbsp; Just to be clear, here are my weston.ini file contents after following your suggestion:&lt;/P&gt;&lt;DIV&gt;[core]&lt;BR /&gt;shell=ivi-shell.so&lt;BR /&gt;modules=ivi-controller.so&lt;BR /&gt;require-input=false&lt;BR /&gt;use-g2d=1&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;[ivi-shell]&lt;BR /&gt;ivi-input-module=ivi-input-controller.so&lt;BR /&gt;ivi-client-name=/usr/bin/simple-weston-client&lt;BR /&gt;bkgnd-surface-id=1000000&lt;BR /&gt;bkgnd-color=0x00000000&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;[output]&lt;BR /&gt;name=HDMI-A-2&lt;BR /&gt;mode=1920x1080@60&lt;BR /&gt;transform=270&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # rotate 90 degrees counter clockwise&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 17:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-LayerManagerControl-rotate-the-output-90-degrees-CCW/m-p/1012179#M149908</guid>
      <dc:creator>garym</dc:creator>
      <dc:date>2020-03-30T17:55:22Z</dc:date>
    </item>
  </channel>
</rss>

