[Mesa-users] features.txt: GL_EXT_gpu_shader4?

Ken Martin ken.martin at kitware.com
Mon Oct 23 11:36:36 UTC 2017


shader4 is not in mesa and I do not think it ever will be. As Mesa has
opengl 3.2 support it really isn't needed for VTK/PV because OpenGL 3.2
basically includes the features of shader4.

PV supports mesa + llvmpipe for Mesa versions 12.0 and later.  That is why
I suspect something unusual is going on here probably related to
platform/build etc.



On Mon, Oct 23, 2017 at 1:49 AM, Axel Huebl <a.huebl at hzdr.de> wrote:

> Hi Ken,
>
> Thanks for the vtk related answer! The issue even appeared in local
> rendering without hw acceleration. The official paraview answer was to
> build against gallium, but since I am curious about using llvmpipe, I
> searched for up the gpu_shader4 issue.
>
> Do you have any idea on support of that in Mesa since it is not in the
> features.txt?
>
> Axel
>
> On October 23, 2017 4:04:30 AM GMT+02:00, Ken Martin <
> ken.martin at kitware.com> wrote:
>>
>> Really anything after Mesa 12 or so should be good as with llvmpipe or
>> openswr I believe they all support at least OpenGL 3.2 which is what VTK/PV
>> requires. We test VTK nightly against Mesa (master I think ?) to make sure
>> it works. The gpu_shader4 is an old fallback for OpenGL 2.1 systems but
>> Mesa 17 should be providing OpenGL 3.2. So something funny is going on.
>>
>> You might want to try the paraview mailing list as they are pretty
>> familiar with getting PV to build/run with mesa on a variety of systems.
>> Due to interactions with Qt5/VTK/Mesa sometimes there are some tricks to
>> getting it to work.
>>
>> Also if you are doing remote rendering via GLX forwarding/Remote
>> Desktop/etc often times that can have an impact.
>>
>> Thanks!
>> Ken
>>
>>
>>
>>
>>
>> On Sun, Oct 22, 2017 at 3:47 PM, Axel Huebl <a.huebl at hzdr.de> wrote:
>>
>>> Hi,
>>>
>>>
>>> I was looking on mesamatrix.net for the extension "GL_EXT_gpu_shader4"
>>> which is required by recent versions of VTK [1] for its OpenGL2 backend.
>>>
>>> Asking for it on GitHub, I was referred to this list since the web page
>>> is just a parsed list of
>>>
>>>    https://cgit.freedesktop.org/mesa/mesa/tree/docs/features.txt
>>>
>>> The extension seems to be that one: [2]
>>>
>>> I was wondering if the status of "GL_EXT_gpu_shader4" can be added to
>>> the features.txt to get an idea which driver will run with recent
>>> versions of VTK?
>>>
>>> My background: I was trying to use mesa 17.1.5 with llvmpipe driver
>>> (based on llvm 3.8.1) and was surprised that VTK7 failed (in ParaView
>>> 5.4.1) to detect all required OpenGL 3.2 features.
>>>
>>> Another question: is this extension an early version or feature-wise a
>>> sub-set of "GL_ARB_gpu_shader5" in OpenGL 4.0? And as such, would it
>>> make sense to ask the VTK developers to rely on that instead, if
>>> available?
>>>
>>>
>>> Best regards,
>>> Axel
>>>
>>> [1]
>>> https://github.com/Kitware/VTK/blob/v7.1.1/Rendering/OpenGL2
>>> /vtkOpenGLRenderWindow.cxx#L632-L648
>>>
>>> [2]
>>> https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_
>>> gpu_shader4.txt
>>> --
>>>
>>> Axel Huebl
>>> Phone +49 351 260 3582
>>> https://www.hzdr.de/crp
>>> Computational Radiation Physics
>>> Laser Particle Acceleration Division
>>> Helmholtz-Zentrum Dresden - Rossendorf e.V.
>>>
>>> Bautzner Landstrasse 400, 01328 Dresden
>>> <https://maps.google.com/?q=Bautzner+Landstrasse+400,+01328+Dresden&entry=gmail&source=g>
>>> POB 510119, D-01314 Dresden
>>> Vorstand: Prof. Dr.Dr.h.c. R. Sauerbrey
>>>           Prof. Dr.Dr.h.c. P. Joehnk
>>> VR 1693 beim Amtsgericht Dresden
>>> _______________________________________________
>>> mesa-users mailing list
>>> mesa-users at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/mesa-users
>>>
>>
>>
>>
>> --
>> Ken Martin PhD
>> Distinguished Engineer
>> Kitware Inc.
>> 28 Corporate Drive
>> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
>> Clifton Park NY 12065
>> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
>>
>> 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
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

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: <https://lists.freedesktop.org/archives/mesa-users/attachments/20171023/69ed63a4/attachment-0001.html>


More information about the mesa-users mailing list