[vtkusers] GL_EXT_gpu_shader4 unsupported help
ken.martin at kitware.com
Wed Feb 10 14:21:39 EST 2016
I suspect you have selected OSMesa when building VTK (or your application
was compiled to use OSMesa). Make sure any cmake OSMESA options in you VTK
build are turned off. They may be advanced options.
On Mon, Feb 8, 2016 at 6:43 PM, Kurt Sansom <kayarre at gmail.com> wrote:
> That is helpful. Could you point me to the regular opengl drivers. I am
> not stuck on mesa, but I will take a look at the post as well. Thank you.
> On Feb 8, 2016 3:31 PM, "Ken Martin" <ken.martin at kitware.com> wrote:
>> It looks like you are using OSMesa instead of the normal OpenGL driver.
>> That is what is causing the issue I believe. If you do want OS mesa then I
>> believe you need version 11.2 to get the OpenGL 3.2 support. See this nice
>> post by Utkarsh on using OSMesa with the new VTK rendering engine,
>> On Mon, Feb 8, 2016 at 4:55 PM, Kurt Sansom <kayarre at gmail.com> wrote:
>>> I am having this issue that my compiled version of VTK doesn't like
>>> GL_EXT_gpu_shader4. I have the latest nvidia drivers installed and what
>>> I believe is the correct OpenGL version. I messed with several of the CMake
>>> VTK build settings to no avail. I also ran glxinfo which lists GL_EXT_gpu_shader4.
>>> the output is attached. Any thoughts or help?
>>> I also tried adding these variables before running which just made the
>>> program repeat output to the standard out.
>>> export MESA_GL_VERSION_OVERRIDE=3.2; export
>>> Executing vmtklevelsetsegmentation ...
>>> Please choose initialization type:
>>> 0: colliding fronts;
>>> 1: fast marching;
>>> 2: threshold;
>>> 3: isosurface;
>>> 4: seed
>>> GL_Version: 2.1 Mesa 10.6.5
>>> ERROR: In
>>> line 545
>>> vtkOSOpenGLRenderWindow (0x4a61440): GL version 2.1 with the gpu_shader4
>>> extension is not supported by your graphics driver but is required for the
>>> new OpenGL rendering backend. Please update your OpenGL driver. If you are
>>> using Mesa please make sure you have version 10.6.5 or later and make sure
>>> your driver in Mesa supports OpenGL 3.2.
>>> ERROR: In
>>> line 369
>>> vtkShaderProgram (0x3ade100): 1: #version 120
>>> 2: #extension GL_EXT_gpu_shader4 : require
>>> ERROR: In
>>> line 370
>>> vtkShaderProgram (0x3ade100): 0:2(12): error: extension
>>> `GL_EXT_gpu_shader4' unsupported in fragment shader
>>> Kurt Sansom
>>> Powered by www.kitware.com
>>> Visit other Kitware open-source projects at
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>> Follow this link to subscribe/unsubscribe:
>> 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.
Ken Martin PhD
Chairman & CFO
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers