I am working on updating superbuild today. Just hold on. I'll email once I have it working.
On Mon, Jun 6, 2016 at 12:00 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) <[email protected]> wrote: > CLASSIFICATION: UNCLASSIFIED > > Utkarsh, > > I have rebuilt osmesa using mesa 11.2.2 but > it ParaView rebuilt with the new version is giving > me the same error as before, complaining that the > GL version 2.1 with gpu_shader4 extension is not > Supported. > > I think I know why this is occurring and I wondered if you > could confirm this for me. > > I configured mesa with these parameters > > ./configure \ > --disable-xvmc \ > --disable-glx \ > --disable-dri \ > --with-dri-drivers= \ > --with-gallium-drivers=swrast \ > --enable-texture-float \ > --disable-egl \ > --with-egl-platforms= \ > --enable-gallium-osmesa \ > --enable-gallium-llvm=yes \ > --prefix=<install prefix> > > but, I did not have a version of llvm available > and the configure script then set > > Llvm = no > > From my reading of this webpage > > http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D > > It seems that without gallium-llvm, > the version of OpenGL built reverts to an older version, > which I believe is why I am still getting the error. > > Would you agree with this? > > Thanks, > > Joe > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joseph G. Hennessey Ph.D., Lockheed Martin > Army Research Lab > DOD Supercomputing Resource Center > > > -----Original Message----- > From: Utkarsh Ayachit [mailto:[email protected]] > Sent: Thursday, June 02, 2016 4:19 PM > To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US) > <[email protected]> > Cc: Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) > <[email protected]>; Su, Simon M CIV USARMY RDECOM ARL (US) > <[email protected]>; ParaView <[email protected]> > Subject: Re: [Paraview] [Non-DoD Source] Re: 5.0.1/Exodus Reader > (UNCLASSIFIED) > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links contained > within the message prior to copying and pasting the address to a Web browser. > > > > > ---- > >> And I have tried replacing the library >> lib/paraview-5.0/libOSMesa.so.7 >> with both libOSMesa.so from 11.1.2 and 11.2.2 and they are both still >> giving the same error > > Simply swapping the libraries won't work. Mesa 11.2 [1] added new API > OSMesaCreateContextAttribs() which is needed to create correct OpenGL context. > The API is used at compile time if appropriate osmesa.h is being used. > > You can try to update Projects/unix/osmesa.cmake in the superbuild source to > use the configure arguments you used, and also change versions.cmake in the > same repo to point to change the osmesa source tar ball to be 11.2. Now the > superbuid will build 11.2 instead and it should then have the new API > available. > > [1] Caution-http://www.mesa3d.org/relnotes/11.2.0.html > > > CLASSIFICATION: UNCLASSIFIED _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
