[vtkusers] Failed to get wglChoosePixelFormatARB on VM

Jesse Kinross-Smith Jesse.Kinross-Smith at bentley.com
Tue May 22 01:33:36 EDT 2018


Getting the following errors when testing our app with VTK rendering on a Hyper-V virtual machine (works great on my laptop though):

ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 685
vtkWin32OpenGLRenderWindow (000001D110ADE9F0): failed to get wglChoosePixelFormatARB
ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 769
vtkWin32OpenGLRenderWindow (000001D110ADE9F0): failed to get valid pixel format.
ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 785
vtkWin32OpenGLRenderWindow (000001D110ADE9F0): GLEW could not be initialized.

We're using the vtkMFCWindow class and I don't see any fallback options anywhere.
Is there any way this can default to software rendering on low end machines like this?

Jesse
--
Jesse Kinross-Smith
Senior Software Engineer - BSW
Bentley Systems, Fremantle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180522/b0e03120/attachment.html>


More information about the vtkusers mailing list