VTKEdge:FAQ: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 4: Line 4:
* Some classes use CUDA to perform parallel computation: http://www.nvidia.com/object/cuda_get.html
* Some classes use CUDA to perform parallel computation: http://www.nvidia.com/object/cuda_get.html
* In order to use the <b><tt>vtkKWEGPUInfo</tt></b> class under Windows, you need to install the DirectX SDK: http://www.microsoft.com/downloads/details.aspx?FamilyID=ea4894b5-e98d-44f6-842d-e32147237638&DisplayLang=en
* In order to use the <b><tt>vtkKWEGPUInfo</tt></b> class under Windows, you need to install the DirectX SDK: http://www.microsoft.com/downloads/details.aspx?FamilyID=ea4894b5-e98d-44f6-842d-e32147237638&DisplayLang=en
* In order to use the <b><tt>vtkKWEGPUInfo</tt></b> class under Linux with nVidia cards, you need to install the NVCtrl library. It gives access the NV-CONTROL X extension. If it is already installed on your system, you can find the library <tt>libXNVCtrl.a</tt> in <tt>/usr/lib</tt> and the header files <tt>NVCtrlLib.h</tt> and <tt>NVCtrl.h</tt> in <tt>/usr/include/NVCtrl</tt>. On Ubuntu, those files are provided by the package "nvidia-settings". You can also get them from ftp://download.nvidia.com/XFree86/nvidia-settings/. Make sure to download a version of nvidia-settings equal or greater to 177.82 to avoid any license issue. (on August 25 2008, nVidia acknowledges that there is a mistake in the license of NVCtrl lib, it should be MIT-X11 / BSD instead of GPL, only the nvidia-setting application is GPL: http://www.nvnews.net/vbulletin/showpost.php?p=1756087&postcount=8 )
* In order to use the <b><tt>vtkKWEGPUInfo</tt></b> class under Linux with nVidia cards, you need to install the NVCtrl library. It gives access the NV-CONTROL X extension. If it is already installed on your system, you can find the library <tt>libXNVCtrl.a</tt> in <tt>/usr/lib/</tt> and the header files <tt>NVCtrlLib.h</tt> and <tt>NVCtrl.h</tt> in <tt>/usr/include/NVCtrl/</tt>. On Ubuntu, those files are provided by the package "nvidia-settings". You can also get them from the source package of nvidia-settings from ftp://download.nvidia.com/XFree86/nvidia-settings/. With the source package, all the relevant files are in <tt>src/libXNVCtrl/</tt>. Make sure to download a version of nvidia-settings equal or greater to 177.82 to avoid any license issue. (on August 25 2008, nVidia acknowledges that there is a mistake in the license of NVCtrl lib, it should be MIT-X11 / BSD instead of GPL, only the nvidia-setting application is GPL: http://www.nvnews.net/vbulletin/showpost.php?p=1756087&postcount=8 )


== Run time ==
== Run time ==

Revision as of 16:07, 4 January 2009

Requirement

Compile time

Run time

  • The volume mapper works with nVidia cards from GeForce 6 series (or Quadro equivalent) and above
  • The LIC algorithms work with nVidia cards from GeForce 8 series (or Quadro equivalent) and above

Issues

vtkKWEGPUVolumeRayCastMapper

fatal error C9999: Bad scope in ConvertLocalReferences()

This is an nVidia bug. It has been fixed by nVidia. Just update your driver.

TestKWEGPUArrayCalculator

time out on Vista

Depending on how fast/slow is the graphics card, the computation on the GPU can take more than 2 seconds. On Vista, after a 2 seconds timeout, the Windows Vista's Timeout Detection and Recovery (TDR) kills all the graphics contexts, resets the graphics chip and recovers the graphics driver, in order to keep the operating system responsive.

ref: http://www.opengl.org/pipeline/article/vol003_7/

This reset actually freezes the test. And it really times out this time...