<HTML>
<HEAD>
<TITLE>Re: [Paraview] remote rendering with paraview</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Yes, yes, yes, and yes.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 2/5/09 3:47 PM, &quot;Jim Montine&quot; &lt;<a href="jmontine@sgi.com">jmontine@sgi.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Arial">So in this case, pvserver is using the hardware GPU to render to an off-screen context?<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">It must also then be doing a pixel readback before it sends the image to the client?<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">On my server I have several proceesors and one gfx card. &nbsp;If I do something like:<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">mpirun -np 4 pvserver --use-offscree-rendering<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">will each process create an off-screen rendering conext using the same gfx card?<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">In this case are the four images read back and combined before they are sent to the client?<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Thanks for the answers.<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="100%"></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><B>From:</B> Moreland, Kenneth [<a href="mailto:kmorel@sandia.gov">mailto:kmorel@sandia.gov</a>]<BR>
<B>Sent:</B> Thu 2/5/2009 2:27 PM<BR>
<B>To:</B> Jim Montine; David E DeMarle<BR>
<B>Cc:</B> <a href="paraview@paraview.org">paraview@paraview.org</a><BR>
<B>Subject:</B> Re: [Paraview] remote rendering with paraview<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
You need the DISPLAY environment variable because the standard way to get a gfx context on *nix is through an X server. &nbsp;To create an off-screen rendering context you first have to connect to an X server. &nbsp;It is also a convenient way to specify which GPU you want to use if a system has more than one.<BR>
<BR>
There is one exception to the DISPLAY/X server requirement. &nbsp;ParaView supports the use of OSMesa, which allows you to open a Mesa 3D rendering context without an X server. &nbsp;This simplifies running pvserver a great deal, but works exclusively with software only rendering. &nbsp;Thus, we recommend it if and only if you have no graphics hardware.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 2/5/09 1:26 PM, &quot;Jim Montine&quot; &lt;<a href="jmontine@sgi.com">jmontine@sgi.com</a>&gt; wrote:<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Arial">In case 2 below &nbsp;(where the server optionally renders the polygons), why is it necessary to set &nbsp;the<BR>
DISPLAY to the gfx head of the server (things are displayed on the PC) &nbsp;Why is the DISPLAY environment<BR>
needed at all for this off-screen rendering &nbsp;case?<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Arial"><BR>
</FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>