<div dir="ltr"><div>Also I think you should be able to run glxinfo and get something like the following, specifically looking for the llvmpipe and core profile version.<br></div><div><br></div><div>
<pre class="gmail-de1"><span class="gmail-re2">$ export GALLIUM_DRIVER</span>=llvmpipe
$ glxinfo <span class="gmail-sy0">|</span> <span class="gmail-kw2">grep</span> <span class="gmail-st0">"^OpenGL \(renderer\|core profile version\|vendor\)"</span>
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium <span class="gmail-nu0">0.4</span> on llvmpipe <span class="gmail-br0">(</span>LLVM <span class="gmail-nu0">3.8</span>, <span class="gmail-nu0">256</span> bits<span class="gmail-br0">)</span>
OpenGL core profile version string: <span class="gmail-nu0">3.3</span> <span class="gmail-br0">(</span>Core Profile<span class="gmail-br0">)</span> Mesa 13.0.1 <span class="gmail-br0">(</span>git-f2f487e<span class="gmail-br0">)</span></pre>

<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 5, 2018 at 4:49 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_3019734979480976811WordSection1">
<p class="MsoNormal">Hi Ken --<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I tried to rebuild mesa so that it uses llvmpipe, but I don't really know what I'm doing …  Following the suggestion at <a href="https://www.mesa3d.org/llvmpipe.html" target="_blank">https://www.mesa3d.org/<wbr>llvmpipe.html</a> I modified the mesa PortFile to add<u></u><u></u></p>
<p class="MsoNormal">    --enable-glx=gallium-xlib --with-gallium-drivers=swrast<u></u><u></u></p>
<p class="MsoNormal">to the configure arguments, and then rebuilt it.   Then glxgears still work, but vtk crashes in _glewGetExtensions.  The crash is during the first call to localGetStringi(GL_EXTENSIONS, extension_idx).    <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Here's the output from the test:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">>>> ctest -R VBOPLY -VV<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 1185<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">    Start 1185: 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">1185: 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">1185: Test timeout computed to be: 3600<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: ==============================<wbr>===========================<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: Process id 84703 Caught SIGSEGV at 0x1858 address not mapped to object<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: Program Stack:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x7fff587f0f5a : _sigtramp [(libsystem_platform.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x7ffeec194b30 : ??? [(???) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x104aac709 : _glewGetExtensions [(libvtkglew-8.1.1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x104aacfd7 : glewContextInit [(libvtkglew-8.1.1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x104aac9ed : glewInit [(libvtkglew-8.1.1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x104766c10 : vtkOpenGLRenderWindow::<wbr>OpenGLInitContext() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x104765ddd : vtkOpenGLRenderWindow::<wbr>OpenGLInit() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x10476c940 : vtkOpenGLRenderWindow::<wbr>CreateHardwareOffScreenWindow(<wbr>int, int) [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x1048a9625 : vtkXOpenGLRenderWindow::<wbr>CreateOffScreenWindow(int, int) [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x1048a9b76 : vtkXOpenGLRenderWindow::<wbr>Initialize() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x10476e712 : vtkOpenGLRenderWindow::<wbr>SupportsOpenGL() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x103ac32e9 : TestVBOPLYMapper(int, char**) [(vtkRenderingOpenGL2CxxTests) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x103a78fb2 : main [(vtkRenderingOpenGL2CxxTests) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x7fff584e2015 : start [(libdyld.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: 0x8 : ??? [(???) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: ==============================<wbr>===========================<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1185: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">1/1 Test #1185: vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper ...***Exception: Child aborted  0.50 sec<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal">Do you have any ideas?<u></u><u></u></p>
<p class="MsoNormal"><br>
Thanks,<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"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">On 9/1/18, 3:23 PM, "Ken Martin" <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>> wrote:<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Thanks! I was trying to get at the MESA driver from VTK but realized that will not work as VTK is not getting a context it likes. glxinfo may report the driver that mesa is using. A driver that should work is llvmpipe
 but often Mesa is built with other drivers that try to use the underlying hardware and sometimes those do not work for some reason.  I don;t know how hard building mesa on OSX is but if you built mesa with llvmpipe that is what I would think has the best chance
 of working consistently.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">On Sat, Sep 1, 2018 at 3:02 PM, 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">
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
It says "display id not set".<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
-- Steve<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in">
<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>Saturday, September 1, 2018 at 11:06 AM<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?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
Could you try adding this line to TestVBOPLYMapper.cxx at line# 58, build and run it again?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
 cerr << renderWindow-><wbr>ReportCapabilities();<u></u><u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">
On Fri, Aug 31, 2018 at 11:06 PM, 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-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
Hi Ken --<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
Here's the output from "ctest -R VBOPLY -VV".    Does it contain the information you wanted?<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
-- Steve<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
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:1.0in">
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:1.0in">
Add coverage exclude regular expressions.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: vtk.*TCLInit.cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: vtk[^\.]+(Java|Python|Tcl).cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*vtkOpenGLState.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*Testing.Cxx.*cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*Testing.Cxx.*h<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*moc_.*cxx<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*/Rendering/OpenGL/vtkgl.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*/Utilities/.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*/ThirdParty/.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Add coverage exclude: .*vtkOpenGLPolyDataMapper.*<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
SetCTestConfiguration:<wbr>CMakeCommand:/opt/local/stow/<wbr>ports-x11/bin/cmake<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
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:1.0in">
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:1.0in">
Test project /Users/langer/UTIL/VTK/build-<wbr>8.1.1-x11-testing<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Constructing a list of tests<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Done constructing a list of tests<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Updating test list for fixtures<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Added 0 tests to meet fixture requirements<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Checking test dependency graph...<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Checking test dependency graph end<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
test 1186<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
    Start 1186: vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
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:1.0in">
1186: Test timeout computed to be: 3600<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
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:1.0in">
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:1.0in">
1186: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: ==============================<wbr>===========================<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: Process id 52616 Caught SIGSEGV at 0x0x0 address not mapped to object<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: Program Stack:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x7fff7c08af5a : _sigtramp [(libsystem_platform.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x7ffee08ce1a0 : ??? [(???) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x10ffcddb7 : vtkOpenGLVertexArrayObject::<wbr>Bind() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
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:1.0in">
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:1.0in">
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:1.0in">
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:1.0in">
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:1.0in">
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:1.0in">
1186: 0x1110a2c0a : vtkRenderer::<wbr>UpdateOpaquePolygonalGeometry(<wbr>) [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x1110a0ed9 : vtkRenderer::<wbr>DeviceRenderOpaqueGeometry() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x10ff89cc1 : vtkOpenGLRenderer::<wbr>DeviceRenderOpaqueGeometry() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x10ff89048 : vtkOpenGLRenderer::<wbr>UpdateGeometry() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x10ff86c51 : vtkOpenGLRenderer::<wbr>DeviceRender() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x1110a086f : vtkRenderer::Render() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x11109d1c6 : vtkRendererCollection::Render(<wbr>) [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x1110c5898 : vtkRenderWindow::<wbr>DoStereoRender() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x1110c572f : vtkRenderWindow::DoFDRender() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x1110c50f8 : vtkRenderWindow::DoAARender() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x1110c45e4 : vtkRenderWindow::Render() [(libvtkRenderingCore-8.1.1.<wbr>dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x1100bd573 : vtkXOpenGLRenderWindow::<wbr>Render() [(libvtkRenderingOpenGL2-8.1.<wbr>1.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x10f386961 : TestVBOPLYMapper(int, char**) [(vtkRenderingOpenGL2CxxTests) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x10f33bfb2 : main [(vtkRenderingOpenGL2CxxTests) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x7fff7bd7c015 : start [(libdyld.dylib) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: 0x8 : ??? [(???) ???:-1]<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: ==============================<wbr>===========================<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1186: <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
1/1 Test #1186: vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper ...***Exception: Child aborted  3.04 sec<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
0% tests passed, 1 tests failed out of 1<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Label Time Summary:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
vtkRenderingOpenGL2    =   3.04 sec*proc (1 test)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Total Test time (real) =   3.32 sec<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
The following tests FAILED:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
                1186 - vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper (Child aborted)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
Errors while running CTest<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in">
<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?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
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" style="margin-left:.5in">
 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
ctest -R VBOPLY -VV<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
what does it report?<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">
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-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:.5in">
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%7Caccfb06fc88c4d96e8de08d610407319%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636714266333714823&sdata=9fkNl4nFWZC63qctGriTKYd23K2s6s1R%2BuCz25EBXW8%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" style="margin-left:.5in">
<br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
Ken Martin PhD <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">
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;margin-left:.5in">
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaps.google.com%2F%3Fq%3D101%2BEast%2BWeaver%2BStreet%2B%250D%250ACarrboro%2C%2BNorth%2BCarolina%2B%250D%250A27510%2BUSA%26entry%3Dgmail%26source%3Dg&data=02%7C01%7Cstephen.langer%40nist.gov%7Caccfb06fc88c4d96e8de08d610407319%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636714266333714823&sdata=ZEZhzOZ7gs6Wxd9XZEV488%2Bfvw9vhBifkKL0GpnSCTE%3D&reserved=0" target="_blank">101
 East Weaver Street</a><br>
Carrboro, North Carolina<br>
27510 USA<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">
<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>
<p class="MsoNormal" style="margin-left:.5in">
<br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
Ken Martin PhD <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">
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;margin-left:.5in">
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaps.google.com%2F%3Fq%3D101%2BEast%2BWeaver%2BStreet%2B%250D%250ACarrboro%2C%2BNorth%2BCarolina%2B%250D%250A27510%2BUSA%26entry%3Dgmail%26source%3Dg&data=02%7C01%7Cstephen.langer%40nist.gov%7Caccfb06fc88c4d96e8de08d610407319%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636714266333724827&sdata=939k%2Bf7wddYotQAU%2By%2BNXKxcZE71nRORZwxEPMQGJD8%3D&reserved=0" target="_blank">101
 East Weaver Street</a><br>
Carrboro, North Carolina<br>
27510 USA<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">
<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>
<p class="MsoNormal" style="margin-left:.5in"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Ken Martin PhD <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">Distinguished Engineer<br>
<span style="font-size:9.5pt">Kitware Inc.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<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" style="margin-left:.5in"><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>