<?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 Change resolution at runtime on iMX8 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Change-resolution-at-runtime-on-iMX8/m-p/1078747#M158326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;on our previous system (which was based on imx6dl, yocto krogoth) we were able to support multiple displays for our projects. The displays are connected via LVDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically we were doing something like this at boot:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;fbset --timings a b c d e f&lt;/LI&gt;&lt;LI&gt;fbset --geometry a b c d e f&lt;/LI&gt;&lt;LI&gt;/etc/init.d/weston restart&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And it worked flawlessy with 3 different displays, with different resolutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we're trying to implement something similar on imx8mm, yocto sumo. The main difference here is that we are using systemd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting to make it work with these steps:&lt;/P&gt;&lt;UL style="padding: 0px 0px 0px 30px;"&gt;&lt;LI style="margin: 0.2em 0px;"&gt;fbset --timings a b c d e f&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;fbset --geometry a b c d e f&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;systemctl restart weston&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But weston.service is somehow resetting my fbset configuration. This is the message that I get after the service restart:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;[ 4724.330511] imx-drm display-subsystem: sn65dsi83_bridge_disable&lt;BR /&gt;[ 4724.389148] imx-drm display-subsystem: sn65dsi83_bridge_mode_set: mode: 1280*800@70000&lt;BR /&gt;[ 4724.393025] imx-drm display-subsystem: sn65dsi83_bridge_enable&lt;BR /&gt;[ 4724.393032] sn65dsi83 3-002c: sn65dsi83_brg_setup&lt;BR /&gt;[ 4724.403996] sn65dsi83 3-002c: PIXCLK [ 70000000 ] Hz&lt;BR /&gt;[ 4724.404001] sn65dsi83 3-002c: DSI clock [ 420000000 ] Hz&lt;BR /&gt;[ 4724.404005] sn65dsi83 3-002c: GeoMetry [ 1280 x 800 ] Hz&lt;BR /&gt;[ 4724.408619] sn65dsi83 3-002c: LVDS SINGLE CHANNEL&lt;BR /&gt;root@icoremx8mm_alma:~# [ 4725.123157] imx-drm display-subsystem: sn65dsi83_connector_detect&lt;BR /&gt;[ 4725.129310] imx-drm display-subsystem: sn65dsi83_connector_get_modes&lt;BR /&gt;[ 4725.135728] imx-drm display-subsystem: sn65dsi83_connector_mode_valid: mode: 1280*800@70000 is valid&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but the resolution I'm setting with the fbset commands is 1024*798.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really not want to write different device trees for each of our diffent product because of maintainability.&lt;/P&gt;&lt;P&gt;Do you have any suggestion to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paolo Gentili&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2020 16:04:16 GMT</pubDate>
    <dc:creator>pgentili</dc:creator>
    <dc:date>2020-06-09T16:04:16Z</dc:date>
    <item>
      <title>Change resolution at runtime on iMX8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-resolution-at-runtime-on-iMX8/m-p/1078747#M158326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;on our previous system (which was based on imx6dl, yocto krogoth) we were able to support multiple displays for our projects. The displays are connected via LVDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically we were doing something like this at boot:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;fbset --timings a b c d e f&lt;/LI&gt;&lt;LI&gt;fbset --geometry a b c d e f&lt;/LI&gt;&lt;LI&gt;/etc/init.d/weston restart&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And it worked flawlessy with 3 different displays, with different resolutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we're trying to implement something similar on imx8mm, yocto sumo. The main difference here is that we are using systemd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting to make it work with these steps:&lt;/P&gt;&lt;UL style="padding: 0px 0px 0px 30px;"&gt;&lt;LI style="margin: 0.2em 0px;"&gt;fbset --timings a b c d e f&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;fbset --geometry a b c d e f&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;systemctl restart weston&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But weston.service is somehow resetting my fbset configuration. This is the message that I get after the service restart:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;[ 4724.330511] imx-drm display-subsystem: sn65dsi83_bridge_disable&lt;BR /&gt;[ 4724.389148] imx-drm display-subsystem: sn65dsi83_bridge_mode_set: mode: 1280*800@70000&lt;BR /&gt;[ 4724.393025] imx-drm display-subsystem: sn65dsi83_bridge_enable&lt;BR /&gt;[ 4724.393032] sn65dsi83 3-002c: sn65dsi83_brg_setup&lt;BR /&gt;[ 4724.403996] sn65dsi83 3-002c: PIXCLK [ 70000000 ] Hz&lt;BR /&gt;[ 4724.404001] sn65dsi83 3-002c: DSI clock [ 420000000 ] Hz&lt;BR /&gt;[ 4724.404005] sn65dsi83 3-002c: GeoMetry [ 1280 x 800 ] Hz&lt;BR /&gt;[ 4724.408619] sn65dsi83 3-002c: LVDS SINGLE CHANNEL&lt;BR /&gt;root@icoremx8mm_alma:~# [ 4725.123157] imx-drm display-subsystem: sn65dsi83_connector_detect&lt;BR /&gt;[ 4725.129310] imx-drm display-subsystem: sn65dsi83_connector_get_modes&lt;BR /&gt;[ 4725.135728] imx-drm display-subsystem: sn65dsi83_connector_mode_valid: mode: 1280*800@70000 is valid&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but the resolution I'm setting with the fbset commands is 1024*798.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really not want to write different device trees for each of our diffent product because of maintainability.&lt;/P&gt;&lt;P&gt;Do you have any suggestion to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paolo Gentili&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 16:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-resolution-at-runtime-on-iMX8/m-p/1078747#M158326</guid>
      <dc:creator>pgentili</dc:creator>
      <dc:date>2020-06-09T16:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change resolution at runtime on iMX8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-resolution-at-runtime-on-iMX8/m-p/1078748#M158327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paolo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the method, please!&lt;/P&gt;&lt;P&gt;-------------------------------------&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; To change&amp;nbsp; output mode to your resolution at "/etc/xdg/weston/weston.ini"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;[output]&lt;BR /&gt;name=HDMI-A-1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;mode=1920x1080@60&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. restart weston&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; systemctl restart weston&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;B.R,&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 03:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-resolution-at-runtime-on-iMX8/m-p/1078748#M158327</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-06-17T03:42:43Z</dc:date>
    </item>
  </channel>
</rss>

