<?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 Configuring a second graphics card with XWindows in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667542#M102689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the basic frame buffer working on fb0 and fb2. &amp;nbsp;If I do not launch XWindows, I can read and write to the framebuffers just find.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;X is looking for a second card, but there is not one.&lt;/P&gt;&lt;P&gt;root@cgtimx6:/dev/dri# ls &lt;BR /&gt;card0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have my fbs correctly configured. So what do I need to do in order to get the vivante /glxs to load two. &amp;nbsp;I can move between screens (fb0 and fb2) successfully, but I can not get both up.&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My displays are LVDS (800x480). &amp;nbsp;What do I need to configure to get it to add displays? &amp;nbsp;They are configured as separate.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;echo 1&amp;gt;&lt;SPAN&gt;/sys/class/graphics/fb2/&lt;/SPAN&gt;blank &lt;BR /&gt;cat /dev/fb0 &amp;gt;/tmp/a &lt;BR /&gt;cat /tmp/a &amp;gt;/dev/fb2&lt;/P&gt;&lt;P&gt;Will successfully copy the image from one screen to the other if X is not running. &amp;nbsp;So the hardware is configured correctly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The X log shows&lt;/P&gt;&lt;P&gt;[3276244.299] (II) AIGLX: Screen 0 is not DRI2 capable&lt;BR /&gt;[3276244.299] (EE) AIGLX: reverting to software rendering&lt;BR /&gt;[3276244.696] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer&lt;BR /&gt;[3276244.697] (II) AIGLX: Loaded and initialized swrast&lt;BR /&gt;[3276244.697] (II) GLX: Initialized DRISWRAST GL provider for screen 0&lt;BR /&gt;[3276244.697] (II) VIVANTE(0): Setting screen physical size to 211 x 127&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my full conf and log files. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to configure a sub device?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337100"&gt;Xorg.0.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337100"&gt;xorg.conf.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2017 19:29:09 GMT</pubDate>
    <dc:creator>mstevens</dc:creator>
    <dc:date>2017-05-30T19:29:09Z</dc:date>
    <item>
      <title>Configuring a second graphics card with XWindows</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667542#M102689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the basic frame buffer working on fb0 and fb2. &amp;nbsp;If I do not launch XWindows, I can read and write to the framebuffers just find.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;X is looking for a second card, but there is not one.&lt;/P&gt;&lt;P&gt;root@cgtimx6:/dev/dri# ls &lt;BR /&gt;card0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have my fbs correctly configured. So what do I need to do in order to get the vivante /glxs to load two. &amp;nbsp;I can move between screens (fb0 and fb2) successfully, but I can not get both up.&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My displays are LVDS (800x480). &amp;nbsp;What do I need to configure to get it to add displays? &amp;nbsp;They are configured as separate.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;echo 1&amp;gt;&lt;SPAN&gt;/sys/class/graphics/fb2/&lt;/SPAN&gt;blank &lt;BR /&gt;cat /dev/fb0 &amp;gt;/tmp/a &lt;BR /&gt;cat /tmp/a &amp;gt;/dev/fb2&lt;/P&gt;&lt;P&gt;Will successfully copy the image from one screen to the other if X is not running. &amp;nbsp;So the hardware is configured correctly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The X log shows&lt;/P&gt;&lt;P&gt;[3276244.299] (II) AIGLX: Screen 0 is not DRI2 capable&lt;BR /&gt;[3276244.299] (EE) AIGLX: reverting to software rendering&lt;BR /&gt;[3276244.696] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer&lt;BR /&gt;[3276244.697] (II) AIGLX: Loaded and initialized swrast&lt;BR /&gt;[3276244.697] (II) GLX: Initialized DRISWRAST GL provider for screen 0&lt;BR /&gt;[3276244.697] (II) VIVANTE(0): Setting screen physical size to 211 x 127&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my full conf and log files. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to configure a sub device?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337100"&gt;Xorg.0.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337100"&gt;xorg.conf.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 19:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667542#M102689</guid>
      <dc:creator>mstevens</dc:creator>
      <dc:date>2017-05-30T19:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a second graphics card with XWindows</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667543#M102690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual render X11 display hw acceleration interface is not currently supported on NXP BSP.&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, 01 Jun 2017 16:13:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667543#M102690</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2017-06-01T16:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a second graphics card with XWindows</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667544#M102691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Bio_TICFLS&lt;/P&gt;&lt;P&gt;I do not need hardware accelleration, I just need them to display. &amp;nbsp;This is for a UI so it is fine for it to be slow. &amp;nbsp;I tried the generic fbdev (I think), it did not work. &amp;nbsp;What is the best path for getting two displays up? &amp;nbsp; This is a UI no need for hardware rendering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 17:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667544#M102691</guid>
      <dc:creator>mstevens</dc:creator>
      <dc:date>2017-06-01T17:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a second graphics card with XWindows</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667545#M102692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SOLUTION&lt;/P&gt;&lt;P&gt;This &lt;A href="https://drive.google.com/open?id=0BwiGg-EMVzYgU05iRnRhVjljQ3c"&gt;link&lt;/A&gt;&amp;nbsp; has a series of patches the timing may be wrong for your display hardware you. However you will need most of them. &amp;nbsp;Below is my modified xorg.conf&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Section "Device"&lt;BR /&gt; Identifier "i.MX Accelerated Framebuffer Device-0"&lt;BR /&gt; Driver "vivante"&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 style="padding-left: 30px;"&gt;Section "Device"&lt;BR /&gt; Identifier "i.MX Accelerated Framebuffer Device-1"&lt;BR /&gt; Driver "vivante"&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;Section "Monitor"&lt;BR /&gt; Identifier "Monitor0"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Section "Monitor"&lt;BR /&gt; Identifier "Monitor1"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P&gt;&lt;BR /&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;You will also need to calibrate your touch displays.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;export DISPLAY=:0.1&lt;/SPAN&gt;&lt;BR style="color: #000000; font-size: 16px;" /&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;xinput set-prop 8 --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;xinput_calibrate&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;export DISPLAY=:0.0&lt;/SPAN&gt;&lt;BR style="color: #000000; font-size: 16px;" /&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;xinput set-prop 7 --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;xinput_calibrate&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR style="color: #000000; font-size: 16px;" /&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;The calibration values need to be set as&amp;nbsp;&lt;SPAN&gt;"Evdev Axis Calibration" (examples below).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;&lt;SPAN&gt;You need the transformation matrix to keep the scaling proper.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;export DISPLAY=:0.1&lt;/SPAN&gt;&lt;BR style="color: #000000; font-size: 16px;" /&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;xinput set-prop 8 --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;xinput set-prop 8&amp;nbsp; "Evdev Axis Calibration" 15 4011 101 3968&lt;/SPAN&gt;&lt;BR style="color: #000000; font-size: 16px;" /&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;export DISPLAY=:0.0&lt;/SPAN&gt;&lt;BR style="color: #000000; font-size: 16px;" /&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;xinput set-prop 7 --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1&lt;/SPAN&gt;&lt;BR style="color: #000000; font-size: 16px;" /&gt;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;xinput set-prop 7&amp;nbsp; "Evdev Axis Calibration" 28 3980 -109 3867&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Finally I'd like to say a big thank you to conga tech support for all their help. &amp;nbsp;I posted this solution so that no one else needs to go through the trouble I had.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 17:15:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667545#M102692</guid>
      <dc:creator>mstevens</dc:creator>
      <dc:date>2017-08-10T17:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a second graphics card with XWindows</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667546#M102693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Link to patch doesn't work anymore and xorg.conf with these settings ends up on segmentation fault. Is there still any way to acquire this patch?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 01:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667546#M102693</guid>
      <dc:creator>wiktors_ovallec</dc:creator>
      <dc:date>2018-02-01T01:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a second graphics card with XWindows</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667547#M102694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i'm facing the same problem as Wiktor, keep ending on segmentation fault, Is there still a way to adquire this patch?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:28:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-second-graphics-card-with-XWindows/m-p/667547#M102694</guid>
      <dc:creator>walber_silva</dc:creator>
      <dc:date>2019-12-19T13:28:53Z</dc:date>
    </item>
  </channel>
</rss>

