[vtkusers] Issues when using Mesa 11.2.2

Chuck Atkins chuck.atkins at kitware.com
Fri Jul 1 12:58:32 EDT 2016


Ken,
Just to close the loop on this, I saw this issue pop up on the mesa-users
list and helped Patricio's colleague, Edson, fix it.  You can check out the
thread here if you'd like:
https://lists.freedesktop.org/archives/mesa-users/2016-June/001175.html .
To make a long story short, there's some murky / conflicting configure
options for the current mesa release.  I was able to get get them up and
running and I fixed the issue upstream a while ago.

Sorry I didn't see it over here first :-/


- Chuck

On Tue, Jun 28, 2016 at 5:51 PM, Ken Martin <ken.martin at kitware.com> wrote:

> Setting MESA_GL_VERSION_OVERRIDE = 3.2 means your graphics library does
> not support OpenGL 3.2 normally. If you are using Mesa 11.2.2 I suspect
> that means you are not using the llvmpipe driver (which does support 3.2)
> but some other driver. glxinfo can help narrow that down to see what driver
> is being used.
>
> Thanks
> Ken
>
> On Tue, Jun 28, 2016 at 5:37 PM, Patricio Palma C. <patriciop at gmail.com>
> wrote:
>
>> Hello Expert
>>
>> I'm testing VTK 7.1(git) with OpenGL2 using Mesa 11.2.2 and it fails at
>> when rendering the structure.
>>
>> The first error I got is:
>>
>> ERROR: In vtkShaderProgram.cxx, line 370
>> vtkShaderProgram (0xa385610): Error: GL_EXT_gpu_shader4: required
>> extension is not supported.
>> Error: failed to preprocess the source.
>>
>> This was solved by defining MESA_GL_VERSION_OVERRIDE = 3.2
>>
>> After that VTK request GLSL at least 1.50 then variable
>> MESA_GL_VERSION_OVERRIDE is defined as 150
>>
>> After that I got the following message:
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00002aaaaf55181b in vtkShaderProgram::FindUniform(char const*) () at
>> Rendering/OpenGL2/vtkShaderProgram.cxx:772
>> 772   if (name == NULL || !this->Linked)
>>
>> ​Do you have any idea on how  I could solve this crash?
>>
>> Regards​
>> --
>> Patricio Palma Contreras
>>
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> 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.
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160701/2430d532/attachment.html>


More information about the vtkusers mailing list