Paraview cannot provide this mechanism because VTK does not. It will requires some non trivial work on the vtk OpenGL extension manager and vtkWin32OpenGLRenderWindow part.
This is something I would like the VTK ARB to put on the TODO list. On Fri, May 28, 2010 at 7:31 AM, Kumar, Shree <[email protected]> wrote: > > On Fri, May 28, 2010 at 4:17 PM, Berk Geveci <[email protected]> wrote: > >> I am very interested in knowing this too. How does Windows control >> what goes to which GPU? I am guessing that each GPU is driving a >> different monitor? When it is offscreen rendering, how do you control >> which card does the rendering? > > For offscreen rendering, an application can redirect rendering to a specific > GPU > by setting the GPU affinity (e.g. the WGL_NV_gpu_affinity extension). > > I don't know if ParaView provides mechanisms to specify GPU affinity. > Hopefully, it will not be much work to add it. > > HTH > -- Shree > > VizStack : http://vizstack.sourceforge.net/ > Personal Blog : http://www.shreekumar.in/ > > On Thu, May 27, 2010 at 10:17 PM, Dr. X <[email protected]> wrote: >> Thanks, Ken. >> You are right, the pop up message box shows no -display option in windows. >> So for my case, 4 cpu cores and 2 gpus, how shall I set up the pvserver to >> use all the resources? >> thanks a lot. >> >> Best, >> x >> >> On 5/27/2010 5:52 PM, Moreland, Kenneth wrote: >> >> The -display argument is only available for X windows. It has no meaning >> for the native displays on Windows or Mac. If you try to use it on Windows, >> you should get an error message that the -display argument is unknown and it >> should list all the arguments available. As I recall, on windows it >> actually pops up a dialog box listing the arguments rather than printing >> them to stdout or stderr. Perhaps pvserver is hanging because it is waiting >> for you to hit the OK button on all these dialog boxes which, for some >> reason, you are not seeing. >> >> -Ken >> >> >> On 5/27/10 2:10 PM, "Dr. X" <[email protected]> wrote: >> >> Hi All, >> I am trying to setup a pvserver on a workstation with 4 cores and 2 >> gpus. The workstation is running windows 7 64bit, MPICH2 1.2.1p1, and >> ParaView 3.8.0-RC2. Here is my local pvserver command >> >> mpiexec -channel nemesis -n 2 .\pvserver.exe -display :0.0 >> --use-offscreen-rendering : -n 2 .\pvserver.exe -display :0.1 >> --use-offscreen-rendering >> >> Somehow the command hangs. Is -display option available in windows? If >> so, what is the right way to use it? I was trying to put 2 core + 1 gpu >> together. If there is another way to optimize the use of cpu and gpu, >> please let me know. Thanks a lot. >> >> Best, >> x >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> >> >> >> >> **** Kenneth Moreland >> *** Sandia National Laboratories >> *********** >> *** *** *** email: [email protected] >> ** *** ** phone: (505) 844-8919 >> *** web: http://www.cs.unm.edu/~kmorel >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > -- François Bertel, PhD | Kitware Inc. Suite 204 1 (518) 371 3971 x113 | 28 Corporate Drive | Clifton Park NY 12065, USA _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
