<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
There's a better way. to check about which driver and GPU are in
use is the vtkRenderingOpenGLCxx-LoadOpenGLExtension ctest. run
from the build dir like this : "ctest -R LoadOpenGLExt". For example
here is what this reports on my system: <a
href="http://open.cdash.org/testDetails.php?test=252272562&build=3317324">http://open.cdash.org/testDetails.php?test=252272562&build=3317324</a><br>
don't forget to compile with the CMakeLists.txt option set to
BUILD_TESTING=ON.<br>
<br>
<div class="moz-cite-prefix">On 05/01/2014 04:59 AM, Ulrich Kemloh
wrote:<br>
</div>
<blockquote
cite="mid:72A0BA92-53DC-45F0-823B-2A6E5A6430F5@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div apple-content-edited="true">
<div apple-content-edited="true">Hi Aashish and thanks for your
reply.</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">It is a release build and </div>
<div apple-content-edited="true">actually renders 1000 spheres
at 3FPS.</div>
<div apple-content-edited="true">with 100 spheres, I am around
18 FPS.</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">Also I have checked the GPU
load , it is around 9%. So I guess it is not used.</div>
<div apple-content-edited="true">But again what wonder me much
is the fact that </div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">_renderingWindows->isDirect()
returns false (meaning no hardware rendering I guess)</div>
<div apple-content-edited="true">and the test
VTKRenderingOpenGLCxx_tests.exe tells "There is 0 GPU (s)"</div>
</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">What I have done is reducing
the resolution of the sphere from 20 to 10.</div>
<div apple-content-edited="true">The spheres are also running
through a triangle filter and a striper.</div>
<div apple-content-edited="true">Now the rendering speed is
around 9FPS.</div>
<div apple-content-edited="true">It is just a workaround.</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">I am really wondering if there
are special compilation steps(</div>
<div apple-content-edited="true">like adding special flags)</div>
<div apple-content-edited="true">that must be undertaken for
VTK to start using your Graphic card.</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">Thanks you again for pointing
me to APITrace. I will continue the investigations.</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true"><br>
</div>
<div apple-content-edited="true">Regards</div>
<div>Ulrich</div>
<div><br>
</div>
</div>
<br>
<div>
<div>On 29 Apr 2014, at 06:00, Aashish Chaudhary <<a
moz-do-not-send="true"
href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Is this a debug windows build or a release
build? When you change
<div>number of spheres, do you see any performance changes
(in proportion)? </div>
<div><br>
</div>
<div>When you say slow, how slow it is < 1O FPS? All of
these information will be useful. </div>
<div><br>
</div>
<div>Also you can try to use APITrace to debug VTK GL
calls. </div>
<div><br>
</div>
<div>- Aashish</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Apr 27, 2014 at 7:48 AM,
Ulrich Kemloh <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:kemlohulrich@gmail.com" target="_blank">kemlohulrich@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hello everyone,<br>
<br>
I am having some trouble activating GPU
support in my VTK Application.<br>
</div>
<div>I was wondering why my application was so
slow although I am using <br>
an nvidia quadro 4000 with the latest
driver installed.<br>
<br>
</div>
</div>
The rendering is happening in a qvtkWidget and I
am basically just rendering 2000 spheres (using
glyphs).<br>
<br>
</div>
<div>_renderingWindows->isDirect() returns
false <br>
and the tests VTKRenderingOpenGLCxx_tests.exe
tells "There is 0 GPU (s)"<br>
</div>
<div><br>
</div>
<div>So I guess I am missing a very important
point.<br>
<br>
</div>
<div>Does vtk needs a special flag while building
the libraries?<br>
<br>
</div>
<div>I am using the 64bit version of Win7, VTK 6.1
and QT5.2.<br>
</div>
<div><br>
</div>
I am very looking forward to any help<br>
<br>
</div>
<div>Thanks in advance and regards<span
class="HOEnZb"><font color="#888888"><br>
<br>
</font></span></div>
</div>
<span class="HOEnZb"><font color="#888888">Ulrich<br>
<br>
</font></span></div>
<br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at:
<a moz-do-not-send="true"
href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.vtk.org/mailman/listinfo/vtkusers"
target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><font face="trebuchet ms, sans-serif"><i>|
Aashish Chaudhary <br>
| Technical Leader <br>
| Kitware Inc. <br>
</i></font>
<div>
<i><font face="trebuchet ms, sans-serif">| </font><a
moz-do-not-send="true"
href="http://www.kitware.com/company/team/chaudhary.html"
target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>