VTK with Xvfb

Hi All,

I have been making figures with VTK in a Docker container via Xvfb for a while now with no complaints. However, I recently updated the container dependencies and found that things no longer work with vtk==9.5.0.

For instance, trying to capture the screen yields fails with the following message XIO: fatal IO error 2 (No such file or directory) on X server ":1504187063" after 19 requests (19 known processed) with 0 events remaining.

I have the same issue on 9.4.2. Going back to 9.4.1 resolves the issue.

I can provide more details as needed. I would like to know if anyone else has had this issue.

Thanks!
-Brandon

I’m using Xvfb + VTK without issues here.

FYI @jaswantp

@mwestphal I appreciate the response. Are you using vtk==9.5.0?

Yes

I only know of one X11 change that occurred between 9.4.1 and 9.4.2, which is !11985. Though I don’t see why it would cause any problems for Xvfb.

@bfosso, if you’re using Python, can you do a trace (e.g. python3 -m trace someprogram.py) to find out what VTK method is called immediately before the error occurs?