<?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: i.mx6 Yocto Clone Display /dev/fb0 to /dev/fb2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-Yocto-Clone-Display-dev-fb0-to-dev-fb2/m-p/724065#M112586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at suggestions provided on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/311751"&gt;i.mx6q Enable Dual Display of Ubuntu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/318030"&gt;Cloning a display&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 23:16:42 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-03-22T23:16:42Z</dc:date>
    <item>
      <title>i.mx6 Yocto Clone Display /dev/fb0 to /dev/fb2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-Yocto-Clone-Display-dev-fb0-to-dev-fb2/m-p/724064#M112585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use I.mx6 with yocto and try to clone/mirror my Display. I have an internal lvds Display and an USB-DVI Adapter (DisplayLink). The Displaylink driver works and after plug it in /dev/fb2 appears. Its possible to copy data in fb2 and it appears on the display. But I want to mirror my lvds screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I tried it with Xorg and for the first test I copied in .conf:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "Device"&lt;BR /&gt;Identifier "i.MX Accelerated Framebuffer Device-0"&lt;BR /&gt;Driver "fbdev"&lt;BR /&gt;Option "fbdev" "/dev/fb0"&lt;BR /&gt;Option "vivante_fbdev" "/dev/fb0"&lt;BR /&gt;Option "HWcursor" "false"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "Device"&lt;BR /&gt;Identifier "i.MX Accelerated Framebuffer Device-1"&lt;BR /&gt;Driver "fbdev"&lt;BR /&gt;Option "fbdev" "/dev/fb2"&lt;BR /&gt;Option "vivante_fbdev" "/dev/fb2"&lt;BR /&gt;Option "HWcursor" "false"&lt;BR /&gt;Option "NoAccel" "True"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "Monitor"&lt;BR /&gt;Identifier "Monitor0"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "Monitor"&lt;BR /&gt;Identifier "Monitor1"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "Screen"&lt;BR /&gt;Identifier "Scr0"&lt;BR /&gt;Monitor "Monitor0"&lt;BR /&gt;Device "i.MX Accelerated Framebuffer Device-0"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "Screen"&lt;BR /&gt;Identifier "Scr1"&lt;BR /&gt;Monitor "Monitor1"&lt;BR /&gt;Device "i.MX Accelerated Framebuffer Device-1"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "ServerFlags"&lt;BR /&gt;Option "Xinerama" "true"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section "ServerLayout"&lt;BR /&gt;Identifier "Default Layout"&lt;BR /&gt;Screen "Scr0" 0 0&lt;BR /&gt;Screen "Scr1" RightOf "Scr0"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============&lt;/P&gt;&lt;P&gt;With that configuration I can expand the display. But I need the vivante driver, not fbdev (as I know, vivante doesn't support dual display mode?). And its not possible to clone the display when I change the ServerLayout. So my thought was to develop a small program to copy fb0 to fb2. Are there any solutions how to do that? Or do you have any completely different idea how to clone the display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 11:34:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-Yocto-Clone-Display-dev-fb0-to-dev-fb2/m-p/724064#M112585</guid>
      <dc:creator>matthiasalbrech</dc:creator>
      <dc:date>2018-03-22T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 Yocto Clone Display /dev/fb0 to /dev/fb2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-Yocto-Clone-Display-dev-fb0-to-dev-fb2/m-p/724065#M112586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at suggestions provided on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/311751"&gt;i.mx6q Enable Dual Display of Ubuntu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/318030"&gt;Cloning a display&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 23:16:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-Yocto-Clone-Display-dev-fb0-to-dev-fb2/m-p/724065#M112586</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-03-22T23:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 Yocto Clone Display /dev/fb0 to /dev/fb2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-Yocto-Clone-Display-dev-fb0-to-dev-fb2/m-p/724066#M112587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks. But it doesn't work. I read that in xorg.conf I have to use vivante for one framebuffer and for the other fbdev (it seems that "vivante" not support two display? :&lt;A href="https://community.nxp.com/thread/311751"&gt;i.mx6q Enable Dual Display of Ubuntu&lt;/A&gt; ). But that doesn't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it to copy one framebuffer to the other (/dev/fb0 to /dev/fb2). But if I do a simple "cat /dev/fb0 &amp;gt; /dev/fb2" (or use my efficient c-code with mmap) the display shows a strange picture (see attachment). Do you know why it shows something like that? Or do you where I can get informations about that?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="800x480display.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25027iC0867D1242648521/image-size/large?v=v2&amp;amp;px=999" role="button" title="800x480display.JPG" alt="800x480display.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1280x1024display.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24990i39B6D2F13C7EA866/image-size/large?v=v2&amp;amp;px=999" role="button" title="1280x1024display.JPG" alt="1280x1024display.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 10:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-Yocto-Clone-Display-dev-fb0-to-dev-fb2/m-p/724066#M112587</guid>
      <dc:creator>matthiasalbrech</dc:creator>
      <dc:date>2018-03-29T10:00:27Z</dc:date>
    </item>
  </channel>
</rss>

