[vtkusers] Failed to get wglChoosePixelFormatARB on VM

Todd Martin nztoddler at yahoo.com
Tue May 22 01:56:22 EDT 2018


Did you install GLEW on the virtual machine?


Todd Martin, Ph.D.
Freelance Engineer/Software Architect.
 

    On Tuesday, May 22, 2018, 5:33:53 PM GMT+12, Jesse Kinross-Smith <Jesse.Kinross-Smith at bentley.com> wrote:  
 
  <!--#yiv4612090169 _filtered #yiv4612090169 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv4612090169 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv4612090169 #yiv4612090169 p.yiv4612090169MsoNormal, #yiv4612090169 li.yiv4612090169MsoNormal, #yiv4612090169 div.yiv4612090169MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv4612090169 a:link, #yiv4612090169 span.yiv4612090169MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv4612090169 a:visited, #yiv4612090169 span.yiv4612090169MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv4612090169 span.yiv4612090169EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv4612090169 .yiv4612090169MsoChpDefault {font-family:"Calibri", sans-serif;} _filtered #yiv4612090169 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv4612090169 div.yiv4612090169WordSection1 {}-->
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
 
  
 _______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180522/5a8cb1d0/attachment.html>


More information about the vtkusers mailing list