[Paraview] gpu_shader4 extension is not supported
Burlen Loring
burlen.loring at gmail.com
Wed May 17 17:22:54 EDT 2017
> - one build for the front end with GUI: it has no GPU but a windowing
> system (this is the blocking point at this time)
OK. to accomplish this, first do a Mesa build configured as
follows(glx+software rendering)
../mesa-17.0.6/configure --enable-texture-float --enable-glx
--disable-dri --disable-egl --disable-gles1 --disable-gles2
--disable-gbm --disable-driglx-direct --disable-xvmc
--with-gallium-drivers=swrast,swr
--prefix=/work/apps/mesa/17.0.6-x11-swr
make sure ParaView can find it, and configure ParaView as follows
export
LD_LIBRARY_PATH=/work/apps/mesa/17.0.6-x11-swr/lib/:$LD_LIBRARY_PATH
cmake -DOPENGL_INCLUDE_DIR=/work/apps/mesa/17.0.6-x11-swr/include
-DOPENGL_gl_LIBRARY=/work/apps/mesa/17.0.6-x11-swr/lib/libGL.so
~/work/ParaView/
when you run ParaView the "help/about" dialog should report VMWare Mesa
17.0.6 Gallium on llvmpipe.
On 05/16/2017 11:18 PM, Patrick Begou wrote:
> Yes Burlen, this is exactly what I try to do:
> - one build for the nodes whitout GUI as they have no windowing system
> nor GPU (I build this using the wiki documentation)
> - one build for the front end with GUI: it has no GPU but a windowing
> system (this is the blocking point at this time)
> - one build on the users workstations where a GPU and a windowing
> system are available (this is working too thanks to the wiki
> documentation)
>
> On the front-end I have a system libGL but too old for Paraview 5 and
> it is requested by other commercial softwares. This is why I try to
> build a new mesa from sources for Paraview. I use the module
> environment then to set the LD_LIBRARY_PATH and PATH order to reach
> the right libraries and, as strace show, it seams to work fine. So I
> suppose it is a mesa configuration mistake in my build.
>
> May be should I post on the Mesa forum ?
>
> Patrick
>
>
> Burlen Loring wrote:
>> that's the point. this allows you to run without the windowing system
>> or GPU on the cluster. Most cluster have neither. If you wanted to
>> provide the GUI then I would suggest you have two installs of both
>> ParaView and Mesa. One based on OSMesa, the other based on some X11
>> enabled OpenGL. Alternatively you could install only the OSMesa
>> capable pvserver as suggested in previous email and direct your users
>> to the ParaView GUI enabled binaries that Kitware provides on their
>> web site. The latter is what I have been doing.
>>
>> As an aside, it gets messy when you have two libGL in the same build.
>> One need to be very careful about library dependencies. It is
>> possible to do this if one is very careful during link time. However
>> as far as I know this has not been supported for quite a long time in
>> VTK/ParaView, and I think it would require some reorganization of VTK
>> OpernGL classes.
>>
>> Burlen
>>
>> On 05/16/2017 08:38 AM, Patrick Begou wrote:
>>> Burlen Loring wrote:
>>>> ../mesa-17.0.2/configure --enable-texture-float --disable-glx
>>>> --disable-dri --disable-egl --disable-gles1 --disable-gles2
>>>> --disable-gbm --disable-driglx-direct --disable-xvmc
>>>> --enable-gallium-osmesa --with-gallium-drivers=swrast,swr
>>>> --prefix=/usr/common/software/ParaView/mesa/17.0.2/
>>>
>>> Hi Burlen,
>>>
>>> this Mesa setup does not provide libGL requested to build paraview
>>> with GUI enabled :-(
>>> It is OK for the cluster nodes but not for the frontend where I need
>>> this GUI even with no GPU installed.
>>>
>>> Patrick
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170517/961886d4/attachment.html>
More information about the ParaView
mailing list