[vtk-developers] [Paraview] 3D view update issue

Berk Geveci berk.geveci at kitware.com
Thu Oct 9 09:08:47 EDT 2008


The following patch fixes the render view update issue on Macs with
nVidia cards. Does anyone have any objections to this patch?

-berk

--- a/VTK/Rendering/vtkCarbonRenderWindow.cxx
+++ b/VTK/Rendering/vtkCarbonRenderWindow.cxx
@@ -601,6 +601,7 @@ void vtkCarbonRenderWindow::Frame()
   this->MakeCurrent();
   if (!this->AbortRender && this->DoubleBuffer && this->SwapBuffers)
     {
+    glFinish();
     aglSwapBuffers(this->ContextId);
     vtkDebugMacro(<< " aglSwapBuffers\n");
     }

On Mon, Sep 29, 2008 at 12:46 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> I think the patch is working for me.  Once I applied it, the update seemed
> to be happening normally.  I'll leave it in and let you know if I have
> further problems.
>
> -Ken
>
>
> On 9/26/08 11:28 AM, "Berk Geveci" <berk.geveci at kitware.com> wrote:
>
>> I was wrong. 10.5.5 does not fix the issue. Can you try the attached
>> patch? You have to use patch -p1 to apply it.
>>
>> -berk
>>
>> On Tue, Sep 23, 2008 at 10:30 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
>>> I just updated to 10.5.5. It seems to fix the issue. It must have been
>>> a bug related to nVidia drivers.
>>>
>>> -berk
>>>
>>>
>>> On Thu, Sep 18, 2008 at 9:14 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>>>> I see the problem on both my desktop and MacBook Pro.  Both NVIDIA.
>>>>
>>>> -Ken
>>>>
>>>>
>>>> On 9/18/08 10:59 AM, "Berk Geveci" <berk.geveci at kitware.com> wrote:
>>>>
>>>>> I think it is all nVidia. *grumble grumble*
>>>>>
>>>>> -berk
>>>>>
>>>>> On Thu, Sep 18, 2008 at 11:23 AM, Mike Jackson
>>>>> <mike.jackson at bluequartz.net> wrote:
>>>>>> I also noticed this on my MacBook Pro. So maybe it is video card related?
>>>>>>
>>>>>> My MacBook Pro has an nVidia card.
>>>>>>
>>>>>> Ken and Berk. What video hardware are you running that does and does not
>>>>>> work?
>>>>>>
>>>>>> Well, the mac mini we know is intel integrated graphics.
>>>>>>
>>>>>> ---
>>>>>> Mike Jackson - Principal Software Engineer
>>>>>> www.bluequartz.net
>>>>>>
>>>>>>
>>>>>> On Sep 18, 2008, at 10:43 AM, Berk Geveci wrote:
>>>>>>
>>>>>>> I am seeing this only on my desktop Mac. Not on my MacBook Pro or Mac
>>>>>>> Mini. I looked into it a bit and verified that VTK is rendering. I
>>>>>>> assumed that it was some cosmic thing that was happening only on my
>>>>>>> desktop. I just hacked VTK to disable double buffering and it seems to
>>>>>>> fix the problem. Somehow we are not swapping buffers? Issues with
>>>>>>> swapping buffer at Carbon level? I noticed that render is sometimes
>>>>>>> finished if I go to another application before I even switch back to
>>>>>>> ParaView....
>>>>>>>
>>>>>>>
>>>>>>> -berk
>>>>>>>
>>>>>>> On Mon, Sep 15, 2008 at 11:53 AM, Moreland, Kenneth <kmorel at sandia.gov>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Recently I have been noticing an update issue with the 3D views.  For
>>>>>>>> example, create a sphere source and hit apply.  Nothing is shown in the
>>>>>>>> 3D
>>>>>>>> view until you click in it.
>>>>>>>>
>>>>>>>> Has anyone else been seeing this?
>>>>>>>>
>>>>>>>> -Ken
>>>>>>>>
>>>>>>>>  ****      Kenneth Moreland
>>>>>>>>  ***      Sandia National Laboratories
>>>>>>>> ***********
>>>>>>>> *** *** ***  email: kmorel at sandia.gov
>>>>>>>> **  ***  **  phone: (505) 844-8919
>>>>>>>>  ***      fax:   (505) 845-0833
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> ParaView mailing list
>>>>>>>> ParaView at paraview.org
>>>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> ParaView mailing list
>>>>>>> ParaView at paraview.org
>>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>
>>>>>> _______________________________________________
>>>>>> ParaView mailing list
>>>>>> ParaView at paraview.org
>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>
>>>>> _______________________________________________
>>>>> ParaView mailing list
>>>>> ParaView at paraview.org
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>>>
>>>>
>>>>   ****      Kenneth Moreland
>>>>    ***      Sandia National Laboratories
>>>> ***********
>>>> *** *** ***  email: kmorel at sandia.gov
>>>> **  ***  **  phone: (505) 844-8919
>>>>    ***      fax:   (505) 845-0833
>>>>
>>>>
>>>>
>>>>
>>>
>
>
>   ****      Kenneth Moreland
>    ***      Sandia National Laboratories
> ***********
> *** *** ***  email: kmorel at sandia.gov
> **  ***  **  phone: (505) 844-8919
>    ***      fax:   (505) 845-0833
>
>
>
>



More information about the vtk-developers mailing list