So my Graphic card is a nvidia Quadro FX 1800, OpenGL v3<div>and Nvidia drivers 185.18.36</div><div><br></div><div>Another strange problem in my program and the X server :</div><div><br></div><div>I try to change the color of my lungtree, for example one color per generation.</div>
<div>I use actor->GetProperty()->SetColor().</div><div><br></div><div>That's add 100MB on my server X memory. I dont understand why because my actors for lungtrees branchs already exists, and they already have a default color...</div>
<div><br></div><div>I have tested my program on several computers, with different X Server system, and i always have the 2 problems.</div><div><br></div><div>Thanks for advices,</div><div><br></div><div>Cordialement,<br><br>
-- Mathieu PICCIN<br><br><br>
<br><br><div class="gmail_quote">On Tue, Apr 6, 2010 at 5:47 PM, Francois Bertel <span dir="ltr"><<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
you can get the version of your driver with:<br>
<br>
$ glxinfo | grep "OpenGL version"<br>
<br>
Again, if the application exited, then this is out of the scope of<br>
VTK. This is a leak on the driver side, this a bug in the nVidia<br>
driver, not in VTK.<br>
<div><div></div><div class="h5"><br>
<br>
On Tue, Apr 6, 2010 at 11:31 AM, Mathieu P <<a href="mailto:mtp.vtk@gmail.com">mtp.vtk@gmail.com</a>> wrote:<br>
> Hello :<br>
> First i am using<br>
> OpenSUSE<br>
> Graphic NVIDIA Quaddro FX1700<br>
> Dont know the exact nvidia driver version, but recent.<br>
> I am using a QVTKWidget.<br>
> I cannot delete vtkRenderWindow and vtkRenderWindowInteractor because it's<br>
> done in the QVTKWidget desctructor.<br>
> (i get a crash if i try)<br>
> I have tried to use the mapper :: ImmediateRenderingOn() function. it's<br>
> partially solve the problem because there is no more display lists loaded in<br>
> the x server, so no memory at the exit, but it's very slow (very slow frame<br>
> rate ~2), and cannot be used for real time rendering.<br>
> I have also tried to make the rendering window inside the QVTKWidget<br>
> current, and call glDeleteLists(0,0xFFFFFFFF). But no result. I have always<br>
> my 300MB of lung tree datas in the X Server.<br>
> I have no any problem with other 3D applications...<br>
><br>
> Cordialement,<br>
><br>
> -- Mathieu PICCIN<br>
><br>
><br>
><br>
><br>
> On Tue, Apr 6, 2010 at 4:19 PM, Francois Bertel<br>
> <<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> If there is a leak in the Xserver after the vtk based program exit<br>
>> then this is out of the scope of VTK.<br>
>><br>
>> It can be a bug in your X server or it can be some result that the X<br>
>> server caches (it can cache a database of fonts and symbols).<br>
>><br>
>> What happen when you start/exit another application regarding the X<br>
>> server memory consumption (try a big app like Firefox, try an<br>
>> OpenGL-based app like glxgears)? How do you measure this memory<br>
>> consumption?<br>
>><br>
>> What's your OS, graphics cards, graphics card driver?<br>
>><br>
>><br>
>> On Fri, Apr 2, 2010 at 8:33 AM, Mathieu P <<a href="mailto:mtp.vtk@gmail.com">mtp.vtk@gmail.com</a>> wrote:<br>
>> > Actually i cannot delete vtkRenderWindow or vtkRenderWindowInteractor<br>
>> > without program crash.<br>
>> ><br>
>> > I am using QVTKWidget, and i cannot understand why my X Server continue<br>
>> > to<br>
>> > have 300MB loaded in memory after program exit...<br>
>> ><br>
>> > I have already tried some vtkRenderWindow->Finalize() and<br>
>> > vtkRenderWindowInteractor->Start()...<br>
>> ><br>
>> ><br>
>> > Cordialement,<br>
>> ><br>
>> > -- Mathieu PICCIN<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Thu, Apr 1, 2010 at 5:52 PM, Mathieu P <<a href="mailto:mtp.vtk@gmail.com">mtp.vtk@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Hi all,<br>
>> >><br>
>> >> I am loading a huge data set of points (to display lungtrees) with VTK.<br>
>> >> When i exit the application i have 300 MB of memory used by my X<br>
>> >> Server.<br>
>> >><br>
>> >> I have tried to Delete renderer, renderWindow, renderWindowInteractor,<br>
>> >> without any change.<br>
>> >><br>
>> >> I have also tried to use the VTK WIKI way to delte point, but no<br>
>> >> success...<br>
>> >><br>
>> >> Is there a specific way to free memory from the X Server when exiting<br>
>> >> vtk<br>
>> >> ?<br>
>> >><br>
>> >> Thanks,<br>
>> >><br>
>> >> Cordialement,<br>
>> >><br>
>> >> -- Mathieu PICCIN<br>
>> >><br>
>> >><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a 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:<br>
>> > <a 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 href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> François Bertel, PhD | Kitware Inc. Suite 204<br>
>> 1 (518) 371 3971 x113 | 28 Corporate Drive<br>
>> | Clifton Park NY 12065, USA<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a 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:<br>
>> <a 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 href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">François Bertel, PhD | Kitware Inc. Suite 204<br>
1 (518) 371 3971 x113 | 28 Corporate Drive<br>
| Clifton Park NY 12065, USA<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a 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 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 href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>