# ParaView client-server error for number of textures defined

**URL:** https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024
**Category:** ParaView Support
**Created:** [November 22, 2019, 12:31pm UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024 "2019-11-22T12:31:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![KasperWayne](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kasperwayne/32/2432_2.png) [@KasperWayne](https://discourse.paraview.org/u/KasperWayne)
#### Post date: [November 22, 2019, 12:31pm UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/1 "2019-11-22T12:31:40Z")

</div>

Hi,

I am using a cloud server for CFD simulations using OpenFOAM 7.0 and then ParaView 5.6.0 for graphical post-processing of the results. I am running a client-host setup of ParaView and finally managed to load the OpenFOAM-reader for ParaView. I am using the OpenFOAM plugin reader supplied the OpenFOAM package, since I am working with Lagrangian particles, that the OF-reader can read. The native OF-reader in ParaView does not recognize the particles and I have to convert to VTK for it to read.

The OF-plugins are now loaded and I am able to read the files, but as soon as my particle count get too high, ParaView crashes with the following error:

> ERROR: In /opt/OpenFOAM/ThirdParty-7/ParaView-5.6.0/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 1931  
> vtkOSOpenGLRenderWindow (0x56339984a610): Hardware does not support the number of textures defined.

I am using the following command to launch ParaView and the OpenFOAM plugins:  
Single core:

> LD\_PRELOAD=/opt/OpenFOAM/ThirdParty-7/platforms/linux64Gcc/ParaView-5.6.0/lib/libvtkpqCore-pv5.6.so.1 pvserver --force-offscreen-rendering

Parallel:

> mpirun -x LD\_PRELOAD=/opt/OpenFOAM/ThirdParty-7/platforms/linux64Gcc/ParaView-5.6.0/lib/libvtkpqCore-pv5.6.so.1 -np 4 pvserver --force-offscreen-rendering

This occurs both when ParaView is launced using MPI and when launched using a single CPU.

Any ideas on how to fix this issue? Or where to look for errors?

Best regards  
Kasper.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 22, 2019, 7:08pm UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/2 "2019-11-22T19:08:27Z")

</div>

Does the errors occurs if you do not show the particles at all ? or show them in a spreadsheet ?

---

<div class="post-metadata">

### Author: ![KasperWayne](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kasperwayne/32/2432_2.png) [@KasperWayne](https://discourse.paraview.org/u/KasperWayne)
#### Post date: [November 25, 2019, 7:42am UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/3 "2019-11-25T07:42:34Z")

</div>

Hi again,

Thanks for the quick reply.

There is no error if the particles is not displayed. Then the entire dataset is loaded from 0 to end.  
If I display the particles in a spreadsheet, I get a different error:

> ERROR: In /opt/OpenFOAM/ThirdParty-7/ParaView-5.6.0/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 808  
> vtkSocketCommunicator (0x563f27b783e0): Could not receive tag. 1
> 
> ERROR: In /opt/OpenFOAM/ThirdParty-7/ParaView-5.6.0/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, line 297  
> vtkTCPNetworkAccessManager (0x563f2789aa30): Some error in socket processing.
> 
> Exiting…

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 25, 2019, 10:38am UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/4 "2019-11-25T10:38:11Z")

</div>

How many particle causes problems ?  
Could you screenshot your information tab ?  
Could you reducing the size of your dataset first, using MaskPoint filter for example ?

---

<div class="post-metadata">

### Author: ![KasperWayne](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kasperwayne/32/2432_2.png) [@KasperWayne](https://discourse.paraview.org/u/KasperWayne)
#### Post date: [November 25, 2019, 12:54pm UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/5 "2019-11-25T12:54:58Z")

</div>

I can display ~220,000 particles and then I get the “Hardware does not support the number of textures defined” error.  
I’ve uploaded a snapshot of the information tab before the error.

 ![information_tab](https://discourse.paraview.org/uploads/default/original/2X/e/e5d2be29eb60c581a00b93809108ff0a37bbcd0d.png)

Filtering using Mask Point is an option that works! I was not aware of that. For this case I think that will be the best solution, since I don’t need to show more than 50% of the particles to give an overall view.

---

<div class="post-metadata">

### Author: ![KasperWayne](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kasperwayne/32/2432_2.png) [@KasperWayne](https://discourse.paraview.org/u/KasperWayne)
#### Post date: [November 25, 2019, 1:46pm UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/6 "2019-11-25T13:46:46Z")

</div>

Hmm. For starters I was only interested in the particles suspended in the flow, but it seems I’m also not able to display the computational mesh along with the same number of particles.

I can display the mesh, consisting of 12 million cells, but then I cannot show any particles along with the mesh. I get the same hardware error.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 25, 2019, 2:19pm UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/7 "2019-11-25T14:19:03Z")

</div>

Could you try showing them in Point Gaussian or 3D Glyphs Representation mode ?

---

<div class="post-metadata">

### Author: ![KasperWayne](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kasperwayne/32/2432_2.png) [@KasperWayne](https://discourse.paraview.org/u/KasperWayne)
#### Post date: [November 25, 2019, 2:35pm UTC](https://discourse.paraview.org/t/paraview-client-server-error-for-number-of-textures-defined/3024/8 "2019-11-25T14:35:50Z")

</div>

It doesn’t seem to matter whether I display them as Surface, Point, Point Gaussian or 3D Glyphs. Same hardware error when exceeding the same threshold.
