Hi Dave,

I tested the patch by simply replacing the two modified files and the new 
peeling worked with parallel rendering. I noticed, however, that I cannot load 
any state files saved before the patch application (or even from previous 
versions), Paraview segfaulted each time. I did not investigate the matter any 
further but perhaps you could double check that there is no backward 
compatibility issue with older state files that do have opacity information. In 
addition the peeling, regardless whether it’s the old or new implementation, 
takes significantly more time with parallel rendering than in the serial mode. 
Although, it’s expectable, the overhead is suspiciously high, I tried on 8 
processes and a geometry which, in serial mode can be made opaque dynamically 
with no visible delay, took 34 seconds to be rendered. Most of the overhead 
comes from parallel distribution for compositing.

Regards,
Lukasz

[Beschreibung: Beschreibung: Description : cid:image001.png@01CF0B8F.DB7831F0]
Łukasz Paluszek
Airbus Helicopters
Aerodynamics Department (ETGA)
86607 Donauwörth
Germany
Tel.: +49 (90) 671 8231
Fax.: +49 (90) 671 9122
lukasz.palus...@airbus.com<mailto:lukasz.palus...@airbus.com>

From: David Lonie [mailto:david.lo...@kitware.com]
Sent: 27 June 2016 21:34
To: Paluszek, Lukasz
Cc: paraview@paraview.org
Subject: Re: [Paraview] Opacity Issues

This patch fixes the remote-rendering issue in the new peeling implementation:

https://gitlab.kitware.com/vtk/vtk/merge_requests/1589

Cheers,
Dave

On Mon, Jun 27, 2016 at 6:06 AM, Paluszek, Lukasz 
<lukasz.palus...@airbus.com<mailto:lukasz.palus...@airbus.com>> wrote:
Switching to the old peeling implementation did the trick, no more issues and 
yes I am using remote rendering via pvserver.

[Beschreibung: Beschreibung: Description : cid:image001.png@01CF0B8F.DB7831F0]
Łukasz Paluszek
Airbus Helicopters
Aerodynamics Department (ETGA)
86607 Donauwörth
Germany
Tel.: +49 (90) 671 8231<tel:%2B49%20%2890%29%20671%208231>
Fax.: +49 (90) 671 9122
lukasz.palus...@airbus.com<mailto:lukasz.palus...@airbus.com>

From: David Lonie 
[mailto:david.lo...@kitware.com<mailto:david.lo...@kitware.com>]
Sent: 24 June 2016 21:22
To: Paluszek, Lukasz
Cc: paraview@paraview.org<mailto:paraview@paraview.org>
Subject: Re: [Paraview] Opacity Issues

On Fri, Jun 24, 2016 at 2:15 PM, David Lonie 
<david.lo...@kitware.com<mailto:david.lo...@kitware.com>> wrote:
On Fri, Jun 24, 2016 at 1:10 PM, Paluszek, Lukasz 
<lukasz.palus...@airbus.com<mailto:lukasz.palus...@airbus.com>> wrote:
It doesn’t happen all the time, I suppose you need a fairly large surface 
dataset. I managed to reproduce the problem on a wavelet source (attached state 
file), try increasing the number of elements if you do not see any artifacts. I 
have bult Paraview from source on OpenSuse 13.1 but also cross-checked with the 
Linux binaries from Paraview.org and had same issues. There was no problem with 
the osmesa-llvm flavor though.

I couldn't reproduce this here on arch linux with a newer nVidia driver 
(367.27), so I'm suspicious that this is a driver bug that's affecting the new 
depth peeling implementation.

Since you're building from source, can you try editing 
VTK/Rendering/OpenGL2/vtkOpenGLRenderer.cxx, and change line 322

if (dualDepthPeelingSupported)

to

if (false)

in DeviceRenderTranslucentPolygonalGeometry, recompile using the OpenGL2 
backend, and let me know if the issue goes away? I suspect it will since both 
the OpenGL1 backend and OpenGL2 mesa/llvm do not use the new code.

I'll put together a patch to force the older peeling implementation via an 
environment variable to make the work-around easier to apply.

Patch is here: https://gitlab.kitware.com/vtk/vtk/merge_requests/1589

By the way, are you running paraview with remote rendering via pvserver? I was 
just made aware of a similar issue with remote rendering and depth peeling.

Dave

AIRBUS HELICOPTERS DEUTSCHLAND GmbH

Sitz der Gesellschaft / Registered Office: Donauwörth

Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508

Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume 
Faury

Geschäftsführung / Board of Management: Dr. Wolfgang Schoder, Vorsitzender / 
CEO; Thomas Hundt; Johannes Kleidorfer; Dr. Klaus Przemeck; Martin Schübel; 
Stefan Thomé



The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.

If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.

Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.

All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.








AIRBUS HELICOPTERS DEUTSCHLAND GmbH

Sitz der Gesellschaft / Registered Office: Donauwörth

Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508

Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume 
Faury

Geschäftsführung / Board of Management: Dr. Wolfgang Schoder, Vorsitzender / 
CEO; Thomas Hundt; Johannes Kleidorfer; Dr. Klaus Przemeck; Martin Schübel; 
Stefan Thomé

<html><head></head><body><font color="black" face="arial" size="2">
The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.
</font>
</body>
</html>

_______________________________________________
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

Reply via email to