[vtkusers] Crash in vtkShaderProgram/vtkOpenGLPolyDataMapper

dei david.ei at novodynamics.com
Mon May 9 13:37:01 EDT 2016


I attempted to debug the unmanaged VTI C++ code. The failure occurs at
Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx line 659:
659    if (!SetPixelFormat(hDC, pixelFormat, &pfd))
660      {
661      pixelFormat = 0;
662      }
SetPixelFormat() is always called with pixelFormat == 44. When
initialization succeeds, it is 44 on return. When it fails, it returns with
pixelFormat == 0. I cannot step into SetPixelFormat() to get more details on
the problem. In either case, the C++ call stack looks like this:
>
vtkRenderingOpenGL2-7.0.dll!vtkWin32OpenGLRenderWindow::SetupPixelFormatPaletteAndContext(HDC__
* hDC=0x000000007201311e, unsigned long dwFlags=37, int debug=0, int bpp=32,
int zbpp=32) Line 661	C++
 	vtkRenderingOpenGL2-7.0.dll!vtkWin32OpenGLRenderWindow::CreateAWindow()
Line 989	C++
 	vtkRenderingOpenGL2-7.0.dll!vtkWin32OpenGLRenderWindow::WindowInitialize()
Line 1013	C++
 	vtkRenderingOpenGL2-7.0.dll!vtkWin32OpenGLRenderWindow::Initialize() Line
1028	C++
 	vtkRenderingOpenGL2-7.0.dll!vtkWin32OpenGLRenderWindow::Start() Line 1356
C++
 	vtkRenderingCore-7.0.dll!vtkRenderWindow::DoStereoRender() Line 753	C++
 	vtkRenderingCore-7.0.dll!vtkRenderWindow::DoFDRender() Line 743	C++
 	vtkRenderingCore-7.0.dll!vtkRenderWindow::DoAARender() Line 622	C++
 	vtkRenderingCore-7.0.dll!vtkRenderWindow::Render() Line 438	C++
 	vtkRenderingOpenGL2-7.0.dll!vtkOpenGLRenderWindow::Render() Line 600	C++
 	vtkRenderingCoreJava.dll!Java_vtk_vtkRenderWindow_Render_19(JNIEnv_ *
env=0x000000004df639f8, _jobject * obj=0x00000001fb71d2b0) Line 123	C++

The video cards we've tested and which exhibit the problem are
Both video cards which we've tested and which exhibit the problem are dual
DVI and drive 2 monitors. They are: 

EVGA GeForce GT 610 DirectX 12 (feature level 11_0) 01G-P3-2616-KR 1GB
64-Bit DDR3 PCI Express 2.0 x16 HDCP Ready Video Card
    NVidea GeForce GT 610 OpenGL 4.2, DirectX 12 (feature level 11_0)
    Driver version: 10.18.13.6510
    Driver date:    4/27/2016
     http://www.newegg.com/Product/Product.aspx?Item=N82E16814130788
<http://www.newegg.com/Product/Product.aspx?Item=N82E16814130788>  

EVGA GeForce GT730 2 GB DDR3
    Driver version: 10.18.13.5582
    Driver date:    8/26/2015

RE: 5. Why should the 6.3.0 test app be performant, but the CT app not be?
The CT app is not doing any CPU-intensive operations when I display the
mesh.



--
View this message in context: http://vtk.1045678.n5.nabble.com/Crash-in-vtkShaderProgram-vtkOpenGLPolyDataMapper-tp5737734p5738030.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list