Hi, I’m using VTK with QT.
After running 215 frames of point cloud data, My program is crashing and getting this error.
Maximum number of clients reachedERROR: In /home/aarju/VTK-7.1.1/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1497
vtkXOpenGLRenderWindow (0x555dac8b7280): bad X server connection. DISPLAY=:0. Aborting.
If you know please leave the comment, Its very urgent.
This looks more like a graphics driver issue to me. Did you try updating your driver and restarting the machine? If so, more specifics like code snippets, screenshots, etc. would help understand your use case.
@guptaaarju It is also possible that your program is leaking memory and running out of GPU memory. If you need a more insightful response, you’d have to provide more details.
It is a little hard to read with the code formatting broken like that. But, can you make sure that you are on the latest vtk version. And also, that addPointCloud is not adding new data each frame. Because that will quickly fill up GPU memory.