<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<HTML>
<HEAD>
<TITLE>Re: [Paraview] remote rendering with paraview</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText21394 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>So in this case, pvserver is
using the hardware GPU to render to an off-screen context?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I</FONT><FONT face=Arial
color=#000000 size=2>t must also then be doing a pixel </FONT><FONT face=Arial
size=2>readback before it sends the image to the client?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>On my server I have several proceesors and
one gfx card. If I do something like:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>mpirun -np 4 pvserver
--use-offscree-rendering</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>will each process create an off-screen
rendering conext using the same gfx card?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>In this case are the four images read back
and combined before they are sent to the client?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks for the answers.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Moreland, Kenneth
[mailto:kmorel@sandia.gov]<BR><B>Sent:</B> Thu 2/5/2009 2:27 PM<BR><B>To:</B>
Jim Montine; David E DeMarle<BR><B>Cc:</B>
paraview@paraview.org<BR><B>Subject:</B> Re: [Paraview] remote rendering with
paraview<BR></FONT><BR></DIV>
<DIV><FONT face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt">You need the DISPLAY environment variable because the
standard way to get a gfx context on *nix is through an X server. To
create an off-screen rendering context you first have to connect to an X server.
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. ParaView supports the use of OSMesa, which allows you to open
a Mesa 3D rendering context without an X server. This simplifies running
pvserver a great deal, but works exclusively with software only rendering.
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, "Jim Montine" <<A
href="">jmontine@sgi.com</A>> wrote:<BR><BR></SPAN></FONT>
<BLOCKQUOTE><SPAN style="FONT-SIZE: 11pt"><FONT face=Arial>In case 2 below
(where the server optionally renders the polygons), why is it necessary to set
the<BR>DISPLAY to the gfx head of the server (things are displayed on the PC)
Why is the DISPLAY environment<BR>needed at all for this off-screen rendering
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> ****
Kenneth Moreland<BR> ***
Sandia National Laboratories<BR>***********
<BR>*** *** *** email: <A href="">kmorel@sandia.gov</A><BR>**
*** ** phone: (505) 844-8919<BR> ***
web: <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></DIV>
</BODY>
</HTML>