[Paraview] OffScreen/OnScreen, Software/Hardware Rendering with EGL

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon May 22 13:05:11 EDT 2017


Jacques,

Here's a quick summary of modes available currently, with their
requirements and features supported. A and B do not need any special build,
while all other modes do.

ParaView 5.3 configuration Requires X-server Supports H/W rendering Supports
Software Rendering
Yes No Yes No Yes No
A Default ✔ ✔ ✔
B Default with Mesa libGL ✔ ✔ ✔
C OSMesa only ✔ ✔ ✔
D OSMesa + Mesa libGL ✔ ✔ ✔ ✔
E EGL only ✔ ✔ ✔
A. assuming libGL is provided by GPU vendor
B. uses same build as A, simply change LD_LIBRARY_PATH to load libGL
provided Mesa3D
C. Special build ParaView with VTK_OPENGL_HAS_OSMESA=ON, VTK_USE_X=OFF
D. Special build of ParaView with VTK_OPENGL_HAS_OSMESA=ON, VTK_USE_X=ON
and OPENGL_gl_LIBRARY set to point to libGL from same Mesa build proviing
libOSMesa.
E. Special build of ParaView with VTK_USE_OFFSCREEN_EGL=ON.

We have plans to add support for another mode where you can use EGL + libGL
(similar to D but with H/W rendering support). That may happen later this
year.

Hope that helps.

Utkarsh


On Mon, May 22, 2017 at 12:20 PM, Jacques Papper <jacques.papper at gmail.com>
wrote:

> Hi,
>
> I would like to know if it is possible to build ParaView 5.3.0 (Client as
> well as Server / Batch etc...) in one go with off-screen / on-screen, GPU
> and software support. (i.e 4 different combinations possible)
>
> My understanding is that EGL is a step forward in allowing this as it
> should provide the ability to use the GPU in off-screen contexts ?
>
> I know that the current ParaView 5.3.0 installation supports both CPU and
> GPU rendering by swapping out the OpenGL2 libs at runtime (the MESA OpenGL
> libs are put in the mesa subfolder).
>
> However, I haven't figured out if it is possible to have off-screen and
> on-screen rendering activated / de-activated at runtime ? And if so, is it
> only for the software rendering capability or for the hardware rendering
> capability as well ?
>
> If it is possible to have all 4 possibilities selectable at runtime, what
> are the build options to enable this ?
>
> Even if I need to do separate builds and swap out the libs at runtime that
> would be fine !
>
> Thanks !
> Jacques
>
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170522/4f50a457/attachment.html>


More information about the ParaView mailing list