[Paraview] [Non-DoD Source] Re: 5.0.1/Exodus Reader (UNCLASSIFIED)

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Jun 6 13:53:30 EDT 2016


Here's a MR for update superbuild that builds OSMesa 11.2.2. I've only
updated OSMesa. I'll tackle mesa-glx next.

https://gitlab.kitware.com/paraview/paraview-superbuild/merge_requests/114

Utkarsh

On Mon, Jun 6, 2016 at 12:31 PM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> 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) <joseph.g.hennessey2.ctr at mail.mil> 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:utkarsh.ayachit at kitware.com]
>> Sent: Thursday, June 02, 2016 4:19 PM
>> To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
>> <joseph.g.hennessey2.ctr at mail.mil>
>> Cc: Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)
>> <richard.c.angelini.civ at mail.mil>; Su, Simon M CIV USARMY RDECOM ARL (US)
>> <simon.m.su.civ at mail.mil>; ParaView <paraview at paraview.org>
>> 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


More information about the ParaView mailing list