<div dir="ltr"><div dir="ltr"><div>Could you try adding this line to TestVBOPLYMapper.cxx at line# 58, build and run it again?<br></div><div><br></div><div> cerr << renderWindow->ReportCapabilities();<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 31, 2018 at 11:06 PM, Langer, Stephen A. (Fed) <span dir="ltr"><<a href="mailto:stephen.langer@nist.gov" target="_blank">stephen.langer@nist.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div class="m_9000319433360196591WordSection1">
<p class="MsoNormal">Hi Ken --<u></u><u></u></p>
<p class="MsoNormal">Here's the output from "ctest -R VBOPLY -VV". Does it contain the information you wanted?<u></u><u></u></p>
<p class="MsoNormal">-- Steve<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">UpdateCTestConfiguration from :/Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing/<wbr>DartConfiguration.tcl<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Parse Config file:/Users/langer/UTIL/VTK/<wbr>build-8.1.1-x11-testing/<wbr>DartConfiguration.tcl<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude regular expressions.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: vtk.*TCLInit.cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: vtk[^\.]+(Java|Python|Tcl).cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*vtkOpenGLState.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*Testing.Cxx.*cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*Testing.Cxx.*h<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*moc_.*cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*/Rendering/OpenGL/vtkgl.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*/Utilities/.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*/ThirdParty/.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Add coverage exclude: .*vtkOpenGLPolyDataMapper.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">SetCTestConfiguration:<wbr>CMakeCommand:/opt/local/stow/<wbr>ports-x11/bin/cmake<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">UpdateCTestConfiguration from :/Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing/<wbr>DartConfiguration.tcl<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Parse Config file:/Users/langer/UTIL/VTK/<wbr>build-8.1.1-x11-testing/<wbr>DartConfiguration.tcl<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Test project /Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Constructing a list of tests<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Done constructing a list of tests<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Updating test list for fixtures<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Added 0 tests to meet fixture requirements<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Checking test dependency graph...<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Checking test dependency graph end<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">test 1186<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> Start 1186: vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: Test command: /Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing/bin/<wbr>vtkRenderingOpenGL2CxxTests.<wbr>app/Contents/MacOS/<wbr>vtkRenderingOpenGL2CxxTests "TestVBOPLYMapper" "-D" "/Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing/<wbr>ExternalData//Testing"
"-T" "/Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing/Testing/<wbr>Temporary" "-V" "/Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing/<wbr>ExternalData/Rendering/<wbr>OpenGL2/Testing/Data/Baseline/<wbr>TestVBOPLYMapper.png"<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: Test timeout computed to be: 3600<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: Warning: In /Users/langer/UTIL/VTK/VTK-8.<wbr>1.1/Rendering/OpenGL2/<wbr>vtkOpenGLRenderWindow.cxx, line 804<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: vtkXOpenGLRenderWindow (0x7fd4a301f800): VTK is designed to work with OpenGL version 3.2 but it appears it has been given a context that does not support 3.2. VTK will run in a compatibility mode designed
to work with earlier versions of OpenGL but some features may not work.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: ==============================<wbr>===========================<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: Process id 52616 Caught SIGSEGV at 0x0x0 address not mapped to object<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: Program Stack:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x7fff7c08af5a : _sigtramp [(libsystem_platform.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x7ffee08ce1a0 : ??? [(???) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10ffcddb7 : vtkOpenGLVertexArrayObject::<wbr>Bind() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10ff1ae6e : vtkOpenGLPolyDataMapper::<wbr>UpdateShaders(vtkOpenGLHelper&<wbr>, vtkRenderer*, vtkActor*) [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10ff23d70 : vtkOpenGLPolyDataMapper::<wbr>RenderPieceDraw(vtkRenderer*, vtkActor*) [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10ff245df : vtkOpenGLPolyDataMapper::<wbr>RenderPiece(vtkRenderer*, vtkActor*) [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x11107856f : vtkPolyDataMapper::Render(<wbr>vtkRenderer*, vtkActor*) [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10fe4c412 : vtkOpenGLActor::Render(<wbr>vtkRenderer*, vtkMapper*) [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x110efff23 : vtkActor::<wbr>RenderOpaqueGeometry(<wbr>vtkViewport*) [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1110a2c0a : vtkRenderer::<wbr>UpdateOpaquePolygonalGeometry(<wbr>) [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1110a0ed9 : vtkRenderer::<wbr>DeviceRenderOpaqueGeometry() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10ff89cc1 : vtkOpenGLRenderer::<wbr>DeviceRenderOpaqueGeometry() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10ff89048 : vtkOpenGLRenderer::<wbr>UpdateGeometry() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10ff86c51 : vtkOpenGLRenderer::<wbr>DeviceRender() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1110a086f : vtkRenderer::Render() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x11109d1c6 : vtkRendererCollection::Render(<wbr>) [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1110c5898 : vtkRenderWindow::<wbr>DoStereoRender() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1110c572f : vtkRenderWindow::DoFDRender() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1110c50f8 : vtkRenderWindow::DoAARender() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1110c45e4 : vtkRenderWindow::Render() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x1100bd573 : vtkXOpenGLRenderWindow::<wbr>Render() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10f386961 : TestVBOPLYMapper(int, char**) [(vtkRenderingOpenGL2CxxTests) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x10f33bfb2 : main [(vtkRenderingOpenGL2CxxTests) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x7fff7bd7c015 : start [(libdyld.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: 0x8 : ??? [(???) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: ==============================<wbr>===========================<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1186: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1/1 Test #1186: vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper ...***Exception: Child aborted 3.04 sec<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">0% tests passed, 1 tests failed out of 1<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Label Time Summary:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">vtkRenderingOpenGL2 = 3.04 sec*proc (1 test)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Total Test time (real) = 3.32 sec<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">The following tests FAILED:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> 1186 - vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper (Child aborted)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Errors while running CTest<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Ken Martin <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>><br>
<b>Date: </b>Friday, August 31, 2018 at 2:37 PM<br>
<b>To: </b>"Langer, Stephen A. (Fed)" <<a href="mailto:stephen.langer@nist.gov" target="_blank">stephen.langer@nist.gov</a>><br>
<b>Cc: </b>"<a href="mailto:mesa-users@lists.freedesktop.org" target="_blank">mesa-users@lists.freedesktop.<wbr>org</a>" <<a href="mailto:mesa-users@lists.freedesktop.org" target="_blank">mesa-users@lists.freedesktop.<wbr>org</a>><br>
<b>Subject: </b>Re: [Mesa-users] What version is available on macOS?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">What driver does it say it is using? e.g. if you build vtk with testing and run<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">ctest -R VBOPLY -VV<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">what does it report?<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Aug 31, 2018 at 10:17 AM, Langer, Stephen A. (Fed) <<a href="mailto:stephen.langer@nist.gov" target="_blank">stephen.langer@nist.gov</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Hi --<br>
<br>
I'm trying to use the vtk graphics library on macOS, with all dependencies (including mesa and X11 libraries) installed by MacPorts. MacPorts provides mesa 17.1.6, which supports OpenGL 4.5. vtk requires OpenGL 3.2 or later, so all should be ok. However,
vtk says it can't find a recent enough version of OpenGL, and indeed glxinfo says "OpenGL version string: 2.1 ATI-1.68.20". Is it possible to use OpenGL 3.2 on macOS? If it is possible, can someone tell me how to change the vtk code so that it works?
I know roughly where vtk initializes OpenGL, but I don't really understand what it's doing.<br>
<br>
I *can* get vtk to work if I compile it for quartz and not X11, using Apple's OpenGL libraries instead of mesa, but for numerous reasons it would be very convenient if I can get it to work on X11.<br>
<br>
I've asked on the vtk and MacPorts lists, but nobody seems to know the answer. Someone suggested I try here.<br>
<br>
Many thanks,<br>
Steve<br>
<br>
______________________________<wbr>_________________<br>
mesa-users mailing list<br>
<a href="mailto:mesa-users@lists.freedesktop.org" target="_blank">mesa-users@lists.freedesktop.<wbr>org</a><br>
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-users&data=02%7C01%7Cstephen.langer%40nist.gov%7Cbd4b00c4b6ea4d0f3f3408d60f70da2f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636713374696714852&sdata=BhMKu4ztbxvIlQcYMVYEZ9YJXNAV%2Bd6KjLTu0gZECB8%3D&reserved=0" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Ken Martin PhD <u></u><u></u></p>
<div>
<p class="MsoNormal">Distinguished Engineer<br>
<span style="font-size:9.5pt">Kitware Inc.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><a href="https://maps.google.com/?q=101+East+Weaver+Street+%0D%0ACarrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g">101 East Weaver Street</a><br>
Carrboro, North Carolina<br>
27510 USA<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this
email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately
and destroy the original message. Thank you.</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>101 East Weaver Street<br>Carrboro, North Carolina<br>
27510 USA<br><br><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div></div></div></div></div>
</div>