Chiming in to remark I have similar errors even with a self-compiled version of ParaView (over a range of versions, including 5.8), on a Debian-9 based Laptop (with EDF packages) and even in some cases using OSMesa, on a Debian 9-based cluster.
I don’t have these issues on my personal Arch-Linux based laptop (using a recent build of ParaView 5.9, but I update and rebuild very few weeks).
I tried to investigate this under a debugger once, and it seems there is an attempt to initialize the OpenGL environement in the exit sequence.
I could try to get back into this to provide more details or stack traces.
This looks like an issue I saw recently. When building ParaView, be sure to set the CMake variable OpenGL_GL_PREFERENCE TO “LEGACY”.
You can do this from the command line with
cmake -DOpenGL_GL_PREFERENCE:STRING=LEGACY .
ParaView requires the LEGACY option for OpenGL rather than the default “GLNVD” - that should get you past this crash in vtkXOpenGLRenderWindow::CreateAWindow() .
Note that ParaView itself doesn’t care much. Certain platforms (here, Debian) seems to care very much. I use GLVND just fine on Fedora for instance. I suspect newer Debian is fine too.
Thanks fo the info. I just tried this on Debian 9 (with EDF packagages, which may include a more recent Linux kernel and NVIDIA drivers) with ParaView 5.8.1, and still get the same error, with the following stack trace, using either own build instead of a Salome build, (but with Salome-provided packages for prerequisites such as OSPray):
Note again that this error happens upon ParaView exit, after a perfectly normally working session
(but it is a pain in the case of automated scripts using CataLyst for example, where a working simulation reports an error, complicating our error handling with false positives).
I have not yet build ParaView 5.9 on this machine (but built it using OSMesa on our latest cluster, using RHEL8, and do not recall having the same error on initial tests, but will soon have more user feedback). I’ll check with colleagues who have newer Debian 10-based laptops to see if they have similar issues.
Hi,
I am having a similar problem and the --mesa command gives the same error. When I do the glxinfo command I get the following:
Vendor: Mesa/X.org (0xffffffff)
I downloaded Paraview 5.9.1 as a tar file and extracted it so I don’t know how to do the cmake commands later in this thread. Does anyone know how to get this to work?
Thank you,
Jake