[Paraview-developers] ParaView 5.0, Mesa 11.0.4, giving OGL version as 3.0
Berk Geveci
berk.geveci at kitware.com
Thu Nov 12 10:23:05 EST 2015
It is not a bug. We _require_ 3.2 when using the OpenGL2 rendering code and
cannot function with a 3.0 context. Even though Mesa reports that it
supports 3.0, it actually supports all of the 3.2 features that we need. So
therefore, forcing Mesa to report 3.2 support is the best way to go.
Otherwise, it would not be possible for us to create an OpenGL 3.2 context
at runtime.
Also, note that your statement of "Mesa 11.0.4 only returns version 3.0 by
default" is not entirely accurate. Mesa repots support for OpenGL 3.0 with
the driver that you are building with, which is gallium-llvmpipe I am
guessing. Other Mesa drivers support OpenGL 3.2 within 11.0.4, even
earlier. These are hardware enabled drivers commonly used on Linux
distributions. Unfortunately, gallium-llvmpipe is your only option
currently for pure software rendering including OSMesa.
Best,
-berk
On Wed, Nov 11, 2015 at 8:45 PM, Scott, W Alan <wascott at sandia.gov> wrote:
> Mesa 11.0.4 only returns version 3.0 by default. ParaView is asking for
> 3.2. Utkarsh showed me how to override this using an environment variable,
> but isn’t this a bug that ParaView is asking for 3.2?
>
>
>
> Here is the gl_context down in Mesa:
>
> VersionString $string *
> 0x01587d00 0x01607580 -> "3.0 Mesa 11.0.4"
>
>
>
>
>
> Thanks,
>
> Alan
>
>
>
> --------------------------------------------------------
>
> W. Alan Scott
>
> ParaView Support Manager
>
>
>
> SAIC
>
> Sandia National Laboratories, MS 0822
>
> Org 9326 - Building 880 A1-H
>
> (505) 284-0932 FAX (505) 284-5619
>
> ---------------------------------------------------------
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20151112/734bcf3c/attachment.html>
More information about the Paraview-developers
mailing list