cannot use log scale due to opengl texture problem

I am using Paraview 5.2.0 on Fedora 25 with an NVidia GT 440 graphics card. I want to do volume rendering. My data covers several orders of magnitude, so I need to use a log scale for the color map. However, when I click the checkbox for using a log scale, a warning window opens up, which contains essentially the same message that is echoed to the terminal window:

Warning: In /builddir/build/BUILD/ParaView-v5.2.0/VTK/Rendering/VolumeOpenGL2/vtkOpenGLVolumeRGBTable.h, line 143
vtkObject (0x55b80a9ab090): This OpenGL implementation does not support the required texture size of 4194304, falling back to maximum allowed, 16384.This may cause an incorrect color table mapping.

Indeed, the color mapping doesn’t work, as changes I make to the color map aren’t reflected in the rendering.

Is this a graphics driver problem? I’m using the nouveau graphics driver that comes with Fedora rather than a native nvidia driver (according to nvidia, their own driver may not actually work as well as 3rd party drivers for this card!). Since changing the driver could mess up a lot of software that I use, I’d rather not risk changing it if it is not likely to be the source of the problem.

Your GPU is quite old with only 1Gb of memory. You may want to use a CPU based solution for volume rendering. Switch the volume rendering mode to RayCast or OSPray.

I am undergoing the same problem with 4 NVIDIA Quadro GP100 GPU 16GB:

This OpenGL implementation does not support the required texture size of 1048576, falling back to maximum allowed, 32768.This may cause an incorrect color table mapping.

Is it related with the memory of GPU?

Looks more like a driver issue here.

Dear Mathieu,

I attached my example which is resampled to image and it gives reproduction of the color mapping error:

  1. Load the attached VTK.
  2. Select variable ‘s’ with volume
  3. Use the log scale

When I tested in my macbook pro, linux server(Quadro GP100) and windows desktop(GTX 1650), I got the same results.

Incorrect color table mapping occured.

Best regards,
Gwang-Jin

Resample.vtk (847.7 KB)

@martink : FYI

When I used a linear scales with color transfer function values:
[1.0e-6, 2.0e-6, … , 1],
I got the same error message. Is there any workaround to solve the problem?
Thank you.

From Palas Kumar Farsoiya, I got to know a workaround to avoid the dark colormap.
This is changing the representation from volume to NVIDIA IndeX.

Thank Palas for informing.