[vtkusers] [Paraview] GPU based volume rendering in ParaView

Wagner Sales wsales at gmail.com
Sat Mar 6 11:03:11 EST 2010


Hi Jerôme,

The ATI driver ( or GLSL compiler ) are very buggy. Because that, GPU
ray casting will work only on NVidia cards on Linux and Windows. Mac
have issues too.

Regards,

Wagner

2010/3/6 Jérôme <jerome.velut at gmail.com>:
> Hi,
> I ran into the "empty not supported extensions list", with linux/ATI/Mesa.
> By reading, I found that the problem is not due to extensions, but due
> to:
>
> if(strstr(gl_vendor,"ATI")!=0)
>     {
>     this->LoadExtensionsSucceeded=0;
>     return;
>     }
>
> and
>   if(strstr(gl_version,"Mesa")!=0)
>     {
>     this->LoadExtensionsSucceeded=0;
>     return;
>     }
>
> (Code from
> ParaView3/VTK/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx)
>
> My feeling is that GPU raycast mapping is impossible with ATI card.
> My question is: Am I wrong? If there is any, what should I do to enable GPU
> rendering on ATI?
>
> Thanks a lot!
>
> Jerome
> (ps: I tried with an NVidia quadro and... wow! Thanks!)
>
>
>
> 2010/3/2 Wagner Sales <wsales at gmail.com>
>>
>> Hi all,
>>
>> Sorry by ask this same question twice times. I know about Mac issues.
>> But I'm starting in parallel volume rendering playground, and I really
>> don't know how to take ( if possible ) advantages from GPU volume
>> rendering in a parallel environment. May be my knowledge aren't the
>> sufficient to know this by myself. Are advantages on this field? For
>> example, can we render a large dataset in multiple machines using the
>> GPU power instead the current approaches, that's relies ( at least I
>> know ) on the CPUs? And, if possible, are some SLI support too?
>>
>> Best regards,
>>
>> Wagner
>>
>> 2010/3/1 Eric E. Monson <emonson at cs.duke.edu>:
>> > Hey all,
>> >
>> > Thanks for the feedback. Yup, I can get it to error out just as you
>> > said! :)
>> >
>> > I guess I'd seen something about this on the list regarding VTKEdge, but
>> > hadn't remembered. Please let us all know, though, if a solution pops up.
>> >
>> > Talk to you later,
>> > -Eric
>> >
>> >
>> > On Mar 1, 2010, at 1:54 PM, Francois Bertel wrote:
>> >
>> >> Hello,
>> >>
>> >> The GPU Rast Mapper does not work on Mac so it is skipped to avoid bad
>> >> behavior.
>> >>
>> >> It is skipped because:
>> >>
>> >> 1. on Snow Leopard with an nVidia card, the GPU Ray Cast mapper
>> >> triggers a bug in the OpenGL driver (that we cannot locate precisely
>> >> enough) and the driver will exit the application with:
>> >>
>> >> (0) : fatal error C9999: Nested functions, aborting!
>> >>
>> >> or:
>> >>
>> >> (0) : fatal error C9999: *** exception during compilation ***
>> >> Cg compiler terminated due to fatal error
>> >>
>> >>
>> >> 2. On Leopard, a user reported a corrupted image.
>> >>
>> >> If you are adventurous, and see what happen for your specific
>> >> configuration, you can comment out the lines in
>> >> VTK/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx  that skip the
>> >> Macs:
>> >>
>> >>  // It does not work on Apple OS X Snow Leopard with nVidia.
>> >>  // There is a bug in the OpenGL driver with an error in the
>> >>  // Cg compiler about an infinite loop.
>> >> #ifdef __APPLE__
>> >>  this->LoadExtensionsSucceeded=0;
>> >>  return;
>> >> #endif
>> >>
>> >> Regards
>> >>
>> >> On Mon, Mar 1, 2010 at 1:05 PM, Aashish Chaudhary
>> >> <aashish.chaudhary at kitware.com> wrote:
>> >>> Eric,
>> >>>
>> >>> Yes you do need to have certain extensions. Now the mapper I have not
>> >>> written myself and hence I am forwarding this email to vtk users list.
>> >>> I
>> >>> hope that the original author would respond to it.
>> >>>
>> >>> I will see if we can produce a better message which could list the
>> >>> missing
>> >>> extensions.
>> >>>
>> >>> Thanks for testing it out.
>> >>>
>> >>> ~Regards,
>> >>> Aashish
>> >>>
>> >>>
>> >>> On Mon, Mar 1, 2010 at 12:56 PM, Eric E. Monson <emonson at cs.duke.edu>
>> >>> wrote:
>> >>>>
>> >>>> Hey Aashish,
>> >>>> I've been having trouble with it, too, on my Mac (OS X 10.6.2, PV
>> >>>> compiled
>> >>>> serial x86_64 arch updated from CVS and rebuilt today, CMake
>> >>>> 2.9.20100113).
>> >>>> Are there any special hardware requirements, then? I can see the GPU
>> >>>> Volume
>> >>>> Mapper option, but when I switch over to that from the "Fixed point"
>> >>>> mapper
>> >>>> I get this error:
>> >>>> ERROR:
>> >>>> In
>> >>>> /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx,
>> >>>> line 4110
>> >>>> vtkOpenGLGPUVolumeRayCastMapper (0x12082cc00): Rendering failed
>> >>>> because
>> >>>> the following OpenGL extensions are required but not supported:
>> >>>>
>> >>>> (Just as this shows, the list of OpenGL extensions it says are
>> >>>> required
>> >>>> but not supported is empty...) My graphics card is a NVIDIA GeForce
>> >>>> 8800 GT.
>> >>>> Thanks,
>> >>>> -Eric
>> >>>> ------------------------------------------------------
>> >>>> Eric E Monson
>> >>>> Duke Visualization Technology Group
>> >>>>
>> >>>> On Mar 1, 2010, at 11:55 AM, Aashish Chaudhary wrote:
>> >>>>
>> >>>> No there is no special option required but you would have to update
>> >>>> your
>> >>>> paraview cvs copy as the code got into cvs last thursday.
>> >>>>
>> >>>> Can you update and compile again?
>> >>>>
>> >>>> Thanks,
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Sun, Feb 28, 2010 at 2:27 PM, Pierre-Olivier Dallaire
>> >>>> <pierre-olivier.dallaire at videotron.ca> wrote:
>> >>>>>
>> >>>>> Hi,
>> >>>>> Do  we need to enable a special option in the CMakeCache.txt file in
>> >>>>> order to get this feature ?
>> >>>>> I compiled the CVS version on Mac and cannot access the GPU option
>> >>>>> for
>> >>>>> volume rendering.
>> >>>>> Regards,
>> >>>>> PO
>> >>>>> On 2010-02-26, at 10:58 AM, Aashish Chaudhary wrote:
>> >>>>>
>> >>>>> All,
>> >>>>>
>> >>>>> I am pleased to announce that ParaView3 now has GPU based volume
>> >>>>> rendering  from VTKEdge. Its currently in CVS and should be able to
>> >>>>> make
>> >>>>> into 3.8 release.
>> >>>>> Currently it does not work in tile display mode but we are hoping to
>> >>>>> fix
>> >>>>> it in near future. Any bug reports are welcome.
>> >>>>>
>> >>>>> Attached is the screen shot.
>> >>>>>
>> >>>>> ~Regards,
>> >>>>>
>> >>>>> --
>> >>>>> | Aashish Chaudhary
>> >>>>> | R&D Engineer
>> >>>>> | Kitware Inc.
>> >>>>> | www.kitware.com
>> >>>>> <Screenshot.jpg>_______________________________________________
>> >>>>> 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
>> >>>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> | Aashish Chaudhary
>> >>>> | R&D Engineer
>> >>>> | Kitware Inc.
>> >>>> | www.kitware.com
>> >>>> _______________________________________________
>> >>>> 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
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> | Aashish Chaudhary
>> >>> | R&D Engineer
>> >>> | Kitware Inc.
>> >>> | www.kitware.com
>> >>>
>> >>> _______________________________________________
>> >>> 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 VTK FAQ at:
>> >>> http://www.vtk.org/Wiki/VTK_FAQ
>> >>>
>> >>> Follow this link to subscribe/unsubscribe:
>> >>> http://www.vtk.org/mailman/listinfo/vtkusers
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> 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 VTK FAQ at:
>> > http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list