defective png screenshots by SaveScreenshot of pvpython

Have anyone seen such defective png files exported by Paraview?
The problem is that the exported png files by SaveScreenshot of pvpython are defective. Some pixels have wrong rendering. Also, this problem seems to be related to the hardware. I ran the same python script by the same version of pvpython on another machine, the png file looks good. I post the defective and healthy png files for comparison:

The information on my machine, which generated the defective png files:

OS: Ubuntu 20.04.3 LTS
Version of Paraview: ParaView-5.11.0-egl-MPI-Linux-Python3.9-x86_64
Graphics card: Nvidia data center GPUs (not gaming cards)

Another information is that the Osmesa version of Paraview could generate good png files but it is much slower than the above egl version, so I won’t want to use osmesa version.

The above 2 machines mentioned have the same hardware and libs, but they generate good and bad png files respectively. I know that it is very hard to replicate this issue on other machines. If anyone has encountered this issue before, it would be helpful to give me some suggestions to try. Thank you.

Hi @cfd_ow

To me that looks like a faulty hardware or faulty driver, you may want to run generic rendering test to validate that.


Hi @mwestphal , thanks. Do you know how to run generic rendering test? Is it included in Paraview source code?

glxinfo, glxgears. Tools not related to ParaView.

1 Like