Problems when calling SupportsOpenGL with windows 10 and Intel HD Graphic (520, 530 and 630) graphics card

(Simon Fischer) #1

Hi
I am using VTK 8.1
I call vtkRenderWindow::Render() and vtkRenderWindow::SupportsOpenGL() on the same view.
With windows 10 and Intel HD Graphic (520, 530 and 630) graphics card this leads since a windows update a few weeks ago to freezing of the application, often in wglCreateContextAttribsARB while calling:

void vtkWin32OpenGLRenderWindow::SetupPixelFormatPaletteAndContext(
      HDC hDC, DWORD dwFlags,
      int debug, int bpp,
      int zbpp)
 {
	...         
	for (int i = 0; i < 9 && !this->ContextId; i++)
          {
            iContextAttribs[1] = attemptedVersions[i*2];
            iContextAttribs[3] = attemptedVersions[i*2+1];
            this->ContextId = wglCreateContextAttribsARB(hDC, 0, iContextAttribs);
          }
	...	  
 }    

Are there any limitations in using vtkRenderWindow::SupportsOpenGL()?
May I use vtkRenderWindow::SupportsOpenGL() on a vtkRenderWindow which is also used for visualization?
I do not experience the problem when I activate NVIDIA Quadro P500
Thanks for your support
Simon Fischer