<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Hi all!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>First of all, thanks for all the effort spent on porting the rendering engine to support the OpenGL2 backend by default on PV 5.0.0. Early tests with the binary from the download page shows a massive improvement over the PV 4.1 to 4.3 versions in terms of rendering time. I have repeated the test over a few different GPUs and got the same results.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Which brought me to thinking that similar performance improvements could be also achieved when performing software rendering with the MESA libraries. I downloaded the PV sources for the 5.0.0-RC1 release yesterday and compiled it with MESA and MPI support. MPI version is Intel 5.0.1 and MESA version is 10.5.5. The MESA libraries are compiled using:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif"'>./configure --enable-64-bit --enable-texture-float --enable-osmesa --disable-egl --disable-xorg --disable-xvmc --disable-opencl --disable-glx --disable-dri --disable-va --disable-shared-glapi --enable-gallium-llvm=no --with-gnu-ld --with-osmesa-bits=8 --disable-vdpau --enable-dependency-tracking --with-gallium-drivers=”” --with-dri-drivers=”” --with-egl-platforms=””<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Which corresponds to a “classic” compilation without LLVM support. Believe it or not, this was found to run faster on our CPU cluster than with the LLVM drivers.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>After linking PV 5.0.0 against the MESA libs with the OpenGL2 backend, I started running a simple benchmark to check possible performance benefits and here is the error output I got:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>GL_Version: 2.1 Mesa 10.5.5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>Warning: In /panfs/srvpan01/code/repo/build/paraview-5.0.0-rc1/src/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 549<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>vtkOSOpenGLRenderWindow (0x3c0eef60): 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 OpenGL 2.1 but some features may not work.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>ERROR: In /panfs/srvpan01/code/repo/build/paraview-5.0.0-rc1/src/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 369<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>vtkShaderProgram (0x4d4dbfe0): 1: #version 120<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>2: #extension GL_EXT_gpu_shader4 : require<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>3: #define highp<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>4: #define mediump<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>5: #define lowp<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>6: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>7: /*=========================================================================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>8: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>9:   Program:   Visualization Toolkit<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>10:   Module:    vtkPolyDataFS.glsl<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>11: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>12:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>13:   All rights reserved.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>14:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>15: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>16:      This software is distributed WITHOUT ANY WARRANTY; without even<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>17:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>18:      PURPOSE.  See the above copyright notice for more information.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>19: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>20: =========================================================================*/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>21: // Template for the polydata mappers fragment shader<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>22: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>23: uniform int PrimitiveIDOffset;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>24: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>25: // VC position of this fragment<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>26: varying vec4 vertexVCVSOutput;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>27: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>28: // optional color passed in from the vertex shader, vertexColor<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>29: uniform bool OverridesColor;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>30: uniform float opacityUniform; // the fragment opacity<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>31: uniform vec3 ambientColorUniform; // intensity weighted color<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>32: uniform vec3 diffuseColorUniform; // intensity weighted color<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>33: uniform vec3 specularColorUniform; // intensity weighted color<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>34: uniform float specularPowerUniform;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>35: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>36: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>37: // optional surface normal declaration<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>38: uniform int cameraParallel;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>39: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>40: // extra lighting parameters<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>41: uniform int numberOfLights;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>42: uniform vec3 lightColor[6];<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>43: uniform vec3 lightDirectionVC[6]; // normalized<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>44: uniform vec3 lightHalfAngleVC[6]; // normalized<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>45: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>46: // Texture coordinates<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>47: varying vec2 tcoordVCVSOutput; uniform sampler2D texture1;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>48: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>49: // picking support<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>50: //VTK::Picking::Dec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>51: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>52: // Depth Peeling Support<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>53: //VTK::DepthPeeling::Dec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>54: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>55: // clipping plane vars<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>56: //VTK::Clip::Dec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>57: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>58: // the output of this shader<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>59: //VTK::Output::Dec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>60: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>61: // Apple Bug<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>62: //VTK::PrimID::Dec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>63: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>64: void main()<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>65: {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>66:   // Apple Bug<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>67:   //VTK::PrimID::Impl<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>68: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>69:   //VTK::Clip::Impl<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>70: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>71:   vec3 ambientColor;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>72:   vec3 diffuseColor;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>73:   float opacity;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>74:   vec3 specularColor;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>75:   float specularPower;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>76:   ambientColor = ambientColorUniform;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>77:   diffuseColor = diffuseColorUniform;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>78:   opacity = opacityUniform;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>79:   specularColor = specularColorUniform;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>80:   specularPower = specularPowerUniform;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>81:   vec4 texColor = texture2D(texture1, tcoordVCVSOutput.st);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>82:   diffuseColor = texColor.rgb;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>83:   opacity = opacity*texColor.a;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>84:   if (OverridesColor) {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>85:     ambientColor = ambientColorUniform;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>86:     diffuseColor = diffuseColorUniform; }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>87: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>88: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>89:   // VC position of this fragment<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>90:   vec4 vertexVC = vertexVCVSOutput;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>91: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>92:   // Generate the normal if we are not passed in one<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>93:   vec3 fdx = normalize(vec3(dFdx(vertexVC.x),dFdx(vertexVC.y),dFdx(vertexVC.z)));<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>94:   vec3 fdy = normalize(vec3(dFdy(vertexVC.x),dFdy(vertexVC.y),dFdy(vertexVC.z)));<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>95:   vec3 normalVCVSOutput = normalize(cross(fdx,fdy));<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>96:   if (cameraParallel == 1 && normalVCVSOutput.z < 0.0) { normalVCVSOutput = -1.0*normalVCVSOutput; }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>97:   if (cameraParallel == 0 && dot(normalVCVSOutput,vertexVC.xyz) > 0.0) { normalVCVSOutput = -1.0*normalVCVSOutput; }<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>98: <o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>99:   vec3 diffuse = vec3(0,0,0);<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>100:   vec3 specular = vec3(0,0,0);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>101:   for (int lightNum = 0; lightNum < numberOfLights; lightNum++)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>102:     {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>103:     float df = max(0.0, dot(normalVCVSOutput, -lightDirectionVC[lightNum]));<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>104:     diffuse += ((df) * lightColor[lightNum]);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>105:     if (dot(normalVCVSOutput, lightDirectionVC[lightNum]) < 0.0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>106:       {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>107:       float sf = pow( max(0.0, dot(lightHalfAngleVC[lightNum],normalVCVSOutput)), specularPower);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>108:       specular += ((sf) * lightColor[lightNum]);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>109:       }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>110:     }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>111:   diffuse = diffuse * diffuseColor;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>112:   specular = specular * specularColor;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>113:   gl_FragData[0] = vec4(ambientColor + diffuse + specular, opacity);  //VTK::Light::Impl<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>114: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>115:   //VTK::TCoord::Impl<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>116: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>117:   if (gl_FragData[0].a <= 0.0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>118:     {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>119:     discard;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>120:     }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>121: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>122:   //VTK::DepthPeeling::Impl<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>123: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>124:   //VTK::Picking::Impl<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>125: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>126: }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>127: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>ERROR: In /panfs/srvpan01/code/repo/build/paraview-5.0.0-rc1/src/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 370<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>vtkShaderProgram (0x4d4dbfe0): 0:2(12): error: extension `GL_EXT_gpu_shader4' unsupported in fragment shader<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'>APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Was it to be expected? If so, is there any chance at all to run PV 5.0.0 in batch with MESA support on a CPU cluster? If so, which MESA version is required/recommended and what are the compile options to pass?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><br>Thank you very much in advance for any answer.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New","serif";mso-fareast-language:DE-CH'><o:p> </o:p></span></p><p class=MsoNormalCxSpMiddle style='margin-bottom:12.0pt;mso-add-space:auto'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D;mso-fareast-language:DE-CH'>Frank Albina <o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>