<?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: About Multi-GPU Configuration in i.MX Graphics</title>
    <link>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505138#M314</link>
    <description>&lt;P&gt;Hello GordonXu,&lt;/P&gt;
&lt;DIV id="bodyDisplay_1" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Could you attach imx8qm reference manual?&amp;nbsp; I cannot find the section you mentioned from the one I got .Thanks.&lt;/P&gt;
&lt;P&gt;VIV_MGPU_AFFINITY is used in the GPU commands to use single GPU or bridged GPU, you can choose gpus in user space before running any applications.&lt;/P&gt;
&lt;P&gt;Default - bridged(both gpu are used)&lt;/P&gt;
&lt;P&gt;export VIV_MGPU_AFFINITY="0:0"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GPU-0&lt;/P&gt;
&lt;P&gt;export VIV_MGPU_AFFINITY="1:0"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GPU-1&lt;/P&gt;
&lt;P&gt;export VIV_MGPU_AFFINITY="1:1"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Aug 2022 17:29:22 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2022-08-11T17:29:22Z</dc:date>
    <item>
      <title>About Multi-GPU Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1504543#M312</link>
      <description>&lt;P&gt;About Multi-GPU Configuration, I found some descriptions,&lt;BR /&gt;&amp;lt;i.MX 8QuadMax Applications Processor Reference Manual&amp;gt; Section 16.1.1.1 GPU,&lt;BR /&gt;Since the GPU sub-systems are identical, the GPU cores have the ability to hookup to one another and form a single graphics engine. At start-up, the choice can be made to enable the GPUs to act as a single engine (one 16 shader GPU) or work independently (two 8 shader GPUs).&lt;/P&gt;&lt;P&gt;&amp;lt;i.MX Graphics User's Guide&amp;gt; Section 8.2 Multi-GPU configurations,&lt;BR /&gt;Vivante Multi-GPU IP may be configured into one of the following behavior model through software:&lt;BR /&gt;• Combined Mode where two (or more) GPU cores in the multi-GPU design behave in concert. Driver presents multi-GPU to SW application as a single logical GPU. The multiple GPUs work in the same virtual address space and share the same MMU page table. The multiple GPUs fetch and execute a shared Command Buffer.&lt;BR /&gt;• Independent Mode where each GPU in the multi-GPU design performs independently. The multiple GPUs work in different virtual address spaces but share the same MMU page table. Each GPU core fetches and executes its own Command Buffer. This enables different SW applications to run simultaneously on different GPU cores.&lt;/P&gt;&lt;P&gt;Both documents says multi-GPU can be configured to Combined Mode or Independent Mode. But I haven’t found any description about how to configured it.&lt;/P&gt;&lt;P&gt;&amp;lt;i.MX Graphics User's Guide&amp;gt; Section 8.3 describes “VIV_MGPU_AFFINITY is the environment variable to control the application GPU affinity on multi-GPU platform.” And I am very confused where to set this environment variable, in build environment, in u-boot or Linux runtime environment? And how does this environment variable get work?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 05:48:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1504543#M312</guid>
      <dc:creator>GordonXu</dc:creator>
      <dc:date>2022-08-11T05:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: About Multi-GPU Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505138#M314</link>
      <description>&lt;P&gt;Hello GordonXu,&lt;/P&gt;
&lt;DIV id="bodyDisplay_1" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Could you attach imx8qm reference manual?&amp;nbsp; I cannot find the section you mentioned from the one I got .Thanks.&lt;/P&gt;
&lt;P&gt;VIV_MGPU_AFFINITY is used in the GPU commands to use single GPU or bridged GPU, you can choose gpus in user space before running any applications.&lt;/P&gt;
&lt;P&gt;Default - bridged(both gpu are used)&lt;/P&gt;
&lt;P&gt;export VIV_MGPU_AFFINITY="0:0"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GPU-0&lt;/P&gt;
&lt;P&gt;export VIV_MGPU_AFFINITY="1:0"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GPU-1&lt;/P&gt;
&lt;P&gt;export VIV_MGPU_AFFINITY="1:1"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:29:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505138#M314</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-08-11T17:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: About Multi-GPU Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505246#M315</link>
      <description>&lt;P&gt;Hi Bio,&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;The m&lt;SPAN&gt;aximum size of attach is 25 MB but&amp;nbsp;IMX8QMRM is about 65MB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It could be found on NXP website.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i.MX 8QuadMax Applications Processor Reference Manual Rev 0 Sep 16, 2021&lt;BR /&gt;Document Number: IMX8QMRM, Rev. 0, 9/2021&lt;BR /&gt;page 9299&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How does&amp;nbsp;&lt;SPAN&gt;VIV_MGPU_AFFINITY get effect? I mean who read this environment variable and do the application GPU affinity?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 00:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505246#M315</guid>
      <dc:creator>GordonXu</dc:creator>
      <dc:date>2022-08-12T00:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: About Multi-GPU Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505685#M316</link>
      <description>&lt;P&gt;&lt;SPAN&gt;gpu driver read this variable and gpu will do this affinity&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 16:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505685#M316</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-08-12T16:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: About Multi-GPU Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505876#M317</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to IMX_GPRPHICS_USERS_GUIDE, the environment variable VIV_MGPU_AFFINITY effects when &amp;nbsp;GPUs in Independent Mode, so how to configure GPUs to Independent Mode or Combined Mode?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 00:50:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/About-Multi-GPU-Configuration/m-p/1505876#M317</guid>
      <dc:creator>GordonXu</dc:creator>
      <dc:date>2022-08-15T00:50:54Z</dc:date>
    </item>
  </channel>
</rss>

