<?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 Hi,Nikhil in Media (Intel® Video Processing Library, Intel Media SDK)</title>
    <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079867#M9275</link>
    <description>&lt;P&gt;Hi,Nikhil&lt;/P&gt;

&lt;P&gt;Sorry for my poor English!&lt;/P&gt;

&lt;P&gt;It's my response.&lt;/P&gt;

&lt;P&gt;Rendering pattern:&lt;/P&gt;

&lt;P&gt;Voide memory + Direct3d9&lt;/P&gt;

&lt;P&gt;Render Code: surface to surface&lt;/P&gt;

&lt;PRE class="brush:;"&gt;DevInfo.pD3DD9-&amp;gt;Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0,0,0), 1.0f, 0);

// DevInfo.pD3DD9-&amp;gt;BeginScene();

CComPtr&amp;lt;IDirect3DSurface9&amp;gt; pBackBuffer;

hr = DevInfo.pD3DD9-&amp;gt;GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &amp;amp;pBackBuffer);

//&amp;nbsp; directxMemId* dxMemId = (directxMemId*)pSurface-&amp;gt;Data.MemId;

IDirect3DSurface9* pBackBuffer1= (IDirect3DSurface9*)pSurface-&amp;gt;Data.MemId;

hr = DevInfo.pD3DD9-&amp;gt;StretchRect(pBackBuffer1, NULL, pBackBuffer, NULL, D3DTEXF_LINEAR);

// DevInfo.pD3DD9-&amp;gt;EndScene();

if (FAILED(hr))

{

&amp;nbsp; return MFX_ERR_UNKNOWN;

}

if (SUCCEEDED(hr))

{

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hr = DevInfo.pD3DD9-&amp;gt;Present(NULL, NULL, NULL, NULL);

}

pBackBuffer.Release();
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In split-screen mode&lt;/P&gt;

&lt;P&gt;Active rendering surfaces displaying at once: 16&lt;/P&gt;

&lt;P&gt;watch all of them in-parallel&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In multi-monitor mode&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Display all my&amp;nbsp;rendering surfaces on three&amp;nbsp;monitors.&lt;/P&gt;

&lt;P&gt;Detail is on attachment.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2016 10:44:22 GMT</pubDate>
    <dc:creator>ll_v_</dc:creator>
    <dc:date>2016-08-04T10:44:22Z</dc:date>
    <item>
      <title>sample_dcode ,Mutliple-Monitor ,low performance</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079863#M9271</link>
      <description>&lt;P align="justify"&gt;Hi&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I developed a h264 decoder by referring sample_decode module from media SDK samples 2016. I am running this decoder on a windows7 machine having Intel HD Graphics 4600 card.My requirement is to&amp;nbsp;display decoding results on multiple monitors.My&amp;nbsp;system supports display output to multiple monitors, all displays&amp;nbsp;is connectedto the output of a graphics adapter. The&amp;nbsp;graphics adapter supports&amp;nbsp;multiple displays.&lt;/P&gt;

&lt;P&gt;Now what I am observing is that&amp;nbsp;using multiple monitors&amp;nbsp;to display&amp;nbsp;worse decoding and displaying performance than&amp;nbsp;Multi-screen&amp;nbsp;display&amp;nbsp;on a monitor.&lt;/P&gt;

&lt;P&gt;So my question is:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is it&amp;nbsp;using multiple monitors&amp;nbsp;to display will has a bad effect on decode and display&amp;nbsp;by D3D9_MEMORY?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 11:26:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079863#M9271</guid>
      <dc:creator>ll_v_</dc:creator>
      <dc:date>2016-08-02T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079864#M9272</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;May I know what do you mean by multiscreen vs multiple-monitor? Can you elaborate your test setup?&lt;/P&gt;

&lt;P&gt;are you decoding multiple streams and rendering them on individual displays?&lt;/P&gt;

&lt;P&gt;OR are you decoding single stream and rendering them on multiple displays?&lt;/P&gt;

&lt;P&gt;I need to also know which graphics driver is installed in your machine. For this, can you please send the system_analyzer log? This tool can be found “&amp;lt;install-folder&amp;gt;\tools\mediasdk_sys_analyzer\”. Run the exe and attach a copy of this log. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 23:59:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079864#M9272</guid>
      <dc:creator>NikhilKuma_R_Intel</dc:creator>
      <dc:date>2016-08-02T23:59:37Z</dc:date>
    </item>
    <item>
      <title>Hi Nikhil</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079865#M9273</link>
      <description>&lt;P&gt;Hi Nikhil&lt;/P&gt;

&lt;P&gt;Thanks for your reply. It's my test setup on attachment.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 02:03:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079865#M9273</guid>
      <dc:creator>ll_v_</dc:creator>
      <dc:date>2016-08-03T02:03:49Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079866#M9274</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the detailed attachments.&lt;/P&gt;

&lt;P&gt;I would like to also know specifics about your rendering pattern.&lt;/P&gt;

&lt;P&gt;In split-screen mode, are you arranging all your rendering surfaces on the monitor? In a way to watch all of them in-parallel or just rendering them irrespective of the arrangement (surface over a surface)? I am trying to know how many active rendering surfaces you are displaying at once.&lt;/P&gt;

&lt;P&gt;In multi-monitor mode, hope you are rendering individual streams in their respective monitors (may be or may not be full-screen but definitely larger rendering surface size&amp;nbsp;than split-screen case)!&lt;/P&gt;

&lt;P&gt;Need to make sure if we are comparing two similar use-cases or different ones!&lt;/P&gt;

&lt;P&gt;Can you also let me know what kind of performance difference are you observing between these two use-cases? Do you have any numbers?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 23:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079866#M9274</guid>
      <dc:creator>NikhilKuma_R_Intel</dc:creator>
      <dc:date>2016-08-03T23:37:00Z</dc:date>
    </item>
    <item>
      <title>Hi,Nikhil</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079867#M9275</link>
      <description>&lt;P&gt;Hi,Nikhil&lt;/P&gt;

&lt;P&gt;Sorry for my poor English!&lt;/P&gt;

&lt;P&gt;It's my response.&lt;/P&gt;

&lt;P&gt;Rendering pattern:&lt;/P&gt;

&lt;P&gt;Voide memory + Direct3d9&lt;/P&gt;

&lt;P&gt;Render Code: surface to surface&lt;/P&gt;

&lt;PRE class="brush:;"&gt;DevInfo.pD3DD9-&amp;gt;Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0,0,0), 1.0f, 0);

// DevInfo.pD3DD9-&amp;gt;BeginScene();

CComPtr&amp;lt;IDirect3DSurface9&amp;gt; pBackBuffer;

hr = DevInfo.pD3DD9-&amp;gt;GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &amp;amp;pBackBuffer);

//&amp;nbsp; directxMemId* dxMemId = (directxMemId*)pSurface-&amp;gt;Data.MemId;

IDirect3DSurface9* pBackBuffer1= (IDirect3DSurface9*)pSurface-&amp;gt;Data.MemId;

hr = DevInfo.pD3DD9-&amp;gt;StretchRect(pBackBuffer1, NULL, pBackBuffer, NULL, D3DTEXF_LINEAR);

// DevInfo.pD3DD9-&amp;gt;EndScene();

if (FAILED(hr))

{

&amp;nbsp; return MFX_ERR_UNKNOWN;

}

if (SUCCEEDED(hr))

{

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hr = DevInfo.pD3DD9-&amp;gt;Present(NULL, NULL, NULL, NULL);

}

pBackBuffer.Release();
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In split-screen mode&lt;/P&gt;

&lt;P&gt;Active rendering surfaces displaying at once: 16&lt;/P&gt;

&lt;P&gt;watch all of them in-parallel&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In multi-monitor mode&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Display all my&amp;nbsp;rendering surfaces on three&amp;nbsp;monitors.&lt;/P&gt;

&lt;P&gt;Detail is on attachment.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 10:44:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079867#M9275</guid>
      <dc:creator>ll_v_</dc:creator>
      <dc:date>2016-08-04T10:44:22Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079868#M9276</link>
      <description>&lt;DIV&gt;
	&lt;P&gt;Hi,&lt;/P&gt;

	&lt;P&gt;StretchRect can be slow or fast, depending on platform (depending on the D3D9 device used). The D3D9 device is responsible for the window (display) is used. If using 2 displays with Intel gfx, we highly recommend using the "Collage" mode that is available, which makes one desktop surface that displays to both screens. This allows the OS, drivers and HW to be more efficient. In this case, everything is seen as one surface, supported by one gfx device. Otherwise, your working with 2 devices, and D3D9 is not the best at that. D3D11 architecture was created to resolve many of surface sharing issues that D3D9 architecture has.&lt;/P&gt;

	&lt;P&gt;Collage mode can be selected from Intel Graphics Control Panel -&amp;gt; Display -&amp;gt; Multiple Displays -&amp;gt; Collage (Enable).&lt;/P&gt;

	&lt;P&gt;This should be able to help you if all monitors are attached to Intel gfx HW.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Aug 2016 22:16:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079868#M9276</guid>
      <dc:creator>NikhilKuma_R_Intel</dc:creator>
      <dc:date>2016-08-04T22:16:00Z</dc:date>
    </item>
    <item>
      <title>Hi,Nikhil</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079869#M9277</link>
      <description>&lt;P&gt;Hi,Nikhil&lt;/P&gt;

&lt;P&gt;Thanks for your reply.I will attempt to Collage and d3d11.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 01:10:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/sample-dcode-Mutliple-Monitor-low-performance/m-p/1079869#M9277</guid>
      <dc:creator>ll_v_</dc:creator>
      <dc:date>2016-08-05T01:10:28Z</dc:date>
    </item>
  </channel>
</rss>

