[vtkusers] GL_EXT_gpu_shader4 unsupported help
Ken Martin
ken.martin at kitware.com
Mon Feb 8 18:31:23 EST 2016
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,
https://www.kitware.com/blog/home/post/999
Thanks
Ken
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
> MESA_GLSL_VERSION_OVERRIDE=150;
>
> 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
> /home/ksansom/build/vmtk/vmtk-build/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
> 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
> /home/ksansom/build/vmtk/vmtk-build/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx,
> line 369
> vtkShaderProgram (0x3ade100): 1: #version 120
> 2: #extension GL_EXT_gpu_shader4 : require
> ...
> 103:
>
> ERROR: In
> /home/ksansom/build/vmtk/vmtk-build/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx,
> 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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160208/3017a7d2/attachment.html>
More information about the vtkusers
mailing list