<html><head></head><body>Hi Ken, <br>
<br>
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. <br>
<br>
Do you have any idea on support of that in Mesa since it is not in the features.txt?<br>
<br>
Axel<br><br><div class="gmail_quote">On October 23, 2017 4:04:30 AM GMT+02:00, Ken Martin <ken.martin@kitware.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">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. <div><br /></div><div>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.</div><div><br /></div><div>Also if you are doing remote rendering via GLX forwarding/Remote Desktop/etc often times that can have an impact.</div><div><br /></div><div>Thanks!</div><div>Ken</div><div><br /></div><div><br /></div><div><br /><div><br /></div></div></div><div class="gmail_extra"><br /><div class="gmail_quote">On Sun, Oct 22, 2017 at 3:47 PM, Axel Huebl <span dir="ltr"><<a href="mailto:a.huebl@hzdr.de" target="_blank">a.huebl@hzdr.de</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br />
<br />
<br />
I was looking on <a href="http://mesamatrix.net" rel="noreferrer" target="_blank">mesamatrix.net</a> for the extension "GL_EXT_gpu_shader4"<br />
which is required by recent versions of VTK [1] for its OpenGL2 backend.<br />
<br />
Asking for it on GitHub, I was referred to this list since the web page<br />
is just a parsed list of<br />
<br />
   <a href="https://cgit.freedesktop.org/mesa/mesa/tree/docs/features.txt" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/<wbr />mesa/mesa/tree/docs/features.<wbr />txt</a><br />
<br />
The extension seems to be that one: [2]<br />
<br />
I was wondering if the status of "GL_EXT_gpu_shader4" can be added to<br />
the features.txt to get an idea which driver will run with recent<br />
versions of VTK?<br />
<br />
My background: I was trying to use mesa 17.1.5 with llvmpipe driver<br />
(based on llvm 3.8.1) and was surprised that VTK7 failed (in ParaView<br />
5.4.1) to detect all required OpenGL 3.2 features.<br />
<br />
Another question: is this extension an early version or feature-wise a<br />
sub-set of "GL_ARB_gpu_shader5" in OpenGL 4.0? And as such, would it<br />
make sense to ask the VTK developers to rely on that instead, if available?<br />
<br />
<br />
Best regards,<br />
Axel<br />
<br />
[1]<br />
<a href="https://github.com/Kitware/VTK/blob/v7.1.1/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx#L632-L648" rel="noreferrer" target="_blank">https://github.com/Kitware/<wbr />VTK/blob/v7.1.1/Rendering/<wbr />OpenGL2/vtkOpenGLRenderWindow.<wbr />cxx#L632-L648</a><br />
<br />
[2]<br />
<a href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_gpu_shader4.txt" rel="noreferrer" target="_blank">https://www.khronos.org/<wbr />registry/OpenGL/extensions/<wbr />EXT/EXT_gpu_shader4.txt</a><br />
--<br />
<br />
Axel Huebl<br />
Phone <a href="tel:%2B49%20351%20260%203582" value="+493512603582">+49 351 260 3582</a><br />
<a href="https://www.hzdr.de/crp" rel="noreferrer" target="_blank">https://www.hzdr.de/crp</a><br />
Computational Radiation Physics<br />
Laser Particle Acceleration Division<br />
Helmholtz-Zentrum Dresden - Rossendorf e.V.<br />
<br />
Bautzner Landstrasse 400, 01328 Dresden<br />
POB 510119, D-01314 Dresden<br />
Vorstand: Prof. Dr.Dr.h.c. R. Sauerbrey<br />
          Prof. Dr.Dr.h.c. P. Joehnk<br />
VR 1693 beim Amtsgericht Dresden<br />
______________________________<wbr />_________________<br />
mesa-users mailing list<br />
<a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.<wbr />org</a><br />
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-users" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr />mailman/listinfo/mesa-users</a><br />
</blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br /><span style="font-size:12.8px">Kitware Inc.</span><br /></div><div>28 Corporate Drive<br />Clifton Park NY 12065<br /><div><br /></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">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.</span></div></div></div></div></div>
</div>
</blockquote></div></body></html>